0s autopkgtest [06:23:34]: starting date and time: 2024-11-15 06:23:34+0000 0s autopkgtest [06:23:34]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [06:23:34]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.vz_mpc_w/out --timeout-copy=6000 -a i386 --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 builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-2.secgroup --name adt-plucky-i386-fenics-ffcx-20241115-062334-juju-7f2275-prod-proposed-migration-environment-20-a7b6e398-9a14-4898-8dd5-0d3fa9655491 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-amd64 -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/ 42s autopkgtest [06:24:16]: testbed dpkg architecture: amd64 42s autopkgtest [06:24:16]: testbed apt version: 2.9.8 42s autopkgtest [06:24:16]: test architecture: i386 42s autopkgtest [06:24:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 43s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 43s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [97.2 kB] 44s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 44s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1055 kB] 44s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 44s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [131 kB] 44s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [198 kB] 44s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 44s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [818 kB] 44s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [299 kB] 44s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [740 B] 44s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [9128 B] 44s Fetched 2737 kB in 1s (3128 kB/s) 44s Reading package lists... 46s Reading package lists... 46s Building dependency tree... 46s Reading state information... 47s Calculating upgrade... 47s The following packages will be upgraded: 47s firmware-sof-signed grub-common grub-pc grub-pc-bin grub2-common libcap-ng0 47s libexpat1 lxd-installer man-db pastebinit python3-systemd xfsprogs 47s 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 47s Need to get 13.6 MB of archives. 47s After this operation, 477 kB of additional disk space will be used. 47s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 firmware-sof-signed all 2024.06-1ubuntu2 [7083 kB] 47s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-3build1 [15.6 kB] 47s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libexpat1 amd64 2.6.4-1 [94.9 kB] 47s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 man-db amd64 2.13.0-1 [1352 kB] 47s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 grub2-common amd64 2.12-5ubuntu7 [672 kB] 48s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 grub-pc amd64 2.12-5ubuntu7 [137 kB] 48s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 grub-pc-bin amd64 2.12-5ubuntu7 [1127 kB] 48s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 grub-common amd64 2.12-5ubuntu7 [2110 kB] 48s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 lxd-installer all 9 [5084 B] 48s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 pastebinit all 1.7.1-1 [14.9 kB] 48s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-systemd amd64 235-1build5 [45.7 kB] 48s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 xfsprogs amd64 6.8.0-2.2ubuntu2 [926 kB] 48s Preconfiguring packages ... 48s Fetched 13.6 MB in 1s (13.0 MB/s) 48s (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 ... 75542 files and directories currently installed.) 48s Preparing to unpack .../firmware-sof-signed_2024.06-1ubuntu2_all.deb ... 48s Unpacking firmware-sof-signed (2024.06-1ubuntu2) over (2024.06-1ubuntu1) ... 48s Preparing to unpack .../libcap-ng0_0.8.5-3build1_amd64.deb ... 48s Unpacking libcap-ng0:amd64 (0.8.5-3build1) over (0.8.5-1) ... 48s Setting up libcap-ng0:amd64 (0.8.5-3build1) ... 48s (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 ... 75568 files and directories currently installed.) 48s Preparing to unpack .../0-libexpat1_2.6.4-1_amd64.deb ... 48s Unpacking libexpat1:amd64 (2.6.4-1) over (2.6.2-2) ... 48s Preparing to unpack .../1-man-db_2.13.0-1_amd64.deb ... 48s Unpacking man-db (2.13.0-1) over (2.12.1-3) ... 49s Preparing to unpack .../2-grub2-common_2.12-5ubuntu7_amd64.deb ... 49s Unpacking grub2-common (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 49s Preparing to unpack .../3-grub-pc_2.12-5ubuntu7_amd64.deb ... 49s Unpacking grub-pc (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 49s Preparing to unpack .../4-grub-pc-bin_2.12-5ubuntu7_amd64.deb ... 49s Unpacking grub-pc-bin (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 49s Preparing to unpack .../5-grub-common_2.12-5ubuntu7_amd64.deb ... 49s Unpacking grub-common (2.12-5ubuntu7) over (2.12-5ubuntu5.1) ... 49s Preparing to unpack .../6-lxd-installer_9_all.deb ... 49s Unpacking lxd-installer (9) over (8) ... 49s Preparing to unpack .../7-pastebinit_1.7.1-1_all.deb ... 49s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 49s Preparing to unpack .../8-python3-systemd_235-1build5_amd64.deb ... 49s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 49s Preparing to unpack .../9-xfsprogs_6.8.0-2.2ubuntu2_amd64.deb ... 49s Unpacking xfsprogs (6.8.0-2.2ubuntu2) over (6.8.0-2.2ubuntu1) ... 49s Setting up libexpat1:amd64 (2.6.4-1) ... 49s Setting up firmware-sof-signed (2024.06-1ubuntu2) ... 49s Setting up pastebinit (1.7.1-1) ... 49s Setting up man-db (2.13.0-1) ... 49s Updating database of manual pages ... 51s man-db.service is a disabled or a static unit not running, not starting it. 51s Setting up grub-common (2.12-5ubuntu7) ... 51s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 52s Setting up xfsprogs (6.8.0-2.2ubuntu2) ... 52s update-initramfs: deferring update (trigger activated) 52s Setting up lxd-installer (9) ... 52s Setting up python3-systemd (235-1build5) ... 52s Setting up grub2-common (2.12-5ubuntu7) ... 52s Setting up grub-pc-bin (2.12-5ubuntu7) ... 52s Setting up grub-pc (2.12-5ubuntu7) ... 53s Installing for i386-pc platform. 53s Installation finished. No error reported. 53s Sourcing file `/etc/default/grub' 53s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 53s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 53s Generating grub configuration file ... 53s Found linux image: /boot/vmlinuz-6.11.0-8-generic 53s Found initrd image: /boot/initrd.img-6.11.0-8-generic 53s Warning: os-prober will not be executed to detect other bootable partitions. 53s Systems on them will not be added to the GRUB boot configuration. 53s Check GRUB_DISABLE_OS_PROBER documentation entry. 53s Adding boot menu entry for UEFI Firmware Settings ... 53s done 54s Processing triggers for libc-bin (2.40-1ubuntu3) ... 54s Processing triggers for install-info (7.1.1-1) ... 54s Processing triggers for initramfs-tools (0.142ubuntu34) ... 54s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 54s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 62s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 62s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [213 kB] 62s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 62s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 62s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1050 kB] 63s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [130 kB] 63s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [197 kB] 63s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [295 kB] 63s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [824 kB] 63s Get:10 http://ftpmaster.internal/ubuntu plucky/universe Sources [20.7 MB] 63s Get:11 http://ftpmaster.internal/ubuntu plucky/universe i386 Packages [8329 kB] 64s Get:12 http://ftpmaster.internal/ubuntu plucky/universe amd64 Packages [15.7 MB] 66s Fetched 47.5 MB in 4s (11.6 MB/s) 67s Reading package lists... 67s Reading package lists... 67s Building dependency tree... 67s Reading state information... 67s Calculating upgrade... 67s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 67s Reading package lists... 67s Building dependency tree... 67s Reading state information... 68s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 68s autopkgtest [06:24:42]: rebooting testbed after setup commands that affected boot 72s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 85s autopkgtest [06:24:59]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 88s autopkgtest [06:25:02]: @@@@@@@@@@@@@@@@@@@@ apt-source fenics-ffcx 90s Get:1 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (dsc) [2533 B] 90s Get:2 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (tar) [134 kB] 90s Get:3 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (diff) [9740 B] 90s gpgv: Signature made Thu Apr 25 09:26:51 2024 UTC 90s gpgv: using RSA key 1B5D04B1E507BBF03669E2B801F35FC33E73AF8C 90s gpgv: Can't check signature: No public key 90s dpkg-source: warning: cannot verify inline signature for ./fenics-ffcx_0.8.0-1.dsc: no acceptable signature found 90s autopkgtest [06:25:04]: testing package fenics-ffcx version 1:0.8.0-1 91s autopkgtest [06:25:05]: build not needed 91s autopkgtest [06:25:05]: test command1: preparing testbed 94s Note, using file '/tmp/autopkgtest.mgdpGF/1-autopkgtest-satdep.dsc' to get the build dependencies 94s Reading package lists... 94s Building dependency tree... 94s Reading state information... 94s Starting pkgProblemResolver with broken count: 0 94s Starting 2 pkgProblemResolver with broken count: 0 94s Done 95s The following NEW packages will be installed: 95s autoconf automake autopoint autotools-dev build-essential cmake cmake-data 95s cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 95s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz 95s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 95s fonts-font-awesome fonts-lato g++ g++-14 g++-14-x86-64-linux-gnu 95s g++-x86-64-linux-gnu gcc gcc-14 gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu 95s gettext graphviz intltool-debian libann0 libaom3 libarchive-zip-perl 95s libasan8 libbasix-dev libbasix0.9 libblas3 libboost-math-dev 95s libboost-math1.83-dev libboost-math1.83.0 libboost1.83-dev libcairo2 95s libcc1-0 libcdt5 libcgraph6 libdatrie1 libde265-0 libdebhelper-perl 95s libdeflate0 libeigen3-dev libexpat1-dev libfile-stripnondeterminism-perl 95s libfontconfig1 libgcc-14-dev libgd3 libgfortran5 libgomp1 libgraphite2-3 95s libgts-0.7-5t64 libgvc6 libgvpr2 libharfbuzz0b libheif-plugin-aomdec 95s libheif-plugin-libde265 libheif1 libhwasan0 libice6 libimagequant0 libisl23 95s libitm1 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-sphinxdoc 95s libjs-underscore libjson-perl libjsoncpp25 liblab-gamut1 liblapack3 liblerc4 95s liblsan0 libltdl7 libmpc3 libpango-1.0-0 libpangocairo-1.0-0 95s libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 libpython3-all-dev 95s libpython3-dev libpython3.12-dev libquadmath0 libraqm0 librhash0 95s libsharpyuv0 libsm6 libstdc++-14-dev libthai-data libthai0 libtiff6 libtool 95s libtsan2 libubsan1 libwebp7 libxaw7 libxcb-render0 libxcb-shm0 libxmu6 95s libxpm4 libxrender1 libxt6t64 m4 pkg-config pkgconf pkgconf-bin po-debconf 95s pybuild-plugin-pyproject python3-alabaster python3-all python3-all-dev 95s python3-basix python3-build python3-cffi python3-defusedxml python3-dev 95s python3-docutils python3-ffcx python3-imagesize python3-iniconfig 95s python3-installer python3-mpmath python3-numpy python3-packaging python3-pip 95s python3-pluggy python3-ply python3-pycparser python3-pygraphviz 95s python3-pyproject-hooks python3-pytest python3-roman python3-snowballstemmer 95s python3-sphinx python3-sphinx-rtd-theme python3-sphinxcontrib.jquery 95s python3-sympy python3-toml python3-ufl python3-wheel python3.12-dev 95s sgml-base sphinx-common sphinx-rtd-theme-common x11-common xml-core 95s zlib1g-dev 95s 0 upgraded, 163 newly installed, 0 to remove and 0 not upgraded. 95s Need to get 141 MB of archives. 95s After this operation, 644 MB of additional disk space will be used. 95s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-lato all 2.015-1 [2781 kB] 95s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 sgml-base all 1.31 [11.4 kB] 95s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 m4 amd64 1.4.19-4build1 [244 kB] 95s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 autoconf all 2.72-3 [382 kB] 96s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 autotools-dev all 20220109.1 [44.9 kB] 96s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 96s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 autopoint all 0.22.5-2 [616 kB] 96s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 96s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 96s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [11.9 MB] 96s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-8ubuntu1 [1030 B] 96s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 96s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 96s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-8ubuntu1 [47.6 kB] 96s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-8ubuntu1 [148 kB] 96s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-8ubuntu1 [29.1 kB] 96s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-8ubuntu1 [2998 kB] 96s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-8ubuntu1 [1317 kB] 96s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-8ubuntu1 [2732 kB] 96s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-8ubuntu1 [1177 kB] 96s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-8ubuntu1 [1634 kB] 96s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-8ubuntu1 [153 kB] 96s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-8ubuntu1 [2814 kB] 96s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [23.3 MB] 97s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-8ubuntu1 [528 kB] 97s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 97s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 97s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-8ubuntu1 [2504 kB] 97s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [13.3 MB] 97s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-8ubuntu1 [19.9 kB] 97s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 97s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 97s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 97s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libjsoncpp25 amd64 1.9.5-6build1 [82.8 kB] 97s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 librhash0 amd64 1.4.3-3build1 [129 kB] 97s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 cmake-data all 3.30.3-1 [2246 kB] 98s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 cmake amd64 3.30.3-1 [12.0 MB] 98s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 98s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libtool all 2.4.7-7build1 [166 kB] 98s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 dh-autoreconf all 20 [16.1 kB] 98s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 98s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 98s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 98s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 debugedit amd64 1:5.1-1 [46.9 kB] 98s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 dwz amd64 0.15-1build6 [115 kB] 98s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 gettext amd64 0.22.5-2 [948 kB] 98s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 98s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 98s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 debhelper all 13.20ubuntu1 [893 kB] 98s Get:50 http://ftpmaster.internal/ubuntu plucky/universe amd64 dh-python all 6.20241024 [112 kB] 98s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 xml-core all 0.19 [20.3 kB] 98s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 docutils-common all 0.21.2+dfsg-2 [131 kB] 98s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-dejavu-mono all 2.37-8 [502 kB] 98s Get:54 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-dejavu-core all 2.37-8 [835 kB] 98s Get:55 http://ftpmaster.internal/ubuntu plucky/main amd64 fontconfig-config amd64 2.15.0-1.1ubuntu2 [37.3 kB] 98s Get:56 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontconfig1 amd64 2.15.0-1.1ubuntu2 [139 kB] 98s Get:57 http://ftpmaster.internal/ubuntu plucky/main amd64 fontconfig amd64 2.15.0-1.1ubuntu2 [180 kB] 98s Get:58 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 98s Get:59 http://ftpmaster.internal/ubuntu plucky/universe amd64 libann0 amd64 1.1.2+doc-9build1 [25.5 kB] 98s Get:60 http://ftpmaster.internal/ubuntu plucky/universe amd64 libcdt5 amd64 2.42.4-2build3 [22.3 kB] 98s Get:61 http://ftpmaster.internal/ubuntu plucky/universe amd64 libcgraph6 amd64 2.42.4-2build3 [45.1 kB] 98s Get:62 http://ftpmaster.internal/ubuntu plucky/main amd64 libsharpyuv0 amd64 1.4.0-0.1 [17.5 kB] 98s Get:63 http://ftpmaster.internal/ubuntu plucky/main amd64 libaom3 amd64 3.11.0~rc1-1 [2762 kB] 98s Get:64 http://ftpmaster.internal/ubuntu plucky/main amd64 libheif-plugin-aomdec amd64 1.19.3-1 [11.5 kB] 98s Get:65 http://ftpmaster.internal/ubuntu plucky/main amd64 libde265-0 amd64 1.0.15-1build4 [168 kB] 98s Get:66 http://ftpmaster.internal/ubuntu plucky/main amd64 libheif-plugin-libde265 amd64 1.19.3-1 [8968 B] 98s Get:67 http://ftpmaster.internal/ubuntu plucky/main amd64 libheif1 amd64 1.19.3-1 [415 kB] 98s Get:68 http://ftpmaster.internal/ubuntu plucky/main amd64 libimagequant0 amd64 2.18.0-1build1 [36.3 kB] 98s Get:69 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-turbo8 amd64 2.1.5-2ubuntu2 [150 kB] 98s Get:70 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B] 98s Get:71 http://ftpmaster.internal/ubuntu plucky/main amd64 libgraphite2-3 amd64 1.3.14-2ubuntu1 [73.1 kB] 98s Get:72 http://ftpmaster.internal/ubuntu plucky/main amd64 libharfbuzz0b amd64 10.0.1-1 [540 kB] 98s Get:73 http://ftpmaster.internal/ubuntu plucky/main amd64 libraqm0 amd64 0.10.1-1build1 [15.0 kB] 98s Get:74 http://ftpmaster.internal/ubuntu plucky/main amd64 libdeflate0 amd64 1.22-1 [64.5 kB] 98s Get:75 http://ftpmaster.internal/ubuntu plucky/main amd64 libjbig0 amd64 2.1-6.1ubuntu2 [29.7 kB] 98s Get:76 http://ftpmaster.internal/ubuntu plucky/main amd64 liblerc4 amd64 4.0.0+ds-4ubuntu2 [179 kB] 98s Get:77 http://ftpmaster.internal/ubuntu plucky/main amd64 libwebp7 amd64 1.4.0-0.1 [231 kB] 98s Get:78 http://ftpmaster.internal/ubuntu plucky/main amd64 libtiff6 amd64 4.5.1+git230720-4ubuntu4 [200 kB] 98s Get:79 http://ftpmaster.internal/ubuntu plucky/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB] 98s Get:80 http://ftpmaster.internal/ubuntu plucky/main amd64 libgd3 amd64 2.3.3-12ubuntu3 [127 kB] 98s Get:81 http://ftpmaster.internal/ubuntu plucky/universe amd64 libgts-0.7-5t64 amd64 0.7.6+darcs121130-5.2build1 [161 kB] 98s Get:82 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 99s Get:83 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-render0 amd64 1.17.0-2 [16.2 kB] 99s Get:84 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 99s Get:85 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 99s Get:86 http://ftpmaster.internal/ubuntu plucky/main amd64 libcairo2 amd64 1.18.2-2 [569 kB] 99s Get:87 http://ftpmaster.internal/ubuntu plucky/main amd64 libltdl7 amd64 2.4.7-7build1 [40.3 kB] 99s Get:88 http://ftpmaster.internal/ubuntu plucky/main amd64 libthai-data all 0.1.29-2build1 [158 kB] 99s Get:89 http://ftpmaster.internal/ubuntu plucky/main amd64 libdatrie1 amd64 0.2.13-3build1 [19.0 kB] 99s Get:90 http://ftpmaster.internal/ubuntu plucky/main amd64 libthai0 amd64 0.1.29-2build1 [18.9 kB] 99s Get:91 http://ftpmaster.internal/ubuntu plucky/main amd64 libpango-1.0-0 amd64 1.54.0+ds-3 [252 kB] 99s Get:92 http://ftpmaster.internal/ubuntu plucky/main amd64 libpangoft2-1.0-0 amd64 1.54.0+ds-3 [51.6 kB] 99s Get:93 http://ftpmaster.internal/ubuntu plucky/main amd64 libpangocairo-1.0-0 amd64 1.54.0+ds-3 [29.1 kB] 99s Get:94 http://ftpmaster.internal/ubuntu plucky/universe amd64 libpathplan4 amd64 2.42.4-2build3 [24.5 kB] 99s Get:95 http://ftpmaster.internal/ubuntu plucky/universe amd64 libgvc6 amd64 2.42.4-2build3 [721 kB] 99s Get:96 http://ftpmaster.internal/ubuntu plucky/universe amd64 libgvpr2 amd64 2.42.4-2build3 [189 kB] 99s Get:97 http://ftpmaster.internal/ubuntu plucky/universe amd64 liblab-gamut1 amd64 2.42.4-2build3 [1898 kB] 99s Get:98 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 99s Get:99 http://ftpmaster.internal/ubuntu plucky/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 99s Get:100 http://ftpmaster.internal/ubuntu plucky/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 99s Get:101 http://ftpmaster.internal/ubuntu plucky/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 99s Get:102 http://ftpmaster.internal/ubuntu plucky/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB] 99s Get:103 http://ftpmaster.internal/ubuntu plucky/main amd64 libxaw7 amd64 2:1.0.16-1 [207 kB] 99s Get:104 http://ftpmaster.internal/ubuntu plucky/universe amd64 graphviz amd64 2.42.4-2build3 [649 kB] 99s Get:105 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas3 amd64 3.12.0-3build2 [247 kB] 99s Get:106 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran5 amd64 14.2.0-8ubuntu1 [909 kB] 99s Get:107 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack3 amd64 3.12.0-3build2 [2668 kB] 100s Get:108 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 libbasix0.9 amd64 0.9.0-2build1 [639 kB] 100s Get:109 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 100s Get:110 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 100s Get:111 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 100s Get:112 http://ftpmaster.internal/ubuntu plucky/main amd64 pkg-config amd64 1.8.1-4 [7362 B] 100s Get:113 http://ftpmaster.internal/ubuntu plucky/universe amd64 libeigen3-dev all 3.4.0-4build1 [1055 kB] 100s Get:114 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 libbasix-dev amd64 0.9.0-2build1 [62.2 kB] 100s Get:115 http://ftpmaster.internal/ubuntu plucky/main amd64 libboost1.83-dev amd64 1.83.0-3.2ubuntu2 [10.7 MB] 100s Get:116 http://ftpmaster.internal/ubuntu plucky/universe amd64 libboost-math1.83.0 amd64 1.83.0-3.2ubuntu2 [442 kB] 100s Get:117 http://ftpmaster.internal/ubuntu plucky/universe amd64 libboost-math1.83-dev amd64 1.83.0-3.2ubuntu2 [604 kB] 100s Get:118 http://ftpmaster.internal/ubuntu plucky/universe amd64 libboost-math-dev amd64 1.83.0.2ubuntu1 [4434 B] 100s Get:119 http://ftpmaster.internal/ubuntu plucky/main amd64 libexpat1-dev amd64 2.6.4-1 [148 kB] 100s Get:120 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 100s Get:121 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 100s Get:122 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-sphinxdoc all 7.4.7-4 [158 kB] 100s Get:123 http://ftpmaster.internal/ubuntu plucky/main amd64 libjson-perl all 4.10000-1 [81.9 kB] 100s Get:124 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 100s Get:125 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.12-dev amd64 3.12.7-3 [5699 kB] 100s Get:126 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3-dev amd64 3.12.6-0ubuntu1 [10.2 kB] 100s Get:127 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3-all-dev amd64 3.12.6-0ubuntu1 [916 B] 100s Get:128 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 100s Get:129 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 100s Get:130 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] 100s Get:131 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-wheel all 0.44.0-1 [54.2 kB] 100s Get:132 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-build all 1.2.2-1 [31.0 kB] 100s Get:133 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 100s Get:134 http://ftpmaster.internal/ubuntu plucky/universe amd64 pybuild-plugin-pyproject all 6.20241024 [1728 B] 100s Get:135 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all amd64 3.12.6-0ubuntu1 [886 B] 100s Get:136 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.12-dev amd64 3.12.7-3 [505 kB] 100s Get:137 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-dev amd64 3.12.6-0ubuntu1 [26.7 kB] 101s Get:138 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all-dev amd64 3.12.6-0ubuntu1 [908 B] 101s Get:139 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-numpy amd64 1:1.26.4+ds-11build1 [4479 kB] 101s Get:140 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-ufl all 2024.2.0-2 [145 kB] 101s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 python3-basix amd64 0.9.0-2build1 [138 kB] 101s Get:142 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-ply all 3.11-7 [45.4 kB] 101s Get:143 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-pycparser all 2.22-2 [76.5 kB] 101s Get:144 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-cffi all 1.17.1-2 [74.8 kB] 101s Get:145 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-defusedxml all 0.7.1-2 [42.0 kB] 101s Get:146 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-roman all 4.2-1 [10.0 kB] 101s Get:147 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 101s Get:148 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-ffcx all 1:0.8.0-1 [92.9 kB] 101s Get:149 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-imagesize all 1.4.1-1 [6844 B] 101s Get:150 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 101s Get:151 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-mpmath all 1.3.0-1 [425 kB] 101s Get:152 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pip all 24.2+dfsg-1 [1398 kB] 101s Get:153 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 101s Get:154 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pygraphviz amd64 1.14-1build1 [85.6 kB] 101s Get:155 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 101s Get:156 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 101s Get:157 http://ftpmaster.internal/ubuntu plucky/main amd64 sphinx-common all 7.4.7-4 [775 kB] 101s Get:158 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 101s Get:159 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-sphinx all 7.4.7-4 [593 kB] 101s Get:160 http://ftpmaster.internal/ubuntu plucky/main amd64 sphinx-rtd-theme-common all 3.0.1+dfsg-1 [1012 kB] 101s Get:161 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 101s Get:162 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sphinx-rtd-theme all 3.0.1+dfsg-1 [23.5 kB] 101s Get:163 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sympy all 1.13.3-1 [4228 kB] 102s Fetched 141 MB in 6s (22.3 MB/s) 102s Selecting previously unselected package fonts-lato. 102s (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 ... 75575 files and directories currently installed.) 102s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 102s Unpacking fonts-lato (2.015-1) ... 102s Selecting previously unselected package sgml-base. 102s Preparing to unpack .../001-sgml-base_1.31_all.deb ... 102s Unpacking sgml-base (1.31) ... 102s Selecting previously unselected package m4. 102s Preparing to unpack .../002-m4_1.4.19-4build1_amd64.deb ... 102s Unpacking m4 (1.4.19-4build1) ... 102s Selecting previously unselected package autoconf. 102s Preparing to unpack .../003-autoconf_2.72-3_all.deb ... 102s Unpacking autoconf (2.72-3) ... 102s Selecting previously unselected package autotools-dev. 102s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 102s Unpacking autotools-dev (20220109.1) ... 102s Selecting previously unselected package automake. 102s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 102s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 102s Selecting previously unselected package autopoint. 102s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 102s Unpacking autopoint (0.22.5-2) ... 102s Selecting previously unselected package libisl23:amd64. 102s Preparing to unpack .../007-libisl23_0.27-1_amd64.deb ... 102s Unpacking libisl23:amd64 (0.27-1) ... 102s Selecting previously unselected package libmpc3:amd64. 102s Preparing to unpack .../008-libmpc3_1.3.1-1build2_amd64.deb ... 102s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 102s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 102s Preparing to unpack .../009-cpp-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 102s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 102s Selecting previously unselected package cpp-14. 102s Preparing to unpack .../010-cpp-14_14.2.0-8ubuntu1_amd64.deb ... 102s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 102s Selecting previously unselected package cpp-x86-64-linux-gnu. 102s Preparing to unpack .../011-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 102s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 102s Selecting previously unselected package cpp. 102s Preparing to unpack .../012-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 102s Unpacking cpp (4:14.1.0-2ubuntu1) ... 102s Selecting previously unselected package libcc1-0:amd64. 102s Preparing to unpack .../013-libcc1-0_14.2.0-8ubuntu1_amd64.deb ... 102s Unpacking libcc1-0:amd64 (14.2.0-8ubuntu1) ... 102s Selecting previously unselected package libgomp1:amd64. 102s Preparing to unpack .../014-libgomp1_14.2.0-8ubuntu1_amd64.deb ... 102s Unpacking libgomp1:amd64 (14.2.0-8ubuntu1) ... 102s Selecting previously unselected package libitm1:amd64. 102s Preparing to unpack .../015-libitm1_14.2.0-8ubuntu1_amd64.deb ... 102s Unpacking libitm1:amd64 (14.2.0-8ubuntu1) ... 102s Selecting previously unselected package libasan8:amd64. 102s Preparing to unpack .../016-libasan8_14.2.0-8ubuntu1_amd64.deb ... 102s Unpacking libasan8:amd64 (14.2.0-8ubuntu1) ... 102s Selecting previously unselected package liblsan0:amd64. 102s Preparing to unpack .../017-liblsan0_14.2.0-8ubuntu1_amd64.deb ... 102s Unpacking liblsan0:amd64 (14.2.0-8ubuntu1) ... 102s Selecting previously unselected package libtsan2:amd64. 102s Preparing to unpack .../018-libtsan2_14.2.0-8ubuntu1_amd64.deb ... 102s Unpacking libtsan2:amd64 (14.2.0-8ubuntu1) ... 103s Selecting previously unselected package libubsan1:amd64. 103s Preparing to unpack .../019-libubsan1_14.2.0-8ubuntu1_amd64.deb ... 103s Unpacking libubsan1:amd64 (14.2.0-8ubuntu1) ... 103s Selecting previously unselected package libhwasan0:amd64. 103s Preparing to unpack .../020-libhwasan0_14.2.0-8ubuntu1_amd64.deb ... 103s Unpacking libhwasan0:amd64 (14.2.0-8ubuntu1) ... 103s Selecting previously unselected package libquadmath0:amd64. 103s Preparing to unpack .../021-libquadmath0_14.2.0-8ubuntu1_amd64.deb ... 103s Unpacking libquadmath0:amd64 (14.2.0-8ubuntu1) ... 103s Selecting previously unselected package libgcc-14-dev:amd64. 103s Preparing to unpack .../022-libgcc-14-dev_14.2.0-8ubuntu1_amd64.deb ... 103s Unpacking libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 103s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 103s Preparing to unpack .../023-gcc-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 103s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 103s Selecting previously unselected package gcc-14. 103s Preparing to unpack .../024-gcc-14_14.2.0-8ubuntu1_amd64.deb ... 103s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 103s Selecting previously unselected package gcc-x86-64-linux-gnu. 103s Preparing to unpack .../025-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 103s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 103s Selecting previously unselected package gcc. 103s Preparing to unpack .../026-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 103s Unpacking gcc (4:14.1.0-2ubuntu1) ... 103s Selecting previously unselected package libstdc++-14-dev:amd64. 103s Preparing to unpack .../027-libstdc++-14-dev_14.2.0-8ubuntu1_amd64.deb ... 103s Unpacking libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 103s Selecting previously unselected package g++-14-x86-64-linux-gnu. 103s Preparing to unpack .../028-g++-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 103s Unpacking g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 103s Selecting previously unselected package g++-14. 103s Preparing to unpack .../029-g++-14_14.2.0-8ubuntu1_amd64.deb ... 103s Unpacking g++-14 (14.2.0-8ubuntu1) ... 103s Selecting previously unselected package g++-x86-64-linux-gnu. 103s Preparing to unpack .../030-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 103s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 103s Selecting previously unselected package g++. 103s Preparing to unpack .../031-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 103s Unpacking g++ (4:14.1.0-2ubuntu1) ... 103s Selecting previously unselected package build-essential. 103s Preparing to unpack .../032-build-essential_12.10ubuntu1_amd64.deb ... 103s Unpacking build-essential (12.10ubuntu1) ... 104s Selecting previously unselected package libjsoncpp25:amd64. 104s Preparing to unpack .../033-libjsoncpp25_1.9.5-6build1_amd64.deb ... 104s Unpacking libjsoncpp25:amd64 (1.9.5-6build1) ... 104s Selecting previously unselected package librhash0:amd64. 104s Preparing to unpack .../034-librhash0_1.4.3-3build1_amd64.deb ... 104s Unpacking librhash0:amd64 (1.4.3-3build1) ... 104s Selecting previously unselected package cmake-data. 104s Preparing to unpack .../035-cmake-data_3.30.3-1_all.deb ... 104s Unpacking cmake-data (3.30.3-1) ... 104s Selecting previously unselected package cmake. 104s Preparing to unpack .../036-cmake_3.30.3-1_amd64.deb ... 104s Unpacking cmake (3.30.3-1) ... 104s Selecting previously unselected package libdebhelper-perl. 104s Preparing to unpack .../037-libdebhelper-perl_13.20ubuntu1_all.deb ... 104s Unpacking libdebhelper-perl (13.20ubuntu1) ... 104s Selecting previously unselected package libtool. 104s Preparing to unpack .../038-libtool_2.4.7-7build1_all.deb ... 104s Unpacking libtool (2.4.7-7build1) ... 104s Selecting previously unselected package dh-autoreconf. 104s Preparing to unpack .../039-dh-autoreconf_20_all.deb ... 104s Unpacking dh-autoreconf (20) ... 104s Selecting previously unselected package libarchive-zip-perl. 104s Preparing to unpack .../040-libarchive-zip-perl_1.68-1_all.deb ... 104s Unpacking libarchive-zip-perl (1.68-1) ... 104s Selecting previously unselected package libfile-stripnondeterminism-perl. 104s Preparing to unpack .../041-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 104s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 104s Selecting previously unselected package dh-strip-nondeterminism. 104s Preparing to unpack .../042-dh-strip-nondeterminism_1.14.0-1_all.deb ... 104s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 104s Selecting previously unselected package debugedit. 104s Preparing to unpack .../043-debugedit_1%3a5.1-1_amd64.deb ... 104s Unpacking debugedit (1:5.1-1) ... 104s Selecting previously unselected package dwz. 104s Preparing to unpack .../044-dwz_0.15-1build6_amd64.deb ... 104s Unpacking dwz (0.15-1build6) ... 104s Selecting previously unselected package gettext. 104s Preparing to unpack .../045-gettext_0.22.5-2_amd64.deb ... 104s Unpacking gettext (0.22.5-2) ... 104s Selecting previously unselected package intltool-debian. 104s Preparing to unpack .../046-intltool-debian_0.35.0+20060710.6_all.deb ... 104s Unpacking intltool-debian (0.35.0+20060710.6) ... 104s Selecting previously unselected package po-debconf. 104s Preparing to unpack .../047-po-debconf_1.0.21+nmu1_all.deb ... 104s Unpacking po-debconf (1.0.21+nmu1) ... 104s Selecting previously unselected package debhelper. 104s Preparing to unpack .../048-debhelper_13.20ubuntu1_all.deb ... 104s Unpacking debhelper (13.20ubuntu1) ... 105s Selecting previously unselected package dh-python. 105s Preparing to unpack .../049-dh-python_6.20241024_all.deb ... 105s Unpacking dh-python (6.20241024) ... 105s Selecting previously unselected package xml-core. 105s Preparing to unpack .../050-xml-core_0.19_all.deb ... 105s Unpacking xml-core (0.19) ... 105s Selecting previously unselected package docutils-common. 105s Preparing to unpack .../051-docutils-common_0.21.2+dfsg-2_all.deb ... 105s Unpacking docutils-common (0.21.2+dfsg-2) ... 105s Selecting previously unselected package fonts-dejavu-mono. 105s Preparing to unpack .../052-fonts-dejavu-mono_2.37-8_all.deb ... 105s Unpacking fonts-dejavu-mono (2.37-8) ... 105s Selecting previously unselected package fonts-dejavu-core. 105s Preparing to unpack .../053-fonts-dejavu-core_2.37-8_all.deb ... 105s Unpacking fonts-dejavu-core (2.37-8) ... 105s Selecting previously unselected package fontconfig-config. 105s Preparing to unpack .../054-fontconfig-config_2.15.0-1.1ubuntu2_amd64.deb ... 105s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 105s Selecting previously unselected package libfontconfig1:amd64. 105s Preparing to unpack .../055-libfontconfig1_2.15.0-1.1ubuntu2_amd64.deb ... 105s Unpacking libfontconfig1:amd64 (2.15.0-1.1ubuntu2) ... 105s Selecting previously unselected package fontconfig. 105s Preparing to unpack .../056-fontconfig_2.15.0-1.1ubuntu2_amd64.deb ... 105s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 105s Selecting previously unselected package fonts-font-awesome. 105s Preparing to unpack .../057-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 105s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 105s Selecting previously unselected package libann0. 105s Preparing to unpack .../058-libann0_1.1.2+doc-9build1_amd64.deb ... 105s Unpacking libann0 (1.1.2+doc-9build1) ... 105s Selecting previously unselected package libcdt5:amd64. 105s Preparing to unpack .../059-libcdt5_2.42.4-2build3_amd64.deb ... 105s Unpacking libcdt5:amd64 (2.42.4-2build3) ... 105s Selecting previously unselected package libcgraph6:amd64. 105s Preparing to unpack .../060-libcgraph6_2.42.4-2build3_amd64.deb ... 105s Unpacking libcgraph6:amd64 (2.42.4-2build3) ... 105s Selecting previously unselected package libsharpyuv0:amd64. 105s Preparing to unpack .../061-libsharpyuv0_1.4.0-0.1_amd64.deb ... 105s Unpacking libsharpyuv0:amd64 (1.4.0-0.1) ... 105s Selecting previously unselected package libaom3:amd64. 105s Preparing to unpack .../062-libaom3_3.11.0~rc1-1_amd64.deb ... 105s Unpacking libaom3:amd64 (3.11.0~rc1-1) ... 105s Selecting previously unselected package libheif-plugin-aomdec:amd64. 105s Preparing to unpack .../063-libheif-plugin-aomdec_1.19.3-1_amd64.deb ... 105s Unpacking libheif-plugin-aomdec:amd64 (1.19.3-1) ... 105s Selecting previously unselected package libde265-0:amd64. 105s Preparing to unpack .../064-libde265-0_1.0.15-1build4_amd64.deb ... 105s Unpacking libde265-0:amd64 (1.0.15-1build4) ... 105s Selecting previously unselected package libheif-plugin-libde265:amd64. 105s Preparing to unpack .../065-libheif-plugin-libde265_1.19.3-1_amd64.deb ... 105s Unpacking libheif-plugin-libde265:amd64 (1.19.3-1) ... 105s Selecting previously unselected package libheif1:amd64. 105s Preparing to unpack .../066-libheif1_1.19.3-1_amd64.deb ... 105s Unpacking libheif1:amd64 (1.19.3-1) ... 105s Selecting previously unselected package libimagequant0:amd64. 105s Preparing to unpack .../067-libimagequant0_2.18.0-1build1_amd64.deb ... 105s Unpacking libimagequant0:amd64 (2.18.0-1build1) ... 105s Selecting previously unselected package libjpeg-turbo8:amd64. 105s Preparing to unpack .../068-libjpeg-turbo8_2.1.5-2ubuntu2_amd64.deb ... 105s Unpacking libjpeg-turbo8:amd64 (2.1.5-2ubuntu2) ... 105s Selecting previously unselected package libjpeg8:amd64. 105s Preparing to unpack .../069-libjpeg8_8c-2ubuntu11_amd64.deb ... 105s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ... 105s Selecting previously unselected package libgraphite2-3:amd64. 105s Preparing to unpack .../070-libgraphite2-3_1.3.14-2ubuntu1_amd64.deb ... 105s Unpacking libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 105s Selecting previously unselected package libharfbuzz0b:amd64. 105s Preparing to unpack .../071-libharfbuzz0b_10.0.1-1_amd64.deb ... 105s Unpacking libharfbuzz0b:amd64 (10.0.1-1) ... 105s Selecting previously unselected package libraqm0:amd64. 105s Preparing to unpack .../072-libraqm0_0.10.1-1build1_amd64.deb ... 105s Unpacking libraqm0:amd64 (0.10.1-1build1) ... 105s Selecting previously unselected package libdeflate0:amd64. 105s Preparing to unpack .../073-libdeflate0_1.22-1_amd64.deb ... 105s Unpacking libdeflate0:amd64 (1.22-1) ... 105s Selecting previously unselected package libjbig0:amd64. 105s Preparing to unpack .../074-libjbig0_2.1-6.1ubuntu2_amd64.deb ... 105s Unpacking libjbig0:amd64 (2.1-6.1ubuntu2) ... 105s Selecting previously unselected package liblerc4:amd64. 105s Preparing to unpack .../075-liblerc4_4.0.0+ds-4ubuntu2_amd64.deb ... 105s Unpacking liblerc4:amd64 (4.0.0+ds-4ubuntu2) ... 105s Selecting previously unselected package libwebp7:amd64. 105s Preparing to unpack .../076-libwebp7_1.4.0-0.1_amd64.deb ... 105s Unpacking libwebp7:amd64 (1.4.0-0.1) ... 105s Selecting previously unselected package libtiff6:amd64. 105s Preparing to unpack .../077-libtiff6_4.5.1+git230720-4ubuntu4_amd64.deb ... 105s Unpacking libtiff6:amd64 (4.5.1+git230720-4ubuntu4) ... 105s Selecting previously unselected package libxpm4:amd64. 105s Preparing to unpack .../078-libxpm4_1%3a3.5.17-1build2_amd64.deb ... 105s Unpacking libxpm4:amd64 (1:3.5.17-1build2) ... 105s Selecting previously unselected package libgd3:amd64. 105s Preparing to unpack .../079-libgd3_2.3.3-12ubuntu3_amd64.deb ... 105s Unpacking libgd3:amd64 (2.3.3-12ubuntu3) ... 105s Selecting previously unselected package libgts-0.7-5t64:amd64. 105s Preparing to unpack .../080-libgts-0.7-5t64_0.7.6+darcs121130-5.2build1_amd64.deb ... 105s Unpacking libgts-0.7-5t64:amd64 (0.7.6+darcs121130-5.2build1) ... 105s Selecting previously unselected package libpixman-1-0:amd64. 105s Preparing to unpack .../081-libpixman-1-0_0.44.0-3_amd64.deb ... 105s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 106s Selecting previously unselected package libxcb-render0:amd64. 106s Preparing to unpack .../082-libxcb-render0_1.17.0-2_amd64.deb ... 106s Unpacking libxcb-render0:amd64 (1.17.0-2) ... 106s Selecting previously unselected package libxcb-shm0:amd64. 106s Preparing to unpack .../083-libxcb-shm0_1.17.0-2_amd64.deb ... 106s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 106s Selecting previously unselected package libxrender1:amd64. 106s Preparing to unpack .../084-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 106s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 106s Selecting previously unselected package libcairo2:amd64. 106s Preparing to unpack .../085-libcairo2_1.18.2-2_amd64.deb ... 106s Unpacking libcairo2:amd64 (1.18.2-2) ... 106s Selecting previously unselected package libltdl7:amd64. 106s Preparing to unpack .../086-libltdl7_2.4.7-7build1_amd64.deb ... 106s Unpacking libltdl7:amd64 (2.4.7-7build1) ... 106s Selecting previously unselected package libthai-data. 106s Preparing to unpack .../087-libthai-data_0.1.29-2build1_all.deb ... 106s Unpacking libthai-data (0.1.29-2build1) ... 106s Selecting previously unselected package libdatrie1:amd64. 106s Preparing to unpack .../088-libdatrie1_0.2.13-3build1_amd64.deb ... 106s Unpacking libdatrie1:amd64 (0.2.13-3build1) ... 106s Selecting previously unselected package libthai0:amd64. 106s Preparing to unpack .../089-libthai0_0.1.29-2build1_amd64.deb ... 106s Unpacking libthai0:amd64 (0.1.29-2build1) ... 106s Selecting previously unselected package libpango-1.0-0:amd64. 106s Preparing to unpack .../090-libpango-1.0-0_1.54.0+ds-3_amd64.deb ... 106s Unpacking libpango-1.0-0:amd64 (1.54.0+ds-3) ... 106s Selecting previously unselected package libpangoft2-1.0-0:amd64. 106s Preparing to unpack .../091-libpangoft2-1.0-0_1.54.0+ds-3_amd64.deb ... 106s Unpacking libpangoft2-1.0-0:amd64 (1.54.0+ds-3) ... 106s Selecting previously unselected package libpangocairo-1.0-0:amd64. 106s Preparing to unpack .../092-libpangocairo-1.0-0_1.54.0+ds-3_amd64.deb ... 106s Unpacking libpangocairo-1.0-0:amd64 (1.54.0+ds-3) ... 106s Selecting previously unselected package libpathplan4:amd64. 106s Preparing to unpack .../093-libpathplan4_2.42.4-2build3_amd64.deb ... 106s Unpacking libpathplan4:amd64 (2.42.4-2build3) ... 106s Selecting previously unselected package libgvc6. 106s Preparing to unpack .../094-libgvc6_2.42.4-2build3_amd64.deb ... 106s Unpacking libgvc6 (2.42.4-2build3) ... 106s Selecting previously unselected package libgvpr2:amd64. 106s Preparing to unpack .../095-libgvpr2_2.42.4-2build3_amd64.deb ... 106s Unpacking libgvpr2:amd64 (2.42.4-2build3) ... 106s Selecting previously unselected package liblab-gamut1:amd64. 106s Preparing to unpack .../096-liblab-gamut1_2.42.4-2build3_amd64.deb ... 106s Unpacking liblab-gamut1:amd64 (2.42.4-2build3) ... 106s Selecting previously unselected package x11-common. 106s Preparing to unpack .../097-x11-common_1%3a7.7+23ubuntu3_all.deb ... 106s Unpacking x11-common (1:7.7+23ubuntu3) ... 106s Selecting previously unselected package libice6:amd64. 106s Preparing to unpack .../098-libice6_2%3a1.1.1-1_amd64.deb ... 106s Unpacking libice6:amd64 (2:1.1.1-1) ... 106s Selecting previously unselected package libsm6:amd64. 106s Preparing to unpack .../099-libsm6_2%3a1.2.4-1_amd64.deb ... 106s Unpacking libsm6:amd64 (2:1.2.4-1) ... 106s Selecting previously unselected package libxt6t64:amd64. 106s Preparing to unpack .../100-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 106s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 106s Selecting previously unselected package libxmu6:amd64. 106s Preparing to unpack .../101-libxmu6_2%3a1.1.3-3build2_amd64.deb ... 106s Unpacking libxmu6:amd64 (2:1.1.3-3build2) ... 106s Selecting previously unselected package libxaw7:amd64. 106s Preparing to unpack .../102-libxaw7_2%3a1.0.16-1_amd64.deb ... 106s Unpacking libxaw7:amd64 (2:1.0.16-1) ... 106s Selecting previously unselected package graphviz. 106s Preparing to unpack .../103-graphviz_2.42.4-2build3_amd64.deb ... 106s Unpacking graphviz (2.42.4-2build3) ... 106s Selecting previously unselected package libblas3:amd64. 106s Preparing to unpack .../104-libblas3_3.12.0-3build2_amd64.deb ... 106s Unpacking libblas3:amd64 (3.12.0-3build2) ... 106s Selecting previously unselected package libgfortran5:amd64. 106s Preparing to unpack .../105-libgfortran5_14.2.0-8ubuntu1_amd64.deb ... 106s Unpacking libgfortran5:amd64 (14.2.0-8ubuntu1) ... 106s Selecting previously unselected package liblapack3:amd64. 106s Preparing to unpack .../106-liblapack3_3.12.0-3build2_amd64.deb ... 106s Unpacking liblapack3:amd64 (3.12.0-3build2) ... 106s Selecting previously unselected package libbasix0.9:amd64. 106s Preparing to unpack .../107-libbasix0.9_0.9.0-2build1_amd64.deb ... 106s Unpacking libbasix0.9:amd64 (0.9.0-2build1) ... 106s Selecting previously unselected package libpkgconf3:amd64. 106s Preparing to unpack .../108-libpkgconf3_1.8.1-4_amd64.deb ... 106s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 106s Selecting previously unselected package pkgconf-bin. 106s Preparing to unpack .../109-pkgconf-bin_1.8.1-4_amd64.deb ... 106s Unpacking pkgconf-bin (1.8.1-4) ... 106s Selecting previously unselected package pkgconf:amd64. 106s Preparing to unpack .../110-pkgconf_1.8.1-4_amd64.deb ... 106s Unpacking pkgconf:amd64 (1.8.1-4) ... 106s Selecting previously unselected package pkg-config:amd64. 106s Preparing to unpack .../111-pkg-config_1.8.1-4_amd64.deb ... 106s Unpacking pkg-config:amd64 (1.8.1-4) ... 106s Selecting previously unselected package libeigen3-dev. 106s Preparing to unpack .../112-libeigen3-dev_3.4.0-4build1_all.deb ... 106s Unpacking libeigen3-dev (3.4.0-4build1) ... 106s Selecting previously unselected package libbasix-dev:amd64. 106s Preparing to unpack .../113-libbasix-dev_0.9.0-2build1_amd64.deb ... 106s Unpacking libbasix-dev:amd64 (0.9.0-2build1) ... 107s Selecting previously unselected package libboost1.83-dev:amd64. 107s Preparing to unpack .../114-libboost1.83-dev_1.83.0-3.2ubuntu2_amd64.deb ... 107s Unpacking libboost1.83-dev:amd64 (1.83.0-3.2ubuntu2) ... 109s Selecting previously unselected package libboost-math1.83.0:amd64. 109s Preparing to unpack .../115-libboost-math1.83.0_1.83.0-3.2ubuntu2_amd64.deb ... 109s Unpacking libboost-math1.83.0:amd64 (1.83.0-3.2ubuntu2) ... 109s Selecting previously unselected package libboost-math1.83-dev:amd64. 109s Preparing to unpack .../116-libboost-math1.83-dev_1.83.0-3.2ubuntu2_amd64.deb ... 109s Unpacking libboost-math1.83-dev:amd64 (1.83.0-3.2ubuntu2) ... 109s Selecting previously unselected package libboost-math-dev:amd64. 109s Preparing to unpack .../117-libboost-math-dev_1.83.0.2ubuntu1_amd64.deb ... 109s Unpacking libboost-math-dev:amd64 (1.83.0.2ubuntu1) ... 109s Selecting previously unselected package libexpat1-dev:amd64. 109s Preparing to unpack .../118-libexpat1-dev_2.6.4-1_amd64.deb ... 109s Unpacking libexpat1-dev:amd64 (2.6.4-1) ... 109s Selecting previously unselected package libjs-jquery. 109s Preparing to unpack .../119-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 109s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 109s Selecting previously unselected package libjs-underscore. 109s Preparing to unpack .../120-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 109s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 109s Selecting previously unselected package libjs-sphinxdoc. 109s Preparing to unpack .../121-libjs-sphinxdoc_7.4.7-4_all.deb ... 109s Unpacking libjs-sphinxdoc (7.4.7-4) ... 109s Selecting previously unselected package libjson-perl. 109s Preparing to unpack .../122-libjson-perl_4.10000-1_all.deb ... 109s Unpacking libjson-perl (4.10000-1) ... 109s Selecting previously unselected package zlib1g-dev:amd64. 109s Preparing to unpack .../123-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 109s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 109s Selecting previously unselected package libpython3.12-dev:amd64. 109s Preparing to unpack .../124-libpython3.12-dev_3.12.7-3_amd64.deb ... 109s Unpacking libpython3.12-dev:amd64 (3.12.7-3) ... 109s Selecting previously unselected package libpython3-dev:amd64. 109s Preparing to unpack .../125-libpython3-dev_3.12.6-0ubuntu1_amd64.deb ... 109s Unpacking libpython3-dev:amd64 (3.12.6-0ubuntu1) ... 109s Selecting previously unselected package libpython3-all-dev:amd64. 109s Preparing to unpack .../126-libpython3-all-dev_3.12.6-0ubuntu1_amd64.deb ... 109s Unpacking libpython3-all-dev:amd64 (3.12.6-0ubuntu1) ... 109s Selecting previously unselected package python3-packaging. 109s Preparing to unpack .../127-python3-packaging_24.1-1_all.deb ... 109s Unpacking python3-packaging (24.1-1) ... 109s Selecting previously unselected package python3-pyproject-hooks. 109s Preparing to unpack .../128-python3-pyproject-hooks_1.2.0-1_all.deb ... 109s Unpacking python3-pyproject-hooks (1.2.0-1) ... 109s Selecting previously unselected package python3-toml. 109s Preparing to unpack .../129-python3-toml_0.10.2-1_all.deb ... 109s Unpacking python3-toml (0.10.2-1) ... 109s Selecting previously unselected package python3-wheel. 109s Preparing to unpack .../130-python3-wheel_0.44.0-1_all.deb ... 109s Unpacking python3-wheel (0.44.0-1) ... 109s Selecting previously unselected package python3-build. 109s Preparing to unpack .../131-python3-build_1.2.2-1_all.deb ... 109s Unpacking python3-build (1.2.2-1) ... 109s Selecting previously unselected package python3-installer. 109s Preparing to unpack .../132-python3-installer_0.7.0+dfsg1-3_all.deb ... 109s Unpacking python3-installer (0.7.0+dfsg1-3) ... 109s Selecting previously unselected package pybuild-plugin-pyproject. 109s Preparing to unpack .../133-pybuild-plugin-pyproject_6.20241024_all.deb ... 109s Unpacking pybuild-plugin-pyproject (6.20241024) ... 109s Selecting previously unselected package python3-all. 109s Preparing to unpack .../134-python3-all_3.12.6-0ubuntu1_amd64.deb ... 109s Unpacking python3-all (3.12.6-0ubuntu1) ... 109s Selecting previously unselected package python3.12-dev. 109s Preparing to unpack .../135-python3.12-dev_3.12.7-3_amd64.deb ... 109s Unpacking python3.12-dev (3.12.7-3) ... 109s Selecting previously unselected package python3-dev. 109s Preparing to unpack .../136-python3-dev_3.12.6-0ubuntu1_amd64.deb ... 109s Unpacking python3-dev (3.12.6-0ubuntu1) ... 109s Selecting previously unselected package python3-all-dev. 109s Preparing to unpack .../137-python3-all-dev_3.12.6-0ubuntu1_amd64.deb ... 109s Unpacking python3-all-dev (3.12.6-0ubuntu1) ... 109s Selecting previously unselected package python3-numpy. 109s Preparing to unpack .../138-python3-numpy_1%3a1.26.4+ds-11build1_amd64.deb ... 109s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 110s Selecting previously unselected package python3-ufl. 110s Preparing to unpack .../139-python3-ufl_2024.2.0-2_all.deb ... 110s Unpacking python3-ufl (2024.2.0-2) ... 110s Selecting previously unselected package python3-basix. 110s Preparing to unpack .../140-python3-basix_0.9.0-2build1_amd64.deb ... 110s Unpacking python3-basix (0.9.0-2build1) ... 110s Selecting previously unselected package python3-ply. 110s Preparing to unpack .../141-python3-ply_3.11-7_all.deb ... 110s Unpacking python3-ply (3.11-7) ... 110s Selecting previously unselected package python3-pycparser. 110s Preparing to unpack .../142-python3-pycparser_2.22-2_all.deb ... 110s Unpacking python3-pycparser (2.22-2) ... 110s Selecting previously unselected package python3-cffi. 110s Preparing to unpack .../143-python3-cffi_1.17.1-2_all.deb ... 110s Unpacking python3-cffi (1.17.1-2) ... 110s Selecting previously unselected package python3-defusedxml. 110s Preparing to unpack .../144-python3-defusedxml_0.7.1-2_all.deb ... 110s Unpacking python3-defusedxml (0.7.1-2) ... 110s Selecting previously unselected package python3-roman. 110s Preparing to unpack .../145-python3-roman_4.2-1_all.deb ... 110s Unpacking python3-roman (4.2-1) ... 110s Selecting previously unselected package python3-docutils. 110s Preparing to unpack .../146-python3-docutils_0.21.2+dfsg-2_all.deb ... 110s Unpacking python3-docutils (0.21.2+dfsg-2) ... 110s Selecting previously unselected package python3-ffcx. 110s Preparing to unpack .../147-python3-ffcx_1%3a0.8.0-1_all.deb ... 110s Unpacking python3-ffcx (1:0.8.0-1) ... 110s Selecting previously unselected package python3-imagesize. 110s Preparing to unpack .../148-python3-imagesize_1.4.1-1_all.deb ... 110s Unpacking python3-imagesize (1.4.1-1) ... 110s Selecting previously unselected package python3-iniconfig. 110s Preparing to unpack .../149-python3-iniconfig_1.1.1-2_all.deb ... 110s Unpacking python3-iniconfig (1.1.1-2) ... 110s Selecting previously unselected package python3-mpmath. 110s Preparing to unpack .../150-python3-mpmath_1.3.0-1_all.deb ... 110s Unpacking python3-mpmath (1.3.0-1) ... 110s Selecting previously unselected package python3-pip. 110s Preparing to unpack .../151-python3-pip_24.2+dfsg-1_all.deb ... 110s Unpacking python3-pip (24.2+dfsg-1) ... 110s Selecting previously unselected package python3-pluggy. 110s Preparing to unpack .../152-python3-pluggy_1.5.0-1_all.deb ... 110s Unpacking python3-pluggy (1.5.0-1) ... 110s Selecting previously unselected package python3-pygraphviz. 110s Preparing to unpack .../153-python3-pygraphviz_1.14-1build1_amd64.deb ... 110s Unpacking python3-pygraphviz (1.14-1build1) ... 110s Selecting previously unselected package python3-pytest. 110s Preparing to unpack .../154-python3-pytest_8.3.3-1_all.deb ... 110s Unpacking python3-pytest (8.3.3-1) ... 110s Selecting previously unselected package python3-snowballstemmer. 110s Preparing to unpack .../155-python3-snowballstemmer_2.2.0-4build1_all.deb ... 110s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 110s Selecting previously unselected package sphinx-common. 110s Preparing to unpack .../156-sphinx-common_7.4.7-4_all.deb ... 110s Unpacking sphinx-common (7.4.7-4) ... 110s Selecting previously unselected package python3-alabaster. 110s Preparing to unpack .../157-python3-alabaster_0.7.16-0.1_all.deb ... 110s Unpacking python3-alabaster (0.7.16-0.1) ... 110s Selecting previously unselected package python3-sphinx. 110s Preparing to unpack .../158-python3-sphinx_7.4.7-4_all.deb ... 110s Unpacking python3-sphinx (7.4.7-4) ... 110s Selecting previously unselected package sphinx-rtd-theme-common. 110s Preparing to unpack .../159-sphinx-rtd-theme-common_3.0.1+dfsg-1_all.deb ... 110s Unpacking sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 110s Selecting previously unselected package python3-sphinxcontrib.jquery. 111s Preparing to unpack .../160-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 111s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 111s Selecting previously unselected package python3-sphinx-rtd-theme. 111s Preparing to unpack .../161-python3-sphinx-rtd-theme_3.0.1+dfsg-1_all.deb ... 111s Unpacking python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 111s Selecting previously unselected package python3-sympy. 111s Preparing to unpack .../162-python3-sympy_1.13.3-1_all.deb ... 111s Unpacking python3-sympy (1.13.3-1) ... 111s Setting up dh-python (6.20241024) ... 111s Setting up libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 111s Setting up python3-iniconfig (1.1.1-2) ... 111s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 111s Setting up libsharpyuv0:amd64 (1.4.0-0.1) ... 111s Setting up libaom3:amd64 (3.11.0~rc1-1) ... 111s Setting up fonts-lato (2.015-1) ... 111s Setting up liblerc4:amd64 (4.0.0+ds-4ubuntu2) ... 111s Setting up libxpm4:amd64 (1:3.5.17-1build2) ... 111s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 111s Setting up libdatrie1:amd64 (0.2.13-3build1) ... 111s Setting up libxcb-render0:amd64 (1.17.0-2) ... 111s Setting up python3-defusedxml (0.7.1-2) ... 111s Setting up libarchive-zip-perl (1.68-1) ... 111s Setting up python3-alabaster (0.7.16-0.1) ... 111s Setting up libdebhelper-perl (13.20ubuntu1) ... 111s Setting up python3-ply (3.11-7) ... 111s Setting up liblab-gamut1:amd64 (2.42.4-2build3) ... 111s Setting up x11-common (1:7.7+23ubuntu3) ... 112s Setting up libdeflate0:amd64 (1.22-1) ... 112s Setting up m4 (1.4.19-4build1) ... 112s Setting up python3-all (3.12.6-0ubuntu1) ... 112s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 112s Setting up libgomp1:amd64 (14.2.0-8ubuntu1) ... 112s Setting up python3-wheel (0.44.0-1) ... 112s Setting up libjbig0:amd64 (2.1-6.1ubuntu2) ... 112s Setting up python3-pycparser (2.22-2) ... 112s Setting up python3-roman (4.2-1) ... 112s Setting up autotools-dev (20220109.1) ... 112s Setting up libblas3:amd64 (3.12.0-3build2) ... 112s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode 112s Setting up python3-packaging (24.1-1) ... 112s Setting up libpkgconf3:amd64 (1.8.1-4) ... 112s Setting up libexpat1-dev:amd64 (2.6.4-1) ... 112s Setting up python3-pyproject-hooks (1.2.0-1) ... 112s Setting up python3-snowballstemmer (2.2.0-4build1) ... 112s Setting up libpathplan4:amd64 (2.42.4-2build3) ... 112s Setting up libann0 (1.1.2+doc-9build1) ... 112s Setting up libquadmath0:amd64 (14.2.0-8ubuntu1) ... 112s Setting up libimagequant0:amd64 (2.18.0-1build1) ... 112s Setting up fonts-dejavu-mono (2.37-8) ... 112s Setting up libmpc3:amd64 (1.3.1-1build2) ... 112s Setting up autopoint (0.22.5-2) ... 112s Setting up libjsoncpp25:amd64 (1.9.5-6build1) ... 112s Setting up fonts-dejavu-core (2.37-8) ... 112s Setting up pkgconf-bin (1.8.1-4) ... 112s Setting up python3-pip (24.2+dfsg-1) ... 113s Setting up libjpeg-turbo8:amd64 (2.1.5-2ubuntu2) ... 113s Setting up libltdl7:amd64 (2.4.7-7build1) ... 113s Setting up python3-toml (0.10.2-1) ... 113s Setting up python3-installer (0.7.0+dfsg1-3) ... 113s Setting up libgfortran5:amd64 (14.2.0-8ubuntu1) ... 113s Setting up autoconf (2.72-3) ... 113s Setting up python3-pluggy (1.5.0-1) ... 114s Setting up libwebp7:amd64 (1.4.0-0.1) ... 114s Setting up libubsan1:amd64 (14.2.0-8ubuntu1) ... 114s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 114s Setting up dwz (0.15-1build6) ... 114s Setting up libhwasan0:amd64 (14.2.0-8ubuntu1) ... 114s Setting up librhash0:amd64 (1.4.3-3build1) ... 114s Setting up libasan8:amd64 (14.2.0-8ubuntu1) ... 114s Setting up libjson-perl (4.10000-1) ... 114s Setting up debugedit (1:5.1-1) ... 114s Setting up libharfbuzz0b:amd64 (10.0.1-1) ... 114s Setting up libthai-data (0.1.29-2build1) ... 114s Setting up libgts-0.7-5t64:amd64 (0.7.6+darcs121130-5.2build1) ... 114s Setting up sgml-base (1.31) ... 114s Setting up cmake-data (3.30.3-1) ... 114s Setting up libcdt5:amd64 (2.42.4-2build3) ... 114s Setting up libcgraph6:amd64 (2.42.4-2build3) ... 114s Setting up libboost-math1.83.0:amd64 (1.83.0-3.2ubuntu2) ... 114s Setting up libtsan2:amd64 (14.2.0-8ubuntu1) ... 114s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 114s Setting up python3-mpmath (1.3.0-1) ... 114s Setting up libisl23:amd64 (0.27-1) ... 114s Setting up python3-build (1.2.2-1) ... 114s Setting up libde265-0:amd64 (1.0.15-1build4) ... 114s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 114s Setting up sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 114s Setting up libcc1-0:amd64 (14.2.0-8ubuntu1) ... 114s Setting up liblsan0:amd64 (14.2.0-8ubuntu1) ... 114s Setting up libitm1:amd64 (14.2.0-8ubuntu1) ... 114s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 114s Setting up python3-imagesize (1.4.1-1) ... 114s Setting up libjpeg8:amd64 (8c-2ubuntu11) ... 114s Setting up automake (1:1.16.5-1.3ubuntu1) ... 114s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 114s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 114s Setting up python3-sympy (1.13.3-1) ... 119s Setting up libice6:amd64 (2:1.1.1-1) ... 119s Setting up liblapack3:amd64 (3.12.0-3build2) ... 119s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode 119s Setting up gettext (0.22.5-2) ... 119s Setting up pybuild-plugin-pyproject (6.20241024) ... 119s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 119s Setting up python3-pytest (8.3.3-1) ... 119s Setting up python3-cffi (1.17.1-2) ... 120s Setting up libpython3.12-dev:amd64 (3.12.7-3) ... 120s Setting up pkgconf:amd64 (1.8.1-4) ... 120s Setting up intltool-debian (0.35.0+20060710.6) ... 120s Setting up libthai0:amd64 (0.1.29-2build1) ... 120s Setting up libraqm0:amd64 (0.10.1-1build1) ... 120s Setting up libeigen3-dev (3.4.0-4build1) ... 120s Setting up python3.12-dev (3.12.7-3) ... 120s Setting up pkg-config:amd64 (1.8.1-4) ... 120s Setting up cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 120s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 121s Setting up libjs-sphinxdoc (7.4.7-4) ... 121s Setting up cpp-14 (14.2.0-8ubuntu1) ... 121s Setting up dh-strip-nondeterminism (1.14.0-1) ... 121s Setting up libgvpr2:amd64 (2.42.4-2build3) ... 121s Setting up libbasix0.9:amd64 (0.9.0-2build1) ... 121s Setting up libtiff6:amd64 (4.5.1+git230720-4ubuntu4) ... 121s Setting up xml-core (0.19) ... 121s Setting up cmake (3.30.3-1) ... 121s Setting up libfontconfig1:amd64 (2.15.0-1.1ubuntu2) ... 121s Setting up libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 121s Setting up libbasix-dev:amd64 (0.9.0-2build1) ... 121s Setting up libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 121s Setting up libsm6:amd64 (2:1.2.4-1) ... 121s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 121s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 123s Regenerating fonts cache... done. 123s Setting up libboost1.83-dev:amd64 (1.83.0-3.2ubuntu2) ... 123s Setting up libpython3-dev:amd64 (3.12.6-0ubuntu1) ... 123s Setting up python3-ufl (2024.2.0-2) ... 123s Setting up libboost-math1.83-dev:amd64 (1.83.0-3.2ubuntu2) ... 123s Setting up libboost-math-dev:amd64 (1.83.0.2ubuntu1) ... 123s Setting up po-debconf (1.0.21+nmu1) ... 123s Setting up libpango-1.0-0:amd64 (1.54.0+ds-3) ... 123s Setting up libcairo2:amd64 (1.18.2-2) ... 123s Setting up libpython3-all-dev:amd64 (3.12.6-0ubuntu1) ... 123s Setting up sphinx-common (7.4.7-4) ... 123s Setting up python3-dev (3.12.6-0ubuntu1) ... 123s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 123s Setting up cpp (4:14.1.0-2ubuntu1) ... 123s Setting up gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 123s Setting up libpangoft2-1.0-0:amd64 (1.54.0+ds-3) ... 123s Setting up libpangocairo-1.0-0:amd64 (1.54.0+ds-3) ... 123s Setting up python3-basix (0.9.0-2build1) ... 123s Setting up python3-all-dev (3.12.6-0ubuntu1) ... 123s Setting up libxmu6:amd64 (2:1.1.3-3build2) ... 123s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 123s Setting up libxaw7:amd64 (2:1.0.16-1) ... 123s Setting up gcc-14 (14.2.0-8ubuntu1) ... 123s Setting up python3-ffcx (1:0.8.0-1) ... 124s Setting up g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 124s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 124s Setting up g++-14 (14.2.0-8ubuntu1) ... 124s Setting up libtool (2.4.7-7build1) ... 124s Setting up gcc (4:14.1.0-2ubuntu1) ... 124s Setting up dh-autoreconf (20) ... 124s Setting up g++ (4:14.1.0-2ubuntu1) ... 124s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 124s Setting up build-essential (12.10ubuntu1) ... 124s Setting up debhelper (13.20ubuntu1) ... 124s Setting up libheif-plugin-aomdec:amd64 (1.19.3-1) ... 124s Setting up libheif-plugin-libde265:amd64 (1.19.3-1) ... 124s Setting up libheif1:amd64 (1.19.3-1) ... 124s Setting up libgd3:amd64 (2.3.3-12ubuntu3) ... 124s Setting up libgvc6 (2.42.4-2build3) ... 124s Setting up graphviz (2.42.4-2build3) ... 124s Setting up python3-pygraphviz (1.14-1build1) ... 124s Processing triggers for install-info (7.1.1-1) ... 124s Processing triggers for libc-bin (2.40-1ubuntu3) ... 124s Processing triggers for man-db (2.13.0-1) ... 125s Processing triggers for sgml-base (1.31) ... 125s Setting up docutils-common (0.21.2+dfsg-2) ... 125s Processing triggers for sgml-base (1.31) ... 125s Setting up python3-docutils (0.21.2+dfsg-2) ... 126s Setting up python3-sphinx (7.4.7-4) ... 126s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 126s Setting up python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 133s Reading package lists... 133s Building dependency tree... 133s Reading state information... 133s Starting pkgProblemResolver with broken count: 0 134s Starting 2 pkgProblemResolver with broken count: 0 134s Done 134s The following NEW packages will be installed: 134s autopkgtest-satdep 134s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 134s Need to get 0 B/696 B of archives. 134s After this operation, 0 B of additional disk space will be used. 134s Get:1 /tmp/autopkgtest.mgdpGF/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [696 B] 134s Selecting previously unselected package autopkgtest-satdep. 134s (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 ... 105848 files and directories currently installed.) 134s Preparing to unpack .../2-autopkgtest-satdep.deb ... 134s Unpacking autopkgtest-satdep (0) ... 134s Setting up autopkgtest-satdep (0) ... 135s autopkgtest: WARNING: package python3-ffcx:i386 is not installed though it should be 136s (Reading database ... 105848 files and directories currently installed.) 136s Removing autopkgtest-satdep (0) ... 137s autopkgtest [06:25:51]: test command1: for pyver in `py3versions -sv`; do python$pyver -m pytest test; done 137s autopkgtest [06:25:51]: test command1: [----------------------- 137s ============================= test session starts ============================== 137s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 137s rootdir: /tmp/autopkgtest.mgdpGF/build.iCB/src 137s configfile: pyproject.toml 137s plugins: typeguard-4.4.1 137s collected 87 items 137s 138s test/test_add_mode.py::test_additive_facet_integral[float32] FAILED [ 1%] 138s test/test_add_mode.py::test_additive_facet_integral[float64] FAILED [ 2%] 138s test/test_add_mode.py::test_additive_facet_integral[complex64] FAILED [ 3%] 138s test/test_add_mode.py::test_additive_facet_integral[complex128] FAILED [ 4%] 138s test/test_add_mode.py::test_additive_cell_integral[float32] FAILED [ 5%] 138s test/test_add_mode.py::test_additive_cell_integral[float64] FAILED [ 6%] 138s test/test_add_mode.py::test_additive_cell_integral[complex64] FAILED [ 8%] 138s test/test_add_mode.py::test_additive_cell_integral[complex128] FAILED [ 9%] 138s test/test_blocked_elements.py::test_finite_element FAILED [ 10%] 138s test/test_blocked_elements.py::test_vector_element FAILED [ 11%] 138s test/test_blocked_elements.py::test_tensor_element FAILED [ 12%] 138s test/test_blocked_elements.py::test_vector_quadrature_element FAILED [ 13%] 138s test/test_cache.py::test_cache_modes FAILED [ 14%] 142s test/test_cmdline.py::test_cmdline_simple PASSED [ 16%] 142s test/test_cmdline.py::test_visualise FAILED [ 17%] 142s test/test_jit_expression.py::test_matvec FAILED [ 18%] 142s test/test_jit_expression.py::test_rank1 FAILED [ 19%] 142s test/test_jit_expression.py::test_elimiate_zero_tables_tensor FAILED [ 20%] 142s test/test_jit_expression.py::test_grad_constant PASSED [ 21%] 142s test/test_jit_expression.py::test_facet_expression FAILED [ 22%] 142s test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] FAILED [ 24%] 142s test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] FAILED [ 25%] 142s test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] FAILED [ 26%] 142s test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] FAILED [ 27%] 142s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] FAILED [ 28%] 142s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] FAILED [ 29%] 142s test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] FAILED [ 31%] 142s test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] FAILED [ 32%] 142s test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] FAILED [ 33%] 142s test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] FAILED [ 34%] 142s test/test_jit_forms.py::test_form_coefficient FAILED [ 35%] 142s test/test_jit_forms.py::test_subdomains FAILED [ 36%] 142s test/test_jit_forms.py::test_interior_facet_integral[float64] FAILED [ 37%] 142s test/test_jit_forms.py::test_interior_facet_integral[complex128] FAILED [ 39%] 142s test/test_jit_forms.py::test_conditional[float64] FAILED [ 40%] 142s test/test_jit_forms.py::test_conditional[complex128] FAILED [ 41%] 142s test/test_jit_forms.py::test_custom_quadrature FAILED [ 42%] 142s test/test_jit_forms.py::test_curl_curl FAILED [ 43%] 142s test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] FAILED [ 44%] 142s test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] FAILED [ 45%] 142s test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] FAILED [ 47%] 142s test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] FAILED [ 48%] 142s test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] FAILED [ 49%] 143s test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] FAILED [ 50%] 145s test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] FAILED [ 51%] 147s test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] FAILED [ 52%] 148s test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] FAILED [ 54%] 149s test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] FAILED [ 55%] 149s test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] FAILED [ 56%] 149s test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] FAILED [ 57%] 149s test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] FAILED [ 58%] 150s test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] FAILED [ 59%] 150s test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] FAILED [ 60%] 163s test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] FAILED [ 62%] 171s test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] FAILED [ 63%] 181s test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] FAILED [ 64%] 181s test/test_jit_forms.py::test_prism FAILED [ 65%] 181s test/test_jit_forms.py::test_complex_operations FAILED [ 66%] 182s test/test_jit_forms.py::test_invalid_function_name FAILED [ 67%] 182s test/test_jit_forms.py::test_interval_vertex_quadrature FAILED [ 68%] 182s test/test_jit_forms.py::test_facet_vertex_quadrature FAILED [ 70%] 182s test/test_jit_forms.py::test_manifold_derivatives FAILED [ 71%] 182s test/test_jit_forms.py::test_integral_grouping FAILED [ 72%] 182s test/test_lnodes.py::test_gemm[float32] 182s -------------------------------- live log call --------------------------------- 182s INFO root:dist.py:970 running build_ext 182s INFO root:build_ext.py:530 building '_gemm_float' extension 182s INFO root:spawn.py:60 x86_64-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 182s INFO root:spawn.py:60 x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_float.o -L/usr/lib/x86_64-linux-gnu -o ./_gemm_float.cpython-312-x86_64-linux-gnu.so 182s PASSED [ 73%] 182s test/test_lnodes.py::test_gemm[float64] 182s -------------------------------- live log call --------------------------------- 182s INFO root:dist.py:970 running build_ext 182s INFO root:build_ext.py:530 building '_gemm_double' extension 182s INFO root:spawn.py:60 x86_64-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 182s INFO root:spawn.py:60 x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_double.o -L/usr/lib/x86_64-linux-gnu -o ./_gemm_double.cpython-312-x86_64-linux-gnu.so 182s PASSED [ 74%] 182s test/test_lnodes.py::test_gemm[intc] 182s -------------------------------- live log call --------------------------------- 182s INFO root:dist.py:970 running build_ext 182s INFO root:build_ext.py:530 building '_gemm_int' extension 182s INFO root:spawn.py:60 x86_64-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 182s INFO root:spawn.py:60 x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_int.o -L/usr/lib/x86_64-linux-gnu -o ./_gemm_int.cpython-312-x86_64-linux-gnu.so 182s PASSED [ 75%] 182s test/test_lnodes.py::test_gemv[float32] 182s -------------------------------- live log call --------------------------------- 182s INFO root:dist.py:970 running build_ext 182s INFO root:build_ext.py:530 building '_gemv_float' extension 182s INFO root:spawn.py:60 x86_64-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 182s INFO root:spawn.py:60 x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_float.o -L/usr/lib/x86_64-linux-gnu -o ./_gemv_float.cpython-312-x86_64-linux-gnu.so 182s PASSED [ 77%] 182s test/test_lnodes.py::test_gemv[float64] 182s -------------------------------- live log call --------------------------------- 182s INFO root:dist.py:970 running build_ext 182s INFO root:build_ext.py:530 building '_gemv_double' extension 182s INFO root:spawn.py:60 x86_64-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 183s INFO root:spawn.py:60 x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_double.o -L/usr/lib/x86_64-linux-gnu -o ./_gemv_double.cpython-312-x86_64-linux-gnu.so 183s PASSED [ 78%] 183s test/test_lnodes.py::test_gemv[intc] 183s -------------------------------- live log call --------------------------------- 183s INFO root:dist.py:970 running build_ext 183s INFO root:build_ext.py:530 building '_gemv_int' extension 183s INFO root:spawn.py:60 x86_64-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 183s INFO root:spawn.py:60 x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_int.o -L/usr/lib/x86_64-linux-gnu -o ./_gemv_int.cpython-312-x86_64-linux-gnu.so 183s PASSED [ 79%] 183s test/test_signatures.py::test_numba_kernel_signature[float32] SKIPPED [ 80%] 183s test/test_signatures.py::test_numba_kernel_signature[float64] SKIPPED [ 81%] 183s test/test_signatures.py::test_numba_kernel_signature[complex64] SKIPPED [ 82%] 183s test/test_signatures.py::test_numba_kernel_signature[complex128] SKIPPED [ 83%] 183s test/test_submesh.py::test_multiple_mesh_codim0[float64] FAILED [ 85%] 183s test/test_submesh.py::test_multiple_mesh_codim0[complex128] FAILED [ 86%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] FAILED [ 87%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] FAILED [ 88%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] FAILED [ 89%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] FAILED [ 90%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] FAILED [ 91%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] FAILED [ 93%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] FAILED [ 94%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] FAILED [ 95%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] FAILED [ 96%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] FAILED [ 97%] 183s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] FAILED [ 98%] 184s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] FAILED [100%] 184s 184s =================================== FAILURES =================================== 184s ____________________ test_additive_facet_integral[float32] _____________________ 184s 184s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float32", 184s "float64", 184s "complex64", 184s "complex128", 184s ], 184s ) 184s def test_additive_facet_integral(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(u, v) * ufl.ds 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_add_mode.py:32: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_01fec9cd923d85494c0c78766db43e09f8607...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5599d718056d4b35de53ef6748be3739243d2b36'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s ____________________ test_additive_facet_integral[float64] _____________________ 184s 184s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float32", 184s "float64", 184s "complex64", 184s "complex128", 184s ], 184s ) 184s def test_additive_facet_integral(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(u, v) * ufl.ds 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_add_mode.py:32: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_21a134404bf60cf216d00dc0f70add95e50b4...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2573559f04955d47a982fec71fbed4fab2646b07'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s ___________________ test_additive_facet_integral[complex64] ____________________ 184s 184s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float32", 184s "float64", 184s "complex64", 184s "complex128", 184s ], 184s ) 184s def test_additive_facet_integral(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(u, v) * ufl.ds 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_add_mode.py:32: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_905a1669dee42217646fa45021aa1bf047d00...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_8c7f32c30d010c32f1794dc8756102de0065149c'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s ___________________ test_additive_facet_integral[complex128] ___________________ 184s 184s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float32", 184s "float64", 184s "complex64", 184s "complex128", 184s ], 184s ) 184s def test_additive_facet_integral(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(u, v) * ufl.ds 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_add_mode.py:32: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_224dc70aa10cf7a1f92f1884c341cefe14279...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f1c2f9173282f44712a2f55edf22887c5903e116'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s _____________________ test_additive_cell_integral[float32] _____________________ 184s 184s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float32", 184s "float64", 184s "complex64", 184s "complex128", 184s ], 184s ) 184s def test_additive_cell_integral(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_add_mode.py:93: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1dde4878c4bb6f9207b3d11d3e37d8473cfc0...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_0b48497be77f31a687d16e1a93781983673e056d'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s _____________________ test_additive_cell_integral[float64] _____________________ 184s 184s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float32", 184s "float64", 184s "complex64", 184s "complex128", 184s ], 184s ) 184s def test_additive_cell_integral(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_add_mode.py:93: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_0eea0c2b7c8786596b7693224a86d2bd5b696...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_8bd4e12afd23ed924fcf8dae14cc941b8d5e60ed'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s ____________________ test_additive_cell_integral[complex64] ____________________ 184s 184s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float32", 184s "float64", 184s "complex64", 184s "complex128", 184s ], 184s ) 184s def test_additive_cell_integral(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_add_mode.py:93: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e5997aa34415f83ee33493a369dec406347ea...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ab9c73fa99307f67c3530a116da36f11a5cd02d5'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s ___________________ test_additive_cell_integral[complex128] ____________________ 184s 184s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float32", 184s "float64", 184s "complex64", 184s "complex128", 184s ], 184s ) 184s def test_additive_cell_integral(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_add_mode.py:93: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_d0a957ca24a5eb8c4ebff031deedb8b0ea8c6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_581c1f064cf59b06a14655f6bde6aa5e5dbae4c5'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s _____________________________ test_finite_element ______________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_finite_element(compile_args): 184s ufl_element = basix.ufl.element("Lagrange", "triangle", 1) 184s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 184s [ufl_element], cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_blocked_elements.py:16: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:205: in compile_elements 184s raise e 184s ffcx/codegeneration/jit.py:185: in compile_elements 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cc2e80a0478a46f1fc565da6ef29f32eb7a6043e'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s _____________________________ test_vector_element ______________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_vector_element(compile_args): 184s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 184s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 184s [ufl_element], cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_blocked_elements.py:42: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:205: in compile_elements 184s raise e 184s ffcx/codegeneration/jit.py:185: in compile_elements 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2879723462cdfbb0b861a6c0955be002493d5...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_0615e64a081c4b2e37f7a96a6540cb6ae79ab643'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s _____________________________ test_tensor_element ______________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_tensor_element(compile_args): 184s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2, 2)) 184s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 184s [ufl_element], cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_blocked_elements.py:69: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:205: in compile_elements 184s raise e 184s ffcx/codegeneration/jit.py:185: in compile_elements 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_bc2f2524e4fe2a6da4f4b0283961761aebaf0...t (P, triangle, 1, gll_warped, unset, False, float64, []), (2, 2)): 'element_b9ce69d4d936db99395d639122ab93e3de21b80f'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s ________________________ test_vector_quadrature_element ________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_vector_quadrature_element(compile_args): 184s ufl_element = basix.ufl.blocked_element( 184s basix.ufl.quadrature_element("tetrahedron", degree=2, scheme="default"), shape=(3,) 184s ) 184s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 184s [ufl_element], cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_blocked_elements.py:99: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:205: in compile_elements 184s raise e 184s ffcx/codegeneration/jit.py:185: in compile_elements 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s 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()) 184s 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} 184s 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_cc30f6c7ec00f89e8580469422db81eae559db8e'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_QuadratureElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s _______________________________ test_cache_modes _______________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_cache_modes(compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s forms = [a] 184s 184s # Load form from /tmp 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, cffi_extra_compile_args=compile_args 184s ) 184s 184s test/test_cache.py:24: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_0eea0c2b7c8786596b7693224a86d2bd5b696...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_8bd4e12afd23ed924fcf8dae14cc941b8d5e60ed'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s ffcx/ir/representation.py:293: AttributeError 184s ________________________________ test_visualise ________________________________ 184s 184s def test_visualise(): 184s os.chdir(os.path.dirname(__file__)) 184s subprocess.run(["ffcx", "--visualise", "Poisson.py"]) 184s > assert os.path.isfile("S.pdf") 184s E AssertionError: assert False 184s E + where False = ('S.pdf') 184s E + where = .isfile 184s E + where = os.path 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_cmdline.py:20: AssertionError 184s ----------------------------- Captured stderr call ----------------------------- 184s Traceback (most recent call last): 184s File "/usr/bin/ffcx", line 8, in 184s sys.exit(__main__.main()) 184s ^^^^^^^^^^^^^^^ 184s File "/usr/lib/python3/dist-packages/ffcx/main.py", line 75, in main 184s code_h, code_c = compiler.compile_ufl_objects( 184s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 184s File "/usr/lib/python3/dist-packages/ffcx/compiler.py", line 113, in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 184s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 215, in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 293, in _compute_element_ir 184s ir["element_type"] = element.ufcx_element_type 184s ^^^^^^^^^^^^^^^^^^^^^^^^^ 184s AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s _________________________________ test_matvec __________________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_matvec(compile_args): 184s """Test evaluation of linear rank-0 form. 184s 184s Evaluates expression c * A_ij * f_j where c is a Constant, 184s A_ij is a user specified constant matrix and f_j is j-th component 184s of user specified vector-valued finite element function (in P1 space). 184s 184s """ 184s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 184s mesh = ufl.Mesh(e) 184s V = ufl.FunctionSpace(mesh, e) 184s f = ufl.Coefficient(V) 184s 184s a_mat = np.array([[1.0, 2.0], [1.0, 1.0]]) 184s a = ufl.as_matrix(a_mat) 184s expr = ufl.Constant(mesh) * ufl.dot(a, f) 184s 184s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 184s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 184s [(expr, points)], cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_expression.py:35: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:358: in compile_expressions 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:338: in compile_expressions 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_864059d0c5df48e92879e65ef2730e7249f7d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9149a5ad51d95013247a569e9dd5989d4de5591f'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s __________________________________ test_rank1 __________________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_rank1(compile_args): 184s """Tests evaluation of rank-1 form. 184s 184s Builds a linear operator which takes vector-valued functions in P1 space 184s and evaluates expression [u_y, u_x] + grad(u_x) at specified points. 184s 184s """ 184s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 184s mesh = ufl.Mesh(e) 184s 184s V = ufl.FunctionSpace(mesh, e) 184s u = ufl.TrialFunction(V) 184s 184s expr = ufl.as_vector([u[1], u[0]]) + ufl.grad(u[0]) 184s 184s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 184s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 184s [(expr, points)], cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_expression.py:101: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:358: in compile_expressions 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:338: in compile_expressions 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_0c7bddf5ac8f0aa97f5c9cd93910f9b5c4e4e...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_01972f9fd912f0fa3694fd537da1bff6f04413ef'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _______________________ test_elimiate_zero_tables_tensor _______________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_elimiate_zero_tables_tensor(compile_args): 184s """Test elimination of tensor-valued expressions with zero tables""" 184s cell = "tetrahedron" 184s c_el = basix.ufl.element("P", cell, 1, shape=(3,)) 184s mesh = ufl.Mesh(c_el) 184s 184s e = basix.ufl.element("P", cell, 1) 184s V = ufl.FunctionSpace(mesh, e) 184s u = ufl.Coefficient(V) 184s expr = ufl.sym(ufl.as_tensor([[u, u.dx(0).dx(0), 0], [u.dx(1), u.dx(1), 0], [0, 0, 0]])) 184s 184s # Get vertices of cell 184s # Coords storage XYZXYZXYZ 184s basix_c_e = basix.create_element( 184s > basix.ElementFamily.P, basix.cell.string_to_type(cell), 1, discontinuous=False 184s ) 184s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_expression.py:169: AttributeError 184s ____________________________ test_facet_expression _____________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_facet_expression(compile_args): 184s """Test facet expression containing a facet normal on a manifold.""" 184s c_el = basix.ufl.element("Lagrange", "triangle", 1, shape=(3,)) 184s mesh = ufl.Mesh(c_el) 184s 184s n = ufl.FacetNormal(mesh) 184s expr = n 184s 184s dtype = np.float64 184s points = np.array([[0.5]], dtype=dtype) 184s 184s > obj, _, _ = ffcx.codegeneration.jit.compile_expressions( 184s [(expr, points)], cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_expression.py:281: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:358: in compile_expressions 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:338: in compile_expressions 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:254: in compute_ir 184s _compute_expression_ir( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:857: in _compute_expression_ir 184s expression_ir = compute_integral_ir( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/integral.py:85: in compute_integral_ir 184s mt_table_reference = build_optimized_tables( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/elementtables.py:415: in build_optimized_tables 184s t = get_ffcx_table_values( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/elementtables.py:138: in get_ffcx_table_values 184s entity_points = map_integral_points(points, integral_type, cell, entity) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representationutils.py:119: in map_integral_points 184s return np.asarray(map_facet_points(points, entity, cell.cellname())) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s points = array([[0.5]]), facet = 0, cellname = 'triangle' 184s 184s def map_facet_points( 184s points: npt.NDArray[np.float64], facet: int, cellname: str 184s ) -> npt.NDArray[np.float64]: 184s """Map points from a reference facet to a physical facet.""" 184s > geom = basix.geometry(basix.cell.string_to_type(cellname)) 184s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/element_interface.py:44: AttributeError 184s ___________ test_laplace_bilinear_form_2d[float64-expected_result0] ____________ 184s 184s dtype = 'float64' 184s expected_result = array([[ 1. , -0.5, -0.5], 184s [-0.5, 0.5, 0. ], 184s [-0.5, 0. , 0.5]]) 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype,expected_result", 184s [ 184s ( 184s "float64", 184s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 184s ), 184s ( 184s "complex128", 184s np.array( 184s [ 184s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 184s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 184s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 184s ], 184s dtype=np.complex128, 184s ), 184s ), 184s ], 184s ) 184s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s kappa = ufl.Constant(domain, shape=(2, 2)) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s 184s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:47: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_69d1fb5624f34ae5ed61a2f06aee160cb20f9...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_fd2e9bda4d7deabce1e3bd932c2bc128d56a9c88'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s __________ test_laplace_bilinear_form_2d[complex128-expected_result1] __________ 184s 184s dtype = 'complex128' 184s expected_result = array([[ 1. +0.j, -0.5+0.j, -0.5+0.j], 184s [-0.5+0.j, 0.5+0.j, 0. +0.j], 184s [-0.5+0.j, 0. +0.j, 0.5+0.j]]) 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype,expected_result", 184s [ 184s ( 184s "float64", 184s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 184s ), 184s ( 184s "complex128", 184s np.array( 184s [ 184s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 184s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 184s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 184s ], 184s dtype=np.complex128, 184s ), 184s ), 184s ], 184s ) 184s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s kappa = ufl.Constant(domain, shape=(2, 2)) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s 184s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:47: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_a5cb268c09a36d540454d35db967634785524...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_3fc3c0465a75836da5e779b6fe65e0394924ccfd'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_mass_bilinear_form_2d[float32-expected_result0] _____________ 184s 184s dtype = 'float32' 184s expected_result = array([[0.08333334, 0.04166667, 0.04166667], 184s [0.04166667, 0.08333334, 0.04166667], 184s [0.04166667, 0.04166667, 0.08333334]], dtype=float32) 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype,expected_result", 184s [ 184s ( 184s "float32", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.float32, 184s ), 184s ), 184s # ("longdouble", 184s # np.array( 184s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 184s # dtype=np.longdouble)), 184s ( 184s "float64", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.float64, 184s ), 184s ), 184s ( 184s "complex128", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.complex128, 184s ), 184s ), 184s ( 184s "complex64", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.complex64, 184s ), 184s ), 184s ], 184s ) 184s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(u, v) * ufl.dx 184s L = ufl.conj(v) * ufl.dx 184s forms = [a, L] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:150: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_43cbd4e0828d2c456973494d3bb00e817871a...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2740985a7fcbf6c1f75f6532723539f17c689beb'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_mass_bilinear_form_2d[float64-expected_result1] _____________ 184s 184s dtype = 'float64' 184s expected_result = array([[0.08333333, 0.04166667, 0.04166667], 184s [0.04166667, 0.08333333, 0.04166667], 184s [0.04166667, 0.04166667, 0.08333333]]) 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype,expected_result", 184s [ 184s ( 184s "float32", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.float32, 184s ), 184s ), 184s # ("longdouble", 184s # np.array( 184s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 184s # dtype=np.longdouble)), 184s ( 184s "float64", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.float64, 184s ), 184s ), 184s ( 184s "complex128", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.complex128, 184s ), 184s ), 184s ( 184s "complex64", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.complex64, 184s ), 184s ), 184s ], 184s ) 184s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(u, v) * ufl.dx 184s L = ufl.conj(v) * ufl.dx 184s forms = [a, L] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:150: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_93006ac40cac49edeb2995326ba8b313da189...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_44e5c8e3cbae3f229739c2d68f637d3c91422c5b'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_mass_bilinear_form_2d[complex128-expected_result2] ____________ 184s 184s dtype = 'complex128' 184s expected_result = array([[0.08333333+0.j, 0.04166667+0.j, 0.04166667+0.j], 184s [0.04166667+0.j, 0.08333333+0.j, 0.04166667+0.j], 184s [0.04166667+0.j, 0.04166667+0.j, 0.08333333+0.j]]) 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype,expected_result", 184s [ 184s ( 184s "float32", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.float32, 184s ), 184s ), 184s # ("longdouble", 184s # np.array( 184s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 184s # dtype=np.longdouble)), 184s ( 184s "float64", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.float64, 184s ), 184s ), 184s ( 184s "complex128", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.complex128, 184s ), 184s ), 184s ( 184s "complex64", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.complex64, 184s ), 184s ), 184s ], 184s ) 184s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(u, v) * ufl.dx 184s L = ufl.conj(v) * ufl.dx 184s forms = [a, L] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:150: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_ef0dd85a57fa98e55ba01ff68df5e8eaf1dd8...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_63f417fa72efc087ae5e64e32ea388fe6f35de72'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ____________ test_mass_bilinear_form_2d[complex64-expected_result3] ____________ 184s 184s dtype = 'complex64' 184s expected_result = array([[0.08333334+0.j, 0.04166667+0.j, 0.04166667+0.j], 184s [0.04166667+0.j, 0.08333334+0.j, 0.04166667+0.j], 184s [0.04166667+0.j, 0.04166667+0.j, 0.08333334+0.j]], dtype=complex64) 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype,expected_result", 184s [ 184s ( 184s "float32", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.float32, 184s ), 184s ), 184s # ("longdouble", 184s # np.array( 184s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 184s # dtype=np.longdouble)), 184s ( 184s "float64", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.float64, 184s ), 184s ), 184s ( 184s "complex128", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.complex128, 184s ), 184s ), 184s ( 184s "complex64", 184s np.array( 184s [ 184s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 184s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 184s ], 184s dtype=np.complex64, 184s ), 184s ), 184s ], 184s ) 184s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(u, v) * ufl.dx 184s L = ufl.conj(v) * ufl.dx 184s forms = [a, L] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:150: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_26c559192c6d500e4b7fe9efdf24c2ff6b5dd...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_53285b26dc0c7606806adf5719252ce779999584'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _______________ test_helmholtz_form_2d[float64-expected_result0] _______________ 184s 184s dtype = 'float64' 184s expected_result = array([[ 0.91666667, -0.54166667, -0.54166667], 184s [-0.54166667, 0.41666667, -0.04166667], 184s [-0.54166667, -0.04166667, 0.41666667]]) 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype,expected_result", 184s [ 184s ( 184s "float64", 184s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 184s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 184s ), 184s ( 184s "complex128", 184s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 184s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 184s ), 184s ], 184s ) 184s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s if np.issubdtype(dtype, np.complexfloating): 184s k = ufl.constantvalue.ComplexValue(1j) 184s elif np.issubdtype(dtype, np.floating): 184s k = 1.0 184s else: 184s raise RuntimeError( 184s "Unknown mode type", 184s ) 184s 184s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:186: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_119fe01d096d29954fcb46ab812c40811e9cd...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_eba06915a1a77ee6458e900f245fabeea5bd0b05'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_helmholtz_form_2d[complex128-expected_result1] ______________ 184s 184s dtype = 'complex128' 184s expected_result = array([[ 1. -0.08333333j, -0.5-0.04166667j, -0.5-0.04166667j], 184s [-0.5-0.04166667j, 0.5-0.08333333j, 0. -0.04166667j], 184s [-0.5-0.04166667j, 0. -0.04166667j, 0.5-0.08333333j]]) 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype,expected_result", 184s [ 184s ( 184s "float64", 184s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 184s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 184s ), 184s ( 184s "complex128", 184s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 184s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 184s ), 184s ], 184s ) 184s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s if np.issubdtype(dtype, np.complexfloating): 184s k = ufl.constantvalue.ComplexValue(1j) 184s elif np.issubdtype(dtype, np.floating): 184s k = 1.0 184s else: 184s raise RuntimeError( 184s "Unknown mode type", 184s ) 184s 184s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:186: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e65b973ac70a28fccdcc4971c540cbb137233...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_357b93a4b219cdd624b165c6ecfae95a495ea7e6'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_laplace_bilinear_form_3d[float64-expected_result0] ____________ 184s 184s dtype = 'float64' 184s expected_result = array([[ 0.5 , -0.16666667, -0.16666667, -0.16666667], 184s [-0.16666667, 0.16666667, 0. , 0. ... [-0.16666667, 0. , 0.16666667, 0. ], 184s [-0.16666667, 0. , 0. , 0.16666667]]) 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype,expected_result", 184s [ 184s ( 184s "float64", 184s np.array( 184s [ 184s [0.5, -1 / 6, -1 / 6, -1 / 6], 184s [-1 / 6, 1 / 6, 0.0, 0.0], 184s [-1 / 6, 0.0, 1 / 6, 0.0], 184s [-1 / 6, 0.0, 0.0, 1 / 6], 184s ], 184s dtype=np.float64, 184s ), 184s ), 184s ( 184s "complex128", 184s np.array( 184s [ 184s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 184s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 184s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 184s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 184s ], 184s dtype=np.complex128, 184s ), 184s ), 184s ], 184s ) 184s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 184s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:253: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_06dcbaec1bfe3e240e000afb6cbe5926ae... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_26f821f69b92cbf9d809d255c8556db6fe85cd01'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s __________ test_laplace_bilinear_form_3d[complex128-expected_result1] __________ 184s 184s dtype = 'complex128' 184s expected_result = array([[ 0.5 +0.j, -0.16666667+0.j, -0.16666667+0.j, 184s -0.16666667+0.j], 184s [-0.16666667+0.j, 0.16666...67+0.j, 184s 0. +0.j], 184s [-0.16666667+0.j, 0. +0.j, 0. +0.j, 184s 0.16666667+0.j]]) 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype,expected_result", 184s [ 184s ( 184s "float64", 184s np.array( 184s [ 184s [0.5, -1 / 6, -1 / 6, -1 / 6], 184s [-1 / 6, 1 / 6, 0.0, 0.0], 184s [-1 / 6, 0.0, 1 / 6, 0.0], 184s [-1 / 6, 0.0, 0.0, 1 / 6], 184s ], 184s dtype=np.float64, 184s ), 184s ), 184s ( 184s "complex128", 184s np.array( 184s [ 184s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 184s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 184s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 184s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 184s ], 184s dtype=np.complex128, 184s ), 184s ), 184s ], 184s ) 184s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 184s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:253: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_7aea998eab4059d0500509013c646c3a05... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_5705deb1fca3eb53f70d6903d7d041075ac7f0ae'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ____________________________ test_form_coefficient _____________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_form_coefficient(compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TestFunction(space), ufl.TrialFunction(space) 184s g = ufl.Coefficient(space) 184s a = g * ufl.inner(u, v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:292: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_5aa4624944c68a5deaf3183b15146724fabfa...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_32de40aab444e8f7f30d04324a220035829cee3f'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _______________________________ test_subdomains ________________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_subdomains(compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a0 = ufl.inner(u, v) * ufl.dx + ufl.inner(u, v) * ufl.dx(2) 184s a1 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx 184s a2 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx(1) 184s a3 = ufl.inner(u, v) * ufl.ds(210) + ufl.inner(u, v) * ufl.ds(0) 184s forms = [a0, a1, a2, a3] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:334: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_daeb8c57ec130cf85162247f308c64b70ed63...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f295a82afaff32741c6b9e773001d9d981f126ce'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ____________________ test_interior_facet_integral[float64] _____________________ 184s 184s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 184s def test_interior_facet_integral(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 184s forms = [a0] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:373: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_50db21d5806102e43f149862a531de4a76508...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_16b682f48bea899753889ecd3a2ac5bae464ca7c'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________________ test_interior_facet_integral[complex128] ___________________ 184s 184s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 184s def test_interior_facet_integral(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 184s forms = [a0] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:373: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cac08a4be3cdd5ca73162dc4417883dc22a25...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_a66820c0578fa286973e97150e1c8cf9968bb5ca'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s __________________________ test_conditional[float64] ___________________________ 184s 184s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float64", 184s "complex128", 184s ], 184s ) 184s def test_conditional(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s x = ufl.SpatialCoordinate(domain) 184s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 184s c1 = ufl.conditional(condition, 2.0, 1.0) 184s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 184s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 184s b = c2 * ufl.conj(v) * ufl.dx 184s 184s forms = [a, b] 184s 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:439: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6e3072b17e379d8c5bfe7051d72f7d8851751...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_782e6e46ebef2fdd31c2f660996640e6240e47ef'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _________________________ test_conditional[complex128] _________________________ 184s 184s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float64", 184s "complex128", 184s ], 184s ) 184s def test_conditional(dtype, compile_args): 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s x = ufl.SpatialCoordinate(domain) 184s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 184s c1 = ufl.conditional(condition, 2.0, 1.0) 184s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 184s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 184s b = c2 * ufl.conj(v) * ufl.dx 184s 184s forms = [a, b] 184s 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:439: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_a7009d3c4603145ae2ed5054779eccf9f1360...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c77b979a91c9e06eaf0c2d10ec70d12796409591'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ____________________________ test_custom_quadrature ____________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_custom_quadrature(compile_args): 184s ve = basix.ufl.element("P", "triangle", 1, shape=(2,)) 184s mesh = ufl.Mesh(ve) 184s 184s e = basix.ufl.element("P", mesh.ufl_cell().cellname(), 2) 184s V = ufl.FunctionSpace(mesh, e) 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s 184s 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]] 184s weights = [1 / 12] * 6 184s a = ( 184s u 184s * v 184s * ufl.dx( 184s metadata={ 184s "quadrature_rule": "custom", 184s "quadrature_points": points, 184s "quadrature_weights": weights, 184s } 184s ) 184s ) 184s 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:513: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_ab349b1002dcc515999e7cc94b033b03d42aa...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_263e1b1475d64e6e10e4ee5b3bccdebce5034fb1'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ________________________________ test_curl_curl ________________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_curl_curl(compile_args): 184s V = basix.ufl.element("N1curl", "triangle", 2) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, V) 184s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 184s a = ufl.inner(ufl.curl(u), ufl.curl(v)) * ufl.dx 184s 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:549: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (N1E, triangle, 2, legendre, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (N1E, triangle, 2, legendre, unset, False, float64, []): 'element_b3ea69f88792a401167d8253401cc2f197d72...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_47bded9aa868a3644e4f2eb84e8f180efae67b62'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_lagrange_triangle[1--0-float64] _____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 184s sym_fun = at 0x716c080be480> 184s ufl_fun = at 0x716c080be520> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "triangle", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:620: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_3d2720c2d15484a8fe866c7cee2517e0b6bcc...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_133a33588f57b95762733ba518536f5106fe725e'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_lagrange_triangle[1--1-float64] _____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 184s sym_fun = at 0x716c080be5c0> 184s ufl_fun = at 0x716c080be660> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "triangle", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:620: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_0238ff8c407cf0eeac469f7f9815378ee032a...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_86b16bd721556aa806f53407e50db83aa9ae31cf'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_lagrange_triangle[1--2-float64] _____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 184s sym_fun = at 0x716c080be700> 184s ufl_fun = at 0x716c080be7a0> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "triangle", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:620: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7e49937aacd32e440b5f14d897e3ae7764837...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2dbf38dcd2a802f3e45585278d83363745b13ef6'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_lagrange_triangle[2--0-float64] _____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 184s sym_fun = at 0x716c080be480> 184s ufl_fun = at 0x716c080be520> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "triangle", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:620: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_49d2b2a840da1b252fea71de32607c4ba0178...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_9f21f9f67d85f2fc3f827217b31361192dc1e985'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_lagrange_triangle[2--1-float64] _____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 184s sym_fun = at 0x716c080be5c0> 184s ufl_fun = at 0x716c080be660> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "triangle", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:620: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_0d77ece08a5954791c04a9d18f5c11bd25c87...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_f8c3724e9e92071af4405bd445729003b6ebe45c'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_lagrange_triangle[2--2-float64] _____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 184s sym_fun = at 0x716c080be700> 184s ufl_fun = at 0x716c080be7a0> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "triangle", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:620: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_48657599aeebf4a9d57b230064c8fa4e664c7...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_17f1c5df2b7f7535b545680e6f95a8e03c78fa97'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_lagrange_triangle[3--0-float64] _____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 184s sym_fun = at 0x716c080be480> 184s ufl_fun = at 0x716c080be520> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "triangle", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:620: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_a6bdf2b8c15a1e04e08cd77455312ca8c1a08...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_32843481502443b48833b10f184e4ed7a4edc3e7'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_lagrange_triangle[3--1-float64] _____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 184s sym_fun = at 0x716c080be5c0> 184s ufl_fun = at 0x716c080be660> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "triangle", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:620: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_c52222fb1bfcba267f96d3f776fe84084b001...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_4079f01234be73e5bb3eda02c90789f1debb37f3'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_lagrange_triangle[3--2-float64] _____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 184s sym_fun = at 0x716c080be700> 184s ufl_fun = at 0x716c080be7a0> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "triangle", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:620: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_64629505d0d54f98849b4c67dbc9422f412cd...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_5a613c4ff54aa4714a901e1cf116243b6025bc95'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_lagrange_tetrahedron[1--0-float64] ____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 184s sym_fun = at 0x716c080bea20> 184s ufl_fun = at 0x716c080beac0> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "tetrahedron", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:745: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_4b5742572eff8573e3892cd966dd5d1d0b... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_6399e2efda72e3679be265e739b4224e0d053212'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_lagrange_tetrahedron[1--1-float64] ____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 184s sym_fun = at 0x716c080beb60> 184s ufl_fun = at 0x716c080bec00> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "tetrahedron", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:745: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_1586e58cfc31732246526f2d296327edbb... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_8443682eb200023e33a0dbddd8ba34cdad622740'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_lagrange_tetrahedron[1--2-float64] ____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 184s sym_fun = at 0x716c080beca0> 184s ufl_fun = at 0x716c080bed40> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "tetrahedron", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:745: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_790d6a4809f281aa21e202c53a8a5362f9... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_de305dbd2cab57f7627bc547dcf8948c09aad96a'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_lagrange_tetrahedron[2--0-float64] ____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 184s sym_fun = at 0x716c080bea20> 184s ufl_fun = at 0x716c080beac0> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "tetrahedron", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:745: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_6d3e78ae4190a0ad35af14aa7e704274e9...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_34c71fae75d240e1e43f973c1a4b4e4ccb93ec4a'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_lagrange_tetrahedron[2--1-float64] ____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 184s sym_fun = at 0x716c080beb60> 184s ufl_fun = at 0x716c080bec00> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "tetrahedron", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:745: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_9459ca564ffb620ea1fc1187a2f001ac58...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_b3b8496c84bd3039ae94d139e4b4d4305f80dca3'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_lagrange_tetrahedron[2--2-float64] ____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 184s sym_fun = at 0x716c080beca0> 184s ufl_fun = at 0x716c080bed40> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "tetrahedron", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:745: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_4a145773fcffdf034a6534aa7afe54b83d...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_512f9aa7a973422232b0d78a4075823b714c8a74'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_lagrange_tetrahedron[3--0-float64] ____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 184s sym_fun = at 0x716c080bea20> 184s ufl_fun = at 0x716c080beac0> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "tetrahedron", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:745: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_acc25ed5ce7e3545638ebd009784484462...element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_ecd1cddccc12fa57d1d598c40869999359a1f783'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_lagrange_tetrahedron[3--1-float64] ____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 184s sym_fun = at 0x716c080beb60> 184s ufl_fun = at 0x716c080bec00> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "tetrahedron", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:745: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_acd6fb9d4f8711a1c703d76cd64a31520b...element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_c3053a30552bc9c80a1cb1217018ae6dc2cc34da'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________ test_lagrange_tetrahedron[3--2-float64] ____________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 184s sym_fun = at 0x716c080beca0> 184s ufl_fun = at 0x716c080bed40> 184s 184s @pytest.mark.parametrize("dtype", ["float64"]) 184s @pytest.mark.parametrize( 184s "sym_fun,ufl_fun", 184s [ 184s (lambda i: i, lambda i: i), 184s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 184s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 184s ], 184s ) 184s @pytest.mark.parametrize("order", [1, 2, 3]) 184s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 184s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 184s element = basix.ufl.element("Lagrange", "tetrahedron", order) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s 184s a = ufl_fun(v) * ufl.dx 184s forms = [a] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:745: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 2} 184s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_8354051a8115cbaa415770c968945ea8fa...element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_648fcd665fceb0c4f1a402506c0595fa2ad607c9'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s __________________________________ test_prism __________________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_prism(compile_args): 184s element = basix.ufl.element("Lagrange", "prism", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "prism", 1, shape=(3,))) 184s space = ufl.FunctionSpace(domain, element) 184s v = ufl.TestFunction(space) 184s L = v * ufl.dx 184s forms = [L] 184s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:784: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, prism, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, prism, 1, gll_warped, unset, False, float64, []): 'element_560b72bb69ae78923d8fd71220fe122916ddcf05...lement (P, prism, 1, gll_warped, unset, False, float64, []), (3,)): 'element_ff2884f3eef719e507ed2484b0bacef6eee5fa64'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ___________________________ test_complex_operations ____________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_complex_operations(compile_args): 184s dtype = "complex128" 184s cell = "triangle" 184s c_element = basix.ufl.element("Lagrange", cell, 1, shape=(2,)) 184s mesh = ufl.Mesh(c_element) 184s element = basix.ufl.element("DG", cell, 0, shape=(2,)) 184s V = ufl.FunctionSpace(mesh, element) 184s u = ufl.Coefficient(V) 184s J1 = ufl.real(u)[0] * ufl.imag(u)[1] * ufl.conj(u)[0] * ufl.dx 184s J2 = ufl.real(u[0]) * ufl.imag(u[1]) * ufl.conj(u[0]) * ufl.dx 184s forms = [J1, J2] 184s 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:823: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...True, float64, []): 2, blocked element (Basix element (P, triangle, 0, gll_warped, unset, True, float64, []), (2,)): 3} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_da423d66c68fe23db8cd2741d479c0582428b...ment (P, triangle, 0, gll_warped, unset, True, float64, []), (2,)): 'element_3c9d274ebd080755df6afc9786ac9d214bd63771'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s __________________________ test_invalid_function_name __________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_invalid_function_name(compile_args): 184s # Monkey patch to force invalid name 184s old_str = ufl.Coefficient.__str__ 184s ufl.Coefficient.__str__ = lambda self: "invalid function name" 184s 184s V = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, V) 184s u = ufl.Coefficient(space) 184s a = ufl.inner(u, u) * ufl.dx 184s forms = [a] 184s try: 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:888: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7ae65825b88bf7424b645f231780440c31c41...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_38dc39ce8bd04e369f71efb1c534bbffb4adaf90'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s 184s During handling of the above exception, another exception occurred: 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_invalid_function_name(compile_args): 184s # Monkey patch to force invalid name 184s old_str = ufl.Coefficient.__str__ 184s ufl.Coefficient.__str__ = lambda self: "invalid function name" 184s 184s V = basix.ufl.element("Lagrange", "triangle", 1) 184s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s space = ufl.FunctionSpace(domain, V) 184s u = ufl.Coefficient(space) 184s a = ufl.inner(u, u) * ufl.dx 184s forms = [a] 184s try: 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, cffi_extra_compile_args=compile_args 184s ) 184s except ValueError: 184s pass 184s except Exception: 184s > raise RuntimeError("Compilation should fail with ValueError.") 184s E RuntimeError: Compilation should fail with ValueError. 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:894: RuntimeError 184s _______________________ test_interval_vertex_quadrature ________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_interval_vertex_quadrature(compile_args): 184s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(1,)) 184s mesh = ufl.Mesh(c_el) 184s 184s x = ufl.SpatialCoordinate(mesh) 184s dx = ufl.Measure("dx", metadata={"quadrature_rule": "vertex"}) 184s b = x[0] * dx 184s 184s forms = [b] 184s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s forms, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:909: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_270ae1b40a01b2df7632c9bd78301f7cd4440...ent (P, interval, 1, gll_warped, unset, False, float64, []), (1,)): 'element_8d7eebff6b24226c5621d1b6f13eb1717dcf9770'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _________________________ test_facet_vertex_quadrature _________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_facet_vertex_quadrature(compile_args): 184s """Test facet vertex quadrature""" 184s c_el = basix.ufl.element("Lagrange", "quadrilateral", 1, shape=(2,)) 184s mesh = ufl.Mesh(c_el) 184s 184s x = ufl.SpatialCoordinate(mesh) 184s ds = ufl.Measure("ds", metadata={"quadrature_rule": "vertex"}) 184s expr = x[0] + ufl.cos(x[1]) 184s b1 = expr * ds 184s ds_c = ufl.Measure( 184s "ds", 184s metadata={ 184s "quadrature_rule": "custom", 184s "quadrature_points": np.array([[0.0], [1.0]]), 184s "quadrature_weights": np.array([1.0 / 2.0, 1.0 / 2.0]), 184s }, 184s ) 184s b2 = expr * ds_c 184s forms = [b1, b2] 184s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 184s forms, cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:954: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []): 'element_0786cfa2b977dc668427018e8f094a4e...P, quadrilateral, 1, gll_warped, unset, False, float64, []), (2,)): 'element_cc0f5dddc6e140f41c05224a0b875c61621a7164'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s __________________________ test_manifold_derivatives ___________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_manifold_derivatives(compile_args): 184s """Test higher order derivatives on manifolds""" 184s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(2,)) 184s mesh = ufl.Mesh(c_el) 184s 184s x = ufl.SpatialCoordinate(mesh) 184s dx = ufl.Measure("dx", domain=mesh) 184s order = 4 184s el = basix.ufl.element("Lagrange", "interval", order) 184s V = ufl.FunctionSpace(mesh, el) 184s 184s u = ufl.Coefficient(V) 184s d = 5.3 184s f_ex = d * order * (order - 1) * x[1] ** (order - 2) 184s expr = u.dx(1).dx(1) - f_ex 184s J = expr * expr * dx 184s 184s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 184s [J], cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:1012: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_c712683779ce1c37eec15d6fca0f6ef012d9f...ix element (P, interval, 4, gll_warped, unset, False, float64, []): 'element_404871b8d64cc637353730c6b0b6e5ba0d3870e9'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ____________________________ test_integral_grouping ____________________________ 184s 184s compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s def test_integral_grouping(compile_args): 184s """We group integrals with common integrands to avoid duplicated 184s integration kernels. This means that `inner(u, v)*dx((1,2,3)) + 184s inner(grad(u), grad(v))*dx(2) + inner(u,v)*dx` is grouped as 184s 1. `inner(u,v)*dx(("everywhere", 1, 3))` 184s 2. `(inner(grad(u), grad(v)) + inner(u, v))*dx(2)` 184s Each of the forms has one generated `tabulate_tensor_*` function, 184s which is referred to multiple times in `integrals_` and 184s `integral_ids_` 184s 184s """ 184s mesh = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 184s V = ufl.FunctionSpace(mesh, basix.ufl.element("Lagrange", "triangle", 1)) 184s u = ufl.TrialFunction(V) 184s v = ufl.TestFunction(V) 184s a = ( 184s ufl.inner(u, v) * ufl.dx((1, 2, 3)) 184s + ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx(2) 184s + ufl.inner(u, v) * ufl.dx 184s ) 184s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 184s [a], cffi_extra_compile_args=compile_args 184s ) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_jit_forms.py:1060: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_188372c097bc070ccccbb4a533d8c73aa977d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_80513f542698fed84ab8dc5f6a0cd65d23ced1a1'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ______________________ test_multiple_mesh_codim0[float64] ______________________ 184s 184s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float64", 184s "complex128", 184s ], 184s ) 184s def test_multiple_mesh_codim0(dtype, compile_args): 184s # Define coordinate element and element used in parent and sub-mesh 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 184s 184s domain = ufl.Mesh(coordinate_element) 184s space = ufl.FunctionSpace(domain, element) 184s u_parent = ufl.TrialFunction(space) 184s 184s # Create submesh and functionspace on submesh 184s sub_domain = ufl.Mesh(coordinate_element) 184s subspace = ufl.FunctionSpace(sub_domain, element) 184s v_sub = ufl.TestFunction(subspace) 184s 184s # 184s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 184s 184s > A = compute_tensor([a], dtype, compile_args) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_submesh.py:78: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_submesh.py:20: in compute_tensor 184s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_98a0137a21c02527e09ea106393bb47964def...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_27dfab5e2a07cb3b01af43987d32561459747d2c'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ____________________ test_multiple_mesh_codim0[complex128] _____________________ 184s 184s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 184s 184s @pytest.mark.parametrize( 184s "dtype", 184s [ 184s "float64", 184s "complex128", 184s ], 184s ) 184s def test_multiple_mesh_codim0(dtype, compile_args): 184s # Define coordinate element and element used in parent and sub-mesh 184s element = basix.ufl.element("Lagrange", "triangle", 1) 184s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 184s 184s domain = ufl.Mesh(coordinate_element) 184s space = ufl.FunctionSpace(domain, element) 184s u_parent = ufl.TrialFunction(space) 184s 184s # Create submesh and functionspace on submesh 184s sub_domain = ufl.Mesh(coordinate_element) 184s subspace = ufl.FunctionSpace(sub_domain, element) 184s v_sub = ufl.TestFunction(subspace) 184s 184s # 184s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 184s 184s > A = compute_tensor([a], dtype, compile_args) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_submesh.py:78: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_submesh.py:20: in compute_tensor 184s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 184s 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} 184s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2949828d0c269fbd5814a833b0e36be6baaf5...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_d6b02602cd667a5f4c150e33f6bd7a68e7d2e8c5'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_bilinear_form[CellType.quadrilateral-1-float32] _____________ 184s 184s dtype = 'float32', P = 1, cell_type = CellType.quadrilateral 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 184s 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} 184s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_dd9f0374822dde18f00a66...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_19a818066adbd1c02d2c680e7cff34c9e4bd8e2d'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_bilinear_form[CellType.quadrilateral-1-float64] _____________ 184s 184s dtype = 'float64', P = 1, cell_type = CellType.quadrilateral 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 184s 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} 184s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_0d57930d1c37f29119507f...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_57879bed9f5308a3ccac353f6e178895f25ac0db'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_bilinear_form[CellType.quadrilateral-2-float32] _____________ 184s 184s dtype = 'float32', P = 2, cell_type = CellType.quadrilateral 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]) 184s 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} 184s finite_element_names = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_43d43b1...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_00e83ce13c57999e11bc5b8b0e68a05dd9b53dce'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_bilinear_form[CellType.quadrilateral-2-float64] _____________ 184s 184s dtype = 'float64', P = 2, cell_type = CellType.quadrilateral 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]) 184s 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} 184s finite_element_names = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_da0c809...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_d5275553bd82f4b3ce08a20713d3f25a08e0e47d'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_bilinear_form[CellType.quadrilateral-3-float32] _____________ 184s 184s dtype = 'float32', P = 3, cell_type = CellType.quadrilateral 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 184s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 0, blocked element (Basix eleme...nt (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 2} 184s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_f57e059132790c72413c25..., float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 'element_f5beb40e3f94578ac742ce4cfd1112d2fd780a18'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s _____________ test_bilinear_form[CellType.quadrilateral-3-float64] _____________ 184s 184s dtype = 'float64', P = 3, cell_type = CellType.quadrilateral 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 184s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 0, blocked element (Basix eleme...nt (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 2} 184s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_9d80ec9e4d8e803e8f980f..., float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 'element_ab7ec66cfef5f9a6aa678c150fc834d67e262778'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ______________ test_bilinear_form[CellType.hexahedron-1-float32] _______________ 184s 184s dtype = 'float32', P = 1, cell_type = CellType.hexahedron 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 184s 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} 184s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_b99f8834ebe14...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_9a69a6d284d86948f937ff803e5a3cef23d55c00'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ______________ test_bilinear_form[CellType.hexahedron-1-float64] _______________ 184s 184s dtype = 'float64', P = 1, cell_type = CellType.hexahedron 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 184s 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} 184s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_a44e4184738ff...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_dd8cec581143ac55b60bcdf2aabd2632deb0cdf6'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ______________ test_bilinear_form[CellType.hexahedron-2-float32] _______________ 184s 184s dtype = 'float32', P = 2, cell_type = CellType.hexahedron 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, hexahedron, 2, gll_warped, unset, 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]) 184s element_numbers = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 184s finite_element_names = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_327c27363466445bbc09381a2188e7ddbb747bb3'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ______________ test_bilinear_form[CellType.hexahedron-2-float64] _______________ 184s 184s dtype = 'float64', P = 2, cell_type = CellType.hexahedron 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s element = Basix element (P, hexahedron, 2, gll_warped, unset, 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]) 184s element_numbers = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 184s finite_element_names = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_92f644ace0f0f7cfc49e0e76b36ebe98d2a886ad'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ______________ test_bilinear_form[CellType.hexahedron-3-float32] _______________ 184s 184s dtype = 'float32', P = 3, cell_type = CellType.hexahedron 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s 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]) 184s 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} 184s 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_4ffb7c0eece1fef0efb4710432e51e9c62d1d742'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s ______________ test_bilinear_form[CellType.hexahedron-3-float64] _______________ 184s 184s dtype = 'float64', P = 3, cell_type = CellType.hexahedron 184s 184s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 184s @pytest.mark.parametrize("P", [1, 2, 3]) 184s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 184s def test_bilinear_form(dtype, P, cell_type): 184s gdim = cell_to_gdim(cell_type) 184s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 184s coords = create_tensor_product_element( 184s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 184s ) 184s mesh = ufl.Mesh(coords) 184s V = ufl.FunctionSpace(mesh, element) 184s 184s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 184s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 184s 184s ndofs = element.dim 184s 184s A = np.zeros((ndofs, ndofs), dtype=dtype) 184s w = np.array([], dtype=dtype) 184s c = np.array([], dtype=dtype) 184s 184s xdtype = dtype_to_scalar_dtype(dtype) 184s if cell_type == basix.CellType.quadrilateral: 184s coords = np.array( 184s [[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 184s ) 184s elif cell_type == basix.CellType.hexahedron: 184s coords = np.array( 184s [ 184s [0.0, 0.0, 0.0], 184s [1.0, 0.0, 0.0], 184s [0.0, 1.0, 0.0], 184s [1.0, 1.0, 0.0], 184s [0.0, 0.0, 1.0], 184s [1.0, 0.0, 1.0], 184s [0.0, 1.0, 1.0], 184s [1.0, 1.0, 1.0], 184s ], 184s dtype=xdtype, 184s ) 184s 184s c_type = dtype_to_c_type(dtype) 184s c_xtype = dtype_to_c_type(xdtype) 184s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:104: 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/test/test_tensor_product.py:43: in generate_kernel 184s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:276: in compile_forms 184s raise e 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:256: in compile_forms 184s impl = _compile_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/codegeneration/jit.py:383: in _compile_objects 184s _, code_body = ffcx.compiler.compile_ufl_objects( 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/compiler.py:113: in compile_ufl_objects 184s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:215: in compute_ir 184s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 184s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 184s 184s 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]) 184s 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} 184s 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_aa7b4faac63b6916bff3693f8f4954260edfe720'} 184s 184s def _compute_element_ir(element, element_numbers, finite_element_names): 184s """Compute intermediate representation of element.""" 184s logger.info(f"Computing IR for element {element}") 184s 184s # Create basix elements 184s cell = element.cell 184s 184s # Store id 184s ir = {"id": element_numbers[element]} 184s ir["name"] = finite_element_names[element] 184s 184s # Compute data for each function 184s ir["signature"] = repr(element) 184s ir["cell_shape"] = element.cell_type.name 184s ir["topological_dimension"] = cell.topological_dimension() 184s ir["space_dimension"] = element.dim + element.num_global_support_dofs 184s > ir["element_type"] = element.ufcx_element_type 184s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 184s 184s /tmp/autopkgtest.mgdpGF/build.iCB/src/ffcx/ir/representation.py:293: AttributeError 184s =============================== warnings summary =============================== 184s test/test_jit_forms.py::test_facet_vertex_quadrature 184s /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. 184s warnings.warn( 184s 184s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 184s =========================== short test summary info ============================ 184s SKIPPED [4] test/test_signatures.py:41: Numba not installed 184s FAILED test/test_add_mode.py::test_additive_facet_integral[float32] - Attribu... 184s FAILED test/test_add_mode.py::test_additive_facet_integral[float64] - Attribu... 184s FAILED test/test_add_mode.py::test_additive_facet_integral[complex64] - Attri... 184s FAILED test/test_add_mode.py::test_additive_facet_integral[complex128] - Attr... 184s FAILED test/test_add_mode.py::test_additive_cell_integral[float32] - Attribut... 184s FAILED test/test_add_mode.py::test_additive_cell_integral[float64] - Attribut... 184s FAILED test/test_add_mode.py::test_additive_cell_integral[complex64] - Attrib... 184s FAILED test/test_add_mode.py::test_additive_cell_integral[complex128] - Attri... 184s FAILED test/test_blocked_elements.py::test_finite_element - AttributeError: '... 184s FAILED test/test_blocked_elements.py::test_vector_element - AttributeError: '... 184s FAILED test/test_blocked_elements.py::test_tensor_element - AttributeError: '... 184s FAILED test/test_blocked_elements.py::test_vector_quadrature_element - Attrib... 184s FAILED test/test_cache.py::test_cache_modes - AttributeError: '_BasixElement'... 184s FAILED test/test_cmdline.py::test_visualise - AssertionError: assert False 184s FAILED test/test_jit_expression.py::test_matvec - AttributeError: '_BasixElem... 184s FAILED test/test_jit_expression.py::test_rank1 - AttributeError: '_BasixEleme... 184s FAILED test/test_jit_expression.py::test_elimiate_zero_tables_tensor - Attrib... 184s FAILED test/test_jit_expression.py::test_facet_expression - AttributeError: m... 184s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] 184s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] 184s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] 184s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] 184s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] 184s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] 184s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] 184s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] 184s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] 184s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] 184s FAILED test/test_jit_forms.py::test_form_coefficient - AttributeError: '_Basi... 184s FAILED test/test_jit_forms.py::test_subdomains - AttributeError: '_BasixEleme... 184s FAILED test/test_jit_forms.py::test_interior_facet_integral[float64] - Attrib... 184s FAILED test/test_jit_forms.py::test_interior_facet_integral[complex128] - Att... 184s FAILED test/test_jit_forms.py::test_conditional[float64] - AttributeError: '_... 184s FAILED test/test_jit_forms.py::test_conditional[complex128] - AttributeError:... 184s FAILED test/test_jit_forms.py::test_custom_quadrature - AttributeError: '_Bas... 184s FAILED test/test_jit_forms.py::test_curl_curl - AttributeError: '_BasixElemen... 184s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] 184s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] 184s FAILED test/test_jit_forms.py::test_prism - AttributeError: '_BasixElement' o... 184s FAILED test/test_jit_forms.py::test_complex_operations - AttributeError: '_Ba... 184s FAILED test/test_jit_forms.py::test_invalid_function_name - RuntimeError: Com... 184s FAILED test/test_jit_forms.py::test_interval_vertex_quadrature - AttributeErr... 184s FAILED test/test_jit_forms.py::test_facet_vertex_quadrature - AttributeError:... 184s FAILED test/test_jit_forms.py::test_manifold_derivatives - AttributeError: '_... 184s FAILED test/test_jit_forms.py::test_integral_grouping - AttributeError: '_Bas... 184s FAILED test/test_submesh.py::test_multiple_mesh_codim0[float64] - AttributeEr... 184s FAILED test/test_submesh.py::test_multiple_mesh_codim0[complex128] - Attribut... 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] 184s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] 184s ============= 75 failed, 8 passed, 4 skipped, 1 warning in 46.54s ============== 184s autopkgtest [06:26:38]: test command1: -----------------------] 185s autopkgtest [06:26:39]: test command1: - - - - - - - - - - results - - - - - - - - - - 185s command1 FAIL non-zero exit status 1 185s autopkgtest [06:26:39]: @@@@@@@@@@@@@@@@@@@@ summary 185s command1 FAIL non-zero exit status 1 197s nova [W] Skipping flock for amd64 197s Creating nova instance adt-plucky-i386-fenics-ffcx-20241115-062334-juju-7f2275-prod-proposed-migration-environment-20-a7b6e398-9a14-4898-8dd5-0d3fa9655491 from image adt/ubuntu-plucky-amd64-server-20241114.img (UUID 79d80331-8736-463c-82c6-8c9e13c0a4ca)...