0s autopkgtest [06:53:57]: starting date and time: 2024-11-15 06:53:57+0000 0s autopkgtest [06:53:57]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [06:53:57]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.atz8te09/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:fenics-basix --apt-upgrade fenics-ffcx --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=fenics-basix/0.9.0-2build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-ppc64el-26.secgroup --name adt-plucky-ppc64el-fenics-ffcx-20241115-062230-juju-7f2275-prod-proposed-migration-environment-20-037d2efc-2467-4a5c-b323-93da366aa506 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 60s autopkgtest [06:54:57]: testbed dpkg architecture: ppc64el 60s autopkgtest [06:54:57]: testbed apt version: 2.9.8 60s autopkgtest [06:54:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 61s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 61s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 61s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 61s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [97.2 kB] 61s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1050 kB] 61s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [173 kB] 62s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [784 kB] 62s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [8632 B] 62s Fetched 2210 kB in 1s (2273 kB/s) 62s Reading package lists... 64s Reading package lists... 65s Building dependency tree... 65s Reading state information... 65s Calculating upgrade... 65s The following packages will be upgraded: 65s bpfcc-tools bpftrace firmware-sof-signed grub-common grub-ieee1275 65s grub-ieee1275-bin grub2-common libbpfcc libcap-ng0 libexpat1 libgnutls30t64 65s libjson-glib-1.0-0 libjson-glib-1.0-common libnewt0.52 libutempter0 65s lxd-installer man-db pastebinit python3-bpfcc python3-newt python3-systemd 65s whiptail xfsprogs 65s 23 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 65s Need to get 18.1 MB of archives. 65s After this operation, 1019 kB of additional disk space will be used. 65s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el firmware-sof-signed all 2024.06-1ubuntu2 [7083 kB] 66s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcap-ng0 ppc64el 0.8.5-3build1 [16.3 kB] 66s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgnutls30t64 ppc64el 3.8.8-2ubuntu1 [1072 kB] 66s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libexpat1 ppc64el 2.6.4-1 [98.1 kB] 66s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-newt ppc64el 0.52.24-2ubuntu4 [21.8 kB] 66s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el libnewt0.52 ppc64el 0.52.24-2ubuntu4 [62.1 kB] 66s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el whiptail ppc64el 0.52.24-2ubuntu4 [19.5 kB] 66s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el man-db ppc64el 2.13.0-1 [1361 kB] 66s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libbpfcc ppc64el 0.30.0+ds-1ubuntu5 [696 kB] 66s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-bpfcc all 0.30.0+ds-1ubuntu5 [40.4 kB] 66s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpfcc-tools all 0.30.0+ds-1ubuntu5 [697 kB] 66s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpftrace ppc64el 0.21.2-2ubuntu2 [1898 kB] 66s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el grub-ieee1275 ppc64el 2.12-5ubuntu7 [63.1 kB] 66s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el grub2-common ppc64el 2.12-5ubuntu7 [751 kB] 66s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el grub-ieee1275-bin ppc64el 2.12-5ubuntu7 [689 kB] 66s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el grub-common ppc64el 2.12-5ubuntu7 [2341 kB] 66s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 66s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-glib-1.0-0 ppc64el 1.10.0+ds-3 [76.0 kB] 66s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el libutempter0 ppc64el 1.2.1-4 [9850 B] 66s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el lxd-installer all 9 [5084 B] 66s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el pastebinit all 1.7.1-1 [14.9 kB] 66s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-systemd ppc64el 235-1build5 [48.7 kB] 66s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el xfsprogs ppc64el 6.8.0-2.2ubuntu2 [995 kB] 67s Preconfiguring packages ... 67s Fetched 18.1 MB in 1s (12.8 MB/s) 67s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73767 files and directories currently installed.) 67s Preparing to unpack .../firmware-sof-signed_2024.06-1ubuntu2_all.deb ... 67s Unpacking firmware-sof-signed (2024.06-1ubuntu2) over (2024.06-1ubuntu1) ... 67s Preparing to unpack .../libcap-ng0_0.8.5-3build1_ppc64el.deb ... 67s Unpacking libcap-ng0:ppc64el (0.8.5-3build1) over (0.8.5-1) ... 67s Setting up libcap-ng0:ppc64el (0.8.5-3build1) ... 67s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73793 files and directories currently installed.) 67s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_ppc64el.deb ... 67s Unpacking libgnutls30t64:ppc64el (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 67s Setting up libgnutls30t64:ppc64el (3.8.8-2ubuntu1) ... 67s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73793 files and directories currently installed.) 67s Preparing to unpack .../00-libexpat1_2.6.4-1_ppc64el.deb ... 67s Unpacking libexpat1:ppc64el (2.6.4-1) over (2.6.2-2) ... 67s Preparing to unpack .../01-python3-newt_0.52.24-2ubuntu4_ppc64el.deb ... 67s Unpacking python3-newt:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 67s Preparing to unpack .../02-libnewt0.52_0.52.24-2ubuntu4_ppc64el.deb ... 67s Unpacking libnewt0.52:ppc64el (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 67s Preparing to unpack .../03-whiptail_0.52.24-2ubuntu4_ppc64el.deb ... 67s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 67s Preparing to unpack .../04-man-db_2.13.0-1_ppc64el.deb ... 67s Unpacking man-db (2.13.0-1) over (2.12.1-3) ... 68s Preparing to unpack .../05-libbpfcc_0.30.0+ds-1ubuntu5_ppc64el.deb ... 68s Unpacking libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 68s Preparing to unpack .../06-python3-bpfcc_0.30.0+ds-1ubuntu5_all.deb ... 68s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 68s Preparing to unpack .../07-bpfcc-tools_0.30.0+ds-1ubuntu5_all.deb ... 68s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 68s Preparing to unpack .../08-bpftrace_0.21.2-2ubuntu2_ppc64el.deb ... 68s Unpacking bpftrace (0.21.2-2ubuntu2) over (0.21.2-2) ... 68s Preparing to unpack .../09-grub-ieee1275_2.12-5ubuntu7_ppc64el.deb ... 68s Unpacking grub-ieee1275 (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 68s Preparing to unpack .../10-grub2-common_2.12-5ubuntu7_ppc64el.deb ... 68s Unpacking grub2-common (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 68s Preparing to unpack .../11-grub-ieee1275-bin_2.12-5ubuntu7_ppc64el.deb ... 68s Unpacking grub-ieee1275-bin (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 68s Preparing to unpack .../12-grub-common_2.12-5ubuntu7_ppc64el.deb ... 68s Unpacking grub-common (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 68s Preparing to unpack .../13-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 68s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 68s Preparing to unpack .../14-libjson-glib-1.0-0_1.10.0+ds-3_ppc64el.deb ... 68s Unpacking libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) over (1.10.0+ds-2) ... 68s Preparing to unpack .../15-libutempter0_1.2.1-4_ppc64el.deb ... 68s Unpacking libutempter0:ppc64el (1.2.1-4) over (1.2.1-3build1) ... 68s Preparing to unpack .../16-lxd-installer_9_all.deb ... 68s Unpacking lxd-installer (9) over (8) ... 68s Preparing to unpack .../17-pastebinit_1.7.1-1_all.deb ... 68s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 68s Preparing to unpack .../18-python3-systemd_235-1build5_ppc64el.deb ... 68s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 68s Preparing to unpack .../19-xfsprogs_6.8.0-2.2ubuntu2_ppc64el.deb ... 68s Unpacking xfsprogs (6.8.0-2.2ubuntu2) over (6.8.0-2.2ubuntu1) ... 69s Setting up libexpat1:ppc64el (2.6.4-1) ... 69s Setting up libnewt0.52:ppc64el (0.52.24-2ubuntu4) ... 69s Setting up firmware-sof-signed (2024.06-1ubuntu2) ... 69s Setting up pastebinit (1.7.1-1) ... 69s Setting up python3-newt:ppc64el (0.52.24-2ubuntu4) ... 69s Setting up man-db (2.13.0-1) ... 69s Updating database of manual pages ... 71s man-db.service is a disabled or a static unit not running, not starting it. 71s Setting up grub-common (2.12-5ubuntu7) ... 72s Setting up xfsprogs (6.8.0-2.2ubuntu2) ... 72s update-initramfs: deferring update (trigger activated) 72s Setting up lxd-installer (9) ... 73s Setting up libutempter0:ppc64el (1.2.1-4) ... 73s Setting up whiptail (0.52.24-2ubuntu4) ... 73s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 73s Setting up libbpfcc:ppc64el (0.30.0+ds-1ubuntu5) ... 73s Setting up python3-bpfcc (0.30.0+ds-1ubuntu5) ... 73s Setting up python3-systemd (235-1build5) ... 73s Setting up bpftrace (0.21.2-2ubuntu2) ... 73s Setting up grub2-common (2.12-5ubuntu7) ... 73s Setting up grub-ieee1275-bin (2.12-5ubuntu7) ... 73s Setting up libjson-glib-1.0-0:ppc64el (1.10.0+ds-3) ... 73s Setting up bpfcc-tools (0.30.0+ds-1ubuntu5) ... 73s Setting up grub-ieee1275 (2.12-5ubuntu7) ... 73s Installing for powerpc-ieee1275 platform. 74s Installation finished. No error reported. 74s Sourcing file `/etc/default/grub' 74s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 74s Generating grub configuration file ... 74s Found linux image: /boot/vmlinux-6.11.0-8-generic 74s Found initrd image: /boot/initrd.img-6.11.0-8-generic 74s Warning: os-prober will not be executed to detect other bootable partitions. 74s Systems on them will not be added to the GRUB boot configuration. 74s Check GRUB_DISABLE_OS_PROBER documentation entry. 74s Adding boot menu entry for UEFI Firmware Settings ... 74s done 74s Processing triggers for install-info (7.1.1-1) ... 74s Processing triggers for libc-bin (2.40-1ubuntu3) ... 74s Processing triggers for initramfs-tools (0.142ubuntu34) ... 74s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 74s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 82s Reading package lists... 82s Building dependency tree... 82s Reading state information... 82s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 83s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 83s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 83s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 84s Reading package lists... 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s Calculating upgrade... 84s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 84s Reading package lists... 85s Building dependency tree... 85s Reading state information... 85s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 85s autopkgtest [06:55:22]: rebooting testbed after setup commands that affected boot 89s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 116s autopkgtest [06:55:53]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 118s autopkgtest [06:55:55]: @@@@@@@@@@@@@@@@@@@@ apt-source fenics-ffcx 121s Get:1 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (dsc) [2533 B] 121s Get:2 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (tar) [134 kB] 121s Get:3 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (diff) [9740 B] 121s gpgv: Signature made Thu Apr 25 09:26:51 2024 UTC 121s gpgv: using RSA key 1B5D04B1E507BBF03669E2B801F35FC33E73AF8C 121s gpgv: Can't check signature: No public key 121s dpkg-source: warning: cannot verify inline signature for ./fenics-ffcx_0.8.0-1.dsc: no acceptable signature found 121s autopkgtest [06:55:58]: testing package fenics-ffcx version 1:0.8.0-1 121s autopkgtest [06:55:58]: build not needed 122s autopkgtest [06:55:59]: test command1: preparing testbed 123s Reading package lists... 123s Building dependency tree... 123s Reading state information... 123s Starting pkgProblemResolver with broken count: 0 123s Starting 2 pkgProblemResolver with broken count: 0 123s Done 123s The following additional packages will be installed: 123s autoconf automake autopoint autotools-dev build-essential cmake cmake-data 123s cpp cpp-14 cpp-14-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper 123s debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common 123s dwz fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 123s fonts-font-awesome fonts-lato g++ g++-14 g++-14-powerpc64le-linux-gnu 123s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 123s gcc-powerpc64le-linux-gnu gettext graphviz intltool-debian libann0 libaom3 123s libarchive-zip-perl libasan8 libbasix-dev libbasix0.9 libblas3 123s libboost-math-dev libboost-math1.83-dev libboost-math1.83.0 libboost1.83-dev 123s libcairo2 libcc1-0 libcdt5 libcgraph6 libdatrie1 libde265-0 123s libdebhelper-perl libdeflate0 libeigen3-dev libexpat1-dev 123s libfile-stripnondeterminism-perl libfontconfig1 libgcc-14-dev libgd3 123s libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 123s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 libice6 123s libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 123s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 123s liblab-gamut1 liblapack3 liblerc4 liblsan0 libltdl7 libmpc3 libpango-1.0-0 123s libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 123s libpython3-all-dev libpython3-dev libpython3.12-dev libquadmath0 libraqm0 123s librhash0 libsharpyuv0 libsm6 libstdc++-14-dev libthai-data libthai0 123s libtiff6 libtool libtsan2 libubsan1 libwebp7 libxaw7 libxcb-render0 123s libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 pkg-config pkgconf 123s pkgconf-bin po-debconf pybuild-plugin-pyproject python3-alabaster 123s python3-all python3-all-dev python3-basix python3-build python3-cffi 123s python3-defusedxml python3-dev python3-docutils python3-ffcx 123s python3-imagesize python3-iniconfig python3-installer python3-mpmath 123s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 123s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 123s python3-roman python3-snowballstemmer python3-sphinx 123s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 123s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 123s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 123s Suggested packages: 123s autoconf-archive gnu-standards autoconf-doc cmake-doc cmake-format 123s elpa-cmake-mode ninja-build cpp-doc gcc-14-locales cpp-14-doc dh-make flit 123s gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 123s gdb-powerpc64le-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev 123s gsfonts graphviz-doc basix-doc libboost1.83-doc libboost-atomic1.83-dev 123s libboost-chrono1.83-dev libboost-container1.83-dev libboost-context1.83-dev 123s libboost-contract1.83-dev libboost-coroutine1.83-dev 123s libboost-date-time1.83-dev libboost-exception1.83-dev libboost-fiber1.83-dev 123s libboost-filesystem1.83-dev libboost-graph-parallel1.83-dev 123s libboost-graph1.83-dev libboost-iostreams1.83-dev libboost-json1.83-dev 123s libboost-locale1.83-dev libboost-log1.83-dev libboost-mpi-python1.83-dev 123s libboost-mpi1.83-dev libboost-nowide1.83-dev libboost-numpy1.83-dev 123s libboost-program-options1.83-dev libboost-python1.83-dev 123s libboost-random1.83-dev libboost-regex1.83-dev 123s libboost-serialization1.83-dev libboost-stacktrace1.83-dev 123s libboost-system1.83-dev libboost-test1.83-dev libboost-thread1.83-dev 123s libboost-timer1.83-dev libboost-type-erasure1.83-dev libboost-url1.83-dev 123s libboost-wave1.83-dev libboost1.83-tools-dev libmpfrc++-dev libntl-dev 123s libeigen3-doc libgd-tools libheif-plugin-x265 libheif-plugin-ffmpegdec 123s libheif-plugin-jpegdec libheif-plugin-jpegenc libheif-plugin-j2kdec 123s libheif-plugin-j2kenc libheif-plugin-kvazaar libheif-plugin-rav1e 123s libheif-plugin-svtenc libstdc++-14-doc libtool-doc gfortran 123s | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-venv 123s python-build-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine 123s texlive-lang-french texlive-latex-base texlive-latex-recommended 123s python-installer-doc python-mpmath-doc python3-gmpy2 python3-matplotlib 123s gfortran python-numpy-doc python-ply-doc python-pygraphviz-doc 123s python3-stemmer dvipng dvisvgm fonts-freefont-otf imagemagick-6.q16 latexmk 123s libjs-mathjax sphinx-doc tex-gyre texlive-fonts-extra 123s texlive-fonts-recommended texlive-latex-extra texlive-plain-generic 123s python-sympy-doc python-ufl-doc sgml-base-doc 123s Recommended packages: 123s fonts-liberation libarchive-cpio-perl libgts-bin libheif-plugin-aomenc 123s javascript-common libjson-xs-perl libltdl-dev libmail-sendmail-perl 123s libpaper-utils python3-pil isympy-common 124s The following NEW packages will be installed: 124s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 124s cmake cmake-data cpp cpp-14 cpp-14-powerpc64le-linux-gnu 124s cpp-powerpc64le-linux-gnu debhelper debugedit dh-autoreconf dh-python 124s dh-strip-nondeterminism docutils-common dwz fontconfig fontconfig-config 124s fonts-dejavu-core fonts-dejavu-mono fonts-font-awesome fonts-lato g++ g++-14 124s g++-14-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-14 124s gcc-14-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext graphviz 124s intltool-debian libann0 libaom3 libarchive-zip-perl libasan8 libbasix-dev 124s libbasix0.9 libblas3 libboost-math-dev libboost-math1.83-dev 124s libboost-math1.83.0 libboost1.83-dev libcairo2 libcc1-0 libcdt5 libcgraph6 124s libdatrie1 libde265-0 libdebhelper-perl libdeflate0 libeigen3-dev 124s libexpat1-dev libfile-stripnondeterminism-perl libfontconfig1 libgcc-14-dev 124s libgd3 libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 124s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 libice6 124s libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 124s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 124s liblab-gamut1 liblapack3 liblerc4 liblsan0 libltdl7 libmpc3 libpango-1.0-0 124s libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 124s libpython3-all-dev libpython3-dev libpython3.12-dev libquadmath0 libraqm0 124s librhash0 libsharpyuv0 libsm6 libstdc++-14-dev libthai-data libthai0 124s libtiff6 libtool libtsan2 libubsan1 libwebp7 libxaw7 libxcb-render0 124s libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 pkg-config pkgconf 124s pkgconf-bin po-debconf pybuild-plugin-pyproject python3-alabaster 124s python3-all python3-all-dev python3-basix python3-build python3-cffi 124s python3-defusedxml python3-dev python3-docutils python3-ffcx 124s python3-imagesize python3-iniconfig python3-installer python3-mpmath 124s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 124s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 124s python3-roman python3-snowballstemmer python3-sphinx 124s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 124s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 124s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 124s 0 upgraded, 163 newly installed, 0 to remove and 0 not upgraded. 124s Need to get 134 MB/134 MB of archives. 124s After this operation, 642 MB of additional disk space will be used. 124s Get:1 /tmp/autopkgtest.gKyZyF/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [896 B] 124s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-lato all 2.015-1 [2781 kB] 124s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el sgml-base all 1.31 [11.4 kB] 124s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el m4 ppc64el 1.4.19-4build1 [278 kB] 124s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el autoconf all 2.72-3 [382 kB] 124s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el autotools-dev all 20220109.1 [44.9 kB] 124s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el automake all 1:1.16.5-1.3ubuntu1 [558 kB] 124s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el autopoint all 0.22.5-2 [616 kB] 124s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 124s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 124s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [10.5 MB] 125s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-8ubuntu1 [1034 B] 125s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 125s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 125s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-8ubuntu1 [48.1 kB] 125s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-8ubuntu1 [161 kB] 125s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-8ubuntu1 [31.9 kB] 125s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-8ubuntu1 [2945 kB] 125s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-8ubuntu1 [1322 kB] 125s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-8ubuntu1 [2695 kB] 125s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-8ubuntu1 [1191 kB] 125s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-8ubuntu1 [158 kB] 125s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-8ubuntu1 [1619 kB] 125s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [20.6 MB] 126s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-8ubuntu1 [528 kB] 126s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 126s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 126s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-8ubuntu1 [2673 kB] 126s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [12.0 MB] 126s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-8ubuntu1 [19.9 kB] 126s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [968 B] 126s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.1.0-2ubuntu1 [1090 B] 126s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 126s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjsoncpp25 ppc64el 1.9.5-6build1 [89.0 kB] 126s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el librhash0 ppc64el 1.4.3-3build1 [147 kB] 126s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el cmake-data all 3.30.3-1 [2246 kB] 126s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el cmake ppc64el 3.30.3-1 [12.1 MB] 126s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 126s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtool all 2.4.7-7build1 [166 kB] 126s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el dh-autoreconf all 20 [16.1 kB] 126s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] 126s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 126s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el dh-strip-nondeterminism all 1.14.0-1 [5058 B] 126s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el debugedit ppc64el 1:5.1-1 [52.1 kB] 126s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el dwz ppc64el 0.15-1build6 [142 kB] 126s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el gettext ppc64el 0.22.5-2 [1082 kB] 126s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el intltool-debian all 0.35.0+20060710.6 [23.2 kB] 126s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] 126s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el debhelper all 13.20ubuntu1 [893 kB] 127s Get:50 http://ftpmaster.internal/ubuntu plucky/universe ppc64el dh-python all 6.20241024 [112 kB] 127s Get:51 http://ftpmaster.internal/ubuntu plucky/main ppc64el xml-core all 0.19 [20.3 kB] 127s Get:52 http://ftpmaster.internal/ubuntu plucky/main ppc64el docutils-common all 0.21.2+dfsg-2 [131 kB] 127s Get:53 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-dejavu-mono all 2.37-8 [502 kB] 127s Get:54 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-dejavu-core all 2.37-8 [835 kB] 127s Get:55 http://ftpmaster.internal/ubuntu plucky/main ppc64el fontconfig-config ppc64el 2.15.0-1.1ubuntu2 [37.4 kB] 127s Get:56 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfontconfig1 ppc64el 2.15.0-1.1ubuntu2 [190 kB] 127s Get:57 http://ftpmaster.internal/ubuntu plucky/main ppc64el fontconfig ppc64el 2.15.0-1.1ubuntu2 [192 kB] 127s Get:58 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 127s Get:59 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libann0 ppc64el 1.1.2+doc-9build1 [30.1 kB] 127s Get:60 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libcdt5 ppc64el 2.42.4-2build3 [27.3 kB] 127s Get:61 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libcgraph6 ppc64el 2.42.4-2build3 [53.6 kB] 127s Get:62 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsharpyuv0 ppc64el 1.4.0-0.1 [22.0 kB] 127s Get:63 http://ftpmaster.internal/ubuntu plucky/main ppc64el libaom3 ppc64el 3.11.0~rc1-1 [3022 kB] 127s Get:64 http://ftpmaster.internal/ubuntu plucky/main ppc64el libheif-plugin-aomdec ppc64el 1.19.3-1 [11.6 kB] 127s Get:65 http://ftpmaster.internal/ubuntu plucky/main ppc64el libde265-0 ppc64el 1.0.15-1build4 [284 kB] 127s Get:66 http://ftpmaster.internal/ubuntu plucky/main ppc64el libheif-plugin-libde265 ppc64el 1.19.3-1 [9092 B] 127s Get:67 http://ftpmaster.internal/ubuntu plucky/main ppc64el libheif1 ppc64el 1.19.3-1 [442 kB] 127s Get:68 http://ftpmaster.internal/ubuntu plucky/main ppc64el libimagequant0 ppc64el 2.18.0-1build1 [43.2 kB] 127s Get:69 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjpeg-turbo8 ppc64el 2.1.5-2ubuntu2 [219 kB] 127s Get:70 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjpeg8 ppc64el 8c-2ubuntu11 [2148 B] 127s Get:71 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgraphite2-3 ppc64el 1.3.14-2ubuntu1 [84.6 kB] 127s Get:72 http://ftpmaster.internal/ubuntu plucky/main ppc64el libharfbuzz0b ppc64el 10.0.1-1 [596 kB] 127s Get:73 http://ftpmaster.internal/ubuntu plucky/main ppc64el libraqm0 ppc64el 0.10.1-1build1 [19.4 kB] 127s Get:74 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdeflate0 ppc64el 1.22-1 [63.3 kB] 127s Get:75 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjbig0 ppc64el 2.1-6.1ubuntu2 [35.9 kB] 127s Get:76 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblerc4 ppc64el 4.0.0+ds-4ubuntu2 [270 kB] 127s Get:77 http://ftpmaster.internal/ubuntu plucky/main ppc64el libwebp7 ppc64el 1.4.0-0.1 [309 kB] 127s Get:78 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtiff6 ppc64el 4.5.1+git230720-4ubuntu4 [272 kB] 127s Get:79 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB] 127s Get:80 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgd3 ppc64el 2.3.3-12ubuntu3 [165 kB] 127s Get:81 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libgts-0.7-5t64 ppc64el 0.7.6+darcs121130-5.2build1 [187 kB] 127s Get:82 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB] 127s Get:83 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-render0 ppc64el 1.17.0-2 [17.2 kB] 127s Get:84 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-shm0 ppc64el 1.17.0-2 [5980 B] 127s Get:85 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1build1 [23.1 kB] 127s Get:86 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcairo2 ppc64el 1.18.2-2 [747 kB] 127s Get:87 http://ftpmaster.internal/ubuntu plucky/main ppc64el libltdl7 ppc64el 2.4.7-7build1 [48.2 kB] 127s Get:88 http://ftpmaster.internal/ubuntu plucky/main ppc64el libthai-data all 0.1.29-2build1 [158 kB] 127s Get:89 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdatrie1 ppc64el 0.2.13-3build1 [22.7 kB] 127s Get:90 http://ftpmaster.internal/ubuntu plucky/main ppc64el libthai0 ppc64el 0.1.29-2build1 [21.8 kB] 127s Get:91 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpango-1.0-0 ppc64el 1.54.0+ds-3 [272 kB] 127s Get:92 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpangoft2-1.0-0 ppc64el 1.54.0+ds-3 [57.5 kB] 127s Get:93 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpangocairo-1.0-0 ppc64el 1.54.0+ds-3 [30.6 kB] 127s Get:94 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libpathplan4 ppc64el 2.42.4-2build3 [30.5 kB] 127s Get:95 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libgvc6 ppc64el 2.42.4-2build3 [909 kB] 127s Get:96 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libgvpr2 ppc64el 2.42.4-2build3 [214 kB] 127s Get:97 http://ftpmaster.internal/ubuntu plucky/universe ppc64el liblab-gamut1 ppc64el 2.42.4-2build3 [1832 kB] 127s Get:98 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-common all 1:7.7+23ubuntu3 [21.7 kB] 127s Get:99 http://ftpmaster.internal/ubuntu plucky/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB] 127s Get:100 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsm6 ppc64el 2:1.2.4-1 [18.4 kB] 127s Get:101 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 127s Get:102 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 128s Get:103 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB] 128s Get:104 http://ftpmaster.internal/ubuntu plucky/universe ppc64el graphviz ppc64el 2.42.4-2build3 [828 kB] 128s Get:105 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblas3 ppc64el 3.12.0-3build2 [222 kB] 128s Get:106 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgfortran5 ppc64el 14.2.0-8ubuntu1 [571 kB] 128s Get:107 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblapack3 ppc64el 3.12.0-3build2 [2806 kB] 128s Get:108 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el libbasix0.9 ppc64el 0.9.0-2build1 [680 kB] 128s Get:109 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 128s Get:110 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 128s Get:111 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 128s Get:112 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkg-config ppc64el 1.8.1-4 [7362 B] 128s Get:113 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libeigen3-dev all 3.4.0-4build1 [1055 kB] 128s Get:114 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el libbasix-dev ppc64el 0.9.0-2build1 [62.2 kB] 128s Get:115 http://ftpmaster.internal/ubuntu plucky/main ppc64el libboost1.83-dev ppc64el 1.83.0-3.2ubuntu2 [10.7 MB] 129s Get:116 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libboost-math1.83.0 ppc64el 1.83.0-3.2ubuntu2 [338 kB] 129s Get:117 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libboost-math1.83-dev ppc64el 1.83.0-3.2ubuntu2 [428 kB] 129s Get:118 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libboost-math-dev ppc64el 1.83.0.2ubuntu1 [4430 B] 129s Get:119 http://ftpmaster.internal/ubuntu plucky/main ppc64el libexpat1-dev ppc64el 2.6.4-1 [149 kB] 129s Get:120 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 129s Get:121 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 129s Get:122 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-sphinxdoc all 7.4.7-4 [158 kB] 129s Get:123 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-perl all 4.10000-1 [81.9 kB] 129s Get:124 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 129s Get:125 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.12-dev ppc64el 3.12.7-3 [6136 kB] 129s Get:126 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3-dev ppc64el 3.12.6-0ubuntu1 [10.2 kB] 129s Get:127 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3-all-dev ppc64el 3.12.6-0ubuntu1 [916 B] 129s Get:128 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 129s Get:129 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 129s Get:130 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-toml all 0.10.2-1 [16.5 kB] 129s Get:131 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-wheel all 0.44.0-1 [54.2 kB] 129s Get:132 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-build all 1.2.2-1 [31.0 kB] 129s Get:133 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 129s Get:134 http://ftpmaster.internal/ubuntu plucky/universe ppc64el pybuild-plugin-pyproject all 6.20241024 [1728 B] 129s Get:135 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all ppc64el 3.12.6-0ubuntu1 [888 B] 129s Get:136 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.12-dev ppc64el 3.12.7-3 [505 kB] 129s Get:137 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-dev ppc64el 3.12.6-0ubuntu1 [26.7 kB] 129s Get:138 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all-dev ppc64el 3.12.6-0ubuntu1 [908 B] 129s Get:139 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-numpy ppc64el 1:1.26.4+ds-11build1 [4434 kB] 129s Get:140 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-ufl all 2024.2.0-2 [145 kB] 130s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el python3-basix ppc64el 0.9.0-2build1 [140 kB] 130s Get:142 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-ply all 3.11-7 [45.4 kB] 130s Get:143 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-pycparser all 2.22-2 [76.5 kB] 130s Get:144 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-cffi all 1.17.1-2 [74.8 kB] 130s Get:145 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-defusedxml all 0.7.1-2 [42.0 kB] 130s Get:146 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-roman all 4.2-1 [10.0 kB] 130s Get:147 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-docutils all 0.21.2+dfsg-2 [409 kB] 130s Get:148 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-ffcx all 1:0.8.0-1 [92.9 kB] 130s Get:149 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-imagesize all 1.4.1-1 [6844 B] 130s Get:150 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 130s Get:151 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-mpmath all 1.3.0-1 [425 kB] 130s Get:152 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pip all 24.2+dfsg-1 [1398 kB] 130s Get:153 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 130s Get:154 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pygraphviz ppc64el 1.14-1build1 [92.8 kB] 130s Get:155 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 130s Get:156 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 130s Get:157 http://ftpmaster.internal/ubuntu plucky/main ppc64el sphinx-common all 7.4.7-4 [775 kB] 130s Get:158 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-alabaster all 0.7.16-0.1 [18.5 kB] 130s Get:159 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-sphinx all 7.4.7-4 [593 kB] 130s Get:160 http://ftpmaster.internal/ubuntu plucky/main ppc64el sphinx-rtd-theme-common all 3.0.1+dfsg-1 [1012 kB] 130s Get:161 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 130s Get:162 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-sphinx-rtd-theme all 3.0.1+dfsg-1 [23.5 kB] 130s Get:163 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-sympy all 1.13.3-1 [4228 kB] 131s Fetched 134 MB in 7s (20.6 MB/s) 131s Selecting previously unselected package fonts-lato. 131s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73801 files and directories currently installed.) 131s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 131s Unpacking fonts-lato (2.015-1) ... 131s Selecting previously unselected package sgml-base. 131s Preparing to unpack .../001-sgml-base_1.31_all.deb ... 131s Unpacking sgml-base (1.31) ... 131s Selecting previously unselected package m4. 131s Preparing to unpack .../002-m4_1.4.19-4build1_ppc64el.deb ... 131s Unpacking m4 (1.4.19-4build1) ... 131s Selecting previously unselected package autoconf. 131s Preparing to unpack .../003-autoconf_2.72-3_all.deb ... 131s Unpacking autoconf (2.72-3) ... 131s Selecting previously unselected package autotools-dev. 131s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 131s Unpacking autotools-dev (20220109.1) ... 131s Selecting previously unselected package automake. 131s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 131s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 131s Selecting previously unselected package autopoint. 131s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 131s Unpacking autopoint (0.22.5-2) ... 131s Selecting previously unselected package libisl23:ppc64el. 131s Preparing to unpack .../007-libisl23_0.27-1_ppc64el.deb ... 131s Unpacking libisl23:ppc64el (0.27-1) ... 131s Selecting previously unselected package libmpc3:ppc64el. 131s Preparing to unpack .../008-libmpc3_1.3.1-1build2_ppc64el.deb ... 131s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 131s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 131s Preparing to unpack .../009-cpp-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 131s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 131s Selecting previously unselected package cpp-14. 131s Preparing to unpack .../010-cpp-14_14.2.0-8ubuntu1_ppc64el.deb ... 131s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 131s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 131s Preparing to unpack .../011-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 131s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 131s Selecting previously unselected package cpp. 131s Preparing to unpack .../012-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 131s Unpacking cpp (4:14.1.0-2ubuntu1) ... 131s Selecting previously unselected package libcc1-0:ppc64el. 131s Preparing to unpack .../013-libcc1-0_14.2.0-8ubuntu1_ppc64el.deb ... 131s Unpacking libcc1-0:ppc64el (14.2.0-8ubuntu1) ... 131s Selecting previously unselected package libgomp1:ppc64el. 132s Preparing to unpack .../014-libgomp1_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking libgomp1:ppc64el (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package libitm1:ppc64el. 132s Preparing to unpack .../015-libitm1_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking libitm1:ppc64el (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package libasan8:ppc64el. 132s Preparing to unpack .../016-libasan8_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking libasan8:ppc64el (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package liblsan0:ppc64el. 132s Preparing to unpack .../017-liblsan0_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking liblsan0:ppc64el (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package libtsan2:ppc64el. 132s Preparing to unpack .../018-libtsan2_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking libtsan2:ppc64el (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package libubsan1:ppc64el. 132s Preparing to unpack .../019-libubsan1_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking libubsan1:ppc64el (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package libquadmath0:ppc64el. 132s Preparing to unpack .../020-libquadmath0_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking libquadmath0:ppc64el (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package libgcc-14-dev:ppc64el. 132s Preparing to unpack .../021-libgcc-14-dev_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking libgcc-14-dev:ppc64el (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 132s Preparing to unpack .../022-gcc-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package gcc-14. 132s Preparing to unpack .../023-gcc-14_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 132s Preparing to unpack .../024-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 132s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 132s Selecting previously unselected package gcc. 132s Preparing to unpack .../025-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 132s Unpacking gcc (4:14.1.0-2ubuntu1) ... 132s Selecting previously unselected package libstdc++-14-dev:ppc64el. 132s Preparing to unpack .../026-libstdc++-14-dev_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking libstdc++-14-dev:ppc64el (14.2.0-8ubuntu1) ... 132s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 132s Preparing to unpack .../027-g++-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 132s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 133s Selecting previously unselected package g++-14. 133s Preparing to unpack .../028-g++-14_14.2.0-8ubuntu1_ppc64el.deb ... 133s Unpacking g++-14 (14.2.0-8ubuntu1) ... 133s Selecting previously unselected package g++-powerpc64le-linux-gnu. 133s Preparing to unpack .../029-g++-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 133s Unpacking g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 133s Selecting previously unselected package g++. 133s Preparing to unpack .../030-g++_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 133s Unpacking g++ (4:14.1.0-2ubuntu1) ... 133s Selecting previously unselected package build-essential. 133s Preparing to unpack .../031-build-essential_12.10ubuntu1_ppc64el.deb ... 133s Unpacking build-essential (12.10ubuntu1) ... 133s Selecting previously unselected package libjsoncpp25:ppc64el. 133s Preparing to unpack .../032-libjsoncpp25_1.9.5-6build1_ppc64el.deb ... 133s Unpacking libjsoncpp25:ppc64el (1.9.5-6build1) ... 133s Selecting previously unselected package librhash0:ppc64el. 133s Preparing to unpack .../033-librhash0_1.4.3-3build1_ppc64el.deb ... 133s Unpacking librhash0:ppc64el (1.4.3-3build1) ... 133s Selecting previously unselected package cmake-data. 133s Preparing to unpack .../034-cmake-data_3.30.3-1_all.deb ... 133s Unpacking cmake-data (3.30.3-1) ... 133s Selecting previously unselected package cmake. 133s Preparing to unpack .../035-cmake_3.30.3-1_ppc64el.deb ... 133s Unpacking cmake (3.30.3-1) ... 133s Selecting previously unselected package libdebhelper-perl. 133s Preparing to unpack .../036-libdebhelper-perl_13.20ubuntu1_all.deb ... 133s Unpacking libdebhelper-perl (13.20ubuntu1) ... 133s Selecting previously unselected package libtool. 133s Preparing to unpack .../037-libtool_2.4.7-7build1_all.deb ... 133s Unpacking libtool (2.4.7-7build1) ... 133s Selecting previously unselected package dh-autoreconf. 133s Preparing to unpack .../038-dh-autoreconf_20_all.deb ... 133s Unpacking dh-autoreconf (20) ... 133s Selecting previously unselected package libarchive-zip-perl. 133s Preparing to unpack .../039-libarchive-zip-perl_1.68-1_all.deb ... 133s Unpacking libarchive-zip-perl (1.68-1) ... 133s Selecting previously unselected package libfile-stripnondeterminism-perl. 133s Preparing to unpack .../040-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 133s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 133s Selecting previously unselected package dh-strip-nondeterminism. 133s Preparing to unpack .../041-dh-strip-nondeterminism_1.14.0-1_all.deb ... 133s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 133s Selecting previously unselected package debugedit. 133s Preparing to unpack .../042-debugedit_1%3a5.1-1_ppc64el.deb ... 133s Unpacking debugedit (1:5.1-1) ... 133s Selecting previously unselected package dwz. 133s Preparing to unpack .../043-dwz_0.15-1build6_ppc64el.deb ... 133s Unpacking dwz (0.15-1build6) ... 133s Selecting previously unselected package gettext. 133s Preparing to unpack .../044-gettext_0.22.5-2_ppc64el.deb ... 133s Unpacking gettext (0.22.5-2) ... 133s Selecting previously unselected package intltool-debian. 133s Preparing to unpack .../045-intltool-debian_0.35.0+20060710.6_all.deb ... 133s Unpacking intltool-debian (0.35.0+20060710.6) ... 133s Selecting previously unselected package po-debconf. 133s Preparing to unpack .../046-po-debconf_1.0.21+nmu1_all.deb ... 133s Unpacking po-debconf (1.0.21+nmu1) ... 134s Selecting previously unselected package debhelper. 134s Preparing to unpack .../047-debhelper_13.20ubuntu1_all.deb ... 134s Unpacking debhelper (13.20ubuntu1) ... 134s Selecting previously unselected package dh-python. 134s Preparing to unpack .../048-dh-python_6.20241024_all.deb ... 134s Unpacking dh-python (6.20241024) ... 134s Selecting previously unselected package xml-core. 134s Preparing to unpack .../049-xml-core_0.19_all.deb ... 134s Unpacking xml-core (0.19) ... 134s Selecting previously unselected package docutils-common. 134s Preparing to unpack .../050-docutils-common_0.21.2+dfsg-2_all.deb ... 134s Unpacking docutils-common (0.21.2+dfsg-2) ... 134s Selecting previously unselected package fonts-dejavu-mono. 134s Preparing to unpack .../051-fonts-dejavu-mono_2.37-8_all.deb ... 134s Unpacking fonts-dejavu-mono (2.37-8) ... 134s Selecting previously unselected package fonts-dejavu-core. 134s Preparing to unpack .../052-fonts-dejavu-core_2.37-8_all.deb ... 134s Unpacking fonts-dejavu-core (2.37-8) ... 134s Selecting previously unselected package fontconfig-config. 134s Preparing to unpack .../053-fontconfig-config_2.15.0-1.1ubuntu2_ppc64el.deb ... 134s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 134s Selecting previously unselected package libfontconfig1:ppc64el. 134s Preparing to unpack .../054-libfontconfig1_2.15.0-1.1ubuntu2_ppc64el.deb ... 134s Unpacking libfontconfig1:ppc64el (2.15.0-1.1ubuntu2) ... 134s Selecting previously unselected package fontconfig. 134s Preparing to unpack .../055-fontconfig_2.15.0-1.1ubuntu2_ppc64el.deb ... 134s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 134s Selecting previously unselected package fonts-font-awesome. 134s Preparing to unpack .../056-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 134s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 134s Selecting previously unselected package libann0. 134s Preparing to unpack .../057-libann0_1.1.2+doc-9build1_ppc64el.deb ... 134s Unpacking libann0 (1.1.2+doc-9build1) ... 134s Selecting previously unselected package libcdt5:ppc64el. 134s Preparing to unpack .../058-libcdt5_2.42.4-2build3_ppc64el.deb ... 134s Unpacking libcdt5:ppc64el (2.42.4-2build3) ... 134s Selecting previously unselected package libcgraph6:ppc64el. 134s Preparing to unpack .../059-libcgraph6_2.42.4-2build3_ppc64el.deb ... 134s Unpacking libcgraph6:ppc64el (2.42.4-2build3) ... 134s Selecting previously unselected package libsharpyuv0:ppc64el. 134s Preparing to unpack .../060-libsharpyuv0_1.4.0-0.1_ppc64el.deb ... 134s Unpacking libsharpyuv0:ppc64el (1.4.0-0.1) ... 134s Selecting previously unselected package libaom3:ppc64el. 134s Preparing to unpack .../061-libaom3_3.11.0~rc1-1_ppc64el.deb ... 134s Unpacking libaom3:ppc64el (3.11.0~rc1-1) ... 134s Selecting previously unselected package libheif-plugin-aomdec:ppc64el. 134s Preparing to unpack .../062-libheif-plugin-aomdec_1.19.3-1_ppc64el.deb ... 134s Unpacking libheif-plugin-aomdec:ppc64el (1.19.3-1) ... 134s Selecting previously unselected package libde265-0:ppc64el. 134s Preparing to unpack .../063-libde265-0_1.0.15-1build4_ppc64el.deb ... 134s Unpacking libde265-0:ppc64el (1.0.15-1build4) ... 134s Selecting previously unselected package libheif-plugin-libde265:ppc64el. 134s Preparing to unpack .../064-libheif-plugin-libde265_1.19.3-1_ppc64el.deb ... 134s Unpacking libheif-plugin-libde265:ppc64el (1.19.3-1) ... 134s Selecting previously unselected package libheif1:ppc64el. 134s Preparing to unpack .../065-libheif1_1.19.3-1_ppc64el.deb ... 134s Unpacking libheif1:ppc64el (1.19.3-1) ... 134s Selecting previously unselected package libimagequant0:ppc64el. 134s Preparing to unpack .../066-libimagequant0_2.18.0-1build1_ppc64el.deb ... 134s Unpacking libimagequant0:ppc64el (2.18.0-1build1) ... 134s Selecting previously unselected package libjpeg-turbo8:ppc64el. 134s Preparing to unpack .../067-libjpeg-turbo8_2.1.5-2ubuntu2_ppc64el.deb ... 134s Unpacking libjpeg-turbo8:ppc64el (2.1.5-2ubuntu2) ... 134s Selecting previously unselected package libjpeg8:ppc64el. 134s Preparing to unpack .../068-libjpeg8_8c-2ubuntu11_ppc64el.deb ... 134s Unpacking libjpeg8:ppc64el (8c-2ubuntu11) ... 134s Selecting previously unselected package libgraphite2-3:ppc64el. 134s Preparing to unpack .../069-libgraphite2-3_1.3.14-2ubuntu1_ppc64el.deb ... 134s Unpacking libgraphite2-3:ppc64el (1.3.14-2ubuntu1) ... 134s Selecting previously unselected package libharfbuzz0b:ppc64el. 134s Preparing to unpack .../070-libharfbuzz0b_10.0.1-1_ppc64el.deb ... 134s Unpacking libharfbuzz0b:ppc64el (10.0.1-1) ... 134s Selecting previously unselected package libraqm0:ppc64el. 134s Preparing to unpack .../071-libraqm0_0.10.1-1build1_ppc64el.deb ... 134s Unpacking libraqm0:ppc64el (0.10.1-1build1) ... 134s Selecting previously unselected package libdeflate0:ppc64el. 134s Preparing to unpack .../072-libdeflate0_1.22-1_ppc64el.deb ... 134s Unpacking libdeflate0:ppc64el (1.22-1) ... 134s Selecting previously unselected package libjbig0:ppc64el. 134s Preparing to unpack .../073-libjbig0_2.1-6.1ubuntu2_ppc64el.deb ... 134s Unpacking libjbig0:ppc64el (2.1-6.1ubuntu2) ... 134s Selecting previously unselected package liblerc4:ppc64el. 134s Preparing to unpack .../074-liblerc4_4.0.0+ds-4ubuntu2_ppc64el.deb ... 134s Unpacking liblerc4:ppc64el (4.0.0+ds-4ubuntu2) ... 134s Selecting previously unselected package libwebp7:ppc64el. 134s Preparing to unpack .../075-libwebp7_1.4.0-0.1_ppc64el.deb ... 134s Unpacking libwebp7:ppc64el (1.4.0-0.1) ... 134s Selecting previously unselected package libtiff6:ppc64el. 134s Preparing to unpack .../076-libtiff6_4.5.1+git230720-4ubuntu4_ppc64el.deb ... 134s Unpacking libtiff6:ppc64el (4.5.1+git230720-4ubuntu4) ... 134s Selecting previously unselected package libxpm4:ppc64el. 134s Preparing to unpack .../077-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ... 134s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ... 134s Selecting previously unselected package libgd3:ppc64el. 134s Preparing to unpack .../078-libgd3_2.3.3-12ubuntu3_ppc64el.deb ... 134s Unpacking libgd3:ppc64el (2.3.3-12ubuntu3) ... 134s Selecting previously unselected package libgts-0.7-5t64:ppc64el. 134s Preparing to unpack .../079-libgts-0.7-5t64_0.7.6+darcs121130-5.2build1_ppc64el.deb ... 134s Unpacking libgts-0.7-5t64:ppc64el (0.7.6+darcs121130-5.2build1) ... 134s Selecting previously unselected package libpixman-1-0:ppc64el. 134s Preparing to unpack .../080-libpixman-1-0_0.44.0-3_ppc64el.deb ... 134s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ... 134s Selecting previously unselected package libxcb-render0:ppc64el. 134s Preparing to unpack .../081-libxcb-render0_1.17.0-2_ppc64el.deb ... 134s Unpacking libxcb-render0:ppc64el (1.17.0-2) ... 134s Selecting previously unselected package libxcb-shm0:ppc64el. 134s Preparing to unpack .../082-libxcb-shm0_1.17.0-2_ppc64el.deb ... 134s Unpacking libxcb-shm0:ppc64el (1.17.0-2) ... 135s Selecting previously unselected package libxrender1:ppc64el. 135s Preparing to unpack .../083-libxrender1_1%3a0.9.10-1.1build1_ppc64el.deb ... 135s Unpacking libxrender1:ppc64el (1:0.9.10-1.1build1) ... 135s Selecting previously unselected package libcairo2:ppc64el. 135s Preparing to unpack .../084-libcairo2_1.18.2-2_ppc64el.deb ... 135s Unpacking libcairo2:ppc64el (1.18.2-2) ... 135s Selecting previously unselected package libltdl7:ppc64el. 135s Preparing to unpack .../085-libltdl7_2.4.7-7build1_ppc64el.deb ... 135s Unpacking libltdl7:ppc64el (2.4.7-7build1) ... 135s Selecting previously unselected package libthai-data. 135s Preparing to unpack .../086-libthai-data_0.1.29-2build1_all.deb ... 135s Unpacking libthai-data (0.1.29-2build1) ... 135s Selecting previously unselected package libdatrie1:ppc64el. 135s Preparing to unpack .../087-libdatrie1_0.2.13-3build1_ppc64el.deb ... 135s Unpacking libdatrie1:ppc64el (0.2.13-3build1) ... 135s Selecting previously unselected package libthai0:ppc64el. 135s Preparing to unpack .../088-libthai0_0.1.29-2build1_ppc64el.deb ... 135s Unpacking libthai0:ppc64el (0.1.29-2build1) ... 135s Selecting previously unselected package libpango-1.0-0:ppc64el. 135s Preparing to unpack .../089-libpango-1.0-0_1.54.0+ds-3_ppc64el.deb ... 135s Unpacking libpango-1.0-0:ppc64el (1.54.0+ds-3) ... 135s Selecting previously unselected package libpangoft2-1.0-0:ppc64el. 135s Preparing to unpack .../090-libpangoft2-1.0-0_1.54.0+ds-3_ppc64el.deb ... 135s Unpacking libpangoft2-1.0-0:ppc64el (1.54.0+ds-3) ... 135s Selecting previously unselected package libpangocairo-1.0-0:ppc64el. 135s Preparing to unpack .../091-libpangocairo-1.0-0_1.54.0+ds-3_ppc64el.deb ... 135s Unpacking libpangocairo-1.0-0:ppc64el (1.54.0+ds-3) ... 135s Selecting previously unselected package libpathplan4:ppc64el. 135s Preparing to unpack .../092-libpathplan4_2.42.4-2build3_ppc64el.deb ... 135s Unpacking libpathplan4:ppc64el (2.42.4-2build3) ... 135s Selecting previously unselected package libgvc6. 135s Preparing to unpack .../093-libgvc6_2.42.4-2build3_ppc64el.deb ... 135s Unpacking libgvc6 (2.42.4-2build3) ... 135s Selecting previously unselected package libgvpr2:ppc64el. 135s Preparing to unpack .../094-libgvpr2_2.42.4-2build3_ppc64el.deb ... 135s Unpacking libgvpr2:ppc64el (2.42.4-2build3) ... 135s Selecting previously unselected package liblab-gamut1:ppc64el. 135s Preparing to unpack .../095-liblab-gamut1_2.42.4-2build3_ppc64el.deb ... 135s Unpacking liblab-gamut1:ppc64el (2.42.4-2build3) ... 135s Selecting previously unselected package x11-common. 135s Preparing to unpack .../096-x11-common_1%3a7.7+23ubuntu3_all.deb ... 135s Unpacking x11-common (1:7.7+23ubuntu3) ... 135s Selecting previously unselected package libice6:ppc64el. 135s Preparing to unpack .../097-libice6_2%3a1.1.1-1_ppc64el.deb ... 135s Unpacking libice6:ppc64el (2:1.1.1-1) ... 135s Selecting previously unselected package libsm6:ppc64el. 135s Preparing to unpack .../098-libsm6_2%3a1.2.4-1_ppc64el.deb ... 135s Unpacking libsm6:ppc64el (2:1.2.4-1) ... 135s Selecting previously unselected package libxt6t64:ppc64el. 135s Preparing to unpack .../099-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 135s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 135s Selecting previously unselected package libxmu6:ppc64el. 135s Preparing to unpack .../100-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 135s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 135s Selecting previously unselected package libxaw7:ppc64el. 135s Preparing to unpack .../101-libxaw7_2%3a1.0.16-1_ppc64el.deb ... 135s Unpacking libxaw7:ppc64el (2:1.0.16-1) ... 135s Selecting previously unselected package graphviz. 135s Preparing to unpack .../102-graphviz_2.42.4-2build3_ppc64el.deb ... 135s Unpacking graphviz (2.42.4-2build3) ... 135s Selecting previously unselected package libblas3:ppc64el. 135s Preparing to unpack .../103-libblas3_3.12.0-3build2_ppc64el.deb ... 135s Unpacking libblas3:ppc64el (3.12.0-3build2) ... 135s Selecting previously unselected package libgfortran5:ppc64el. 135s Preparing to unpack .../104-libgfortran5_14.2.0-8ubuntu1_ppc64el.deb ... 135s Unpacking libgfortran5:ppc64el (14.2.0-8ubuntu1) ... 135s Selecting previously unselected package liblapack3:ppc64el. 135s Preparing to unpack .../105-liblapack3_3.12.0-3build2_ppc64el.deb ... 135s Unpacking liblapack3:ppc64el (3.12.0-3build2) ... 135s Selecting previously unselected package libbasix0.9:ppc64el. 135s Preparing to unpack .../106-libbasix0.9_0.9.0-2build1_ppc64el.deb ... 135s Unpacking libbasix0.9:ppc64el (0.9.0-2build1) ... 135s Selecting previously unselected package libpkgconf3:ppc64el. 135s Preparing to unpack .../107-libpkgconf3_1.8.1-4_ppc64el.deb ... 135s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 135s Selecting previously unselected package pkgconf-bin. 135s Preparing to unpack .../108-pkgconf-bin_1.8.1-4_ppc64el.deb ... 135s Unpacking pkgconf-bin (1.8.1-4) ... 135s Selecting previously unselected package pkgconf:ppc64el. 135s Preparing to unpack .../109-pkgconf_1.8.1-4_ppc64el.deb ... 135s Unpacking pkgconf:ppc64el (1.8.1-4) ... 135s Selecting previously unselected package pkg-config:ppc64el. 135s Preparing to unpack .../110-pkg-config_1.8.1-4_ppc64el.deb ... 135s Unpacking pkg-config:ppc64el (1.8.1-4) ... 135s Selecting previously unselected package libeigen3-dev. 135s Preparing to unpack .../111-libeigen3-dev_3.4.0-4build1_all.deb ... 135s Unpacking libeigen3-dev (3.4.0-4build1) ... 135s Selecting previously unselected package libbasix-dev:ppc64el. 135s Preparing to unpack .../112-libbasix-dev_0.9.0-2build1_ppc64el.deb ... 135s Unpacking libbasix-dev:ppc64el (0.9.0-2build1) ... 135s Selecting previously unselected package libboost1.83-dev:ppc64el. 135s Preparing to unpack .../113-libboost1.83-dev_1.83.0-3.2ubuntu2_ppc64el.deb ... 135s Unpacking libboost1.83-dev:ppc64el (1.83.0-3.2ubuntu2) ... 137s Selecting previously unselected package libboost-math1.83.0:ppc64el. 137s Preparing to unpack .../114-libboost-math1.83.0_1.83.0-3.2ubuntu2_ppc64el.deb ... 137s Unpacking libboost-math1.83.0:ppc64el (1.83.0-3.2ubuntu2) ... 137s Selecting previously unselected package libboost-math1.83-dev:ppc64el. 137s Preparing to unpack .../115-libboost-math1.83-dev_1.83.0-3.2ubuntu2_ppc64el.deb ... 137s Unpacking libboost-math1.83-dev:ppc64el (1.83.0-3.2ubuntu2) ... 137s Selecting previously unselected package libboost-math-dev:ppc64el. 137s Preparing to unpack .../116-libboost-math-dev_1.83.0.2ubuntu1_ppc64el.deb ... 137s Unpacking libboost-math-dev:ppc64el (1.83.0.2ubuntu1) ... 137s Selecting previously unselected package libexpat1-dev:ppc64el. 137s Preparing to unpack .../117-libexpat1-dev_2.6.4-1_ppc64el.deb ... 137s Unpacking libexpat1-dev:ppc64el (2.6.4-1) ... 138s Selecting previously unselected package libjs-jquery. 138s Preparing to unpack .../118-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 138s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 138s Selecting previously unselected package libjs-underscore. 138s Preparing to unpack .../119-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 138s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 138s Selecting previously unselected package libjs-sphinxdoc. 138s Preparing to unpack .../120-libjs-sphinxdoc_7.4.7-4_all.deb ... 138s Unpacking libjs-sphinxdoc (7.4.7-4) ... 138s Selecting previously unselected package libjson-perl. 138s Preparing to unpack .../121-libjson-perl_4.10000-1_all.deb ... 138s Unpacking libjson-perl (4.10000-1) ... 138s Selecting previously unselected package zlib1g-dev:ppc64el. 138s Preparing to unpack .../122-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 138s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 138s Selecting previously unselected package libpython3.12-dev:ppc64el. 138s Preparing to unpack .../123-libpython3.12-dev_3.12.7-3_ppc64el.deb ... 138s Unpacking libpython3.12-dev:ppc64el (3.12.7-3) ... 138s Selecting previously unselected package libpython3-dev:ppc64el. 138s Preparing to unpack .../124-libpython3-dev_3.12.6-0ubuntu1_ppc64el.deb ... 138s Unpacking libpython3-dev:ppc64el (3.12.6-0ubuntu1) ... 138s Selecting previously unselected package libpython3-all-dev:ppc64el. 138s Preparing to unpack .../125-libpython3-all-dev_3.12.6-0ubuntu1_ppc64el.deb ... 138s Unpacking libpython3-all-dev:ppc64el (3.12.6-0ubuntu1) ... 138s Selecting previously unselected package python3-packaging. 138s Preparing to unpack .../126-python3-packaging_24.1-1_all.deb ... 138s Unpacking python3-packaging (24.1-1) ... 138s Selecting previously unselected package python3-pyproject-hooks. 138s Preparing to unpack .../127-python3-pyproject-hooks_1.2.0-1_all.deb ... 138s Unpacking python3-pyproject-hooks (1.2.0-1) ... 138s Selecting previously unselected package python3-toml. 138s Preparing to unpack .../128-python3-toml_0.10.2-1_all.deb ... 138s Unpacking python3-toml (0.10.2-1) ... 138s Selecting previously unselected package python3-wheel. 138s Preparing to unpack .../129-python3-wheel_0.44.0-1_all.deb ... 138s Unpacking python3-wheel (0.44.0-1) ... 138s Selecting previously unselected package python3-build. 138s Preparing to unpack .../130-python3-build_1.2.2-1_all.deb ... 138s Unpacking python3-build (1.2.2-1) ... 138s Selecting previously unselected package python3-installer. 138s Preparing to unpack .../131-python3-installer_0.7.0+dfsg1-3_all.deb ... 138s Unpacking python3-installer (0.7.0+dfsg1-3) ... 138s Selecting previously unselected package pybuild-plugin-pyproject. 138s Preparing to unpack .../132-pybuild-plugin-pyproject_6.20241024_all.deb ... 138s Unpacking pybuild-plugin-pyproject (6.20241024) ... 138s Selecting previously unselected package python3-all. 138s Preparing to unpack .../133-python3-all_3.12.6-0ubuntu1_ppc64el.deb ... 138s Unpacking python3-all (3.12.6-0ubuntu1) ... 138s Selecting previously unselected package python3.12-dev. 138s Preparing to unpack .../134-python3.12-dev_3.12.7-3_ppc64el.deb ... 138s Unpacking python3.12-dev (3.12.7-3) ... 138s Selecting previously unselected package python3-dev. 138s Preparing to unpack .../135-python3-dev_3.12.6-0ubuntu1_ppc64el.deb ... 138s Unpacking python3-dev (3.12.6-0ubuntu1) ... 138s Selecting previously unselected package python3-all-dev. 138s Preparing to unpack .../136-python3-all-dev_3.12.6-0ubuntu1_ppc64el.deb ... 138s Unpacking python3-all-dev (3.12.6-0ubuntu1) ... 138s Selecting previously unselected package python3-numpy. 138s Preparing to unpack .../137-python3-numpy_1%3a1.26.4+ds-11build1_ppc64el.deb ... 138s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 138s Selecting previously unselected package python3-ufl. 138s Preparing to unpack .../138-python3-ufl_2024.2.0-2_all.deb ... 138s Unpacking python3-ufl (2024.2.0-2) ... 138s Selecting previously unselected package python3-basix. 138s Preparing to unpack .../139-python3-basix_0.9.0-2build1_ppc64el.deb ... 138s Unpacking python3-basix (0.9.0-2build1) ... 138s Selecting previously unselected package python3-ply. 138s Preparing to unpack .../140-python3-ply_3.11-7_all.deb ... 138s Unpacking python3-ply (3.11-7) ... 138s Selecting previously unselected package python3-pycparser. 138s Preparing to unpack .../141-python3-pycparser_2.22-2_all.deb ... 138s Unpacking python3-pycparser (2.22-2) ... 138s Selecting previously unselected package python3-cffi. 138s Preparing to unpack .../142-python3-cffi_1.17.1-2_all.deb ... 138s Unpacking python3-cffi (1.17.1-2) ... 138s Selecting previously unselected package python3-defusedxml. 138s Preparing to unpack .../143-python3-defusedxml_0.7.1-2_all.deb ... 138s Unpacking python3-defusedxml (0.7.1-2) ... 138s Selecting previously unselected package python3-roman. 138s Preparing to unpack .../144-python3-roman_4.2-1_all.deb ... 138s Unpacking python3-roman (4.2-1) ... 138s Selecting previously unselected package python3-docutils. 138s Preparing to unpack .../145-python3-docutils_0.21.2+dfsg-2_all.deb ... 138s Unpacking python3-docutils (0.21.2+dfsg-2) ... 138s Selecting previously unselected package python3-ffcx. 138s Preparing to unpack .../146-python3-ffcx_1%3a0.8.0-1_all.deb ... 138s Unpacking python3-ffcx (1:0.8.0-1) ... 138s Selecting previously unselected package python3-imagesize. 138s Preparing to unpack .../147-python3-imagesize_1.4.1-1_all.deb ... 138s Unpacking python3-imagesize (1.4.1-1) ... 138s Selecting previously unselected package python3-iniconfig. 138s Preparing to unpack .../148-python3-iniconfig_1.1.1-2_all.deb ... 138s Unpacking python3-iniconfig (1.1.1-2) ... 138s Selecting previously unselected package python3-mpmath. 138s Preparing to unpack .../149-python3-mpmath_1.3.0-1_all.deb ... 138s Unpacking python3-mpmath (1.3.0-1) ... 139s Selecting previously unselected package python3-pip. 139s Preparing to unpack .../150-python3-pip_24.2+dfsg-1_all.deb ... 139s Unpacking python3-pip (24.2+dfsg-1) ... 139s Selecting previously unselected package python3-pluggy. 139s Preparing to unpack .../151-python3-pluggy_1.5.0-1_all.deb ... 139s Unpacking python3-pluggy (1.5.0-1) ... 139s Selecting previously unselected package python3-pygraphviz. 139s Preparing to unpack .../152-python3-pygraphviz_1.14-1build1_ppc64el.deb ... 139s Unpacking python3-pygraphviz (1.14-1build1) ... 139s Selecting previously unselected package python3-pytest. 139s Preparing to unpack .../153-python3-pytest_8.3.3-1_all.deb ... 139s Unpacking python3-pytest (8.3.3-1) ... 139s Selecting previously unselected package python3-snowballstemmer. 139s Preparing to unpack .../154-python3-snowballstemmer_2.2.0-4build1_all.deb ... 139s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 139s Selecting previously unselected package sphinx-common. 139s Preparing to unpack .../155-sphinx-common_7.4.7-4_all.deb ... 139s Unpacking sphinx-common (7.4.7-4) ... 139s Selecting previously unselected package python3-alabaster. 139s Preparing to unpack .../156-python3-alabaster_0.7.16-0.1_all.deb ... 139s Unpacking python3-alabaster (0.7.16-0.1) ... 139s Selecting previously unselected package python3-sphinx. 139s Preparing to unpack .../157-python3-sphinx_7.4.7-4_all.deb ... 139s Unpacking python3-sphinx (7.4.7-4) ... 139s Selecting previously unselected package sphinx-rtd-theme-common. 139s Preparing to unpack .../158-sphinx-rtd-theme-common_3.0.1+dfsg-1_all.deb ... 139s Unpacking sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 139s Selecting previously unselected package python3-sphinxcontrib.jquery. 139s Preparing to unpack .../159-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 139s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 139s Selecting previously unselected package python3-sphinx-rtd-theme. 139s Preparing to unpack .../160-python3-sphinx-rtd-theme_3.0.1+dfsg-1_all.deb ... 139s Unpacking python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 139s Selecting previously unselected package python3-sympy. 139s Preparing to unpack .../161-python3-sympy_1.13.3-1_all.deb ... 139s Unpacking python3-sympy (1.13.3-1) ... 139s Selecting previously unselected package autopkgtest-satdep. 139s Preparing to unpack .../162-1-autopkgtest-satdep.deb ... 139s Unpacking autopkgtest-satdep (0) ... 139s Setting up dh-python (6.20241024) ... 139s Setting up libgraphite2-3:ppc64el (1.3.14-2ubuntu1) ... 139s Setting up python3-iniconfig (1.1.1-2) ... 140s Setting up libpixman-1-0:ppc64el (0.44.0-3) ... 140s Setting up libsharpyuv0:ppc64el (1.4.0-0.1) ... 140s Setting up libaom3:ppc64el (3.11.0~rc1-1) ... 140s Setting up fonts-lato (2.015-1) ... 140s Setting up liblerc4:ppc64el (4.0.0+ds-4ubuntu2) ... 140s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ... 140s Setting up libxrender1:ppc64el (1:0.9.10-1.1build1) ... 140s Setting up libdatrie1:ppc64el (0.2.13-3build1) ... 140s Setting up libxcb-render0:ppc64el (1.17.0-2) ... 140s Setting up python3-defusedxml (0.7.1-2) ... 140s Setting up libarchive-zip-perl (1.68-1) ... 140s Setting up python3-alabaster (0.7.16-0.1) ... 140s Setting up libdebhelper-perl (13.20ubuntu1) ... 140s Setting up python3-ply (3.11-7) ... 140s Setting up liblab-gamut1:ppc64el (2.42.4-2build3) ... 140s Setting up x11-common (1:7.7+23ubuntu3) ... 140s Setting up libdeflate0:ppc64el (1.22-1) ... 140s Setting up m4 (1.4.19-4build1) ... 140s Setting up python3-all (3.12.6-0ubuntu1) ... 140s Setting up libxcb-shm0:ppc64el (1.17.0-2) ... 140s Setting up libgomp1:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up python3-wheel (0.44.0-1) ... 140s Setting up libjbig0:ppc64el (2.1-6.1ubuntu2) ... 140s Setting up python3-pycparser (2.22-2) ... 141s Setting up python3-roman (4.2-1) ... 141s Setting up autotools-dev (20220109.1) ... 141s Setting up libblas3:ppc64el (3.12.0-3build2) ... 141s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/blas/libblas.so.3 to provide /usr/lib/powerpc64le-linux-gnu/libblas.so.3 (libblas.so.3-powerpc64le-linux-gnu) in auto mode 141s Setting up python3-packaging (24.1-1) ... 141s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 141s Setting up libexpat1-dev:ppc64el (2.6.4-1) ... 141s Setting up python3-pyproject-hooks (1.2.0-1) ... 141s Setting up python3-snowballstemmer (2.2.0-4build1) ... 141s Setting up libpathplan4:ppc64el (2.42.4-2build3) ... 141s Setting up libann0 (1.1.2+doc-9build1) ... 141s Setting up libquadmath0:ppc64el (14.2.0-8ubuntu1) ... 141s Setting up libimagequant0:ppc64el (2.18.0-1build1) ... 141s Setting up fonts-dejavu-mono (2.37-8) ... 141s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 141s Setting up autopoint (0.22.5-2) ... 141s Setting up libjsoncpp25:ppc64el (1.9.5-6build1) ... 141s Setting up fonts-dejavu-core (2.37-8) ... 141s Setting up pkgconf-bin (1.8.1-4) ... 141s Setting up python3-pip (24.2+dfsg-1) ... 142s Setting up libjpeg-turbo8:ppc64el (2.1.5-2ubuntu2) ... 142s Setting up libltdl7:ppc64el (2.4.7-7build1) ... 142s Setting up python3-toml (0.10.2-1) ... 142s Setting up python3-installer (0.7.0+dfsg1-3) ... 143s Setting up libgfortran5:ppc64el (14.2.0-8ubuntu1) ... 143s Setting up autoconf (2.72-3) ... 143s Setting up python3-pluggy (1.5.0-1) ... 143s Setting up libwebp7:ppc64el (1.4.0-0.1) ... 143s Setting up libubsan1:ppc64el (14.2.0-8ubuntu1) ... 143s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 143s Setting up dwz (0.15-1build6) ... 143s Setting up librhash0:ppc64el (1.4.3-3build1) ... 143s Setting up libasan8:ppc64el (14.2.0-8ubuntu1) ... 143s Setting up libjson-perl (4.10000-1) ... 143s Setting up debugedit (1:5.1-1) ... 143s Setting up libharfbuzz0b:ppc64el (10.0.1-1) ... 143s Setting up libthai-data (0.1.29-2build1) ... 143s Setting up libgts-0.7-5t64:ppc64el (0.7.6+darcs121130-5.2build1) ... 143s Setting up sgml-base (1.31) ... 143s Setting up cmake-data (3.30.3-1) ... 143s Setting up libcdt5:ppc64el (2.42.4-2build3) ... 143s Setting up libcgraph6:ppc64el (2.42.4-2build3) ... 143s Setting up libboost-math1.83.0:ppc64el (1.83.0-3.2ubuntu2) ... 143s Setting up libtsan2:ppc64el (14.2.0-8ubuntu1) ... 143s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 143s Setting up python3-mpmath (1.3.0-1) ... 143s Setting up libisl23:ppc64el (0.27-1) ... 143s Setting up python3-build (1.2.2-1) ... 143s Setting up libde265-0:ppc64el (1.0.15-1build4) ... 143s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 143s Setting up sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 143s Setting up libcc1-0:ppc64el (14.2.0-8ubuntu1) ... 143s Setting up liblsan0:ppc64el (14.2.0-8ubuntu1) ... 143s Setting up libitm1:ppc64el (14.2.0-8ubuntu1) ... 143s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 143s Setting up python3-imagesize (1.4.1-1) ... 144s Setting up libjpeg8:ppc64el (8c-2ubuntu11) ... 144s Setting up automake (1:1.16.5-1.3ubuntu1) ... 144s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 144s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 144s Setting up python3-sympy (1.13.3-1) ... 151s Setting up libice6:ppc64el (2:1.1.1-1) ... 151s Setting up liblapack3:ppc64el (3.12.0-3build2) ... 151s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so.3 (liblapack.so.3-powerpc64le-linux-gnu) in auto mode 151s Setting up gettext (0.22.5-2) ... 151s Setting up pybuild-plugin-pyproject (6.20241024) ... 151s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 151s Setting up python3-pytest (8.3.3-1) ... 151s Setting up python3-cffi (1.17.1-2) ... 151s Setting up libpython3.12-dev:ppc64el (3.12.7-3) ... 151s Setting up pkgconf:ppc64el (1.8.1-4) ... 151s Setting up intltool-debian (0.35.0+20060710.6) ... 151s Setting up libthai0:ppc64el (0.1.29-2build1) ... 151s Setting up libraqm0:ppc64el (0.10.1-1build1) ... 151s Setting up libeigen3-dev (3.4.0-4build1) ... 151s Setting up python3.12-dev (3.12.7-3) ... 151s Setting up pkg-config:ppc64el (1.8.1-4) ... 151s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 151s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 154s Setting up libjs-sphinxdoc (7.4.7-4) ... 154s Setting up cpp-14 (14.2.0-8ubuntu1) ... 154s Setting up dh-strip-nondeterminism (1.14.0-1) ... 154s Setting up libgvpr2:ppc64el (2.42.4-2build3) ... 154s Setting up libbasix0.9:ppc64el (0.9.0-2build1) ... 154s Setting up libtiff6:ppc64el (4.5.1+git230720-4ubuntu4) ... 154s Setting up xml-core (0.19) ... 154s Setting up cmake (3.30.3-1) ... 154s Setting up libfontconfig1:ppc64el (2.15.0-1.1ubuntu2) ... 154s Setting up libgcc-14-dev:ppc64el (14.2.0-8ubuntu1) ... 154s Setting up libbasix-dev:ppc64el (0.9.0-2build1) ... 154s Setting up libstdc++-14-dev:ppc64el (14.2.0-8ubuntu1) ... 154s Setting up libsm6:ppc64el (2:1.2.4-1) ... 154s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 154s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 154s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 156s Regenerating fonts cache... done. 156s Setting up libboost1.83-dev:ppc64el (1.83.0-3.2ubuntu2) ... 156s Setting up libpython3-dev:ppc64el (3.12.6-0ubuntu1) ... 156s Setting up python3-ufl (2024.2.0-2) ... 156s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 156s Setting up libboost-math1.83-dev:ppc64el (1.83.0-3.2ubuntu2) ... 156s Setting up libboost-math-dev:ppc64el (1.83.0.2ubuntu1) ... 156s Setting up po-debconf (1.0.21+nmu1) ... 156s Setting up libpango-1.0-0:ppc64el (1.54.0+ds-3) ... 156s Setting up libcairo2:ppc64el (1.18.2-2) ... 156s Setting up gcc-14 (14.2.0-8ubuntu1) ... 156s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 156s Setting up libpython3-all-dev:ppc64el (3.12.6-0ubuntu1) ... 156s Setting up sphinx-common (7.4.7-4) ... 156s Setting up python3-dev (3.12.6-0ubuntu1) ... 156s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 156s Setting up cpp (4:14.1.0-2ubuntu1) ... 156s Setting up g++-14 (14.2.0-8ubuntu1) ... 156s Setting up libpangoft2-1.0-0:ppc64el (1.54.0+ds-3) ... 156s Setting up libpangocairo-1.0-0:ppc64el (1.54.0+ds-3) ... 156s Setting up python3-basix (0.9.0-2build1) ... 156s Setting up g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 156s Setting up python3-all-dev (3.12.6-0ubuntu1) ... 156s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 156s Setting up libtool (2.4.7-7build1) ... 156s Setting up libxaw7:ppc64el (2:1.0.16-1) ... 156s Setting up gcc (4:14.1.0-2ubuntu1) ... 156s Setting up python3-ffcx (1:0.8.0-1) ... 156s Setting up dh-autoreconf (20) ... 156s Setting up g++ (4:14.1.0-2ubuntu1) ... 156s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 156s Setting up build-essential (12.10ubuntu1) ... 156s Setting up debhelper (13.20ubuntu1) ... 156s Setting up libheif-plugin-aomdec:ppc64el (1.19.3-1) ... 156s Setting up libheif-plugin-libde265:ppc64el (1.19.3-1) ... 156s Setting up libheif1:ppc64el (1.19.3-1) ... 156s Setting up libgd3:ppc64el (2.3.3-12ubuntu3) ... 156s Setting up libgvc6 (2.42.4-2build3) ... 156s Setting up graphviz (2.42.4-2build3) ... 156s Setting up python3-pygraphviz (1.14-1build1) ... 157s Processing triggers for install-info (7.1.1-1) ... 157s Processing triggers for libc-bin (2.40-1ubuntu3) ... 157s Processing triggers for man-db (2.13.0-1) ... 159s Processing triggers for sgml-base (1.31) ... 159s Setting up docutils-common (0.21.2+dfsg-2) ... 159s Processing triggers for sgml-base (1.31) ... 159s Setting up python3-docutils (0.21.2+dfsg-2) ... 159s Setting up python3-sphinx (7.4.7-4) ... 160s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 160s Setting up python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 160s Setting up autopkgtest-satdep (0) ... 166s (Reading database ... 103964 files and directories currently installed.) 166s Removing autopkgtest-satdep (0) ... 166s autopkgtest [06:56:43]: test command1: for pyver in `py3versions -sv`; do python$pyver -m pytest test; done 166s autopkgtest [06:56:43]: test command1: [----------------------- 168s ============================= test session starts ============================== 168s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 168s rootdir: /tmp/autopkgtest.gKyZyF/build.lRL/src 168s configfile: pyproject.toml 168s plugins: typeguard-4.4.1 168s collected 87 items 168s 168s test/test_add_mode.py::test_additive_facet_integral[float32] FAILED [ 1%] 168s test/test_add_mode.py::test_additive_facet_integral[float64] FAILED [ 2%] 168s test/test_add_mode.py::test_additive_facet_integral[complex64] FAILED [ 3%] 168s test/test_add_mode.py::test_additive_facet_integral[complex128] FAILED [ 4%] 168s test/test_add_mode.py::test_additive_cell_integral[float32] FAILED [ 5%] 168s test/test_add_mode.py::test_additive_cell_integral[float64] FAILED [ 6%] 168s test/test_add_mode.py::test_additive_cell_integral[complex64] FAILED [ 8%] 168s test/test_add_mode.py::test_additive_cell_integral[complex128] FAILED [ 9%] 168s test/test_blocked_elements.py::test_finite_element FAILED [ 10%] 168s test/test_blocked_elements.py::test_vector_element FAILED [ 11%] 168s test/test_blocked_elements.py::test_tensor_element FAILED [ 12%] 169s test/test_blocked_elements.py::test_vector_quadrature_element FAILED [ 13%] 169s test/test_cache.py::test_cache_modes FAILED [ 14%] 170s test/test_cmdline.py::test_cmdline_simple PASSED [ 16%] 171s test/test_cmdline.py::test_visualise FAILED [ 17%] 171s test/test_jit_expression.py::test_matvec FAILED [ 18%] 171s test/test_jit_expression.py::test_rank1 FAILED [ 19%] 171s test/test_jit_expression.py::test_elimiate_zero_tables_tensor FAILED [ 20%] 172s test/test_jit_expression.py::test_grad_constant PASSED [ 21%] 172s test/test_jit_expression.py::test_facet_expression FAILED [ 22%] 172s test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] FAILED [ 24%] 172s test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] FAILED [ 25%] 172s test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] FAILED [ 26%] 172s test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] FAILED [ 27%] 172s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] FAILED [ 28%] 172s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] FAILED [ 29%] 172s test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] FAILED [ 31%] 172s test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] FAILED [ 32%] 173s test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] FAILED [ 33%] 173s test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] FAILED [ 34%] 173s test/test_jit_forms.py::test_form_coefficient FAILED [ 35%] 173s test/test_jit_forms.py::test_subdomains FAILED [ 36%] 173s test/test_jit_forms.py::test_interior_facet_integral[float64] FAILED [ 37%] 173s test/test_jit_forms.py::test_interior_facet_integral[complex128] FAILED [ 39%] 173s test/test_jit_forms.py::test_conditional[float64] FAILED [ 40%] 173s test/test_jit_forms.py::test_conditional[complex128] FAILED [ 41%] 173s test/test_jit_forms.py::test_custom_quadrature FAILED [ 42%] 173s test/test_jit_forms.py::test_curl_curl FAILED [ 43%] 174s test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] FAILED [ 44%] 174s test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] FAILED [ 45%] 174s test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] FAILED [ 47%] 174s test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] FAILED [ 48%] 174s test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] FAILED [ 49%] 175s test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] FAILED [ 50%] 179s test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] FAILED [ 51%] 181s test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] FAILED [ 52%] 184s test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] FAILED [ 54%] 185s test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] FAILED [ 55%] 185s test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] FAILED [ 56%] 185s test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] FAILED [ 57%] 186s test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] FAILED [ 58%] 186s test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] FAILED [ 59%] 187s test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] FAILED [ 60%] 208s test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] FAILED [ 62%] 220s test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] FAILED [ 63%] 237s test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] FAILED [ 64%] 237s test/test_jit_forms.py::test_prism FAILED [ 65%] 237s test/test_jit_forms.py::test_complex_operations FAILED [ 66%] 237s test/test_jit_forms.py::test_invalid_function_name FAILED [ 67%] 237s test/test_jit_forms.py::test_interval_vertex_quadrature FAILED [ 68%] 237s test/test_jit_forms.py::test_facet_vertex_quadrature FAILED [ 70%] 237s test/test_jit_forms.py::test_manifold_derivatives FAILED [ 71%] 237s test/test_jit_forms.py::test_integral_grouping FAILED [ 72%] 237s test/test_lnodes.py::test_gemm[float32] 237s -------------------------------- live log call --------------------------------- 237s INFO root:dist.py:970 running build_ext 237s INFO root:build_ext.py:530 building '_gemm_float' extension 237s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_float.c -o ./_gemm_float.o 238s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_float.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemm_float.cpython-312-powerpc64le-linux-gnu.so 238s PASSED [ 73%] 238s test/test_lnodes.py::test_gemm[float64] 238s -------------------------------- live log call --------------------------------- 238s INFO root:dist.py:970 running build_ext 238s INFO root:build_ext.py:530 building '_gemm_double' extension 238s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_double.c -o ./_gemm_double.o 238s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_double.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemm_double.cpython-312-powerpc64le-linux-gnu.so 238s PASSED [ 74%] 238s test/test_lnodes.py::test_gemm[intc] 238s -------------------------------- live log call --------------------------------- 238s INFO root:dist.py:970 running build_ext 238s INFO root:build_ext.py:530 building '_gemm_int' extension 238s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_int.c -o ./_gemm_int.o 238s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_int.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemm_int.cpython-312-powerpc64le-linux-gnu.so 238s PASSED [ 75%] 238s test/test_lnodes.py::test_gemv[float32] 238s -------------------------------- live log call --------------------------------- 238s INFO root:dist.py:970 running build_ext 238s INFO root:build_ext.py:530 building '_gemv_float' extension 238s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_float.c -o ./_gemv_float.o 238s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_float.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemv_float.cpython-312-powerpc64le-linux-gnu.so 238s PASSED [ 77%] 238s test/test_lnodes.py::test_gemv[float64] 238s -------------------------------- live log call --------------------------------- 238s INFO root:dist.py:970 running build_ext 238s INFO root:build_ext.py:530 building '_gemv_double' extension 238s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_double.c -o ./_gemv_double.o 238s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_double.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemv_double.cpython-312-powerpc64le-linux-gnu.so 238s PASSED [ 78%] 238s test/test_lnodes.py::test_gemv[intc] 238s -------------------------------- live log call --------------------------------- 238s INFO root:dist.py:970 running build_ext 239s INFO root:build_ext.py:530 building '_gemv_int' extension 239s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_int.c -o ./_gemv_int.o 239s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_int.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemv_int.cpython-312-powerpc64le-linux-gnu.so 239s PASSED [ 79%] 239s test/test_signatures.py::test_numba_kernel_signature[float32] SKIPPED [ 80%] 239s test/test_signatures.py::test_numba_kernel_signature[float64] SKIPPED [ 81%] 239s test/test_signatures.py::test_numba_kernel_signature[complex64] SKIPPED [ 82%] 239s test/test_signatures.py::test_numba_kernel_signature[complex128] SKIPPED [ 83%] 239s test/test_submesh.py::test_multiple_mesh_codim0[float64] FAILED [ 85%] 239s test/test_submesh.py::test_multiple_mesh_codim0[complex128] FAILED [ 86%] 239s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] FAILED [ 87%] 239s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] FAILED [ 88%] 239s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] FAILED [ 89%] 239s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] FAILED [ 90%] 239s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] FAILED [ 91%] 239s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] FAILED [ 93%] 239s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] FAILED [ 94%] 239s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] FAILED [ 95%] 239s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] FAILED [ 96%] 240s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] FAILED [ 97%] 240s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] FAILED [ 98%] 240s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] FAILED [100%] 240s 240s =================================== FAILURES =================================== 240s ____________________ test_additive_facet_integral[float32] _____________________ 240s 240s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float32", 240s "float64", 240s "complex64", 240s "complex128", 240s ], 240s ) 240s def test_additive_facet_integral(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(u, v) * ufl.ds 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_add_mode.py:32: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7e9e118b4f290fd7e45a0e6026288038eb357...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_7b27df8726290d816035990ad978f1570a6fa29b'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s ____________________ test_additive_facet_integral[float64] _____________________ 240s 240s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float32", 240s "float64", 240s "complex64", 240s "complex128", 240s ], 240s ) 240s def test_additive_facet_integral(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(u, v) * ufl.ds 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_add_mode.py:32: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b5b1ecb6176a224bcb020994542197dfc27f4...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9ea091844f88515362f880212a6eeaebc6584bb0'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s ___________________ test_additive_facet_integral[complex64] ____________________ 240s 240s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float32", 240s "float64", 240s "complex64", 240s "complex128", 240s ], 240s ) 240s def test_additive_facet_integral(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(u, v) * ufl.ds 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_add_mode.py:32: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cb3ecfd835501e3f5398c2ce8e3de7e42d735...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_aa7a23b319899b558079ede2c5ecdfbf4d507fc7'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s ___________________ test_additive_facet_integral[complex128] ___________________ 240s 240s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float32", 240s "float64", 240s "complex64", 240s "complex128", 240s ], 240s ) 240s def test_additive_facet_integral(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(u, v) * ufl.ds 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_add_mode.py:32: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_410d0395420e0b128766a765e0bb58871b3ce...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c013d48cd18414656ec6abcfa9239f40e9d49d4f'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s _____________________ test_additive_cell_integral[float32] _____________________ 240s 240s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float32", 240s "float64", 240s "complex64", 240s "complex128", 240s ], 240s ) 240s def test_additive_cell_integral(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_add_mode.py:93: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_666a424d652e1cd435b3f57ab6931100caf18...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_a63255ef5335737999774c906db5a928b9f19941'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s _____________________ test_additive_cell_integral[float64] _____________________ 240s 240s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float32", 240s "float64", 240s "complex64", 240s "complex128", 240s ], 240s ) 240s def test_additive_cell_integral(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_add_mode.py:93: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1973330de0639bcdd5e474b8996dd906458c6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_7f5eecc47dc6312d0c27d59c9083880bba665091'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s ____________________ test_additive_cell_integral[complex64] ____________________ 240s 240s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float32", 240s "float64", 240s "complex64", 240s "complex128", 240s ], 240s ) 240s def test_additive_cell_integral(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_add_mode.py:93: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2a85b61aa14e2f56c63b996e5be123b96b2ae...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5fb7de0d0825a418fd53049c317f5720d9c2304f'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s ___________________ test_additive_cell_integral[complex128] ____________________ 240s 240s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float32", 240s "float64", 240s "complex64", 240s "complex128", 240s ], 240s ) 240s def test_additive_cell_integral(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_add_mode.py:93: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_331530046492c6ffec7245f5b9ca95250daf3...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5cb262715bdabac4489749364cd3a5224b0ad6f7'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s _____________________________ test_finite_element ______________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_finite_element(compile_args): 240s ufl_element = basix.ufl.element("Lagrange", "triangle", 1) 240s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 240s [ufl_element], cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_blocked_elements.py:16: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:205: in compile_elements 240s raise e 240s ffcx/codegeneration/jit.py:185: in compile_elements 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_9e85cc27ae46c87f884c8652ea25be5704facca2'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s _____________________________ test_vector_element ______________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_vector_element(compile_args): 240s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 240s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 240s [ufl_element], cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_blocked_elements.py:42: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:205: in compile_elements 240s raise e 240s ffcx/codegeneration/jit.py:185: in compile_elements 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_049a23e5ccc2a097ae5ffa408723d2ac2f0cf...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f0acf366b9c5f64e3c6415cebdc4d2a968ff7e84'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s _____________________________ test_tensor_element ______________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_tensor_element(compile_args): 240s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2, 2)) 240s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 240s [ufl_element], cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_blocked_elements.py:69: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:205: in compile_elements 240s raise e 240s ffcx/codegeneration/jit.py:185: in compile_elements 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2, 2)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1731fa3d902a141f63f2a06e320e4e0d844d8...t (P, triangle, 1, gll_warped, unset, False, float64, []), (2, 2)): 'element_5bbb5f485f822141748bdac3a1f8d13a35883657'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s ________________________ test_vector_quadrature_element ________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_vector_quadrature_element(compile_args): 240s ufl_element = basix.ufl.blocked_element( 240s basix.ufl.quadrature_element("tetrahedron", degree=2, scheme="default"), shape=(3,) 240s ) 240s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 240s [ufl_element], cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_blocked_elements.py:99: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:205: in compile_elements 240s raise e 240s ffcx/codegeneration/jit.py:185: in compile_elements 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = QuadratureElement(tetrahedron, array([[0.5854102, 0.1381966, 0.1381966], [0.1381966, 0.5854102, 0.1381966], ... [0.1381966, 0.1381966, 0.1381966]]), array([0.04166667, 0.04166667, 0.04166667, 0.04166667]), IdentityPullback()) 240s element_numbers = {QuadratureElement(tetrahedron, array([[0.5854102, 0.1381966, 0.1381966], [0.1381966, 0.5854102, 0.1381966], ...81966, 0.1381966, 0.1381966]]), array([0.04166667, 0.04166667, 0.04166667, 0.04166667]), IdentityPullback()), (3,)): 1} 240s finite_element_names = {QuadratureElement(tetrahedron, array([[0.5854102, 0.1381966, 0.1381966], [0.1381966, 0.5854102, 0.1381966], ..., 0.04166667, 0.04166667, 0.04166667]), IdentityPullback()), (3,)): 'element_c86ae369c761d2edbe97753fd9db3538893c7f5f'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_QuadratureElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s _______________________________ test_cache_modes _______________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_cache_modes(compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s forms = [a] 240s 240s # Load form from /tmp 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, cffi_extra_compile_args=compile_args 240s ) 240s 240s test/test_cache.py:24: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1973330de0639bcdd5e474b8996dd906458c6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_7f5eecc47dc6312d0c27d59c9083880bba665091'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s ffcx/ir/representation.py:293: AttributeError 240s ________________________________ test_visualise ________________________________ 240s 240s def test_visualise(): 240s os.chdir(os.path.dirname(__file__)) 240s subprocess.run(["ffcx", "--visualise", "Poisson.py"]) 240s > assert os.path.isfile("S.pdf") 240s E AssertionError: assert False 240s E + where False = ('S.pdf') 240s E + where = .isfile 240s E + where = os.path 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_cmdline.py:20: AssertionError 240s ----------------------------- Captured stderr call ----------------------------- 240s Traceback (most recent call last): 240s File "/usr/bin/ffcx", line 8, in 240s sys.exit(__main__.main()) 240s ^^^^^^^^^^^^^^^ 240s File "/usr/lib/python3/dist-packages/ffcx/main.py", line 75, in main 240s code_h, code_c = compiler.compile_ufl_objects( 240s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 240s File "/usr/lib/python3/dist-packages/ffcx/compiler.py", line 113, in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 240s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 215, in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 293, in _compute_element_ir 240s ir["element_type"] = element.ufcx_element_type 240s ^^^^^^^^^^^^^^^^^^^^^^^^^ 240s AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s _________________________________ test_matvec __________________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_matvec(compile_args): 240s """Test evaluation of linear rank-0 form. 240s 240s Evaluates expression c * A_ij * f_j where c is a Constant, 240s A_ij is a user specified constant matrix and f_j is j-th component 240s of user specified vector-valued finite element function (in P1 space). 240s 240s """ 240s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 240s mesh = ufl.Mesh(e) 240s V = ufl.FunctionSpace(mesh, e) 240s f = ufl.Coefficient(V) 240s 240s a_mat = np.array([[1.0, 2.0], [1.0, 1.0]]) 240s a = ufl.as_matrix(a_mat) 240s expr = ufl.Constant(mesh) * ufl.dot(a, f) 240s 240s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 240s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 240s [(expr, points)], cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_expression.py:35: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:358: in compile_expressions 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:338: in compile_expressions 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_9c6ab7e2f3d5c663d5d7bc7849eeb92139ccb...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ba8842cc3233c3ab3c82fe0d8ed7248a859f8ded'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s __________________________________ test_rank1 __________________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_rank1(compile_args): 240s """Tests evaluation of rank-1 form. 240s 240s Builds a linear operator which takes vector-valued functions in P1 space 240s and evaluates expression [u_y, u_x] + grad(u_x) at specified points. 240s 240s """ 240s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 240s mesh = ufl.Mesh(e) 240s 240s V = ufl.FunctionSpace(mesh, e) 240s u = ufl.TrialFunction(V) 240s 240s expr = ufl.as_vector([u[1], u[0]]) + ufl.grad(u[0]) 240s 240s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 240s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 240s [(expr, points)], cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_expression.py:101: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:358: in compile_expressions 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:338: in compile_expressions 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1eca4c9c76ee003eac5caa3a202b8e09380bf...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_200927cdf5402c120eeccb614b94e96a787ee1e3'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _______________________ test_elimiate_zero_tables_tensor _______________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_elimiate_zero_tables_tensor(compile_args): 240s """Test elimination of tensor-valued expressions with zero tables""" 240s cell = "tetrahedron" 240s c_el = basix.ufl.element("P", cell, 1, shape=(3,)) 240s mesh = ufl.Mesh(c_el) 240s 240s e = basix.ufl.element("P", cell, 1) 240s V = ufl.FunctionSpace(mesh, e) 240s u = ufl.Coefficient(V) 240s expr = ufl.sym(ufl.as_tensor([[u, u.dx(0).dx(0), 0], [u.dx(1), u.dx(1), 0], [0, 0, 0]])) 240s 240s # Get vertices of cell 240s # Coords storage XYZXYZXYZ 240s basix_c_e = basix.create_element( 240s > basix.ElementFamily.P, basix.cell.string_to_type(cell), 1, discontinuous=False 240s ) 240s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_expression.py:169: AttributeError 240s ____________________________ test_facet_expression _____________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_facet_expression(compile_args): 240s """Test facet expression containing a facet normal on a manifold.""" 240s c_el = basix.ufl.element("Lagrange", "triangle", 1, shape=(3,)) 240s mesh = ufl.Mesh(c_el) 240s 240s n = ufl.FacetNormal(mesh) 240s expr = n 240s 240s dtype = np.float64 240s points = np.array([[0.5]], dtype=dtype) 240s 240s > obj, _, _ = ffcx.codegeneration.jit.compile_expressions( 240s [(expr, points)], cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_expression.py:281: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:358: in compile_expressions 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:338: in compile_expressions 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:254: in compute_ir 240s _compute_expression_ir( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:857: in _compute_expression_ir 240s expression_ir = compute_integral_ir( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/integral.py:85: in compute_integral_ir 240s mt_table_reference = build_optimized_tables( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/elementtables.py:415: in build_optimized_tables 240s t = get_ffcx_table_values( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/elementtables.py:138: in get_ffcx_table_values 240s entity_points = map_integral_points(points, integral_type, cell, entity) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representationutils.py:119: in map_integral_points 240s return np.asarray(map_facet_points(points, entity, cell.cellname())) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s points = array([[0.5]]), facet = 0, cellname = 'triangle' 240s 240s def map_facet_points( 240s points: npt.NDArray[np.float64], facet: int, cellname: str 240s ) -> npt.NDArray[np.float64]: 240s """Map points from a reference facet to a physical facet.""" 240s > geom = basix.geometry(basix.cell.string_to_type(cellname)) 240s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/element_interface.py:44: AttributeError 240s ___________ test_laplace_bilinear_form_2d[float64-expected_result0] ____________ 240s 240s dtype = 'float64' 240s expected_result = array([[ 1. , -0.5, -0.5], 240s [-0.5, 0.5, 0. ], 240s [-0.5, 0. , 0.5]]) 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype,expected_result", 240s [ 240s ( 240s "float64", 240s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 240s ), 240s ( 240s "complex128", 240s np.array( 240s [ 240s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 240s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 240s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 240s ], 240s dtype=np.complex128, 240s ), 240s ), 240s ], 240s ) 240s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s kappa = ufl.Constant(domain, shape=(2, 2)) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s 240s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:47: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_219b760e938b2c355436cdec89f50cb9cc9de...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_fa220a76be680181bba78cef1f1c8bce4779eb21'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s __________ test_laplace_bilinear_form_2d[complex128-expected_result1] __________ 240s 240s dtype = 'complex128' 240s expected_result = array([[ 1. +0.j, -0.5+0.j, -0.5+0.j], 240s [-0.5+0.j, 0.5+0.j, 0. +0.j], 240s [-0.5+0.j, 0. +0.j, 0.5+0.j]]) 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype,expected_result", 240s [ 240s ( 240s "float64", 240s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 240s ), 240s ( 240s "complex128", 240s np.array( 240s [ 240s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 240s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 240s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 240s ], 240s dtype=np.complex128, 240s ), 240s ), 240s ], 240s ) 240s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s kappa = ufl.Constant(domain, shape=(2, 2)) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s 240s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:47: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_66a11c5a89962a5586b017a72b279ac959d24...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6c0b02cf0ee97ea6b0aa2057289b1c380028f3f5'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_mass_bilinear_form_2d[float32-expected_result0] _____________ 240s 240s dtype = 'float32' 240s expected_result = array([[0.08333334, 0.04166667, 0.04166667], 240s [0.04166667, 0.08333334, 0.04166667], 240s [0.04166667, 0.04166667, 0.08333334]], dtype=float32) 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype,expected_result", 240s [ 240s ( 240s "float32", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.float32, 240s ), 240s ), 240s # ("longdouble", 240s # np.array( 240s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 240s # dtype=np.longdouble)), 240s ( 240s "float64", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.float64, 240s ), 240s ), 240s ( 240s "complex128", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.complex128, 240s ), 240s ), 240s ( 240s "complex64", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.complex64, 240s ), 240s ), 240s ], 240s ) 240s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(u, v) * ufl.dx 240s L = ufl.conj(v) * ufl.dx 240s forms = [a, L] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:150: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_fc2336778e2da4662dc1b51b4c1c9becaaa73...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_dcb7d9b28ee80bed98a80948141396b3451d6269'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_mass_bilinear_form_2d[float64-expected_result1] _____________ 240s 240s dtype = 'float64' 240s expected_result = array([[0.08333333, 0.04166667, 0.04166667], 240s [0.04166667, 0.08333333, 0.04166667], 240s [0.04166667, 0.04166667, 0.08333333]]) 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype,expected_result", 240s [ 240s ( 240s "float32", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.float32, 240s ), 240s ), 240s # ("longdouble", 240s # np.array( 240s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 240s # dtype=np.longdouble)), 240s ( 240s "float64", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.float64, 240s ), 240s ), 240s ( 240s "complex128", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.complex128, 240s ), 240s ), 240s ( 240s "complex64", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.complex64, 240s ), 240s ), 240s ], 240s ) 240s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(u, v) * ufl.dx 240s L = ufl.conj(v) * ufl.dx 240s forms = [a, L] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:150: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4dd233829ff887415704060233713fbec26c1...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_a8fab1f83bf2ab4c7d6a3fd9770845f8d1aa26c9'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_mass_bilinear_form_2d[complex128-expected_result2] ____________ 240s 240s dtype = 'complex128' 240s expected_result = array([[0.08333333+0.j, 0.04166667+0.j, 0.04166667+0.j], 240s [0.04166667+0.j, 0.08333333+0.j, 0.04166667+0.j], 240s [0.04166667+0.j, 0.04166667+0.j, 0.08333333+0.j]]) 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype,expected_result", 240s [ 240s ( 240s "float32", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.float32, 240s ), 240s ), 240s # ("longdouble", 240s # np.array( 240s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 240s # dtype=np.longdouble)), 240s ( 240s "float64", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.float64, 240s ), 240s ), 240s ( 240s "complex128", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.complex128, 240s ), 240s ), 240s ( 240s "complex64", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.complex64, 240s ), 240s ), 240s ], 240s ) 240s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(u, v) * ufl.dx 240s L = ufl.conj(v) * ufl.dx 240s forms = [a, L] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:150: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_31b70a988865d9bf7a44caa66c66278ac8090...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c1639d2280c209da4bcb0ff3a2f4e7b192265ecb'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ____________ test_mass_bilinear_form_2d[complex64-expected_result3] ____________ 240s 240s dtype = 'complex64' 240s expected_result = array([[0.08333334+0.j, 0.04166667+0.j, 0.04166667+0.j], 240s [0.04166667+0.j, 0.08333334+0.j, 0.04166667+0.j], 240s [0.04166667+0.j, 0.04166667+0.j, 0.08333334+0.j]], dtype=complex64) 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype,expected_result", 240s [ 240s ( 240s "float32", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.float32, 240s ), 240s ), 240s # ("longdouble", 240s # np.array( 240s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 240s # dtype=np.longdouble)), 240s ( 240s "float64", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.float64, 240s ), 240s ), 240s ( 240s "complex128", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.complex128, 240s ), 240s ), 240s ( 240s "complex64", 240s np.array( 240s [ 240s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 240s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 240s ], 240s dtype=np.complex64, 240s ), 240s ), 240s ], 240s ) 240s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(u, v) * ufl.dx 240s L = ufl.conj(v) * ufl.dx 240s forms = [a, L] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:150: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1a88b95690dc1e110ec1360ae31b51b71d8d6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_38fb1015a6539e82751b75ef3df7f33c7b670672'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _______________ test_helmholtz_form_2d[float64-expected_result0] _______________ 240s 240s dtype = 'float64' 240s expected_result = array([[ 0.91666667, -0.54166667, -0.54166667], 240s [-0.54166667, 0.41666667, -0.04166667], 240s [-0.54166667, -0.04166667, 0.41666667]]) 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype,expected_result", 240s [ 240s ( 240s "float64", 240s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 240s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 240s ), 240s ( 240s "complex128", 240s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 240s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 240s ), 240s ], 240s ) 240s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s if np.issubdtype(dtype, np.complexfloating): 240s k = ufl.constantvalue.ComplexValue(1j) 240s elif np.issubdtype(dtype, np.floating): 240s k = 1.0 240s else: 240s raise RuntimeError( 240s "Unknown mode type", 240s ) 240s 240s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:186: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1a64ee47c88d82338258a5efd3e435d453bf8...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ad3d634a844314d08634f15335372e79e0d5f559'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_helmholtz_form_2d[complex128-expected_result1] ______________ 240s 240s dtype = 'complex128' 240s expected_result = array([[ 1. -0.08333333j, -0.5-0.04166667j, -0.5-0.04166667j], 240s [-0.5-0.04166667j, 0.5-0.08333333j, 0. -0.04166667j], 240s [-0.5-0.04166667j, 0. -0.04166667j, 0.5-0.08333333j]]) 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype,expected_result", 240s [ 240s ( 240s "float64", 240s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 240s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 240s ), 240s ( 240s "complex128", 240s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 240s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 240s ), 240s ], 240s ) 240s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s if np.issubdtype(dtype, np.complexfloating): 240s k = ufl.constantvalue.ComplexValue(1j) 240s elif np.issubdtype(dtype, np.floating): 240s k = 1.0 240s else: 240s raise RuntimeError( 240s "Unknown mode type", 240s ) 240s 240s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:186: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_af1b0d2862c4ac704f33750d040c4dd013d4e...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_faf843a542fa3664b6c680ba3692c1065dd5450b'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_laplace_bilinear_form_3d[float64-expected_result0] ____________ 240s 240s dtype = 'float64' 240s expected_result = array([[ 0.5 , -0.16666667, -0.16666667, -0.16666667], 240s [-0.16666667, 0.16666667, 0. , 0. ... [-0.16666667, 0. , 0.16666667, 0. ], 240s [-0.16666667, 0. , 0. , 0.16666667]]) 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype,expected_result", 240s [ 240s ( 240s "float64", 240s np.array( 240s [ 240s [0.5, -1 / 6, -1 / 6, -1 / 6], 240s [-1 / 6, 1 / 6, 0.0, 0.0], 240s [-1 / 6, 0.0, 1 / 6, 0.0], 240s [-1 / 6, 0.0, 0.0, 1 / 6], 240s ], 240s dtype=np.float64, 240s ), 240s ), 240s ( 240s "complex128", 240s np.array( 240s [ 240s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 240s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 240s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 240s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 240s ], 240s dtype=np.complex128, 240s ), 240s ), 240s ], 240s ) 240s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 240s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:253: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 1} 240s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_d1f61edab1b2cb0d8509e06fe494c42b89... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_22285f2e168e5093b089c14905276ae8de2014da'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s __________ test_laplace_bilinear_form_3d[complex128-expected_result1] __________ 240s 240s dtype = 'complex128' 240s expected_result = array([[ 0.5 +0.j, -0.16666667+0.j, -0.16666667+0.j, 240s -0.16666667+0.j], 240s [-0.16666667+0.j, 0.16666...67+0.j, 240s 0. +0.j], 240s [-0.16666667+0.j, 0. +0.j, 0. +0.j, 240s 0.16666667+0.j]]) 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype,expected_result", 240s [ 240s ( 240s "float64", 240s np.array( 240s [ 240s [0.5, -1 / 6, -1 / 6, -1 / 6], 240s [-1 / 6, 1 / 6, 0.0, 0.0], 240s [-1 / 6, 0.0, 1 / 6, 0.0], 240s [-1 / 6, 0.0, 0.0, 1 / 6], 240s ], 240s dtype=np.float64, 240s ), 240s ), 240s ( 240s "complex128", 240s np.array( 240s [ 240s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 240s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 240s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 240s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 240s ], 240s dtype=np.complex128, 240s ), 240s ), 240s ], 240s ) 240s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 240s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:253: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 1} 240s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_0a950c086b7ff834fe303354417d54a596... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_27cf5c3affba5c5a95030504a8175020339bf5f5'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ____________________________ test_form_coefficient _____________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_form_coefficient(compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TestFunction(space), ufl.TrialFunction(space) 240s g = ufl.Coefficient(space) 240s a = g * ufl.inner(u, v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:292: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_da44b32a3963a464cfa587c0838d011b2b3b6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_289f54a3cb3e848232d7faf2356e9fedf260a862'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _______________________________ test_subdomains ________________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_subdomains(compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a0 = ufl.inner(u, v) * ufl.dx + ufl.inner(u, v) * ufl.dx(2) 240s a1 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx 240s a2 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx(1) 240s a3 = ufl.inner(u, v) * ufl.ds(210) + ufl.inner(u, v) * ufl.ds(0) 240s forms = [a0, a1, a2, a3] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:334: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_331128ab0b7a2e9df2a559bb1b86286d48052...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5ee0c4ca3b5524702f0d5100afb1d4676164de9e'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ____________________ test_interior_facet_integral[float64] _____________________ 240s 240s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 240s def test_interior_facet_integral(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 240s forms = [a0] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:373: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_5f838b90230c87a6b9f13f5276a2dd3a0d037...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_27d81ccff2543f45947640824736dbe5d009704a'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________________ test_interior_facet_integral[complex128] ___________________ 240s 240s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 240s def test_interior_facet_integral(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 240s forms = [a0] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:373: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_9a42dae22cb514b9e0eeeaf7f048bf231df5c...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f5bca99d292973d5d9f685ebcd1f3aa4a0f0918e'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s __________________________ test_conditional[float64] ___________________________ 240s 240s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float64", 240s "complex128", 240s ], 240s ) 240s def test_conditional(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s x = ufl.SpatialCoordinate(domain) 240s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 240s c1 = ufl.conditional(condition, 2.0, 1.0) 240s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 240s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 240s b = c2 * ufl.conj(v) * ufl.dx 240s 240s forms = [a, b] 240s 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:439: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_35ae8edf74c467db06e110462959b9c673d26...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_adc7af14d9afab21bb746a4f7dddb741006c5d55'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _________________________ test_conditional[complex128] _________________________ 240s 240s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float64", 240s "complex128", 240s ], 240s ) 240s def test_conditional(dtype, compile_args): 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s x = ufl.SpatialCoordinate(domain) 240s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 240s c1 = ufl.conditional(condition, 2.0, 1.0) 240s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 240s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 240s b = c2 * ufl.conj(v) * ufl.dx 240s 240s forms = [a, b] 240s 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:439: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_ecfd63ede3aff0de6ffaf6182f155f5067223...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b7cec934bbb6ed1b5f6b821b7859cf4122770790'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ____________________________ test_custom_quadrature ____________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_custom_quadrature(compile_args): 240s ve = basix.ufl.element("P", "triangle", 1, shape=(2,)) 240s mesh = ufl.Mesh(ve) 240s 240s e = basix.ufl.element("P", mesh.ufl_cell().cellname(), 2) 240s V = ufl.FunctionSpace(mesh, e) 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s 240s points = [[0.0, 0.0], [1.0, 0.0], [0.0, 1.0], [0.5, 0.5], [0.0, 0.5], [0.5, 0.0]] 240s weights = [1 / 12] * 6 240s a = ( 240s u 240s * v 240s * ufl.dx( 240s metadata={ 240s "quadrature_rule": "custom", 240s "quadrature_points": points, 240s "quadrature_weights": weights, 240s } 240s ) 240s ) 240s 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:513: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 2, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 240s finite_element_names = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_ae5cbec168858245473cc3e23d2e7fe62e39e...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9b469ccc6a24d59948387b7490d357a7e3411c4a'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ________________________________ test_curl_curl ________________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_curl_curl(compile_args): 240s V = basix.ufl.element("N1curl", "triangle", 2) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, V) 240s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 240s a = ufl.inner(ufl.curl(u), ufl.curl(v)) * ufl.dx 240s 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:549: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (N1E, triangle, 2, legendre, unset, False, float64, []) 240s element_numbers = {Basix element (N1E, triangle, 2, legendre, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 240s finite_element_names = {Basix element (N1E, triangle, 2, legendre, unset, False, float64, []): 'element_0e9aa6823d98ea7e4b48a58d97c2dabf50fbc...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_33985aff8bec522ea829bd2b2d3752789510b5fc'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_lagrange_triangle[1--0-float64] _____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 240s sym_fun = at 0x76626359e480> 240s ufl_fun = at 0x76626359e520> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "triangle", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:620: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_c51b12ecfa1ba3dfd8d764dc12fab76accc82...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b0d4528b086081b973fc92d3a02955381b29f53f'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_lagrange_triangle[1--1-float64] _____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 240s sym_fun = at 0x76626359e5c0> 240s ufl_fun = at 0x76626359e660> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "triangle", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:620: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4feab06c75c6426c5c31147f432ed2ba111eb...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_bb6a6eb69530869bd298e4b3e0afdf290875aadd'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_lagrange_triangle[1--2-float64] _____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 240s sym_fun = at 0x76626359e700> 240s ufl_fun = at 0x76626359e7a0> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "triangle", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:620: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_57854fe0566c0eb4f99e924b6f01017a1d070...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_84cff292469e31dfb492f79869e3a9568b6d2c24'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_lagrange_triangle[2--0-float64] _____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 240s sym_fun = at 0x76626359e480> 240s ufl_fun = at 0x76626359e520> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "triangle", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:620: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 2, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 240s finite_element_names = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_734faccb8fa5cbf204ad1832f5ed388b46e15...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_617dce26d88433d99437bb17650b81a4d1a458c1'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_lagrange_triangle[2--1-float64] _____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 240s sym_fun = at 0x76626359e5c0> 240s ufl_fun = at 0x76626359e660> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "triangle", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:620: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 2, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 240s finite_element_names = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_42bd04c4c21cb913995c39f10583cc7d63b94...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_24f4bb54aeab49b9607a2ab6416cd8a5160ab446'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_lagrange_triangle[2--2-float64] _____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 240s sym_fun = at 0x76626359e700> 240s ufl_fun = at 0x76626359e7a0> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "triangle", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:620: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 2, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 240s finite_element_names = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_066ef0d54c57a1f7fb5b329b7f716bbdc22e3...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5ace2076318bae501fed145fafeca3231cfdc7c1'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_lagrange_triangle[3--0-float64] _____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 240s sym_fun = at 0x76626359e480> 240s ufl_fun = at 0x76626359e520> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "triangle", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:620: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 3, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 240s finite_element_names = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_85ddc44c8451beaa67e678f4b466aeed539e2...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6750100f7400129a5c7490b5c3921aaa4c8291e1'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_lagrange_triangle[3--1-float64] _____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 240s sym_fun = at 0x76626359e5c0> 240s ufl_fun = at 0x76626359e660> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "triangle", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:620: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 3, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 240s finite_element_names = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_a0040afbe7834ebcf2eaf92637b8ddb1513fd...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c84f30129d1a7d70fbcc0befe3b51533a6c6d46f'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_lagrange_triangle[3--2-float64] _____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 240s sym_fun = at 0x76626359e700> 240s ufl_fun = at 0x76626359e7a0> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "triangle", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:620: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 3, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 240s finite_element_names = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_f9561068c4243adb51a4e765db5e7f2377a0d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_3a6e1bf07ae9527c071e719b98d5d7646fefb02b'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_lagrange_tetrahedron[1--0-float64] ____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 240s sym_fun = at 0x76626359ea20> 240s ufl_fun = at 0x76626359eac0> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "tetrahedron", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:745: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 1} 240s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_2726965562e14db4b99a60625f1a36a74f... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_3c3737fcba7985551ffaa158776e75c7b78aa8a0'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_lagrange_tetrahedron[1--1-float64] ____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 240s sym_fun = at 0x76626359eb60> 240s ufl_fun = at 0x76626359ec00> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "tetrahedron", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:745: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 1} 240s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_40803ad27effa9981fb82deea0eaa41fe5... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_504e77e74f80d318266133ba9abc70fafd1c7db2'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_lagrange_tetrahedron[1--2-float64] ____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 240s sym_fun = at 0x76626359eca0> 240s ufl_fun = at 0x76626359ed40> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "tetrahedron", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:745: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 1} 240s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_f0c6359ce0af21eb8b3b0632a846e0c5f4... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_0070277b3110132d8478726e2a62513efe2c11d1'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_lagrange_tetrahedron[2--0-float64] ____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 240s sym_fun = at 0x76626359ea20> 240s ufl_fun = at 0x76626359eac0> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "tetrahedron", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:745: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 240s finite_element_names = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_e57ccafec25e6bdeefa6a1c041b09c0d0b... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_b82658f4fe0bea69149674599573f0d7bbae5db6'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_lagrange_tetrahedron[2--1-float64] ____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 240s sym_fun = at 0x76626359eb60> 240s ufl_fun = at 0x76626359ec00> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "tetrahedron", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:745: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 240s finite_element_names = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_1fdd1e411b0233ef12891bc1c888d08aed... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_8a1c4a39f11c17fae1c8ecf7599db79b4f6ae8cc'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_lagrange_tetrahedron[2--2-float64] ____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 240s sym_fun = at 0x76626359eca0> 240s ufl_fun = at 0x76626359ed40> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "tetrahedron", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:745: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 240s finite_element_names = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_f5e44203d879a2674dc71819fb4532578c... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_f7b5520051584c44542c75e80adc2e06ddd36e16'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_lagrange_tetrahedron[3--0-float64] ____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 240s sym_fun = at 0x76626359ea20> 240s ufl_fun = at 0x76626359eac0> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "tetrahedron", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:745: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 240s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_c13bd8f0c47f7afc3485564d24550f42c3... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_b5ee113ea927217082646969a8511652ab85e09d'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_lagrange_tetrahedron[3--1-float64] ____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 240s sym_fun = at 0x76626359eb60> 240s ufl_fun = at 0x76626359ec00> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "tetrahedron", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:745: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 240s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_5d79a3dc9953f98e36f27fdf0843ad39a7... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_a843c03be978c51ea16399d1235475922b9e3df0'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________ test_lagrange_tetrahedron[3--2-float64] ____________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 240s sym_fun = at 0x76626359eca0> 240s ufl_fun = at 0x76626359ed40> 240s 240s @pytest.mark.parametrize("dtype", ["float64"]) 240s @pytest.mark.parametrize( 240s "sym_fun,ufl_fun", 240s [ 240s (lambda i: i, lambda i: i), 240s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 240s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 240s ], 240s ) 240s @pytest.mark.parametrize("order", [1, 2, 3]) 240s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 240s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 240s element = basix.ufl.element("Lagrange", "tetrahedron", order) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s 240s a = ufl_fun(v) * ufl.dx 240s forms = [a] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:745: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 240s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_c798bd648ec7f898492b4923f272f8a1dd... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_1d9f535c8799496107cc1f09b4c6749d8aa8af75'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s __________________________________ test_prism __________________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_prism(compile_args): 240s element = basix.ufl.element("Lagrange", "prism", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "prism", 1, shape=(3,))) 240s space = ufl.FunctionSpace(domain, element) 240s v = ufl.TestFunction(space) 240s L = v * ufl.dx 240s forms = [L] 240s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:784: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, prism, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, prism, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, prism, 1, gll_warped, unset, False, float64, []), (3,)): 1} 240s finite_element_names = {Basix element (P, prism, 1, gll_warped, unset, False, float64, []): 'element_5cc4d402730c124ddada699c6dfce66882db697d...lement (P, prism, 1, gll_warped, unset, False, float64, []), (3,)): 'element_77d1ded8782f00fc647dc8e73888bae3c2dd5f33'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ___________________________ test_complex_operations ____________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_complex_operations(compile_args): 240s dtype = "complex128" 240s cell = "triangle" 240s c_element = basix.ufl.element("Lagrange", cell, 1, shape=(2,)) 240s mesh = ufl.Mesh(c_element) 240s element = basix.ufl.element("DG", cell, 0, shape=(2,)) 240s V = ufl.FunctionSpace(mesh, element) 240s u = ufl.Coefficient(V) 240s J1 = ufl.real(u)[0] * ufl.imag(u)[1] * ufl.conj(u)[0] * ufl.dx 240s J2 = ufl.real(u[0]) * ufl.imag(u[1]) * ufl.conj(u[0]) * ufl.dx 240s forms = [J1, J2] 240s 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:823: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 0, gll_warped, unset, True, float64, []) 240s element_numbers = {Basix element (P, triangle, 0, gll_warped, unset, True, float64, []): 0, blocked element (Basix element (P, triangle,...lse, float64, []): 2, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 3} 240s finite_element_names = {Basix element (P, triangle, 0, gll_warped, unset, True, float64, []): 'element_5dfa5831effb61268f5227970ea2aff562acbc...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_fd42bd4d89daa37ff68641046dd04246f33bc613'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s __________________________ test_invalid_function_name __________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_invalid_function_name(compile_args): 240s # Monkey patch to force invalid name 240s old_str = ufl.Coefficient.__str__ 240s ufl.Coefficient.__str__ = lambda self: "invalid function name" 240s 240s V = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, V) 240s u = ufl.Coefficient(space) 240s a = ufl.inner(u, u) * ufl.dx 240s forms = [a] 240s try: 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:888: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_3c83fd255822e0a943107e65d923c38c03c0d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_89b7b56d7477187466792125bc57e72de3fa859c'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s 240s During handling of the above exception, another exception occurred: 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_invalid_function_name(compile_args): 240s # Monkey patch to force invalid name 240s old_str = ufl.Coefficient.__str__ 240s ufl.Coefficient.__str__ = lambda self: "invalid function name" 240s 240s V = basix.ufl.element("Lagrange", "triangle", 1) 240s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s space = ufl.FunctionSpace(domain, V) 240s u = ufl.Coefficient(space) 240s a = ufl.inner(u, u) * ufl.dx 240s forms = [a] 240s try: 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, cffi_extra_compile_args=compile_args 240s ) 240s except ValueError: 240s pass 240s except Exception: 240s > raise RuntimeError("Compilation should fail with ValueError.") 240s E RuntimeError: Compilation should fail with ValueError. 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:894: RuntimeError 240s _______________________ test_interval_vertex_quadrature ________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_interval_vertex_quadrature(compile_args): 240s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(1,)) 240s mesh = ufl.Mesh(c_el) 240s 240s x = ufl.SpatialCoordinate(mesh) 240s dx = ufl.Measure("dx", metadata={"quadrature_rule": "vertex"}) 240s b = x[0] * dx 240s 240s forms = [b] 240s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s forms, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:909: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, interval, 1, gll_warped, unset, False, float64, []), (1,)): 1} 240s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_843efb4dbf2ba243242ed770389689d641442...ent (P, interval, 1, gll_warped, unset, False, float64, []), (1,)): 'element_f461e6d789a376a8fa12651de7ad24bceaee8dde'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _________________________ test_facet_vertex_quadrature _________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_facet_vertex_quadrature(compile_args): 240s """Test facet vertex quadrature""" 240s c_el = basix.ufl.element("Lagrange", "quadrilateral", 1, shape=(2,)) 240s mesh = ufl.Mesh(c_el) 240s 240s x = ufl.SpatialCoordinate(mesh) 240s ds = ufl.Measure("ds", metadata={"quadrature_rule": "vertex"}) 240s expr = x[0] + ufl.cos(x[1]) 240s b1 = expr * ds 240s ds_c = ufl.Measure( 240s "ds", 240s metadata={ 240s "quadrature_rule": "custom", 240s "quadrature_points": np.array([[0.0], [1.0]]), 240s "quadrature_weights": np.array([1.0 / 2.0, 1.0 / 2.0]), 240s }, 240s ) 240s b2 = expr * ds_c 240s forms = [b1, b2] 240s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 240s forms, cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:954: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []): 'element_f5505ae29139f04ad0b22d233d472782...P, quadrilateral, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ccf4fcaaeb4ebb846bca5819186d2c1b627bbf1d'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s __________________________ test_manifold_derivatives ___________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_manifold_derivatives(compile_args): 240s """Test higher order derivatives on manifolds""" 240s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(2,)) 240s mesh = ufl.Mesh(c_el) 240s 240s x = ufl.SpatialCoordinate(mesh) 240s dx = ufl.Measure("dx", domain=mesh) 240s order = 4 240s el = basix.ufl.element("Lagrange", "interval", order) 240s V = ufl.FunctionSpace(mesh, el) 240s 240s u = ufl.Coefficient(V) 240s d = 5.3 240s f_ex = d * order * (order - 1) * x[1] ** (order - 2) 240s expr = u.dx(1).dx(1) - f_ex 240s J = expr * expr * dx 240s 240s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 240s [J], cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:1012: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, interval...warped, unset, False, float64, []), (2,)): 1, Basix element (P, interval, 4, gll_warped, unset, False, float64, []): 2} 240s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_311890bbc428280f2d036c99091284653e0f6...ix element (P, interval, 4, gll_warped, unset, False, float64, []): 'element_4cb1e55f8a544b823d23036f273de64cc8932edb'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ____________________________ test_integral_grouping ____________________________ 240s 240s compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s def test_integral_grouping(compile_args): 240s """We group integrals with common integrands to avoid duplicated 240s integration kernels. This means that `inner(u, v)*dx((1,2,3)) + 240s inner(grad(u), grad(v))*dx(2) + inner(u,v)*dx` is grouped as 240s 1. `inner(u,v)*dx(("everywhere", 1, 3))` 240s 2. `(inner(grad(u), grad(v)) + inner(u, v))*dx(2)` 240s Each of the forms has one generated `tabulate_tensor_*` function, 240s which is referred to multiple times in `integrals_` and 240s `integral_ids_` 240s 240s """ 240s mesh = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 240s V = ufl.FunctionSpace(mesh, basix.ufl.element("Lagrange", "triangle", 1)) 240s u = ufl.TrialFunction(V) 240s v = ufl.TestFunction(V) 240s a = ( 240s ufl.inner(u, v) * ufl.dx((1, 2, 3)) 240s + ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx(2) 240s + ufl.inner(u, v) * ufl.dx 240s ) 240s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 240s [a], cffi_extra_compile_args=compile_args 240s ) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_jit_forms.py:1060: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7b232fa7673c68bc8dc771138801aba7fd1dc...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b0989e896f78ea296aef6ac67577bd8513070525'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ______________________ test_multiple_mesh_codim0[float64] ______________________ 240s 240s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float64", 240s "complex128", 240s ], 240s ) 240s def test_multiple_mesh_codim0(dtype, compile_args): 240s # Define coordinate element and element used in parent and sub-mesh 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 240s 240s domain = ufl.Mesh(coordinate_element) 240s space = ufl.FunctionSpace(domain, element) 240s u_parent = ufl.TrialFunction(space) 240s 240s # Create submesh and functionspace on submesh 240s sub_domain = ufl.Mesh(coordinate_element) 240s subspace = ufl.FunctionSpace(sub_domain, element) 240s v_sub = ufl.TestFunction(subspace) 240s 240s # 240s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 240s 240s > A = compute_tensor([a], dtype, compile_args) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_submesh.py:78: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_submesh.py:20: in compute_tensor 240s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_162020558ef33c6817ab91355a5d2421dbd67...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b16fd1ee490500709c5d0c961a51436618433a52'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ____________________ test_multiple_mesh_codim0[complex128] _____________________ 240s 240s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 240s 240s @pytest.mark.parametrize( 240s "dtype", 240s [ 240s "float64", 240s "complex128", 240s ], 240s ) 240s def test_multiple_mesh_codim0(dtype, compile_args): 240s # Define coordinate element and element used in parent and sub-mesh 240s element = basix.ufl.element("Lagrange", "triangle", 1) 240s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 240s 240s domain = ufl.Mesh(coordinate_element) 240s space = ufl.FunctionSpace(domain, element) 240s u_parent = ufl.TrialFunction(space) 240s 240s # Create submesh and functionspace on submesh 240s sub_domain = ufl.Mesh(coordinate_element) 240s subspace = ufl.FunctionSpace(sub_domain, element) 240s v_sub = ufl.TestFunction(subspace) 240s 240s # 240s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 240s 240s > A = compute_tensor([a], dtype, compile_args) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_submesh.py:78: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_submesh.py:20: in compute_tensor 240s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 240s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 1} 240s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_496be1178b1962ac4c8be792428070dea6ca0...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9484f03a672655fdc73f7161205585955c38286e'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_bilinear_form[CellType.quadrilateral-1-float32] _____________ 240s 240s dtype = 'float32', P = 1, cell_type = CellType.quadrilateral 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 240s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 0, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 1} 240s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_ebad6b8e84ce561bea0163...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_34e190c6abde8d08ec0261d3634354aa9813ad29'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_bilinear_form[CellType.quadrilateral-1-float64] _____________ 240s 240s dtype = 'float64', P = 1, cell_type = CellType.quadrilateral 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 240s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 0, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 1} 240s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_77a192f3a738ea3bee6df6...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_53c2092b582dc4908fcb22cd6392f39efaa26963'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_bilinear_form[CellType.quadrilateral-2-float32] _____________ 240s 240s dtype = 'float32', P = 2, cell_type = CellType.quadrilateral 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]) 240s element_numbers = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 0, Basix element...]): 1, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 2} 240s finite_element_names = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_263be18...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_74f70b2a0cef3078e02c81dc6600dab8afe4b1a8'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_bilinear_form[CellType.quadrilateral-2-float64] _____________ 240s 240s dtype = 'float64', P = 2, cell_type = CellType.quadrilateral 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]) 240s element_numbers = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 0, Basix element...]): 1, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 2} 240s finite_element_names = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_df6527f...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_924532674985294ee70e81d803e1423c626170cb'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_bilinear_form[CellType.quadrilateral-3-float32] _____________ 240s 240s dtype = 'float32', P = 3, cell_type = CellType.quadrilateral 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]) 240s element_numbers = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...]): 1, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 2} 240s finite_element_names = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_ff624d826676a07111284c338b6475d1da6353c0'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s _____________ test_bilinear_form[CellType.quadrilateral-3-float64] _____________ 240s 240s dtype = 'float64', P = 3, cell_type = CellType.quadrilateral 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]) 240s element_numbers = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...]): 1, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 2} 240s finite_element_names = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_325d2f5969ac5e795423441ad46da3ec751c78e1'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ______________ test_bilinear_form[CellType.hexahedron-1-float32] _______________ 240s 240s dtype = 'float32', P = 1, cell_type = CellType.hexahedron 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 240s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 1} 240s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_050848f1a0963...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_2f594cbd9880f6360881928508da13fe80b95bc1'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ______________ test_bilinear_form[CellType.hexahedron-1-float64] _______________ 240s 240s dtype = 'float64', P = 1, cell_type = CellType.hexahedron 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 240s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 1} 240s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_291e60cb8b469...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_8a2b1e34cbccf1767bdf5ad165ef0f23ea5d6f41'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ______________ test_bilinear_form[CellType.hexahedron-2-float32] _______________ 240s 240s dtype = 'float32', P = 2, cell_type = CellType.hexahedron 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 240s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Ba...False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 2} 240s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_da582fa2354e4..., 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 'element_2676c333cf573005643fddd6c0adc1c3f13c3d99'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ______________ test_bilinear_form[CellType.hexahedron-2-float64] _______________ 240s 240s dtype = 'float64', P = 2, cell_type = CellType.hexahedron 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 240s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Ba...False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 2} 240s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_60e3f7090d0af..., 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 'element_05afd3d4c6c6ea3527b4c0b83d98be08876c8000'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ______________ test_bilinear_form[CellType.hexahedron-3-float32] _______________ 240s 240s dtype = 'float32', P = 3, cell_type = CellType.hexahedron 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3, ...4, 60, 34, 50, 35, 51, 10, 14, 11, 15, 26, 30, 27, 31, 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]) 240s element_numbers = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 240s finite_element_names = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_12b86e0e5aacd262b951f414f658b59104185bb2'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s ______________ test_bilinear_form[CellType.hexahedron-3-float64] _______________ 240s 240s dtype = 'float64', P = 3, cell_type = CellType.hexahedron 240s 240s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 240s @pytest.mark.parametrize("P", [1, 2, 3]) 240s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 240s def test_bilinear_form(dtype, P, cell_type): 240s gdim = cell_to_gdim(cell_type) 240s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 240s coords = create_tensor_product_element( 240s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 240s ) 240s mesh = ufl.Mesh(coords) 240s V = ufl.FunctionSpace(mesh, element) 240s 240s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 240s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 240s 240s ndofs = element.dim 240s 240s A = np.zeros((ndofs, ndofs), dtype=dtype) 240s w = np.array([], dtype=dtype) 240s c = np.array([], dtype=dtype) 240s 240s xdtype = dtype_to_scalar_dtype(dtype) 240s if cell_type == basix.CellType.quadrilateral: 240s coords = np.array( 240s [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], dtype=xdtype 240s ) 240s elif cell_type == basix.CellType.hexahedron: 240s coords = np.array( 240s [ 240s [0.0, 0.0, 0.0], 240s [1.0, 0.0, 0.0], 240s [0.0, 1.0, 0.0], 240s [1.0, 1.0, 0.0], 240s [0.0, 0.0, 1.0], 240s [1.0, 0.0, 1.0], 240s [0.0, 1.0, 1.0], 240s [1.0, 1.0, 1.0], 240s ], 240s dtype=xdtype, 240s ) 240s 240s c_type = dtype_to_c_type(dtype) 240s c_xtype = dtype_to_c_type(xdtype) 240s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:104: 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/test/test_tensor_product.py:43: in generate_kernel 240s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:276: in compile_forms 240s raise e 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:256: in compile_forms 240s impl = _compile_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/codegeneration/jit.py:383: in _compile_objects 240s _, code_body = ffcx.compiler.compile_ufl_objects( 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/compiler.py:113: in compile_ufl_objects 240s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:215: in compute_ir 240s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 240s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 240s 240s element = Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3, ...4, 60, 34, 50, 35, 51, 10, 14, 11, 15, 26, 30, 27, 31, 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]) 240s element_numbers = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 240s finite_element_names = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_917100974a8963b0cf01829498c63e588b4095d7'} 240s 240s def _compute_element_ir(element, element_numbers, finite_element_names): 240s """Compute intermediate representation of element.""" 240s logger.info(f"Computing IR for element {element}") 240s 240s # Create basix elements 240s cell = element.cell 240s 240s # Store id 240s ir = {"id": element_numbers[element]} 240s ir["name"] = finite_element_names[element] 240s 240s # Compute data for each function 240s ir["signature"] = repr(element) 240s ir["cell_shape"] = element.cell_type.name 240s ir["topological_dimension"] = cell.topological_dimension() 240s ir["space_dimension"] = element.dim + element.num_global_support_dofs 240s > ir["element_type"] = element.ufcx_element_type 240s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 240s 240s /tmp/autopkgtest.gKyZyF/build.lRL/src/ffcx/ir/representation.py:293: AttributeError 240s =============================== warnings summary =============================== 240s test/test_jit_forms.py::test_facet_vertex_quadrature 240s /usr/lib/python3/dist-packages/ufl/utils/sorting.py:88: UserWarning: Applying str() to a metadata value of type ndarray, don't know if this is safe. 240s warnings.warn( 240s 240s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 240s =========================== short test summary info ============================ 240s SKIPPED [4] test/test_signatures.py:41: Numba not installed 240s FAILED test/test_add_mode.py::test_additive_facet_integral[float32] - Attribu... 240s FAILED test/test_add_mode.py::test_additive_facet_integral[float64] - Attribu... 240s FAILED test/test_add_mode.py::test_additive_facet_integral[complex64] - Attri... 240s FAILED test/test_add_mode.py::test_additive_facet_integral[complex128] - Attr... 240s FAILED test/test_add_mode.py::test_additive_cell_integral[float32] - Attribut... 240s FAILED test/test_add_mode.py::test_additive_cell_integral[float64] - Attribut... 240s FAILED test/test_add_mode.py::test_additive_cell_integral[complex64] - Attrib... 240s FAILED test/test_add_mode.py::test_additive_cell_integral[complex128] - Attri... 240s FAILED test/test_blocked_elements.py::test_finite_element - AttributeError: '... 240s FAILED test/test_blocked_elements.py::test_vector_element - AttributeError: '... 240s FAILED test/test_blocked_elements.py::test_tensor_element - AttributeError: '... 240s FAILED test/test_blocked_elements.py::test_vector_quadrature_element - Attrib... 240s FAILED test/test_cache.py::test_cache_modes - AttributeError: '_BasixElement'... 240s FAILED test/test_cmdline.py::test_visualise - AssertionError: assert False 240s FAILED test/test_jit_expression.py::test_matvec - AttributeError: '_BasixElem... 240s FAILED test/test_jit_expression.py::test_rank1 - AttributeError: '_BasixEleme... 240s FAILED test/test_jit_expression.py::test_elimiate_zero_tables_tensor - Attrib... 240s FAILED test/test_jit_expression.py::test_facet_expression - AttributeError: m... 240s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] 240s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] 240s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] 240s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] 240s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] 240s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] 240s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] 240s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] 240s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] 240s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] 240s FAILED test/test_jit_forms.py::test_form_coefficient - AttributeError: '_Basi... 240s FAILED test/test_jit_forms.py::test_subdomains - AttributeError: '_BasixEleme... 240s FAILED test/test_jit_forms.py::test_interior_facet_integral[float64] - Attrib... 240s FAILED test/test_jit_forms.py::test_interior_facet_integral[complex128] - Att... 240s FAILED test/test_jit_forms.py::test_conditional[float64] - AttributeError: '_... 240s FAILED test/test_jit_forms.py::test_conditional[complex128] - AttributeError:... 240s FAILED test/test_jit_forms.py::test_custom_quadrature - AttributeError: '_Bas... 240s FAILED test/test_jit_forms.py::test_curl_curl - AttributeError: '_BasixElemen... 240s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] 240s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] 240s FAILED test/test_jit_forms.py::test_prism - AttributeError: '_BasixElement' o... 240s FAILED test/test_jit_forms.py::test_complex_operations - AttributeError: '_Ba... 240s FAILED test/test_jit_forms.py::test_invalid_function_name - RuntimeError: Com... 240s FAILED test/test_jit_forms.py::test_interval_vertex_quadrature - AttributeErr... 240s FAILED test/test_jit_forms.py::test_facet_vertex_quadrature - AttributeError:... 240s FAILED test/test_jit_forms.py::test_manifold_derivatives - AttributeError: '_... 240s FAILED test/test_jit_forms.py::test_integral_grouping - AttributeError: '_Bas... 240s FAILED test/test_submesh.py::test_multiple_mesh_codim0[float64] - AttributeEr... 240s FAILED test/test_submesh.py::test_multiple_mesh_codim0[complex128] - Attribut... 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] 240s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] 240s ======== 75 failed, 8 passed, 4 skipped, 1 warning in 72.86s (0:01:12) ========= 240s autopkgtest [06:57:57]: test command1: -----------------------] 241s command1 FAIL non-zero exit status 1 241s autopkgtest [06:57:58]: test command1: - - - - - - - - - - results - - - - - - - - - - 242s autopkgtest [06:57:59]: @@@@@@@@@@@@@@@@@@@@ summary 242s command1 FAIL non-zero exit status 1 247s nova [W] Using flock in prodstack6-ppc64el 247s Creating nova instance adt-plucky-ppc64el-fenics-ffcx-20241115-062230-juju-7f2275-prod-proposed-migration-environment-20-037d2efc-2467-4a5c-b323-93da366aa506 from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)...