3s autopkgtest [20:32:34]: starting date and time: 2024-11-23 20:32:34+0000 3s autopkgtest [20:32:34]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 3s autopkgtest [20:32:34]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9cwg7xb0/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:fenics-basix --apt-upgrade fenics-ffcx --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=fenics-basix/0.9.0-2build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-31.secgroup --name adt-plucky-arm64-fenics-ffcx-20241123-203154-juju-7f2275-prod-proposed-migration-environment-15-7a9e2e52-066f-42f9-9064-70decc681c27 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -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/ 172s autopkgtest [20:35:23]: testbed dpkg architecture: arm64 172s autopkgtest [20:35:23]: testbed apt version: 2.9.8 172s autopkgtest [20:35:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 173s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 173s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [54.8 kB] 173s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 173s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 173s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [930 kB] 174s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [87.1 kB] 174s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 174s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [796 kB] 174s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [19.3 kB] 174s Fetched 2043 kB in 1s (2186 kB/s) 174s Reading package lists... 177s Reading package lists... 178s Building dependency tree... 178s Reading state information... 179s Calculating upgrade... 180s The following package was automatically installed and is no longer required: 180s libsgutils2-1.46-2 180s Use 'sudo apt autoremove' to remove it. 180s The following NEW packages will be installed: 180s libsgutils2-1.48 180s The following packages will be upgraded: 180s bash bpftrace curl debconf debconf-i18n distro-info fwupd-signed 180s gir1.2-girepository-2.0 gir1.2-glib-2.0 hostname libaudit-common libaudit1 180s libcurl3t64-gnutls libcurl4t64 libgirepository-1.0-1 libglib2.0-0t64 180s libglib2.0-data libpam-modules libpam-modules-bin libpam-runtime libpam0g 180s libplymouth5 libselinux1 libsemanage-common libsemanage2 linux-base 180s lxd-installer openssh-client openssh-server openssh-sftp-server plymouth 180s plymouth-theme-ubuntu-text python3-blinker python3-dbus python3-debconf 180s python3-gi python3-jsonschema-specifications python3-rpds-py python3-yaml 180s sg3-utils sg3-utils-udev vim-common vim-tiny xxd 180s 44 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 180s Need to get 11.7 MB of archives. 180s After this operation, 2983 kB of additional disk space will be used. 180s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 bash arm64 5.2.32-1ubuntu2 [791 kB] 180s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 hostname arm64 3.25 [11.0 kB] 180s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libaudit-common all 1:4.0.2-2ubuntu1 [6578 B] 180s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libaudit1 arm64 1:4.0.2-2ubuntu1 [54.2 kB] 180s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 debconf-i18n all 1.5.87ubuntu1 [204 kB] 180s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-debconf all 1.5.87ubuntu1 [4156 B] 180s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 debconf all 1.5.87ubuntu1 [124 kB] 180s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam0g arm64 1.5.3-7ubuntu4 [68.6 kB] 180s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libselinux1 arm64 3.7-3ubuntu1 [81.6 kB] 180s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam-modules-bin arm64 1.5.3-7ubuntu4 [50.4 kB] 180s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam-modules arm64 1.5.3-7ubuntu4 [285 kB] 180s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-sftp-server arm64 1:9.9p1-3ubuntu2 [36.8 kB] 180s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-server arm64 1:9.9p1-3ubuntu2 [524 kB] 180s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-client arm64 1:9.9p1-3ubuntu2 [920 kB] 181s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam-runtime all 1.5.3-7ubuntu4 [40.8 kB] 181s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libsemanage-common all 3.7-2build1 [7186 B] 181s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libsemanage2 arm64 3.7-2build1 [92.2 kB] 181s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 distro-info arm64 1.12 [19.4 kB] 181s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-girepository-2.0 arm64 1.82.0-2 [25.2 kB] 181s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0 arm64 2.82.2-3 [182 kB] 181s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-0t64 arm64 2.82.2-3 [1560 kB] 181s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-1.0-1 arm64 1.82.0-2 [83.0 kB] 181s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-data all 2.82.2-3 [51.7 kB] 181s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dbus arm64 1.3.2-5build4 [109 kB] 181s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-gi arm64 3.50.0-3build1 [279 kB] 181s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-yaml arm64 6.0.2-1build1 [164 kB] 181s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 vim-tiny arm64 2:9.1.0861-1ubuntu1 [805 kB] 181s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 181s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 xxd arm64 2:9.1.0861-1ubuntu1 [67.3 kB] 181s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libplymouth5 arm64 24.004.60-2ubuntu3 [141 kB] 181s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 plymouth-theme-ubuntu-text arm64 24.004.60-2ubuntu3 [9914 B] 181s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 plymouth arm64 24.004.60-2ubuntu3 [135 kB] 181s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 bpftrace arm64 0.21.2-2ubuntu3 [1854 kB] 181s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 curl arm64 8.9.1-2ubuntu3 [235 kB] 181s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libcurl4t64 arm64 8.9.1-2ubuntu3 [365 kB] 181s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 fwupd-signed arm64 1.55+1.7-1 [30.9 kB] 181s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libcurl3t64-gnutls arm64 8.9.1-2ubuntu3 [359 kB] 181s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libsgutils2-1.48 arm64 1.48-0ubuntu1 [118 kB] 181s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 linux-base all 4.10.1ubuntu1 [34.8 kB] 181s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 lxd-installer all 10 [5264 B] 181s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-blinker all 1.9.0-1 [10.7 kB] 181s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-rpds-py arm64 0.21.0-2ubuntu1 [302 kB] 181s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-jsonschema-specifications all 2023.12.1-2 [9116 B] 181s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 sg3-utils arm64 1.48-0ubuntu1 [999 kB] 181s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 sg3-utils-udev all 1.48-0ubuntu1 [6608 B] 182s Preconfiguring packages ... 182s Fetched 11.7 MB in 1s (9542 kB/s) 182s (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 ... 80002 files and directories currently installed.) 182s Preparing to unpack .../bash_5.2.32-1ubuntu2_arm64.deb ... 182s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 182s Setting up bash (5.2.32-1ubuntu2) ... 182s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 182s (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 ... 80002 files and directories currently installed.) 182s Preparing to unpack .../hostname_3.25_arm64.deb ... 182s Unpacking hostname (3.25) over (3.23+nmu2ubuntu2) ... 182s Setting up hostname (3.25) ... 183s (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 ... 80002 files and directories currently installed.) 183s Preparing to unpack .../libaudit-common_1%3a4.0.2-2ubuntu1_all.deb ... 183s Unpacking libaudit-common (1:4.0.2-2ubuntu1) over (1:4.0.1-1ubuntu2) ... 183s Setting up libaudit-common (1:4.0.2-2ubuntu1) ... 183s (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 ... 80002 files and directories currently installed.) 183s Preparing to unpack .../libaudit1_1%3a4.0.2-2ubuntu1_arm64.deb ... 183s Unpacking libaudit1:arm64 (1:4.0.2-2ubuntu1) over (1:4.0.1-1ubuntu2) ... 183s Setting up libaudit1:arm64 (1:4.0.2-2ubuntu1) ... 183s (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 ... 80002 files and directories currently installed.) 183s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 183s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 183s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 183s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 183s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 183s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 183s Setting up debconf (1.5.87ubuntu1) ... 184s (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 ... 80002 files and directories currently installed.) 184s Preparing to unpack .../libpam0g_1.5.3-7ubuntu4_arm64.deb ... 184s Unpacking libpam0g:arm64 (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 184s Setting up libpam0g:arm64 (1.5.3-7ubuntu4) ... 184s (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 ... 80002 files and directories currently installed.) 184s Preparing to unpack .../libselinux1_3.7-3ubuntu1_arm64.deb ... 184s Unpacking libselinux1:arm64 (3.7-3ubuntu1) over (3.5-2ubuntu5) ... 184s Setting up libselinux1:arm64 (3.7-3ubuntu1) ... 184s (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 ... 80002 files and directories currently installed.) 184s Preparing to unpack .../libpam-modules-bin_1.5.3-7ubuntu4_arm64.deb ... 184s Unpacking libpam-modules-bin (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 184s Setting up libpam-modules-bin (1.5.3-7ubuntu4) ... 185s pam_namespace.service is a disabled or a static unit not running, not starting it. 185s (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 ... 80002 files and directories currently installed.) 185s Preparing to unpack .../libpam-modules_1.5.3-7ubuntu4_arm64.deb ... 185s Unpacking libpam-modules:arm64 (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 185s Setting up libpam-modules:arm64 (1.5.3-7ubuntu4) ... 185s (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 ... 80002 files and directories currently installed.) 185s Preparing to unpack .../openssh-sftp-server_1%3a9.9p1-3ubuntu2_arm64.deb ... 185s Unpacking openssh-sftp-server (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 185s Preparing to unpack .../openssh-server_1%3a9.9p1-3ubuntu2_arm64.deb ... 186s Unpacking openssh-server (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 186s Preparing to unpack .../openssh-client_1%3a9.9p1-3ubuntu2_arm64.deb ... 186s Unpacking openssh-client (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 186s Preparing to unpack .../libpam-runtime_1.5.3-7ubuntu4_all.deb ... 186s Unpacking libpam-runtime (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 186s Setting up libpam-runtime (1.5.3-7ubuntu4) ... 187s (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 ... 80004 files and directories currently installed.) 187s Preparing to unpack .../libsemanage-common_3.7-2build1_all.deb ... 187s Unpacking libsemanage-common (3.7-2build1) over (3.5-1build6) ... 187s Setting up libsemanage-common (3.7-2build1) ... 187s (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 ... 80003 files and directories currently installed.) 187s Preparing to unpack .../libsemanage2_3.7-2build1_arm64.deb ... 187s Unpacking libsemanage2:arm64 (3.7-2build1) over (3.5-1build6) ... 187s Setting up libsemanage2:arm64 (3.7-2build1) ... 187s (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 ... 80003 files and directories currently installed.) 187s Preparing to unpack .../00-distro-info_1.12_arm64.deb ... 187s Unpacking distro-info (1.12) over (1.9) ... 187s Preparing to unpack .../01-gir1.2-girepository-2.0_1.82.0-2_arm64.deb ... 187s Unpacking gir1.2-girepository-2.0:arm64 (1.82.0-2) over (1.80.1-4) ... 187s Preparing to unpack .../02-gir1.2-glib-2.0_2.82.2-3_arm64.deb ... 187s Unpacking gir1.2-glib-2.0:arm64 (2.82.2-3) over (2.82.1-0ubuntu1) ... 187s Preparing to unpack .../03-libglib2.0-0t64_2.82.2-3_arm64.deb ... 187s Unpacking libglib2.0-0t64:arm64 (2.82.2-3) over (2.82.1-0ubuntu1) ... 187s Preparing to unpack .../04-libgirepository-1.0-1_1.82.0-2_arm64.deb ... 187s Unpacking libgirepository-1.0-1:arm64 (1.82.0-2) over (1.80.1-4) ... 187s Preparing to unpack .../05-libglib2.0-data_2.82.2-3_all.deb ... 187s Unpacking libglib2.0-data (2.82.2-3) over (2.82.1-0ubuntu1) ... 188s Preparing to unpack .../06-python3-dbus_1.3.2-5build4_arm64.deb ... 188s Unpacking python3-dbus (1.3.2-5build4) over (1.3.2-5build3) ... 188s Preparing to unpack .../07-python3-gi_3.50.0-3build1_arm64.deb ... 188s Unpacking python3-gi (3.50.0-3build1) over (3.50.0-3) ... 188s Preparing to unpack .../08-python3-yaml_6.0.2-1build1_arm64.deb ... 188s Unpacking python3-yaml (6.0.2-1build1) over (6.0.2-1) ... 188s Preparing to unpack .../09-vim-tiny_2%3a9.1.0861-1ubuntu1_arm64.deb ... 188s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 188s Preparing to unpack .../10-vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 188s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 189s Preparing to unpack .../11-xxd_2%3a9.1.0861-1ubuntu1_arm64.deb ... 189s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 189s Preparing to unpack .../12-libplymouth5_24.004.60-2ubuntu3_arm64.deb ... 189s Unpacking libplymouth5:arm64 (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 189s Preparing to unpack .../13-plymouth-theme-ubuntu-text_24.004.60-2ubuntu3_arm64.deb ... 189s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 189s Preparing to unpack .../14-plymouth_24.004.60-2ubuntu3_arm64.deb ... 189s Unpacking plymouth (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 189s Preparing to unpack .../15-bpftrace_0.21.2-2ubuntu3_arm64.deb ... 189s Unpacking bpftrace (0.21.2-2ubuntu3) over (0.21.2-2ubuntu2) ... 189s Preparing to unpack .../16-curl_8.9.1-2ubuntu3_arm64.deb ... 189s Unpacking curl (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 189s Preparing to unpack .../17-libcurl4t64_8.9.1-2ubuntu3_arm64.deb ... 189s Unpacking libcurl4t64:arm64 (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 189s Preparing to unpack .../18-fwupd-signed_1.55+1.7-1_arm64.deb ... 189s Unpacking fwupd-signed (1.55+1.7-1) over (1.54+1.6-1build1) ... 190s Preparing to unpack .../19-libcurl3t64-gnutls_8.9.1-2ubuntu3_arm64.deb ... 190s Unpacking libcurl3t64-gnutls:arm64 (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 190s Selecting previously unselected package libsgutils2-1.48:arm64. 190s Preparing to unpack .../20-libsgutils2-1.48_1.48-0ubuntu1_arm64.deb ... 190s Unpacking libsgutils2-1.48:arm64 (1.48-0ubuntu1) ... 191s Preparing to unpack .../21-linux-base_4.10.1ubuntu1_all.deb ... 191s Unpacking linux-base (4.10.1ubuntu1) over (4.5ubuntu9) ... 191s Preparing to unpack .../22-lxd-installer_10_all.deb ... 191s Unpacking lxd-installer (10) over (9) ... 191s Preparing to unpack .../23-python3-blinker_1.9.0-1_all.deb ... 191s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 191s Preparing to unpack .../24-python3-rpds-py_0.21.0-2ubuntu1_arm64.deb ... 191s Unpacking python3-rpds-py (0.21.0-2ubuntu1) over (0.20.0-0ubuntu3) ... 191s Preparing to unpack .../25-python3-jsonschema-specifications_2023.12.1-2_all.deb ... 191s Unpacking python3-jsonschema-specifications (2023.12.1-2) over (2023.12.1-1ubuntu1) ... 191s Preparing to unpack .../26-sg3-utils_1.48-0ubuntu1_arm64.deb ... 191s Unpacking sg3-utils (1.48-0ubuntu1) over (1.46-3ubuntu5) ... 191s Preparing to unpack .../27-sg3-utils-udev_1.48-0ubuntu1_all.deb ... 191s Unpacking sg3-utils-udev (1.48-0ubuntu1) over (1.46-3ubuntu5) ... 191s Setting up distro-info (1.12) ... 191s Setting up linux-base (4.10.1ubuntu1) ... 192s Setting up libcurl4t64:arm64 (8.9.1-2ubuntu3) ... 192s Setting up bpftrace (0.21.2-2ubuntu3) ... 192s Setting up openssh-client (1:9.9p1-3ubuntu2) ... 192s Setting up python3-debconf (1.5.87ubuntu1) ... 192s Setting up libcurl3t64-gnutls:arm64 (8.9.1-2ubuntu3) ... 192s Setting up fwupd-signed (1.55+1.7-1) ... 192s Setting up libsgutils2-1.48:arm64 (1.48-0ubuntu1) ... 192s Setting up python3-yaml (6.0.2-1build1) ... 192s Setting up debconf-i18n (1.5.87ubuntu1) ... 192s Setting up xxd (2:9.1.0861-1ubuntu1) ... 192s Setting up libglib2.0-0t64:arm64 (2.82.2-3) ... 192s No schema files found: doing nothing. 192s Setting up libglib2.0-data (2.82.2-3) ... 192s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 192s Setting up gir1.2-glib-2.0:arm64 (2.82.2-3) ... 192s Setting up lxd-installer (10) ... 193s Setting up python3-rpds-py (0.21.0-2ubuntu1) ... 193s Setting up libplymouth5:arm64 (24.004.60-2ubuntu3) ... 193s Setting up libgirepository-1.0-1:arm64 (1.82.0-2) ... 193s Setting up curl (8.9.1-2ubuntu3) ... 193s Setting up python3-jsonschema-specifications (2023.12.1-2) ... 193s Setting up sg3-utils (1.48-0ubuntu1) ... 193s Setting up python3-blinker (1.9.0-1) ... 193s Setting up openssh-sftp-server (1:9.9p1-3ubuntu2) ... 193s Setting up python3-dbus (1.3.2-5build4) ... 193s Setting up openssh-server (1:9.9p1-3ubuntu2) ... 193s Installing new version of config file /etc/ssh/moduli ... 193s Replacing config file /etc/ssh/sshd_config with new version 195s Setting up plymouth (24.004.60-2ubuntu3) ... 195s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 195s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 218s flash-kernel: deferring update (trigger activated) 218s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 218s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 218s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 218s Setting up sg3-utils-udev (1.48-0ubuntu1) ... 218s update-initramfs: deferring update (trigger activated) 218s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu3) ... 218s update-initramfs: deferring update (trigger activated) 218s Setting up gir1.2-girepository-2.0:arm64 (1.82.0-2) ... 218s Setting up python3-gi (3.50.0-3build1) ... 218s Processing triggers for install-info (7.1.1-1) ... 218s Processing triggers for initramfs-tools (0.142ubuntu35) ... 218s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 218s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 237s System running in EFI mode, skipping. 237s Processing triggers for libc-bin (2.40-1ubuntu3) ... 237s Processing triggers for ufw (0.36.2-8) ... 237s Processing triggers for man-db (2.13.0-1) ... 239s Processing triggers for debianutils (5.21) ... 239s Processing triggers for flash-kernel (3.107ubuntu13) ... 239s System running in EFI mode, skipping. 239s Reading package lists... 240s Building dependency tree... 240s Reading state information... 240s The following packages will be REMOVED: 240s libsgutils2-1.46-2* 242s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 242s After this operation, 314 kB disk space will be freed. 242s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 242s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 242s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 242s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 242s (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 ... 80037 files and directories currently installed.) 242s Removing libsgutils2-1.46-2:arm64 (1.46-3ubuntu5) ... 242s Processing triggers for libc-bin (2.40-1ubuntu3) ... 243s Reading package lists... 243s Reading package lists... 244s Building dependency tree... 244s Reading state information... 244s Calculating upgrade... 245s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 245s Reading package lists... 245s Building dependency tree... 245s Reading state information... 246s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 246s autopkgtest [20:36:37]: rebooting testbed after setup commands that affected boot 250s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 274s autopkgtest [20:37:05]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 277s autopkgtest [20:37:08]: @@@@@@@@@@@@@@@@@@@@ apt-source fenics-ffcx 280s Get:1 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (dsc) [2533 B] 280s Get:2 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (tar) [134 kB] 280s Get:3 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (diff) [9740 B] 280s gpgv: Signature made Thu Apr 25 09:26:51 2024 UTC 280s gpgv: using RSA key 1B5D04B1E507BBF03669E2B801F35FC33E73AF8C 280s gpgv: Can't check signature: No public key 280s dpkg-source: warning: cannot verify inline signature for ./fenics-ffcx_0.8.0-1.dsc: no acceptable signature found 280s autopkgtest [20:37:11]: testing package fenics-ffcx version 1:0.8.0-1 280s autopkgtest [20:37:11]: build not needed 281s autopkgtest [20:37:12]: test command1: preparing testbed 282s Reading package lists... 283s Building dependency tree... 283s Reading state information... 283s Starting pkgProblemResolver with broken count: 0 283s Starting 2 pkgProblemResolver with broken count: 0 283s Done 284s The following additional packages will be installed: 284s autoconf automake autopoint autotools-dev build-essential cmake cmake-data 284s cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper 284s debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common 284s dwz fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 284s fonts-font-awesome fonts-lato g++ g++-14 g++-14-aarch64-linux-gnu 284s g++-aarch64-linux-gnu gcc gcc-14 gcc-14-aarch64-linux-gnu 284s gcc-aarch64-linux-gnu gettext graphviz intltool-debian libann0 libaom3 284s libarchive-zip-perl libasan8 libbasix-dev libbasix0.9 libblas3 284s libboost-math-dev libboost-math1.83-dev libboost-math1.83.0 libboost1.83-dev 284s libcairo2 libcc1-0 libcdt5 libcgraph6 libdatrie1 libde265-0 284s libdebhelper-perl libdeflate0 libeigen3-dev libexpat1-dev 284s libfile-stripnondeterminism-perl libfontconfig1 libgcc-14-dev libgd3 284s libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 284s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 284s libhwasan0 libice6 libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 284s libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl 284s libjsoncpp25 liblab-gamut1 liblapack3 liblerc4 liblsan0 libltdl7 libmpc3 284s libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 284s libpixman-1-0 libpkgconf3 libpython3-all-dev libpython3-dev 284s libpython3.12-dev libraqm0 librhash0 libsharpyuv0 libsm6 libstdc++-14-dev 284s libthai-data libthai0 libtiff6 libtool libtsan2 libubsan1 libwebp7 libxaw7 284s libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 284s pkg-config pkgconf pkgconf-bin po-debconf pybuild-plugin-pyproject 284s python3-alabaster python3-all python3-all-dev python3-basix python3-build 284s python3-cffi python3-defusedxml python3-dev python3-docutils python3-ffcx 284s python3-imagesize python3-iniconfig python3-installer python3-mpmath 284s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 284s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 284s python3-roman python3-snowballstemmer python3-sphinx 284s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 284s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 284s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 284s Suggested packages: 284s autoconf-archive gnu-standards autoconf-doc cmake-doc cmake-format 284s elpa-cmake-mode ninja-build cpp-doc gcc-14-locales cpp-14-doc dh-make flit 284s gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 284s gdb-aarch64-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev gsfonts 284s graphviz-doc basix-doc libboost1.83-doc libboost-atomic1.83-dev 284s libboost-chrono1.83-dev libboost-container1.83-dev libboost-context1.83-dev 284s libboost-contract1.83-dev libboost-coroutine1.83-dev 284s libboost-date-time1.83-dev libboost-exception1.83-dev libboost-fiber1.83-dev 284s libboost-filesystem1.83-dev libboost-graph-parallel1.83-dev 284s libboost-graph1.83-dev libboost-iostreams1.83-dev libboost-json1.83-dev 284s libboost-locale1.83-dev libboost-log1.83-dev libboost-mpi-python1.83-dev 284s libboost-mpi1.83-dev libboost-nowide1.83-dev libboost-numpy1.83-dev 284s libboost-program-options1.83-dev libboost-python1.83-dev 284s libboost-random1.83-dev libboost-regex1.83-dev 284s libboost-serialization1.83-dev libboost-stacktrace1.83-dev 284s libboost-system1.83-dev libboost-test1.83-dev libboost-thread1.83-dev 284s libboost-timer1.83-dev libboost-type-erasure1.83-dev libboost-url1.83-dev 284s libboost-wave1.83-dev libboost1.83-tools-dev libmpfrc++-dev libntl-dev 284s libeigen3-doc libgd-tools libheif-plugin-x265 libheif-plugin-ffmpegdec 284s libheif-plugin-jpegdec libheif-plugin-jpegenc libheif-plugin-j2kdec 284s libheif-plugin-j2kenc libheif-plugin-kvazaar libheif-plugin-rav1e 284s libheif-plugin-svtenc libstdc++-14-doc libtool-doc gfortran 284s | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-venv 284s python-build-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine 284s texlive-lang-french texlive-latex-base texlive-latex-recommended 284s python-installer-doc python-mpmath-doc python3-gmpy2 python3-matplotlib 284s gfortran python-numpy-doc python-ply-doc python-pygraphviz-doc 284s python3-stemmer dvipng dvisvgm fonts-freefont-otf imagemagick-6.q16 latexmk 284s libjs-mathjax sphinx-doc tex-gyre texlive-fonts-extra 284s texlive-fonts-recommended texlive-latex-extra texlive-plain-generic 284s python-sympy-doc python-ufl-doc sgml-base-doc 284s Recommended packages: 284s fonts-liberation libarchive-cpio-perl libgts-bin libheif-plugin-aomenc 284s javascript-common libjson-xs-perl libltdl-dev libmail-sendmail-perl 284s libpaper-utils python3-pil isympy-common 284s The following NEW packages will be installed: 284s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 284s cmake cmake-data cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 284s debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism 284s docutils-common dwz fontconfig fontconfig-config fonts-dejavu-core 284s fonts-dejavu-mono fonts-font-awesome fonts-lato g++ g++-14 284s g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 284s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext graphviz 284s intltool-debian libann0 libaom3 libarchive-zip-perl libasan8 libbasix-dev 284s libbasix0.9 libblas3 libboost-math-dev libboost-math1.83-dev 284s libboost-math1.83.0 libboost1.83-dev libcairo2 libcc1-0 libcdt5 libcgraph6 284s libdatrie1 libde265-0 libdebhelper-perl libdeflate0 libeigen3-dev 284s libexpat1-dev libfile-stripnondeterminism-perl libfontconfig1 libgcc-14-dev 284s libgd3 libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 284s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 284s libhwasan0 libice6 libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 284s libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl 284s libjsoncpp25 liblab-gamut1 liblapack3 liblerc4 liblsan0 libltdl7 libmpc3 284s libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 284s libpixman-1-0 libpkgconf3 libpython3-all-dev libpython3-dev 284s libpython3.12-dev libraqm0 librhash0 libsharpyuv0 libsm6 libstdc++-14-dev 284s libthai-data libthai0 libtiff6 libtool libtsan2 libubsan1 libwebp7 libxaw7 284s libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 284s pkg-config pkgconf pkgconf-bin po-debconf pybuild-plugin-pyproject 284s python3-alabaster python3-all python3-all-dev python3-basix python3-build 284s python3-cffi python3-defusedxml python3-dev python3-docutils python3-ffcx 284s python3-imagesize python3-iniconfig python3-installer python3-mpmath 284s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 284s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 284s python3-roman python3-snowballstemmer python3-sphinx 284s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 284s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 284s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 284s 0 upgraded, 163 newly installed, 0 to remove and 0 not upgraded. 284s Need to get 131 MB/131 MB of archives. 284s After this operation, 618 MB of additional disk space will be used. 284s Get:1 /tmp/autopkgtest.0OhLMl/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [888 B] 284s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-lato all 2.015-1 [2781 kB] 285s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 sgml-base all 1.31 [11.4 kB] 285s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 m4 arm64 1.4.19-4build1 [240 kB] 285s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 autoconf all 2.72-3 [382 kB] 285s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 autotools-dev all 20220109.1 [44.9 kB] 285s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 285s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 autopoint all 0.22.5-2 [616 kB] 285s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 285s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 285s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [10.6 MB] 286s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-8ubuntu1 [1028 B] 286s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 286s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 286s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-8ubuntu1 [49.7 kB] 286s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-8ubuntu1 [145 kB] 286s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-8ubuntu1 [27.8 kB] 286s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-8ubuntu1 [2893 kB] 286s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-8ubuntu1 [1283 kB] 286s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-8ubuntu1 [2686 kB] 286s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-8ubuntu1 [1151 kB] 286s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-8ubuntu1 [1598 kB] 286s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-8ubuntu1 [2594 kB] 286s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [20.9 MB] 287s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-8ubuntu1 [518 kB] 287s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 287s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 287s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-8ubuntu1 [2476 kB] 287s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [12.1 MB] 288s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-8ubuntu1 [19.9 kB] 288s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 288s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 288s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 288s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libjsoncpp25 arm64 1.9.5-6build1 [78.2 kB] 288s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 librhash0 arm64 1.4.3-3build1 [126 kB] 288s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 cmake-data all 3.30.3-1 [2246 kB] 288s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 cmake arm64 3.30.3-1 [10.9 MB] 289s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 289s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libtool all 2.4.7-8 [166 kB] 289s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-autoreconf all 20 [16.1 kB] 289s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 289s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 289s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 289s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 debugedit arm64 1:5.1-1 [45.9 kB] 289s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 dwz arm64 0.15-1build6 [113 kB] 289s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 gettext arm64 0.22.5-2 [930 kB] 289s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 289s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 289s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 debhelper all 13.20ubuntu1 [893 kB] 289s Get:50 http://ftpmaster.internal/ubuntu plucky/universe arm64 dh-python all 6.20241024 [112 kB] 289s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 xml-core all 0.19 [20.3 kB] 289s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 docutils-common all 0.21.2+dfsg-2 [131 kB] 289s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB] 289s Get:54 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-dejavu-core all 2.37-8 [835 kB] 289s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 fontconfig-config arm64 2.15.0-1.1ubuntu2 [37.4 kB] 289s Get:56 http://ftpmaster.internal/ubuntu plucky/main arm64 libfontconfig1 arm64 2.15.0-1.1ubuntu2 [142 kB] 289s Get:57 http://ftpmaster.internal/ubuntu plucky/main arm64 fontconfig arm64 2.15.0-1.1ubuntu2 [190 kB] 289s Get:58 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 289s Get:59 http://ftpmaster.internal/ubuntu plucky/universe arm64 libann0 arm64 1.1.2+doc-9build1 [25.7 kB] 289s Get:60 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcdt5 arm64 2.42.4-2build3 [21.3 kB] 289s Get:61 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcgraph6 arm64 2.42.4-2build3 [45.1 kB] 289s Get:62 http://ftpmaster.internal/ubuntu plucky/main arm64 libsharpyuv0 arm64 1.4.0-0.1 [16.3 kB] 289s Get:63 http://ftpmaster.internal/ubuntu plucky/main arm64 libaom3 arm64 3.11.0-1 [1837 kB] 289s Get:64 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif-plugin-aomdec arm64 1.19.3-1 [11.3 kB] 289s Get:65 http://ftpmaster.internal/ubuntu plucky/main arm64 libde265-0 arm64 1.0.15-1build4 [146 kB] 289s Get:66 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif-plugin-libde265 arm64 1.19.3-1 [8722 B] 289s Get:67 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif1 arm64 1.19.3-1 [362 kB] 289s Get:68 http://ftpmaster.internal/ubuntu plucky/main arm64 libimagequant0 arm64 2.18.0-1build1 [37.1 kB] 289s Get:69 http://ftpmaster.internal/ubuntu plucky/main arm64 libjpeg-turbo8 arm64 2.1.5-3ubuntu2 [165 kB] 289s Get:70 http://ftpmaster.internal/ubuntu plucky/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B] 289s Get:71 http://ftpmaster.internal/ubuntu plucky/main arm64 libgraphite2-3 arm64 1.3.14-2ubuntu1 [70.6 kB] 289s Get:72 http://ftpmaster.internal/ubuntu plucky/main arm64 libharfbuzz0b arm64 10.0.1-1 [487 kB] 289s Get:73 http://ftpmaster.internal/ubuntu plucky/main arm64 libraqm0 arm64 0.10.1-1build1 [14.7 kB] 289s Get:74 http://ftpmaster.internal/ubuntu plucky/main arm64 libdeflate0 arm64 1.22-1 [46.2 kB] 289s Get:75 http://ftpmaster.internal/ubuntu plucky/main arm64 libjbig0 arm64 2.1-6.1ubuntu2 [29.3 kB] 289s Get:76 http://ftpmaster.internal/ubuntu plucky/main arm64 liblerc4 arm64 4.0.0+ds-5ubuntu1 [167 kB] 289s Get:77 http://ftpmaster.internal/ubuntu plucky/main arm64 libwebp7 arm64 1.4.0-0.1 [192 kB] 289s Get:78 http://ftpmaster.internal/ubuntu plucky/main arm64 libtiff6 arm64 4.5.1+git230720-4ubuntu4 [193 kB] 289s Get:79 http://ftpmaster.internal/ubuntu plucky/main arm64 libxpm4 arm64 1:3.5.17-1build2 [35.1 kB] 289s Get:80 http://ftpmaster.internal/ubuntu plucky/main arm64 libgd3 arm64 2.3.3-12ubuntu3 [122 kB] 289s Get:81 http://ftpmaster.internal/ubuntu plucky/universe arm64 libgts-0.7-5t64 arm64 0.7.6+darcs121130-5.2build1 [154 kB] 289s Get:82 http://ftpmaster.internal/ubuntu plucky/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 290s Get:83 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-render0 arm64 1.17.0-2 [16.6 kB] 290s Get:84 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 290s Get:85 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 290s Get:86 http://ftpmaster.internal/ubuntu plucky/main arm64 libcairo2 arm64 1.18.2-2 [560 kB] 290s Get:87 http://ftpmaster.internal/ubuntu plucky/main arm64 libltdl7 arm64 2.4.7-8 [40.6 kB] 290s Get:88 http://ftpmaster.internal/ubuntu plucky/main arm64 libthai-data all 0.1.29-2build1 [158 kB] 290s Get:89 http://ftpmaster.internal/ubuntu plucky/main arm64 libdatrie1 arm64 0.2.13-3build1 [19.2 kB] 290s Get:90 http://ftpmaster.internal/ubuntu plucky/main arm64 libthai0 arm64 0.1.29-2build1 [18.2 kB] 290s Get:91 http://ftpmaster.internal/ubuntu plucky/main arm64 libpango-1.0-0 arm64 1.54.0+ds-3 [234 kB] 290s Get:92 http://ftpmaster.internal/ubuntu plucky/main arm64 libpangoft2-1.0-0 arm64 1.54.0+ds-3 [48.9 kB] 290s Get:93 http://ftpmaster.internal/ubuntu plucky/main arm64 libpangocairo-1.0-0 arm64 1.54.0+ds-3 [27.5 kB] 290s Get:94 http://ftpmaster.internal/ubuntu plucky/universe arm64 libpathplan4 arm64 2.42.4-2build3 [23.4 kB] 290s Get:95 http://ftpmaster.internal/ubuntu plucky/universe arm64 libgvc6 arm64 2.42.4-2build3 [706 kB] 290s Get:96 http://ftpmaster.internal/ubuntu plucky/universe arm64 libgvpr2 arm64 2.42.4-2build3 [187 kB] 290s Get:97 http://ftpmaster.internal/ubuntu plucky/universe arm64 liblab-gamut1 arm64 2.42.4-2build3 [1840 kB] 290s Get:98 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 290s Get:99 http://ftpmaster.internal/ubuntu plucky/main arm64 libice6 arm64 2:1.1.1-1 [42.3 kB] 290s Get:100 http://ftpmaster.internal/ubuntu plucky/main arm64 libsm6 arm64 2:1.2.4-1 [16.4 kB] 290s Get:101 http://ftpmaster.internal/ubuntu plucky/main arm64 libxt6t64 arm64 1:1.2.1-1.2build1 [168 kB] 290s Get:102 http://ftpmaster.internal/ubuntu plucky/main arm64 libxmu6 arm64 2:1.1.3-3build2 [47.5 kB] 290s Get:103 http://ftpmaster.internal/ubuntu plucky/main arm64 libxaw7 arm64 2:1.0.16-1 [184 kB] 290s Get:104 http://ftpmaster.internal/ubuntu plucky/universe arm64 graphviz arm64 2.42.4-2build3 [619 kB] 290s Get:105 http://ftpmaster.internal/ubuntu plucky/main arm64 libblas3 arm64 3.12.0-3build2 [152 kB] 290s Get:106 http://ftpmaster.internal/ubuntu plucky/main arm64 libgfortran5 arm64 14.2.0-8ubuntu1 [438 kB] 290s Get:107 http://ftpmaster.internal/ubuntu plucky/main arm64 liblapack3 arm64 3.12.0-3build2 [2293 kB] 291s Get:108 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 libbasix0.9 arm64 0.9.0-2build1 [388 kB] 291s Get:109 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 291s Get:110 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 291s Get:111 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 291s Get:112 http://ftpmaster.internal/ubuntu plucky/main arm64 pkg-config arm64 1.8.1-4 [7362 B] 291s Get:113 http://ftpmaster.internal/ubuntu plucky/universe arm64 libeigen3-dev all 3.4.0-4build1 [1055 kB] 291s Get:114 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 libbasix-dev arm64 0.9.0-2build1 [62.2 kB] 291s Get:115 http://ftpmaster.internal/ubuntu plucky/main arm64 libboost1.83-dev arm64 1.83.0-3.2ubuntu2 [10.7 MB] 291s Get:116 http://ftpmaster.internal/ubuntu plucky/universe arm64 libboost-math1.83.0 arm64 1.83.0-3.2ubuntu2 [444 kB] 291s Get:117 http://ftpmaster.internal/ubuntu plucky/universe arm64 libboost-math1.83-dev arm64 1.83.0-3.2ubuntu2 [590 kB] 291s Get:118 http://ftpmaster.internal/ubuntu plucky/universe arm64 libboost-math-dev arm64 1.83.0.2ubuntu1 [4434 B] 291s Get:119 http://ftpmaster.internal/ubuntu plucky/main arm64 libexpat1-dev arm64 2.6.4-1 [129 kB] 291s Get:120 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 291s Get:121 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 291s Get:122 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 7.4.7-4 [158 kB] 291s Get:123 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 291s Get:124 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 291s Get:125 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12-dev arm64 3.12.7-3 [5565 kB] 291s Get:126 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3-dev arm64 3.12.6-0ubuntu1 [10.2 kB] 291s Get:127 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3-all-dev arm64 3.12.6-0ubuntu1 [916 B] 291s Get:128 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 291s Get:129 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 291s Get:130 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-toml all 0.10.2-1 [16.5 kB] 291s Get:131 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-wheel all 0.45.0-1 [57.7 kB] 291s Get:132 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-build all 1.2.2-1 [31.0 kB] 292s Get:133 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 292s Get:134 http://ftpmaster.internal/ubuntu plucky/universe arm64 pybuild-plugin-pyproject all 6.20241024 [1728 B] 292s Get:135 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 292s Get:136 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-dev arm64 3.12.7-3 [505 kB] 292s Get:137 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dev arm64 3.12.6-0ubuntu1 [26.7 kB] 292s Get:138 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all-dev arm64 3.12.6-0ubuntu1 [908 B] 292s Get:139 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-numpy arm64 1:1.26.4+ds-11ubuntu1 [4149 kB] 292s Get:140 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-ufl all 2024.2.0-2 [145 kB] 292s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-basix arm64 0.9.0-2build1 [129 kB] 292s Get:142 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-ply all 3.11-7 [45.4 kB] 292s Get:143 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-pycparser all 2.22-2 [76.5 kB] 292s Get:144 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-cffi all 1.17.1-2build1 [74.8 kB] 292s Get:145 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-defusedxml all 0.7.1-2 [42.0 kB] 292s Get:146 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-roman all 4.2-1 [10.0 kB] 292s Get:147 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 292s Get:148 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-ffcx all 1:0.8.0-1 [92.9 kB] 292s Get:149 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-imagesize all 1.4.1-1 [6844 B] 292s Get:150 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 292s Get:151 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mpmath all 1.3.0-1 [425 kB] 292s Get:152 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pip all 24.3.1+dfsg-1 [1404 kB] 292s Get:153 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 292s Get:154 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pygraphviz arm64 1.14-1build1 [82.9 kB] 292s Get:155 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 292s Get:156 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 292s Get:157 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-common all 7.4.7-4 [775 kB] 292s Get:158 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 292s Get:159 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-sphinx all 7.4.7-4 [593 kB] 292s Get:160 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-rtd-theme-common all 3.0.2+dfsg-1 [1014 kB] 292s Get:161 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 292s Get:162 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinx-rtd-theme all 3.0.2+dfsg-1 [23.5 kB] 292s Get:163 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sympy all 1.13.3-1 [4228 kB] 293s Fetched 131 MB in 8s (16.3 MB/s) 293s Selecting previously unselected package fonts-lato. 293s (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 ... 80032 files and directories currently installed.) 293s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 293s Unpacking fonts-lato (2.015-1) ... 293s Selecting previously unselected package sgml-base. 294s Preparing to unpack .../001-sgml-base_1.31_all.deb ... 294s Unpacking sgml-base (1.31) ... 294s Selecting previously unselected package m4. 294s Preparing to unpack .../002-m4_1.4.19-4build1_arm64.deb ... 294s Unpacking m4 (1.4.19-4build1) ... 294s Selecting previously unselected package autoconf. 294s Preparing to unpack .../003-autoconf_2.72-3_all.deb ... 294s Unpacking autoconf (2.72-3) ... 294s Selecting previously unselected package autotools-dev. 294s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 294s Unpacking autotools-dev (20220109.1) ... 294s Selecting previously unselected package automake. 294s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 294s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 294s Selecting previously unselected package autopoint. 294s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 294s Unpacking autopoint (0.22.5-2) ... 294s Selecting previously unselected package libisl23:arm64. 294s Preparing to unpack .../007-libisl23_0.27-1_arm64.deb ... 294s Unpacking libisl23:arm64 (0.27-1) ... 294s Selecting previously unselected package libmpc3:arm64. 294s Preparing to unpack .../008-libmpc3_1.3.1-1build2_arm64.deb ... 294s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 294s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 294s Preparing to unpack .../009-cpp-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 294s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 294s Selecting previously unselected package cpp-14. 294s Preparing to unpack .../010-cpp-14_14.2.0-8ubuntu1_arm64.deb ... 294s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 294s Selecting previously unselected package cpp-aarch64-linux-gnu. 294s Preparing to unpack .../011-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 294s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 294s Selecting previously unselected package cpp. 294s Preparing to unpack .../012-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 294s Unpacking cpp (4:14.1.0-2ubuntu1) ... 294s Selecting previously unselected package libcc1-0:arm64. 295s Preparing to unpack .../013-libcc1-0_14.2.0-8ubuntu1_arm64.deb ... 295s Unpacking libcc1-0:arm64 (14.2.0-8ubuntu1) ... 295s Selecting previously unselected package libgomp1:arm64. 295s Preparing to unpack .../014-libgomp1_14.2.0-8ubuntu1_arm64.deb ... 295s Unpacking libgomp1:arm64 (14.2.0-8ubuntu1) ... 295s Selecting previously unselected package libitm1:arm64. 295s Preparing to unpack .../015-libitm1_14.2.0-8ubuntu1_arm64.deb ... 295s Unpacking libitm1:arm64 (14.2.0-8ubuntu1) ... 295s Selecting previously unselected package libasan8:arm64. 295s Preparing to unpack .../016-libasan8_14.2.0-8ubuntu1_arm64.deb ... 295s Unpacking libasan8:arm64 (14.2.0-8ubuntu1) ... 295s Selecting previously unselected package liblsan0:arm64. 295s Preparing to unpack .../017-liblsan0_14.2.0-8ubuntu1_arm64.deb ... 295s Unpacking liblsan0:arm64 (14.2.0-8ubuntu1) ... 295s Selecting previously unselected package libtsan2:arm64. 295s Preparing to unpack .../018-libtsan2_14.2.0-8ubuntu1_arm64.deb ... 295s Unpacking libtsan2:arm64 (14.2.0-8ubuntu1) ... 295s Selecting previously unselected package libubsan1:arm64. 295s Preparing to unpack .../019-libubsan1_14.2.0-8ubuntu1_arm64.deb ... 295s Unpacking libubsan1:arm64 (14.2.0-8ubuntu1) ... 295s Selecting previously unselected package libhwasan0:arm64. 295s Preparing to unpack .../020-libhwasan0_14.2.0-8ubuntu1_arm64.deb ... 295s Unpacking libhwasan0:arm64 (14.2.0-8ubuntu1) ... 295s Selecting previously unselected package libgcc-14-dev:arm64. 295s Preparing to unpack .../021-libgcc-14-dev_14.2.0-8ubuntu1_arm64.deb ... 295s Unpacking libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 295s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 295s Preparing to unpack .../022-gcc-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 295s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 296s Selecting previously unselected package gcc-14. 296s Preparing to unpack .../023-gcc-14_14.2.0-8ubuntu1_arm64.deb ... 296s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 296s Selecting previously unselected package gcc-aarch64-linux-gnu. 296s Preparing to unpack .../024-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 296s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 296s Selecting previously unselected package gcc. 296s Preparing to unpack .../025-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 296s Unpacking gcc (4:14.1.0-2ubuntu1) ... 296s Selecting previously unselected package libstdc++-14-dev:arm64. 296s Preparing to unpack .../026-libstdc++-14-dev_14.2.0-8ubuntu1_arm64.deb ... 296s Unpacking libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 296s Selecting previously unselected package g++-14-aarch64-linux-gnu. 296s Preparing to unpack .../027-g++-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 296s Unpacking g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 296s Selecting previously unselected package g++-14. 296s Preparing to unpack .../028-g++-14_14.2.0-8ubuntu1_arm64.deb ... 296s Unpacking g++-14 (14.2.0-8ubuntu1) ... 296s Selecting previously unselected package g++-aarch64-linux-gnu. 296s Preparing to unpack .../029-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 296s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 296s Selecting previously unselected package g++. 296s Preparing to unpack .../030-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 296s Unpacking g++ (4:14.1.0-2ubuntu1) ... 296s Selecting previously unselected package build-essential. 296s Preparing to unpack .../031-build-essential_12.10ubuntu1_arm64.deb ... 296s Unpacking build-essential (12.10ubuntu1) ... 296s Selecting previously unselected package libjsoncpp25:arm64. 296s Preparing to unpack .../032-libjsoncpp25_1.9.5-6build1_arm64.deb ... 296s Unpacking libjsoncpp25:arm64 (1.9.5-6build1) ... 296s Selecting previously unselected package librhash0:arm64. 296s Preparing to unpack .../033-librhash0_1.4.3-3build1_arm64.deb ... 296s Unpacking librhash0:arm64 (1.4.3-3build1) ... 296s Selecting previously unselected package cmake-data. 296s Preparing to unpack .../034-cmake-data_3.30.3-1_all.deb ... 296s Unpacking cmake-data (3.30.3-1) ... 297s Selecting previously unselected package cmake. 297s Preparing to unpack .../035-cmake_3.30.3-1_arm64.deb ... 297s Unpacking cmake (3.30.3-1) ... 297s Selecting previously unselected package libdebhelper-perl. 297s Preparing to unpack .../036-libdebhelper-perl_13.20ubuntu1_all.deb ... 297s Unpacking libdebhelper-perl (13.20ubuntu1) ... 297s Selecting previously unselected package libtool. 297s Preparing to unpack .../037-libtool_2.4.7-8_all.deb ... 297s Unpacking libtool (2.4.7-8) ... 297s Selecting previously unselected package dh-autoreconf. 297s Preparing to unpack .../038-dh-autoreconf_20_all.deb ... 297s Unpacking dh-autoreconf (20) ... 297s Selecting previously unselected package libarchive-zip-perl. 297s Preparing to unpack .../039-libarchive-zip-perl_1.68-1_all.deb ... 297s Unpacking libarchive-zip-perl (1.68-1) ... 297s Selecting previously unselected package libfile-stripnondeterminism-perl. 297s Preparing to unpack .../040-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 297s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 297s Selecting previously unselected package dh-strip-nondeterminism. 298s Preparing to unpack .../041-dh-strip-nondeterminism_1.14.0-1_all.deb ... 298s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 298s Selecting previously unselected package debugedit. 298s Preparing to unpack .../042-debugedit_1%3a5.1-1_arm64.deb ... 298s Unpacking debugedit (1:5.1-1) ... 298s Selecting previously unselected package dwz. 298s Preparing to unpack .../043-dwz_0.15-1build6_arm64.deb ... 298s Unpacking dwz (0.15-1build6) ... 298s Selecting previously unselected package gettext. 298s Preparing to unpack .../044-gettext_0.22.5-2_arm64.deb ... 298s Unpacking gettext (0.22.5-2) ... 298s Selecting previously unselected package intltool-debian. 298s Preparing to unpack .../045-intltool-debian_0.35.0+20060710.6_all.deb ... 298s Unpacking intltool-debian (0.35.0+20060710.6) ... 298s Selecting previously unselected package po-debconf. 298s Preparing to unpack .../046-po-debconf_1.0.21+nmu1_all.deb ... 298s Unpacking po-debconf (1.0.21+nmu1) ... 298s Selecting previously unselected package debhelper. 298s Preparing to unpack .../047-debhelper_13.20ubuntu1_all.deb ... 298s Unpacking debhelper (13.20ubuntu1) ... 298s Selecting previously unselected package dh-python. 298s Preparing to unpack .../048-dh-python_6.20241024_all.deb ... 298s Unpacking dh-python (6.20241024) ... 298s Selecting previously unselected package xml-core. 298s Preparing to unpack .../049-xml-core_0.19_all.deb ... 298s Unpacking xml-core (0.19) ... 298s Selecting previously unselected package docutils-common. 298s Preparing to unpack .../050-docutils-common_0.21.2+dfsg-2_all.deb ... 298s Unpacking docutils-common (0.21.2+dfsg-2) ... 298s Selecting previously unselected package fonts-dejavu-mono. 298s Preparing to unpack .../051-fonts-dejavu-mono_2.37-8_all.deb ... 298s Unpacking fonts-dejavu-mono (2.37-8) ... 298s Selecting previously unselected package fonts-dejavu-core. 299s Preparing to unpack .../052-fonts-dejavu-core_2.37-8_all.deb ... 299s Unpacking fonts-dejavu-core (2.37-8) ... 299s Selecting previously unselected package fontconfig-config. 299s Preparing to unpack .../053-fontconfig-config_2.15.0-1.1ubuntu2_arm64.deb ... 299s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 299s Selecting previously unselected package libfontconfig1:arm64. 299s Preparing to unpack .../054-libfontconfig1_2.15.0-1.1ubuntu2_arm64.deb ... 299s Unpacking libfontconfig1:arm64 (2.15.0-1.1ubuntu2) ... 299s Selecting previously unselected package fontconfig. 299s Preparing to unpack .../055-fontconfig_2.15.0-1.1ubuntu2_arm64.deb ... 299s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 299s Selecting previously unselected package fonts-font-awesome. 299s Preparing to unpack .../056-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 299s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 299s Selecting previously unselected package libann0. 299s Preparing to unpack .../057-libann0_1.1.2+doc-9build1_arm64.deb ... 299s Unpacking libann0 (1.1.2+doc-9build1) ... 299s Selecting previously unselected package libcdt5:arm64. 299s Preparing to unpack .../058-libcdt5_2.42.4-2build3_arm64.deb ... 299s Unpacking libcdt5:arm64 (2.42.4-2build3) ... 299s Selecting previously unselected package libcgraph6:arm64. 299s Preparing to unpack .../059-libcgraph6_2.42.4-2build3_arm64.deb ... 299s Unpacking libcgraph6:arm64 (2.42.4-2build3) ... 299s Selecting previously unselected package libsharpyuv0:arm64. 300s Preparing to unpack .../060-libsharpyuv0_1.4.0-0.1_arm64.deb ... 300s Unpacking libsharpyuv0:arm64 (1.4.0-0.1) ... 300s Selecting previously unselected package libaom3:arm64. 300s Preparing to unpack .../061-libaom3_3.11.0-1_arm64.deb ... 300s Unpacking libaom3:arm64 (3.11.0-1) ... 300s Selecting previously unselected package libheif-plugin-aomdec:arm64. 300s Preparing to unpack .../062-libheif-plugin-aomdec_1.19.3-1_arm64.deb ... 300s Unpacking libheif-plugin-aomdec:arm64 (1.19.3-1) ... 300s Selecting previously unselected package libde265-0:arm64. 300s Preparing to unpack .../063-libde265-0_1.0.15-1build4_arm64.deb ... 300s Unpacking libde265-0:arm64 (1.0.15-1build4) ... 300s Selecting previously unselected package libheif-plugin-libde265:arm64. 300s Preparing to unpack .../064-libheif-plugin-libde265_1.19.3-1_arm64.deb ... 300s Unpacking libheif-plugin-libde265:arm64 (1.19.3-1) ... 300s Selecting previously unselected package libheif1:arm64. 300s Preparing to unpack .../065-libheif1_1.19.3-1_arm64.deb ... 300s Unpacking libheif1:arm64 (1.19.3-1) ... 300s Selecting previously unselected package libimagequant0:arm64. 300s Preparing to unpack .../066-libimagequant0_2.18.0-1build1_arm64.deb ... 300s Unpacking libimagequant0:arm64 (2.18.0-1build1) ... 300s Selecting previously unselected package libjpeg-turbo8:arm64. 300s Preparing to unpack .../067-libjpeg-turbo8_2.1.5-3ubuntu2_arm64.deb ... 300s Unpacking libjpeg-turbo8:arm64 (2.1.5-3ubuntu2) ... 300s Selecting previously unselected package libjpeg8:arm64. 300s Preparing to unpack .../068-libjpeg8_8c-2ubuntu11_arm64.deb ... 300s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ... 300s Selecting previously unselected package libgraphite2-3:arm64. 300s Preparing to unpack .../069-libgraphite2-3_1.3.14-2ubuntu1_arm64.deb ... 300s Unpacking libgraphite2-3:arm64 (1.3.14-2ubuntu1) ... 300s Selecting previously unselected package libharfbuzz0b:arm64. 300s Preparing to unpack .../070-libharfbuzz0b_10.0.1-1_arm64.deb ... 300s Unpacking libharfbuzz0b:arm64 (10.0.1-1) ... 300s Selecting previously unselected package libraqm0:arm64. 301s Preparing to unpack .../071-libraqm0_0.10.1-1build1_arm64.deb ... 301s Unpacking libraqm0:arm64 (0.10.1-1build1) ... 301s Selecting previously unselected package libdeflate0:arm64. 301s Preparing to unpack .../072-libdeflate0_1.22-1_arm64.deb ... 301s Unpacking libdeflate0:arm64 (1.22-1) ... 301s Selecting previously unselected package libjbig0:arm64. 301s Preparing to unpack .../073-libjbig0_2.1-6.1ubuntu2_arm64.deb ... 301s Unpacking libjbig0:arm64 (2.1-6.1ubuntu2) ... 301s Selecting previously unselected package liblerc4:arm64. 301s Preparing to unpack .../074-liblerc4_4.0.0+ds-5ubuntu1_arm64.deb ... 301s Unpacking liblerc4:arm64 (4.0.0+ds-5ubuntu1) ... 301s Selecting previously unselected package libwebp7:arm64. 301s Preparing to unpack .../075-libwebp7_1.4.0-0.1_arm64.deb ... 301s Unpacking libwebp7:arm64 (1.4.0-0.1) ... 301s Selecting previously unselected package libtiff6:arm64. 301s Preparing to unpack .../076-libtiff6_4.5.1+git230720-4ubuntu4_arm64.deb ... 301s Unpacking libtiff6:arm64 (4.5.1+git230720-4ubuntu4) ... 301s Selecting previously unselected package libxpm4:arm64. 301s Preparing to unpack .../077-libxpm4_1%3a3.5.17-1build2_arm64.deb ... 301s Unpacking libxpm4:arm64 (1:3.5.17-1build2) ... 301s Selecting previously unselected package libgd3:arm64. 301s Preparing to unpack .../078-libgd3_2.3.3-12ubuntu3_arm64.deb ... 301s Unpacking libgd3:arm64 (2.3.3-12ubuntu3) ... 301s Selecting previously unselected package libgts-0.7-5t64:arm64. 301s Preparing to unpack .../079-libgts-0.7-5t64_0.7.6+darcs121130-5.2build1_arm64.deb ... 301s Unpacking libgts-0.7-5t64:arm64 (0.7.6+darcs121130-5.2build1) ... 301s Selecting previously unselected package libpixman-1-0:arm64. 301s Preparing to unpack .../080-libpixman-1-0_0.44.0-3_arm64.deb ... 301s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 301s Selecting previously unselected package libxcb-render0:arm64. 301s Preparing to unpack .../081-libxcb-render0_1.17.0-2_arm64.deb ... 301s Unpacking libxcb-render0:arm64 (1.17.0-2) ... 301s Selecting previously unselected package libxcb-shm0:arm64. 302s Preparing to unpack .../082-libxcb-shm0_1.17.0-2_arm64.deb ... 302s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 302s Selecting previously unselected package libxrender1:arm64. 302s Preparing to unpack .../083-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 302s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 302s Selecting previously unselected package libcairo2:arm64. 302s Preparing to unpack .../084-libcairo2_1.18.2-2_arm64.deb ... 302s Unpacking libcairo2:arm64 (1.18.2-2) ... 302s Selecting previously unselected package libltdl7:arm64. 302s Preparing to unpack .../085-libltdl7_2.4.7-8_arm64.deb ... 302s Unpacking libltdl7:arm64 (2.4.7-8) ... 302s Selecting previously unselected package libthai-data. 302s Preparing to unpack .../086-libthai-data_0.1.29-2build1_all.deb ... 302s Unpacking libthai-data (0.1.29-2build1) ... 302s Selecting previously unselected package libdatrie1:arm64. 302s Preparing to unpack .../087-libdatrie1_0.2.13-3build1_arm64.deb ... 302s Unpacking libdatrie1:arm64 (0.2.13-3build1) ... 302s Selecting previously unselected package libthai0:arm64. 302s Preparing to unpack .../088-libthai0_0.1.29-2build1_arm64.deb ... 302s Unpacking libthai0:arm64 (0.1.29-2build1) ... 302s Selecting previously unselected package libpango-1.0-0:arm64. 302s Preparing to unpack .../089-libpango-1.0-0_1.54.0+ds-3_arm64.deb ... 302s Unpacking libpango-1.0-0:arm64 (1.54.0+ds-3) ... 302s Selecting previously unselected package libpangoft2-1.0-0:arm64. 302s Preparing to unpack .../090-libpangoft2-1.0-0_1.54.0+ds-3_arm64.deb ... 302s Unpacking libpangoft2-1.0-0:arm64 (1.54.0+ds-3) ... 302s Selecting previously unselected package libpangocairo-1.0-0:arm64. 303s Preparing to unpack .../091-libpangocairo-1.0-0_1.54.0+ds-3_arm64.deb ... 303s Unpacking libpangocairo-1.0-0:arm64 (1.54.0+ds-3) ... 303s Selecting previously unselected package libpathplan4:arm64. 303s Preparing to unpack .../092-libpathplan4_2.42.4-2build3_arm64.deb ... 303s Unpacking libpathplan4:arm64 (2.42.4-2build3) ... 303s Selecting previously unselected package libgvc6. 303s Preparing to unpack .../093-libgvc6_2.42.4-2build3_arm64.deb ... 303s Unpacking libgvc6 (2.42.4-2build3) ... 303s Selecting previously unselected package libgvpr2:arm64. 303s Preparing to unpack .../094-libgvpr2_2.42.4-2build3_arm64.deb ... 303s Unpacking libgvpr2:arm64 (2.42.4-2build3) ... 303s Selecting previously unselected package liblab-gamut1:arm64. 303s Preparing to unpack .../095-liblab-gamut1_2.42.4-2build3_arm64.deb ... 303s Unpacking liblab-gamut1:arm64 (2.42.4-2build3) ... 303s Selecting previously unselected package x11-common. 303s Preparing to unpack .../096-x11-common_1%3a7.7+23ubuntu3_all.deb ... 303s Unpacking x11-common (1:7.7+23ubuntu3) ... 303s Selecting previously unselected package libice6:arm64. 303s Preparing to unpack .../097-libice6_2%3a1.1.1-1_arm64.deb ... 303s Unpacking libice6:arm64 (2:1.1.1-1) ... 303s Selecting previously unselected package libsm6:arm64. 303s Preparing to unpack .../098-libsm6_2%3a1.2.4-1_arm64.deb ... 303s Unpacking libsm6:arm64 (2:1.2.4-1) ... 303s Selecting previously unselected package libxt6t64:arm64. 303s Preparing to unpack .../099-libxt6t64_1%3a1.2.1-1.2build1_arm64.deb ... 303s Unpacking libxt6t64:arm64 (1:1.2.1-1.2build1) ... 303s Selecting previously unselected package libxmu6:arm64. 303s Preparing to unpack .../100-libxmu6_2%3a1.1.3-3build2_arm64.deb ... 303s Unpacking libxmu6:arm64 (2:1.1.3-3build2) ... 304s Selecting previously unselected package libxaw7:arm64. 304s Preparing to unpack .../101-libxaw7_2%3a1.0.16-1_arm64.deb ... 304s Unpacking libxaw7:arm64 (2:1.0.16-1) ... 304s Selecting previously unselected package graphviz. 304s Preparing to unpack .../102-graphviz_2.42.4-2build3_arm64.deb ... 304s Unpacking graphviz (2.42.4-2build3) ... 304s Selecting previously unselected package libblas3:arm64. 304s Preparing to unpack .../103-libblas3_3.12.0-3build2_arm64.deb ... 304s Unpacking libblas3:arm64 (3.12.0-3build2) ... 304s Selecting previously unselected package libgfortran5:arm64. 304s Preparing to unpack .../104-libgfortran5_14.2.0-8ubuntu1_arm64.deb ... 304s Unpacking libgfortran5:arm64 (14.2.0-8ubuntu1) ... 304s Selecting previously unselected package liblapack3:arm64. 304s Preparing to unpack .../105-liblapack3_3.12.0-3build2_arm64.deb ... 304s Unpacking liblapack3:arm64 (3.12.0-3build2) ... 304s Selecting previously unselected package libbasix0.9:arm64. 304s Preparing to unpack .../106-libbasix0.9_0.9.0-2build1_arm64.deb ... 304s Unpacking libbasix0.9:arm64 (0.9.0-2build1) ... 304s Selecting previously unselected package libpkgconf3:arm64. 304s Preparing to unpack .../107-libpkgconf3_1.8.1-4_arm64.deb ... 304s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 304s Selecting previously unselected package pkgconf-bin. 304s Preparing to unpack .../108-pkgconf-bin_1.8.1-4_arm64.deb ... 304s Unpacking pkgconf-bin (1.8.1-4) ... 304s Selecting previously unselected package pkgconf:arm64. 304s Preparing to unpack .../109-pkgconf_1.8.1-4_arm64.deb ... 304s Unpacking pkgconf:arm64 (1.8.1-4) ... 304s Selecting previously unselected package pkg-config:arm64. 304s Preparing to unpack .../110-pkg-config_1.8.1-4_arm64.deb ... 304s Unpacking pkg-config:arm64 (1.8.1-4) ... 304s Selecting previously unselected package libeigen3-dev. 305s Preparing to unpack .../111-libeigen3-dev_3.4.0-4build1_all.deb ... 305s Unpacking libeigen3-dev (3.4.0-4build1) ... 305s Selecting previously unselected package libbasix-dev:arm64. 305s Preparing to unpack .../112-libbasix-dev_0.9.0-2build1_arm64.deb ... 305s Unpacking libbasix-dev:arm64 (0.9.0-2build1) ... 305s Selecting previously unselected package libboost1.83-dev:arm64. 305s Preparing to unpack .../113-libboost1.83-dev_1.83.0-3.2ubuntu2_arm64.deb ... 305s Unpacking libboost1.83-dev:arm64 (1.83.0-3.2ubuntu2) ... 307s Selecting previously unselected package libboost-math1.83.0:arm64. 307s Preparing to unpack .../114-libboost-math1.83.0_1.83.0-3.2ubuntu2_arm64.deb ... 307s Unpacking libboost-math1.83.0:arm64 (1.83.0-3.2ubuntu2) ... 307s Selecting previously unselected package libboost-math1.83-dev:arm64. 307s Preparing to unpack .../115-libboost-math1.83-dev_1.83.0-3.2ubuntu2_arm64.deb ... 307s Unpacking libboost-math1.83-dev:arm64 (1.83.0-3.2ubuntu2) ... 307s Selecting previously unselected package libboost-math-dev:arm64. 307s Preparing to unpack .../116-libboost-math-dev_1.83.0.2ubuntu1_arm64.deb ... 307s Unpacking libboost-math-dev:arm64 (1.83.0.2ubuntu1) ... 307s Selecting previously unselected package libexpat1-dev:arm64. 307s Preparing to unpack .../117-libexpat1-dev_2.6.4-1_arm64.deb ... 307s Unpacking libexpat1-dev:arm64 (2.6.4-1) ... 307s Selecting previously unselected package libjs-jquery. 307s Preparing to unpack .../118-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 307s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 307s Selecting previously unselected package libjs-underscore. 307s Preparing to unpack .../119-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 307s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 307s Selecting previously unselected package libjs-sphinxdoc. 307s Preparing to unpack .../120-libjs-sphinxdoc_7.4.7-4_all.deb ... 307s Unpacking libjs-sphinxdoc (7.4.7-4) ... 307s Selecting previously unselected package libjson-perl. 307s Preparing to unpack .../121-libjson-perl_4.10000-1_all.deb ... 307s Unpacking libjson-perl (4.10000-1) ... 307s Selecting previously unselected package zlib1g-dev:arm64. 307s Preparing to unpack .../122-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 307s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 307s Selecting previously unselected package libpython3.12-dev:arm64. 308s Preparing to unpack .../123-libpython3.12-dev_3.12.7-3_arm64.deb ... 308s Unpacking libpython3.12-dev:arm64 (3.12.7-3) ... 309s Selecting previously unselected package libpython3-dev:arm64. 309s Preparing to unpack .../124-libpython3-dev_3.12.6-0ubuntu1_arm64.deb ... 309s Unpacking libpython3-dev:arm64 (3.12.6-0ubuntu1) ... 309s Selecting previously unselected package libpython3-all-dev:arm64. 309s Preparing to unpack .../125-libpython3-all-dev_3.12.6-0ubuntu1_arm64.deb ... 309s Unpacking libpython3-all-dev:arm64 (3.12.6-0ubuntu1) ... 309s Selecting previously unselected package python3-packaging. 309s Preparing to unpack .../126-python3-packaging_24.2-1_all.deb ... 309s Unpacking python3-packaging (24.2-1) ... 309s Selecting previously unselected package python3-pyproject-hooks. 309s Preparing to unpack .../127-python3-pyproject-hooks_1.2.0-1_all.deb ... 309s Unpacking python3-pyproject-hooks (1.2.0-1) ... 309s Selecting previously unselected package python3-toml. 309s Preparing to unpack .../128-python3-toml_0.10.2-1_all.deb ... 309s Unpacking python3-toml (0.10.2-1) ... 309s Selecting previously unselected package python3-wheel. 309s Preparing to unpack .../129-python3-wheel_0.45.0-1_all.deb ... 309s Unpacking python3-wheel (0.45.0-1) ... 309s Selecting previously unselected package python3-build. 309s Preparing to unpack .../130-python3-build_1.2.2-1_all.deb ... 309s Unpacking python3-build (1.2.2-1) ... 309s Selecting previously unselected package python3-installer. 309s Preparing to unpack .../131-python3-installer_0.7.0+dfsg1-3_all.deb ... 309s Unpacking python3-installer (0.7.0+dfsg1-3) ... 309s Selecting previously unselected package pybuild-plugin-pyproject. 309s Preparing to unpack .../132-pybuild-plugin-pyproject_6.20241024_all.deb ... 309s Unpacking pybuild-plugin-pyproject (6.20241024) ... 309s Selecting previously unselected package python3-all. 309s Preparing to unpack .../133-python3-all_3.12.6-0ubuntu1_arm64.deb ... 309s Unpacking python3-all (3.12.6-0ubuntu1) ... 309s Selecting previously unselected package python3.12-dev. 309s Preparing to unpack .../134-python3.12-dev_3.12.7-3_arm64.deb ... 309s Unpacking python3.12-dev (3.12.7-3) ... 309s Selecting previously unselected package python3-dev. 309s Preparing to unpack .../135-python3-dev_3.12.6-0ubuntu1_arm64.deb ... 309s Unpacking python3-dev (3.12.6-0ubuntu1) ... 309s Selecting previously unselected package python3-all-dev. 309s Preparing to unpack .../136-python3-all-dev_3.12.6-0ubuntu1_arm64.deb ... 309s Unpacking python3-all-dev (3.12.6-0ubuntu1) ... 309s Selecting previously unselected package python3-numpy. 309s Preparing to unpack .../137-python3-numpy_1%3a1.26.4+ds-11ubuntu1_arm64.deb ... 309s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 309s Selecting previously unselected package python3-ufl. 309s Preparing to unpack .../138-python3-ufl_2024.2.0-2_all.deb ... 309s Unpacking python3-ufl (2024.2.0-2) ... 309s Selecting previously unselected package python3-basix. 309s Preparing to unpack .../139-python3-basix_0.9.0-2build1_arm64.deb ... 309s Unpacking python3-basix (0.9.0-2build1) ... 309s Selecting previously unselected package python3-ply. 309s Preparing to unpack .../140-python3-ply_3.11-7_all.deb ... 309s Unpacking python3-ply (3.11-7) ... 309s Selecting previously unselected package python3-pycparser. 310s Preparing to unpack .../141-python3-pycparser_2.22-2_all.deb ... 310s Unpacking python3-pycparser (2.22-2) ... 310s Selecting previously unselected package python3-cffi. 310s Preparing to unpack .../142-python3-cffi_1.17.1-2build1_all.deb ... 310s Unpacking python3-cffi (1.17.1-2build1) ... 310s Selecting previously unselected package python3-defusedxml. 310s Preparing to unpack .../143-python3-defusedxml_0.7.1-2_all.deb ... 310s Unpacking python3-defusedxml (0.7.1-2) ... 310s Selecting previously unselected package python3-roman. 310s Preparing to unpack .../144-python3-roman_4.2-1_all.deb ... 310s Unpacking python3-roman (4.2-1) ... 310s Selecting previously unselected package python3-docutils. 310s Preparing to unpack .../145-python3-docutils_0.21.2+dfsg-2_all.deb ... 310s Unpacking python3-docutils (0.21.2+dfsg-2) ... 310s Selecting previously unselected package python3-ffcx. 310s Preparing to unpack .../146-python3-ffcx_1%3a0.8.0-1_all.deb ... 310s Unpacking python3-ffcx (1:0.8.0-1) ... 310s Selecting previously unselected package python3-imagesize. 310s Preparing to unpack .../147-python3-imagesize_1.4.1-1_all.deb ... 310s Unpacking python3-imagesize (1.4.1-1) ... 310s Selecting previously unselected package python3-iniconfig. 310s Preparing to unpack .../148-python3-iniconfig_1.1.1-2_all.deb ... 310s Unpacking python3-iniconfig (1.1.1-2) ... 310s Selecting previously unselected package python3-mpmath. 310s Preparing to unpack .../149-python3-mpmath_1.3.0-1_all.deb ... 310s Unpacking python3-mpmath (1.3.0-1) ... 310s Selecting previously unselected package python3-pip. 310s Preparing to unpack .../150-python3-pip_24.3.1+dfsg-1_all.deb ... 310s Unpacking python3-pip (24.3.1+dfsg-1) ... 311s Selecting previously unselected package python3-pluggy. 311s Preparing to unpack .../151-python3-pluggy_1.5.0-1_all.deb ... 311s Unpacking python3-pluggy (1.5.0-1) ... 311s Selecting previously unselected package python3-pygraphviz. 311s Preparing to unpack .../152-python3-pygraphviz_1.14-1build1_arm64.deb ... 311s Unpacking python3-pygraphviz (1.14-1build1) ... 311s Selecting previously unselected package python3-pytest. 311s Preparing to unpack .../153-python3-pytest_8.3.3-1_all.deb ... 311s Unpacking python3-pytest (8.3.3-1) ... 311s Selecting previously unselected package python3-snowballstemmer. 311s Preparing to unpack .../154-python3-snowballstemmer_2.2.0-4build1_all.deb ... 311s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 311s Selecting previously unselected package sphinx-common. 311s Preparing to unpack .../155-sphinx-common_7.4.7-4_all.deb ... 311s Unpacking sphinx-common (7.4.7-4) ... 311s Selecting previously unselected package python3-alabaster. 311s Preparing to unpack .../156-python3-alabaster_0.7.16-0.1_all.deb ... 311s Unpacking python3-alabaster (0.7.16-0.1) ... 311s Selecting previously unselected package python3-sphinx. 312s Preparing to unpack .../157-python3-sphinx_7.4.7-4_all.deb ... 312s Unpacking python3-sphinx (7.4.7-4) ... 312s Selecting previously unselected package sphinx-rtd-theme-common. 312s Preparing to unpack .../158-sphinx-rtd-theme-common_3.0.2+dfsg-1_all.deb ... 312s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 312s Selecting previously unselected package python3-sphinxcontrib.jquery. 312s Preparing to unpack .../159-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 312s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 312s Selecting previously unselected package python3-sphinx-rtd-theme. 312s Preparing to unpack .../160-python3-sphinx-rtd-theme_3.0.2+dfsg-1_all.deb ... 312s Unpacking python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 312s Selecting previously unselected package python3-sympy. 312s Preparing to unpack .../161-python3-sympy_1.13.3-1_all.deb ... 312s Unpacking python3-sympy (1.13.3-1) ... 313s Selecting previously unselected package autopkgtest-satdep. 313s Preparing to unpack .../162-1-autopkgtest-satdep.deb ... 313s Unpacking autopkgtest-satdep (0) ... 313s Setting up dh-python (6.20241024) ... 313s Setting up libgraphite2-3:arm64 (1.3.14-2ubuntu1) ... 313s Setting up python3-iniconfig (1.1.1-2) ... 313s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 313s Setting up libsharpyuv0:arm64 (1.4.0-0.1) ... 313s Setting up libaom3:arm64 (3.11.0-1) ... 313s Setting up fonts-lato (2.015-1) ... 313s Setting up liblerc4:arm64 (4.0.0+ds-5ubuntu1) ... 313s Setting up libxpm4:arm64 (1:3.5.17-1build2) ... 313s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 313s Setting up libdatrie1:arm64 (0.2.13-3build1) ... 313s Setting up libxcb-render0:arm64 (1.17.0-2) ... 313s Setting up python3-defusedxml (0.7.1-2) ... 313s Setting up libarchive-zip-perl (1.68-1) ... 313s Setting up python3-alabaster (0.7.16-0.1) ... 313s Setting up libdebhelper-perl (13.20ubuntu1) ... 313s Setting up python3-ply (3.11-7) ... 314s Setting up liblab-gamut1:arm64 (2.42.4-2build3) ... 314s Setting up x11-common (1:7.7+23ubuntu3) ... 314s Setting up libdeflate0:arm64 (1.22-1) ... 314s Setting up m4 (1.4.19-4build1) ... 314s Setting up python3-all (3.12.6-0ubuntu1) ... 314s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 314s Setting up libgomp1:arm64 (14.2.0-8ubuntu1) ... 314s Setting up python3-wheel (0.45.0-1) ... 314s Setting up libjbig0:arm64 (2.1-6.1ubuntu2) ... 314s Setting up python3-pycparser (2.22-2) ... 315s Setting up python3-roman (4.2-1) ... 315s Setting up autotools-dev (20220109.1) ... 315s Setting up libblas3:arm64 (3.12.0-3build2) ... 315s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 315s Setting up python3-packaging (24.2-1) ... 315s Setting up libpkgconf3:arm64 (1.8.1-4) ... 315s Setting up libexpat1-dev:arm64 (2.6.4-1) ... 315s Setting up python3-pyproject-hooks (1.2.0-1) ... 315s Setting up python3-snowballstemmer (2.2.0-4build1) ... 315s Setting up libpathplan4:arm64 (2.42.4-2build3) ... 315s Setting up libann0 (1.1.2+doc-9build1) ... 315s Setting up libimagequant0:arm64 (2.18.0-1build1) ... 315s Setting up fonts-dejavu-mono (2.37-8) ... 315s Setting up libmpc3:arm64 (1.3.1-1build2) ... 316s Setting up autopoint (0.22.5-2) ... 316s Setting up libjsoncpp25:arm64 (1.9.5-6build1) ... 316s Setting up fonts-dejavu-core (2.37-8) ... 316s Setting up pkgconf-bin (1.8.1-4) ... 316s Setting up python3-pip (24.3.1+dfsg-1) ... 317s Setting up libjpeg-turbo8:arm64 (2.1.5-3ubuntu2) ... 317s Setting up libltdl7:arm64 (2.4.7-8) ... 317s Setting up python3-toml (0.10.2-1) ... 317s Setting up python3-installer (0.7.0+dfsg1-3) ... 317s Setting up libgfortran5:arm64 (14.2.0-8ubuntu1) ... 317s Setting up autoconf (2.72-3) ... 317s Setting up python3-pluggy (1.5.0-1) ... 317s Setting up libwebp7:arm64 (1.4.0-0.1) ... 317s Setting up libubsan1:arm64 (14.2.0-8ubuntu1) ... 317s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 317s Setting up dwz (0.15-1build6) ... 317s Setting up libhwasan0:arm64 (14.2.0-8ubuntu1) ... 317s Setting up librhash0:arm64 (1.4.3-3build1) ... 317s Setting up libasan8:arm64 (14.2.0-8ubuntu1) ... 317s Setting up libjson-perl (4.10000-1) ... 317s Setting up debugedit (1:5.1-1) ... 317s Setting up libharfbuzz0b:arm64 (10.0.1-1) ... 317s Setting up libthai-data (0.1.29-2build1) ... 317s Setting up libgts-0.7-5t64:arm64 (0.7.6+darcs121130-5.2build1) ... 317s Setting up sgml-base (1.31) ... 317s Setting up cmake-data (3.30.3-1) ... 317s Setting up libcdt5:arm64 (2.42.4-2build3) ... 317s Setting up libcgraph6:arm64 (2.42.4-2build3) ... 317s Setting up libboost-math1.83.0:arm64 (1.83.0-3.2ubuntu2) ... 317s Setting up libtsan2:arm64 (14.2.0-8ubuntu1) ... 317s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 317s Setting up python3-mpmath (1.3.0-1) ... 318s Setting up libisl23:arm64 (0.27-1) ... 318s Setting up python3-build (1.2.2-1) ... 318s Setting up libde265-0:arm64 (1.0.15-1build4) ... 318s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 318s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 318s Setting up libcc1-0:arm64 (14.2.0-8ubuntu1) ... 318s Setting up liblsan0:arm64 (14.2.0-8ubuntu1) ... 318s Setting up libitm1:arm64 (14.2.0-8ubuntu1) ... 318s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 318s Setting up python3-imagesize (1.4.1-1) ... 318s Setting up libjpeg8:arm64 (8c-2ubuntu11) ... 318s Setting up automake (1:1.16.5-1.3ubuntu1) ... 318s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 318s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 318s Setting up python3-sympy (1.13.3-1) ... 326s Setting up libice6:arm64 (2:1.1.1-1) ... 326s Setting up liblapack3:arm64 (3.12.0-3build2) ... 326s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 326s Setting up gettext (0.22.5-2) ... 326s Setting up pybuild-plugin-pyproject (6.20241024) ... 326s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 326s Setting up python3-pytest (8.3.3-1) ... 327s Setting up python3-cffi (1.17.1-2build1) ... 327s Setting up libpython3.12-dev:arm64 (3.12.7-3) ... 327s Setting up pkgconf:arm64 (1.8.1-4) ... 327s Setting up intltool-debian (0.35.0+20060710.6) ... 327s Setting up libthai0:arm64 (0.1.29-2build1) ... 327s Setting up libraqm0:arm64 (0.10.1-1build1) ... 327s Setting up libeigen3-dev (3.4.0-4build1) ... 327s Setting up python3.12-dev (3.12.7-3) ... 327s Setting up pkg-config:arm64 (1.8.1-4) ... 327s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 329s Setting up libjs-sphinxdoc (7.4.7-4) ... 329s Setting up dh-strip-nondeterminism (1.14.0-1) ... 329s Setting up libgvpr2:arm64 (2.42.4-2build3) ... 329s Setting up libbasix0.9:arm64 (0.9.0-2build1) ... 329s Setting up cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 329s Setting up libtiff6:arm64 (4.5.1+git230720-4ubuntu4) ... 329s Setting up xml-core (0.19) ... 329s Setting up cmake (3.30.3-1) ... 329s Setting up libfontconfig1:arm64 (2.15.0-1.1ubuntu2) ... 329s Setting up libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 329s Setting up libbasix-dev:arm64 (0.9.0-2build1) ... 329s Setting up libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 329s Setting up libsm6:arm64 (2:1.2.4-1) ... 329s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 332s Regenerating fonts cache... done. 332s Setting up libboost1.83-dev:arm64 (1.83.0-3.2ubuntu2) ... 332s Setting up libpython3-dev:arm64 (3.12.6-0ubuntu1) ... 332s Setting up python3-ufl (2024.2.0-2) ... 332s Setting up libboost-math1.83-dev:arm64 (1.83.0-3.2ubuntu2) ... 332s Setting up libboost-math-dev:arm64 (1.83.0.2ubuntu1) ... 332s Setting up po-debconf (1.0.21+nmu1) ... 332s Setting up libpango-1.0-0:arm64 (1.54.0+ds-3) ... 332s Setting up libcairo2:arm64 (1.18.2-2) ... 332s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 332s Setting up libpython3-all-dev:arm64 (3.12.6-0ubuntu1) ... 332s Setting up sphinx-common (7.4.7-4) ... 332s Setting up python3-dev (3.12.6-0ubuntu1) ... 332s Setting up libxt6t64:arm64 (1:1.2.1-1.2build1) ... 332s Setting up cpp-14 (14.2.0-8ubuntu1) ... 332s Setting up cpp (4:14.1.0-2ubuntu1) ... 332s Setting up gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 332s Setting up libpangoft2-1.0-0:arm64 (1.54.0+ds-3) ... 332s Setting up libpangocairo-1.0-0:arm64 (1.54.0+ds-3) ... 332s Setting up python3-basix (0.9.0-2build1) ... 332s Setting up python3-all-dev (3.12.6-0ubuntu1) ... 332s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 332s Setting up libxmu6:arm64 (2:1.1.3-3build2) ... 332s Setting up g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 332s Setting up libxaw7:arm64 (2:1.0.16-1) ... 332s Setting up gcc-14 (14.2.0-8ubuntu1) ... 332s Setting up python3-ffcx (1:0.8.0-1) ... 332s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 332s Setting up g++-14 (14.2.0-8ubuntu1) ... 332s Setting up libtool (2.4.7-8) ... 332s Setting up gcc (4:14.1.0-2ubuntu1) ... 332s Setting up dh-autoreconf (20) ... 332s Setting up g++ (4:14.1.0-2ubuntu1) ... 332s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 332s Setting up build-essential (12.10ubuntu1) ... 332s Setting up debhelper (13.20ubuntu1) ... 332s Setting up libheif-plugin-aomdec:arm64 (1.19.3-1) ... 332s Setting up libheif-plugin-libde265:arm64 (1.19.3-1) ... 332s Setting up libheif1:arm64 (1.19.3-1) ... 332s Setting up libgd3:arm64 (2.3.3-12ubuntu3) ... 332s Setting up libgvc6 (2.42.4-2build3) ... 332s Setting up graphviz (2.42.4-2build3) ... 332s Setting up python3-pygraphviz (1.14-1build1) ... 333s Processing triggers for install-info (7.1.1-1) ... 333s Processing triggers for libc-bin (2.40-1ubuntu3) ... 333s Processing triggers for man-db (2.13.0-1) ... 335s Processing triggers for sgml-base (1.31) ... 335s Setting up docutils-common (0.21.2+dfsg-2) ... 335s Processing triggers for sgml-base (1.31) ... 335s Setting up python3-docutils (0.21.2+dfsg-2) ... 336s Setting up python3-sphinx (7.4.7-4) ... 337s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 337s Setting up python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 337s Setting up autopkgtest-satdep (0) ... 345s (Reading database ... 110200 files and directories currently installed.) 345s Removing autopkgtest-satdep (0) ... 345s autopkgtest [20:38:16]: test command1: for pyver in `py3versions -sv`; do python$pyver -m pytest test; done 345s autopkgtest [20:38:16]: test command1: [----------------------- 347s ============================= test session starts ============================== 347s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 347s rootdir: /tmp/autopkgtest.0OhLMl/build.5Zu/src 347s configfile: pyproject.toml 347s plugins: typeguard-4.4.1 347s collected 87 items 347s 347s test/test_add_mode.py::test_additive_facet_integral[float32] FAILED [ 1%] 347s test/test_add_mode.py::test_additive_facet_integral[float64] FAILED [ 2%] 347s test/test_add_mode.py::test_additive_facet_integral[complex64] FAILED [ 3%] 347s test/test_add_mode.py::test_additive_facet_integral[complex128] FAILED [ 4%] 347s test/test_add_mode.py::test_additive_cell_integral[float32] FAILED [ 5%] 347s test/test_add_mode.py::test_additive_cell_integral[float64] FAILED [ 6%] 347s test/test_add_mode.py::test_additive_cell_integral[complex64] FAILED [ 8%] 348s test/test_add_mode.py::test_additive_cell_integral[complex128] FAILED [ 9%] 348s test/test_blocked_elements.py::test_finite_element FAILED [ 10%] 348s test/test_blocked_elements.py::test_vector_element FAILED [ 11%] 348s test/test_blocked_elements.py::test_tensor_element FAILED [ 12%] 348s test/test_blocked_elements.py::test_vector_quadrature_element FAILED [ 13%] 348s test/test_cache.py::test_cache_modes FAILED [ 14%] 350s test/test_cmdline.py::test_cmdline_simple PASSED [ 16%] 352s test/test_cmdline.py::test_visualise FAILED [ 17%] 353s test/test_jit_expression.py::test_matvec FAILED [ 18%] 353s test/test_jit_expression.py::test_rank1 FAILED [ 19%] 353s test/test_jit_expression.py::test_elimiate_zero_tables_tensor FAILED [ 20%] 353s test/test_jit_expression.py::test_grad_constant PASSED [ 21%] 353s test/test_jit_expression.py::test_facet_expression FAILED [ 22%] 354s test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] FAILED [ 24%] 354s test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] FAILED [ 25%] 354s test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] FAILED [ 26%] 354s test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] FAILED [ 27%] 354s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] FAILED [ 28%] 354s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] FAILED [ 29%] 354s test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] FAILED [ 31%] 354s test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] FAILED [ 32%] 354s test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] FAILED [ 33%] 354s test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] FAILED [ 34%] 355s test/test_jit_forms.py::test_form_coefficient FAILED [ 35%] 355s test/test_jit_forms.py::test_subdomains FAILED [ 36%] 355s test/test_jit_forms.py::test_interior_facet_integral[float64] FAILED [ 37%] 355s test/test_jit_forms.py::test_interior_facet_integral[complex128] FAILED [ 39%] 355s test/test_jit_forms.py::test_conditional[float64] FAILED [ 40%] 355s test/test_jit_forms.py::test_conditional[complex128] FAILED [ 41%] 355s test/test_jit_forms.py::test_custom_quadrature FAILED [ 42%] 355s test/test_jit_forms.py::test_curl_curl FAILED [ 43%] 356s test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] FAILED [ 44%] 356s test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] FAILED [ 45%] 356s test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] FAILED [ 47%] 356s test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] FAILED [ 48%] 356s test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] FAILED [ 49%] 357s test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] FAILED [ 50%] 360s test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] FAILED [ 51%] 362s test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] FAILED [ 52%] 365s test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] FAILED [ 54%] 365s test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] FAILED [ 55%] 365s test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] FAILED [ 56%] 366s test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] FAILED [ 57%] 366s test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] FAILED [ 58%] 367s test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] FAILED [ 59%] 367s test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] FAILED [ 60%] 388s test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] FAILED [ 62%] 400s test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] FAILED [ 63%] 415s test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] FAILED [ 64%] 415s test/test_jit_forms.py::test_prism FAILED [ 65%] 415s test/test_jit_forms.py::test_complex_operations FAILED [ 66%] 415s test/test_jit_forms.py::test_invalid_function_name FAILED [ 67%] 415s test/test_jit_forms.py::test_interval_vertex_quadrature FAILED [ 68%] 415s test/test_jit_forms.py::test_facet_vertex_quadrature FAILED [ 70%] 415s test/test_jit_forms.py::test_manifold_derivatives FAILED [ 71%] 415s test/test_jit_forms.py::test_integral_grouping FAILED [ 72%] 415s test/test_lnodes.py::test_gemm[float32] 415s -------------------------------- live log call --------------------------------- 415s INFO root:dist.py:970 running build_ext 415s INFO root:build_ext.py:530 building '_gemm_float' extension 415s INFO root:spawn.py:60 aarch64-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 416s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_float.o -L/usr/lib/aarch64-linux-gnu -o ./_gemm_float.cpython-312-aarch64-linux-gnu.so 416s PASSED [ 73%] 416s test/test_lnodes.py::test_gemm[float64] 416s -------------------------------- live log call --------------------------------- 416s INFO root:dist.py:970 running build_ext 416s INFO root:build_ext.py:530 building '_gemm_double' extension 416s INFO root:spawn.py:60 aarch64-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 416s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_double.o -L/usr/lib/aarch64-linux-gnu -o ./_gemm_double.cpython-312-aarch64-linux-gnu.so 416s PASSED [ 74%] 416s test/test_lnodes.py::test_gemm[intc] 416s -------------------------------- live log call --------------------------------- 416s INFO root:dist.py:970 running build_ext 416s INFO root:build_ext.py:530 building '_gemm_int' extension 416s INFO root:spawn.py:60 aarch64-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 416s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_int.o -L/usr/lib/aarch64-linux-gnu -o ./_gemm_int.cpython-312-aarch64-linux-gnu.so 416s PASSED [ 75%] 416s test/test_lnodes.py::test_gemv[float32] 416s -------------------------------- live log call --------------------------------- 416s INFO root:dist.py:970 running build_ext 416s INFO root:build_ext.py:530 building '_gemv_float' extension 416s INFO root:spawn.py:60 aarch64-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 416s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_float.o -L/usr/lib/aarch64-linux-gnu -o ./_gemv_float.cpython-312-aarch64-linux-gnu.so 416s PASSED [ 77%] 416s test/test_lnodes.py::test_gemv[float64] 416s -------------------------------- live log call --------------------------------- 416s INFO root:dist.py:970 running build_ext 416s INFO root:build_ext.py:530 building '_gemv_double' extension 416s INFO root:spawn.py:60 aarch64-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 417s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_double.o -L/usr/lib/aarch64-linux-gnu -o ./_gemv_double.cpython-312-aarch64-linux-gnu.so 417s PASSED [ 78%] 417s test/test_lnodes.py::test_gemv[intc] 417s -------------------------------- live log call --------------------------------- 417s INFO root:dist.py:970 running build_ext 417s INFO root:build_ext.py:530 building '_gemv_int' extension 417s INFO root:spawn.py:60 aarch64-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 417s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_int.o -L/usr/lib/aarch64-linux-gnu -o ./_gemv_int.cpython-312-aarch64-linux-gnu.so 417s PASSED [ 79%] 417s test/test_signatures.py::test_numba_kernel_signature[float32] SKIPPED [ 80%] 417s test/test_signatures.py::test_numba_kernel_signature[float64] SKIPPED [ 81%] 417s test/test_signatures.py::test_numba_kernel_signature[complex64] SKIPPED [ 82%] 417s test/test_signatures.py::test_numba_kernel_signature[complex128] SKIPPED [ 83%] 417s test/test_submesh.py::test_multiple_mesh_codim0[float64] FAILED [ 85%] 417s test/test_submesh.py::test_multiple_mesh_codim0[complex128] FAILED [ 86%] 417s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] FAILED [ 87%] 417s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] FAILED [ 88%] 417s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] FAILED [ 89%] 417s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] FAILED [ 90%] 417s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] FAILED [ 91%] 418s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] FAILED [ 93%] 418s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] FAILED [ 94%] 418s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] FAILED [ 95%] 418s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] FAILED [ 96%] 418s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] FAILED [ 97%] 418s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] FAILED [ 98%] 418s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] FAILED [100%] 418s 418s =================================== FAILURES =================================== 418s ____________________ test_additive_facet_integral[float32] _____________________ 418s 418s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float32", 418s "float64", 418s "complex64", 418s "complex128", 418s ], 418s ) 418s def test_additive_facet_integral(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(u, v) * ufl.ds 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_add_mode.py:32: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_04005e23d7710c98d5b0c5af3f82ed6db6dbd...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_583f22c603f3faf889cc487bf34257f8d68948b5'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s ____________________ test_additive_facet_integral[float64] _____________________ 418s 418s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float32", 418s "float64", 418s "complex64", 418s "complex128", 418s ], 418s ) 418s def test_additive_facet_integral(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(u, v) * ufl.ds 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_add_mode.py:32: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e1ce216a409571c08fd55ca6ca328dc97de76...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f0fd0b3691a075c0397bbc583f4c0c067ec0cef6'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s ___________________ test_additive_facet_integral[complex64] ____________________ 418s 418s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float32", 418s "float64", 418s "complex64", 418s "complex128", 418s ], 418s ) 418s def test_additive_facet_integral(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(u, v) * ufl.ds 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_add_mode.py:32: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_72b21bb5bffad8ca9e00f3a60082da681d5e6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_84aff3e9040a035b27c17cd5848fa5ca9a9dd4e7'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s ___________________ test_additive_facet_integral[complex128] ___________________ 418s 418s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float32", 418s "float64", 418s "complex64", 418s "complex128", 418s ], 418s ) 418s def test_additive_facet_integral(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(u, v) * ufl.ds 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_add_mode.py:32: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_97ce5b43860734ae69be715b400a08cf6d462...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_d98ce644736dd7003d5b168fbd4471afe53c2fa4'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s _____________________ test_additive_cell_integral[float32] _____________________ 418s 418s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float32", 418s "float64", 418s "complex64", 418s "complex128", 418s ], 418s ) 418s def test_additive_cell_integral(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_add_mode.py:93: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_c3c3246b9c0f73c47d78cfceaa1b9367fa684...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_89f18049b74eb1dc9cc36920aee0606dce845f87'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s _____________________ test_additive_cell_integral[float64] _____________________ 418s 418s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float32", 418s "float64", 418s "complex64", 418s "complex128", 418s ], 418s ) 418s def test_additive_cell_integral(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_add_mode.py:93: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b1e2ee4f821e5a6bf5efb434b3c23fb4de5a6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_79b45e86ad17cc848a1778ad3d0a649cec61c3ba'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s ____________________ test_additive_cell_integral[complex64] ____________________ 418s 418s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float32", 418s "float64", 418s "complex64", 418s "complex128", 418s ], 418s ) 418s def test_additive_cell_integral(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_add_mode.py:93: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b44dbacaf9ca791f408e1d6ce3953f2815d7b...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f613a0b3139548c5139d73119ef6dc49e79563ad'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s ___________________ test_additive_cell_integral[complex128] ____________________ 418s 418s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float32", 418s "float64", 418s "complex64", 418s "complex128", 418s ], 418s ) 418s def test_additive_cell_integral(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_add_mode.py:93: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cb23033a67ed08558f22e1fcb34ac4cb448fb...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_a10d3a0296ff5ae6620f23d95bab9ad72b98e6a5'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s _____________________________ test_finite_element ______________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_finite_element(compile_args): 418s ufl_element = basix.ufl.element("Lagrange", "triangle", 1) 418s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 418s [ufl_element], cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_blocked_elements.py:16: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:205: in compile_elements 418s raise e 418s ffcx/codegeneration/jit.py:185: in compile_elements 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_36279f90ad6ccfdc139835972f81ae080152e071'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s _____________________________ test_vector_element ______________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_vector_element(compile_args): 418s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 418s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 418s [ufl_element], cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_blocked_elements.py:42: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:205: in compile_elements 418s raise e 418s ffcx/codegeneration/jit.py:185: in compile_elements 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cd2edc8c82263850d2ea0059a34fe0e1d7132...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2de18afb8a8e29a05779c3083c18a24f62d66e1d'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s _____________________________ test_tensor_element ______________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_tensor_element(compile_args): 418s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2, 2)) 418s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 418s [ufl_element], cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_blocked_elements.py:69: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:205: in compile_elements 418s raise e 418s ffcx/codegeneration/jit.py:185: in compile_elements 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e17d7fa244fc069a4dc7db2c79ecd0a4e519b...t (P, triangle, 1, gll_warped, unset, False, float64, []), (2, 2)): 'element_d3bd1d121fa75c3fe7c1eafeb95245aed7943c99'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s ________________________ test_vector_quadrature_element ________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_vector_quadrature_element(compile_args): 418s ufl_element = basix.ufl.blocked_element( 418s basix.ufl.quadrature_element("tetrahedron", degree=2, scheme="default"), shape=(3,) 418s ) 418s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 418s [ufl_element], cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_blocked_elements.py:99: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:205: in compile_elements 418s raise e 418s ffcx/codegeneration/jit.py:185: in compile_elements 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s 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()) 418s 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} 418s 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_218571c7839474b19088db99d61294f6253c8189'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_QuadratureElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s _______________________________ test_cache_modes _______________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_cache_modes(compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s forms = [a] 418s 418s # Load form from /tmp 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, cffi_extra_compile_args=compile_args 418s ) 418s 418s test/test_cache.py:24: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b1e2ee4f821e5a6bf5efb434b3c23fb4de5a6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_79b45e86ad17cc848a1778ad3d0a649cec61c3ba'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s ffcx/ir/representation.py:293: AttributeError 418s ________________________________ test_visualise ________________________________ 418s 418s def test_visualise(): 418s os.chdir(os.path.dirname(__file__)) 418s subprocess.run(["ffcx", "--visualise", "Poisson.py"]) 418s > assert os.path.isfile("S.pdf") 418s E AssertionError: assert False 418s E + where False = ('S.pdf') 418s E + where = .isfile 418s E + where = os.path 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_cmdline.py:20: AssertionError 418s ----------------------------- Captured stderr call ----------------------------- 418s Traceback (most recent call last): 418s File "/usr/bin/ffcx", line 8, in 418s sys.exit(__main__.main()) 418s ^^^^^^^^^^^^^^^ 418s File "/usr/lib/python3/dist-packages/ffcx/main.py", line 75, in main 418s code_h, code_c = compiler.compile_ufl_objects( 418s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 418s File "/usr/lib/python3/dist-packages/ffcx/compiler.py", line 113, in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 418s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 215, in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 293, in _compute_element_ir 418s ir["element_type"] = element.ufcx_element_type 418s ^^^^^^^^^^^^^^^^^^^^^^^^^ 418s AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s _________________________________ test_matvec __________________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_matvec(compile_args): 418s """Test evaluation of linear rank-0 form. 418s 418s Evaluates expression c * A_ij * f_j where c is a Constant, 418s A_ij is a user specified constant matrix and f_j is j-th component 418s of user specified vector-valued finite element function (in P1 space). 418s 418s """ 418s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 418s mesh = ufl.Mesh(e) 418s V = ufl.FunctionSpace(mesh, e) 418s f = ufl.Coefficient(V) 418s 418s a_mat = np.array([[1.0, 2.0], [1.0, 1.0]]) 418s a = ufl.as_matrix(a_mat) 418s expr = ufl.Constant(mesh) * ufl.dot(a, f) 418s 418s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 418s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 418s [(expr, points)], cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_expression.py:35: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:358: in compile_expressions 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:338: in compile_expressions 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_90aa55ae36fbb6a87bd59e8483b825dc7de2a...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_370cad0a041817e50e1b9b5fefeb950bb4d91630'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s __________________________________ test_rank1 __________________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_rank1(compile_args): 418s """Tests evaluation of rank-1 form. 418s 418s Builds a linear operator which takes vector-valued functions in P1 space 418s and evaluates expression [u_y, u_x] + grad(u_x) at specified points. 418s 418s """ 418s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 418s mesh = ufl.Mesh(e) 418s 418s V = ufl.FunctionSpace(mesh, e) 418s u = ufl.TrialFunction(V) 418s 418s expr = ufl.as_vector([u[1], u[0]]) + ufl.grad(u[0]) 418s 418s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 418s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 418s [(expr, points)], cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_expression.py:101: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:358: in compile_expressions 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:338: in compile_expressions 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2459fdcf73568353ff52620d8c8a06604a565...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_541d6023e862e59e9255cdf1daab1deb0726ff83'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _______________________ test_elimiate_zero_tables_tensor _______________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_elimiate_zero_tables_tensor(compile_args): 418s """Test elimination of tensor-valued expressions with zero tables""" 418s cell = "tetrahedron" 418s c_el = basix.ufl.element("P", cell, 1, shape=(3,)) 418s mesh = ufl.Mesh(c_el) 418s 418s e = basix.ufl.element("P", cell, 1) 418s V = ufl.FunctionSpace(mesh, e) 418s u = ufl.Coefficient(V) 418s expr = ufl.sym(ufl.as_tensor([[u, u.dx(0).dx(0), 0], [u.dx(1), u.dx(1), 0], [0, 0, 0]])) 418s 418s # Get vertices of cell 418s # Coords storage XYZXYZXYZ 418s basix_c_e = basix.create_element( 418s > basix.ElementFamily.P, basix.cell.string_to_type(cell), 1, discontinuous=False 418s ) 418s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_expression.py:169: AttributeError 418s ____________________________ test_facet_expression _____________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_facet_expression(compile_args): 418s """Test facet expression containing a facet normal on a manifold.""" 418s c_el = basix.ufl.element("Lagrange", "triangle", 1, shape=(3,)) 418s mesh = ufl.Mesh(c_el) 418s 418s n = ufl.FacetNormal(mesh) 418s expr = n 418s 418s dtype = np.float64 418s points = np.array([[0.5]], dtype=dtype) 418s 418s > obj, _, _ = ffcx.codegeneration.jit.compile_expressions( 418s [(expr, points)], cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_expression.py:281: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:358: in compile_expressions 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:338: in compile_expressions 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:254: in compute_ir 418s _compute_expression_ir( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:857: in _compute_expression_ir 418s expression_ir = compute_integral_ir( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/integral.py:85: in compute_integral_ir 418s mt_table_reference = build_optimized_tables( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/elementtables.py:415: in build_optimized_tables 418s t = get_ffcx_table_values( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/elementtables.py:138: in get_ffcx_table_values 418s entity_points = map_integral_points(points, integral_type, cell, entity) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representationutils.py:119: in map_integral_points 418s return np.asarray(map_facet_points(points, entity, cell.cellname())) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s points = array([[0.5]]), facet = 0, cellname = 'triangle' 418s 418s def map_facet_points( 418s points: npt.NDArray[np.float64], facet: int, cellname: str 418s ) -> npt.NDArray[np.float64]: 418s """Map points from a reference facet to a physical facet.""" 418s > geom = basix.geometry(basix.cell.string_to_type(cellname)) 418s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/element_interface.py:44: AttributeError 418s ___________ test_laplace_bilinear_form_2d[float64-expected_result0] ____________ 418s 418s dtype = 'float64' 418s expected_result = array([[ 1. , -0.5, -0.5], 418s [-0.5, 0.5, 0. ], 418s [-0.5, 0. , 0.5]]) 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype,expected_result", 418s [ 418s ( 418s "float64", 418s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 418s ), 418s ( 418s "complex128", 418s np.array( 418s [ 418s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 418s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 418s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 418s ], 418s dtype=np.complex128, 418s ), 418s ), 418s ], 418s ) 418s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s kappa = ufl.Constant(domain, shape=(2, 2)) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s 418s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:47: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_46f900b7f821de8731a4c90115584396c0f7e...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_3b5681d77baeaa46206dcd01cc189e70499b9c74'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s __________ test_laplace_bilinear_form_2d[complex128-expected_result1] __________ 418s 418s dtype = 'complex128' 418s expected_result = array([[ 1. +0.j, -0.5+0.j, -0.5+0.j], 418s [-0.5+0.j, 0.5+0.j, 0. +0.j], 418s [-0.5+0.j, 0. +0.j, 0.5+0.j]]) 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype,expected_result", 418s [ 418s ( 418s "float64", 418s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 418s ), 418s ( 418s "complex128", 418s np.array( 418s [ 418s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 418s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 418s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 418s ], 418s dtype=np.complex128, 418s ), 418s ), 418s ], 418s ) 418s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s kappa = ufl.Constant(domain, shape=(2, 2)) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s 418s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:47: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_33861fc3663a725f67dff31439b450c7660a7...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_54668fa7257c4f1419a1dec52cabe4598ab860be'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_mass_bilinear_form_2d[float32-expected_result0] _____________ 418s 418s dtype = 'float32' 418s expected_result = array([[0.08333334, 0.04166667, 0.04166667], 418s [0.04166667, 0.08333334, 0.04166667], 418s [0.04166667, 0.04166667, 0.08333334]], dtype=float32) 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype,expected_result", 418s [ 418s ( 418s "float32", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.float32, 418s ), 418s ), 418s # ("longdouble", 418s # np.array( 418s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 418s # dtype=np.longdouble)), 418s ( 418s "float64", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.float64, 418s ), 418s ), 418s ( 418s "complex128", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.complex128, 418s ), 418s ), 418s ( 418s "complex64", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.complex64, 418s ), 418s ), 418s ], 418s ) 418s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(u, v) * ufl.dx 418s L = ufl.conj(v) * ufl.dx 418s forms = [a, L] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:150: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_215748652f417999937cfc91e7bd6960ff66d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_58cdbae5b594faf9443a5819fdf0e498c9dc3d97'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_mass_bilinear_form_2d[float64-expected_result1] _____________ 418s 418s dtype = 'float64' 418s expected_result = array([[0.08333333, 0.04166667, 0.04166667], 418s [0.04166667, 0.08333333, 0.04166667], 418s [0.04166667, 0.04166667, 0.08333333]]) 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype,expected_result", 418s [ 418s ( 418s "float32", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.float32, 418s ), 418s ), 418s # ("longdouble", 418s # np.array( 418s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 418s # dtype=np.longdouble)), 418s ( 418s "float64", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.float64, 418s ), 418s ), 418s ( 418s "complex128", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.complex128, 418s ), 418s ), 418s ( 418s "complex64", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.complex64, 418s ), 418s ), 418s ], 418s ) 418s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(u, v) * ufl.dx 418s L = ufl.conj(v) * ufl.dx 418s forms = [a, L] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:150: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_89d8fd5a9bd8d624db3630e64a0ff5e47b076...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_0b1b27db4f5b504a40ae8f13cfeff8a95facfcc4'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_mass_bilinear_form_2d[complex128-expected_result2] ____________ 418s 418s dtype = 'complex128' 418s expected_result = array([[0.08333333+0.j, 0.04166667+0.j, 0.04166667+0.j], 418s [0.04166667+0.j, 0.08333333+0.j, 0.04166667+0.j], 418s [0.04166667+0.j, 0.04166667+0.j, 0.08333333+0.j]]) 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype,expected_result", 418s [ 418s ( 418s "float32", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.float32, 418s ), 418s ), 418s # ("longdouble", 418s # np.array( 418s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 418s # dtype=np.longdouble)), 418s ( 418s "float64", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.float64, 418s ), 418s ), 418s ( 418s "complex128", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.complex128, 418s ), 418s ), 418s ( 418s "complex64", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.complex64, 418s ), 418s ), 418s ], 418s ) 418s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(u, v) * ufl.dx 418s L = ufl.conj(v) * ufl.dx 418s forms = [a, L] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:150: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6512688a04c83411a0c1118606fdf81d2b61d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_453f00cb9251e3713fb7a316c01a3b349a12b0aa'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ____________ test_mass_bilinear_form_2d[complex64-expected_result3] ____________ 418s 418s dtype = 'complex64' 418s expected_result = array([[0.08333334+0.j, 0.04166667+0.j, 0.04166667+0.j], 418s [0.04166667+0.j, 0.08333334+0.j, 0.04166667+0.j], 418s [0.04166667+0.j, 0.04166667+0.j, 0.08333334+0.j]], dtype=complex64) 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype,expected_result", 418s [ 418s ( 418s "float32", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.float32, 418s ), 418s ), 418s # ("longdouble", 418s # np.array( 418s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 418s # dtype=np.longdouble)), 418s ( 418s "float64", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.float64, 418s ), 418s ), 418s ( 418s "complex128", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.complex128, 418s ), 418s ), 418s ( 418s "complex64", 418s np.array( 418s [ 418s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 418s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 418s ], 418s dtype=np.complex64, 418s ), 418s ), 418s ], 418s ) 418s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(u, v) * ufl.dx 418s L = ufl.conj(v) * ufl.dx 418s forms = [a, L] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:150: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_63b4a2f79a9899904b75ec34139801ecb6925...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_a832ba077a644409c9afe87c9eb5f31ef58e6c13'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _______________ test_helmholtz_form_2d[float64-expected_result0] _______________ 418s 418s dtype = 'float64' 418s expected_result = array([[ 0.91666667, -0.54166667, -0.54166667], 418s [-0.54166667, 0.41666667, -0.04166667], 418s [-0.54166667, -0.04166667, 0.41666667]]) 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype,expected_result", 418s [ 418s ( 418s "float64", 418s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 418s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 418s ), 418s ( 418s "complex128", 418s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 418s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 418s ), 418s ], 418s ) 418s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s if np.issubdtype(dtype, np.complexfloating): 418s k = ufl.constantvalue.ComplexValue(1j) 418s elif np.issubdtype(dtype, np.floating): 418s k = 1.0 418s else: 418s raise RuntimeError( 418s "Unknown mode type", 418s ) 418s 418s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:186: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7357a25b434dec9fc0cfd777775d9548d4a91...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f21614cd6ba1bfcb34443d5c8190d4665bdbc3f9'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_helmholtz_form_2d[complex128-expected_result1] ______________ 418s 418s dtype = 'complex128' 418s expected_result = array([[ 1. -0.08333333j, -0.5-0.04166667j, -0.5-0.04166667j], 418s [-0.5-0.04166667j, 0.5-0.08333333j, 0. -0.04166667j], 418s [-0.5-0.04166667j, 0. -0.04166667j, 0.5-0.08333333j]]) 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype,expected_result", 418s [ 418s ( 418s "float64", 418s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 418s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 418s ), 418s ( 418s "complex128", 418s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 418s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 418s ), 418s ], 418s ) 418s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s if np.issubdtype(dtype, np.complexfloating): 418s k = ufl.constantvalue.ComplexValue(1j) 418s elif np.issubdtype(dtype, np.floating): 418s k = 1.0 418s else: 418s raise RuntimeError( 418s "Unknown mode type", 418s ) 418s 418s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:186: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e716b3cf49b5211cb40522d69804b04586248...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_e22a51675d6ba5eeeb53d1189ec4d836c3d5f403'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_laplace_bilinear_form_3d[float64-expected_result0] ____________ 418s 418s dtype = 'float64' 418s expected_result = array([[ 0.5 , -0.16666667, -0.16666667, -0.16666667], 418s [-0.16666667, 0.16666667, 0. , 0. ... [-0.16666667, 0. , 0.16666667, 0. ], 418s [-0.16666667, 0. , 0. , 0.16666667]]) 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype,expected_result", 418s [ 418s ( 418s "float64", 418s np.array( 418s [ 418s [0.5, -1 / 6, -1 / 6, -1 / 6], 418s [-1 / 6, 1 / 6, 0.0, 0.0], 418s [-1 / 6, 0.0, 1 / 6, 0.0], 418s [-1 / 6, 0.0, 0.0, 1 / 6], 418s ], 418s dtype=np.float64, 418s ), 418s ), 418s ( 418s "complex128", 418s np.array( 418s [ 418s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 418s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 418s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 418s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 418s ], 418s dtype=np.complex128, 418s ), 418s ), 418s ], 418s ) 418s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 418s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:253: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_e5e0c850f0036a72d5e679c5957fc7dcca... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_925d3636a57c755748f97af4138a3ff3d9d0f42f'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s __________ test_laplace_bilinear_form_3d[complex128-expected_result1] __________ 418s 418s dtype = 'complex128' 418s expected_result = array([[ 0.5 +0.j, -0.16666667+0.j, -0.16666667+0.j, 418s -0.16666667+0.j], 418s [-0.16666667+0.j, 0.16666...67+0.j, 418s 0. +0.j], 418s [-0.16666667+0.j, 0. +0.j, 0. +0.j, 418s 0.16666667+0.j]]) 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype,expected_result", 418s [ 418s ( 418s "float64", 418s np.array( 418s [ 418s [0.5, -1 / 6, -1 / 6, -1 / 6], 418s [-1 / 6, 1 / 6, 0.0, 0.0], 418s [-1 / 6, 0.0, 1 / 6, 0.0], 418s [-1 / 6, 0.0, 0.0, 1 / 6], 418s ], 418s dtype=np.float64, 418s ), 418s ), 418s ( 418s "complex128", 418s np.array( 418s [ 418s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 418s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 418s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 418s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 418s ], 418s dtype=np.complex128, 418s ), 418s ), 418s ], 418s ) 418s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 418s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:253: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_696cd6e282ac2488b1aae14a2591a78d4d... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_0dd43da7503474cbdf42ddd9a1eff564a666a372'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ____________________________ test_form_coefficient _____________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_form_coefficient(compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TestFunction(space), ufl.TrialFunction(space) 418s g = ufl.Coefficient(space) 418s a = g * ufl.inner(u, v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:292: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6300dffd71ea3456195f525f41482e37b3258...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_23c359be4df00fcb9e12331249352dfcecb4676c'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _______________________________ test_subdomains ________________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_subdomains(compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a0 = ufl.inner(u, v) * ufl.dx + ufl.inner(u, v) * ufl.dx(2) 418s a1 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx 418s a2 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx(1) 418s a3 = ufl.inner(u, v) * ufl.ds(210) + ufl.inner(u, v) * ufl.ds(0) 418s forms = [a0, a1, a2, a3] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:334: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_f4d7740ecb811f1abea93f63914771a43a8ff...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_4ca86d44029b213b3273fec41329c2635a9fce77'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ____________________ test_interior_facet_integral[float64] _____________________ 418s 418s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 418s def test_interior_facet_integral(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 418s forms = [a0] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:373: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1af176c2f2ea599e5336640cc26835f622e5c...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_3afe5f4ec9f44940b5c2f5cd7cc2e03b133ee493'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________________ test_interior_facet_integral[complex128] ___________________ 418s 418s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 418s def test_interior_facet_integral(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 418s forms = [a0] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:373: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_ef89833bfa3903cd6b66cc00c09f75cd504f6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f729765eb5c574617ec9a4e1d44f8b0a8616d1df'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s __________________________ test_conditional[float64] ___________________________ 418s 418s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float64", 418s "complex128", 418s ], 418s ) 418s def test_conditional(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s x = ufl.SpatialCoordinate(domain) 418s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 418s c1 = ufl.conditional(condition, 2.0, 1.0) 418s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 418s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 418s b = c2 * ufl.conj(v) * ufl.dx 418s 418s forms = [a, b] 418s 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:439: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_d7163114079b7007113586969bec054c07a05...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_188e70be8386e0c4e4d412cd49d9b9e80ebd4fd9'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _________________________ test_conditional[complex128] _________________________ 418s 418s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float64", 418s "complex128", 418s ], 418s ) 418s def test_conditional(dtype, compile_args): 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s x = ufl.SpatialCoordinate(domain) 418s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 418s c1 = ufl.conditional(condition, 2.0, 1.0) 418s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 418s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 418s b = c2 * ufl.conj(v) * ufl.dx 418s 418s forms = [a, b] 418s 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:439: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_595e688f4f6f9ffaf21c1c250f7cd810894c3...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c5090834d1764677c973ece50a004294d3c2caa7'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ____________________________ test_custom_quadrature ____________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_custom_quadrature(compile_args): 418s ve = basix.ufl.element("P", "triangle", 1, shape=(2,)) 418s mesh = ufl.Mesh(ve) 418s 418s e = basix.ufl.element("P", mesh.ufl_cell().cellname(), 2) 418s V = ufl.FunctionSpace(mesh, e) 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s 418s 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]] 418s weights = [1 / 12] * 6 418s a = ( 418s u 418s * v 418s * ufl.dx( 418s metadata={ 418s "quadrature_rule": "custom", 418s "quadrature_points": points, 418s "quadrature_weights": weights, 418s } 418s ) 418s ) 418s 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:513: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_32da1c245076c5704fe68eda766b954507d83...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_e9706c325ec2d3bd83dd8216796886d0cb25614f'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ________________________________ test_curl_curl ________________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_curl_curl(compile_args): 418s V = basix.ufl.element("N1curl", "triangle", 2) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, V) 418s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 418s a = ufl.inner(ufl.curl(u), ufl.curl(v)) * ufl.dx 418s 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:549: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (N1E, triangle, 2, legendre, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (N1E, triangle, 2, legendre, unset, False, float64, []): 'element_db58d68f2c42b6cf55914bbd1522d01389b76...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_25eeca4fe56bfc25e736d71abe7720d7cc8e5d67'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_lagrange_triangle[1--0-float64] _____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 418s sym_fun = at 0xe66814d7a5c0> 418s ufl_fun = at 0xe66814d7a660> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "triangle", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:620: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_42ca9307b28a5b3e8f61da1f1a706dc1c25a7...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6a29679ae74df08b4c9c5015f9d3fd7d00a1c73b'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_lagrange_triangle[1--1-float64] _____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 418s sym_fun = at 0xe66814d7a700> 418s ufl_fun = at 0xe66814d7a7a0> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "triangle", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:620: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4074a719ae98fd47ce1fb5ae3f6cf61693ee5...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b4cd6b00829e0ad6e6e115fdf0f4f0edd2b38fbe'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_lagrange_triangle[1--2-float64] _____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 418s sym_fun = at 0xe66814d7a840> 418s ufl_fun = at 0xe66814d7a8e0> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "triangle", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:620: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e640790514f6173cd42c454d360c5e09e0202...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_cd438249f61cec9b91fd843ab2f94ca2dcaf1553'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_lagrange_triangle[2--0-float64] _____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 418s sym_fun = at 0xe66814d7a5c0> 418s ufl_fun = at 0xe66814d7a660> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "triangle", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:620: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_0b10fcb819338c89fa8ab83aa02dd373fbe97...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_69ff65aec9133b70015f4b88dad9256b0bc4b41c'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_lagrange_triangle[2--1-float64] _____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 418s sym_fun = at 0xe66814d7a700> 418s ufl_fun = at 0xe66814d7a7a0> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "triangle", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:620: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b93ccabf1a99d8211f84ade8bbc45916fa034...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_0bd3622b9c65337523d5894695a8b0489fb361e1'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_lagrange_triangle[2--2-float64] _____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 418s sym_fun = at 0xe66814d7a840> 418s ufl_fun = at 0xe66814d7a8e0> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "triangle", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:620: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_d47a04b33b7e638b82cd9b2b378cfb3f927ff...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_9e560209d506794f47952b8b30f8ee9962a82ac6'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_lagrange_triangle[3--0-float64] _____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 418s sym_fun = at 0xe66814d7a5c0> 418s ufl_fun = at 0xe66814d7a660> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "triangle", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:620: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_40280c4fc0434cf2cd473ee32dd288ff12b87...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_6ac29b35c0a143950c90e1dc1c5dc3fd30838389'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_lagrange_triangle[3--1-float64] _____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 418s sym_fun = at 0xe66814d7a700> 418s ufl_fun = at 0xe66814d7a7a0> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "triangle", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:620: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1474d787ae00eade5ce1954ef365a76920446...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_49d95e96a011cd277eac17726270f179cad02edb'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_lagrange_triangle[3--2-float64] _____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 418s sym_fun = at 0xe66814d7a840> 418s ufl_fun = at 0xe66814d7a8e0> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "triangle", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:620: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7336cc99d4a976c0f1ed9c8abc84da584cc9a...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_800cf112167ea1b4bd179dad3cffe60b274cdfe7'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_lagrange_tetrahedron[1--0-float64] ____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 418s sym_fun = at 0xe66814d7ab60> 418s ufl_fun = at 0xe66814d7ac00> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "tetrahedron", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:745: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_c917af90babafc719533417ebd0e7c699b... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_b23885f225f8da1a5eb0fe42a60e58922e97d709'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_lagrange_tetrahedron[1--1-float64] ____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 418s sym_fun = at 0xe66814d7aca0> 418s ufl_fun = at 0xe66814d7ad40> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "tetrahedron", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:745: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_90f86d1a5b2930b89c1d59c1064c69668d... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_5e6e679e3ebad214a75459f5bd53f13975cf674b'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_lagrange_tetrahedron[1--2-float64] ____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 418s sym_fun = at 0xe66814d7ade0> 418s ufl_fun = at 0xe66814d7ae80> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "tetrahedron", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:745: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_52aae6d4c134e45e0693f3cbdfd5c82f1c... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_ea220ab8779f30b57245a5110fab3e1007ce64be'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_lagrange_tetrahedron[2--0-float64] ____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 418s sym_fun = at 0xe66814d7ab60> 418s ufl_fun = at 0xe66814d7ac00> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "tetrahedron", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:745: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []) 418s element_numbers = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 418s finite_element_names = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_e553692b3e643938b17eba9093ec572316... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_f008bd95a967447b984147a8b408c453a0e3e616'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_lagrange_tetrahedron[2--1-float64] ____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 418s sym_fun = at 0xe66814d7aca0> 418s ufl_fun = at 0xe66814d7ad40> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "tetrahedron", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:745: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []) 418s element_numbers = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 418s finite_element_names = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_055634534d6569754b1fca4111bd96fcba... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_2359c51b290a9820eb3a9a64dbca58ebc028e039'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_lagrange_tetrahedron[2--2-float64] ____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 418s sym_fun = at 0xe66814d7ade0> 418s ufl_fun = at 0xe66814d7ae80> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "tetrahedron", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:745: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []) 418s element_numbers = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 418s finite_element_names = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_cc4b4244d18466af6bdfd282ffbefc5170... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_9a43ab7480231ca7f3b3fb40f115e72823846627'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_lagrange_tetrahedron[3--0-float64] ____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 418s sym_fun = at 0xe66814d7ab60> 418s ufl_fun = at 0xe66814d7ac00> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "tetrahedron", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:745: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 418s element_numbers = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 418s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_bcf08e67377f499a21afeac79a35cd9fd7... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_82461ec4593eb69554a6cf3f521f3962bf41ec56'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_lagrange_tetrahedron[3--1-float64] ____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 418s sym_fun = at 0xe66814d7aca0> 418s ufl_fun = at 0xe66814d7ad40> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "tetrahedron", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:745: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 418s element_numbers = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 418s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_d62f6eeea20958874eb2b3efc2dd931b3e... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_ccc1d6afdbb7e59fd7d8e8a848af87bf0ac0c5e0'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________ test_lagrange_tetrahedron[3--2-float64] ____________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 418s sym_fun = at 0xe66814d7ade0> 418s ufl_fun = at 0xe66814d7ae80> 418s 418s @pytest.mark.parametrize("dtype", ["float64"]) 418s @pytest.mark.parametrize( 418s "sym_fun,ufl_fun", 418s [ 418s (lambda i: i, lambda i: i), 418s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 418s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 418s ], 418s ) 418s @pytest.mark.parametrize("order", [1, 2, 3]) 418s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 418s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 418s element = basix.ufl.element("Lagrange", "tetrahedron", order) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s 418s a = ufl_fun(v) * ufl.dx 418s forms = [a] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:745: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 418s element_numbers = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 418s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_61a0dd834c4b73c898bbe1a0185cc1f2eb... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_39e275b75e2a7b77ad9ee515fdc1b8badce59806'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s __________________________________ test_prism __________________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_prism(compile_args): 418s element = basix.ufl.element("Lagrange", "prism", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "prism", 1, shape=(3,))) 418s space = ufl.FunctionSpace(domain, element) 418s v = ufl.TestFunction(space) 418s L = v * ufl.dx 418s forms = [L] 418s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:784: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, prism, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, prism, 1, gll_warped, unset, False, float64, []): 'element_5e64f76f6022ad759dd61de57f387d68e14ec1f0...lement (P, prism, 1, gll_warped, unset, False, float64, []), (3,)): 'element_4cb77e9e8bd3e32f1c4dc1e6269aacae3d7bf191'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ___________________________ test_complex_operations ____________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_complex_operations(compile_args): 418s dtype = "complex128" 418s cell = "triangle" 418s c_element = basix.ufl.element("Lagrange", cell, 1, shape=(2,)) 418s mesh = ufl.Mesh(c_element) 418s element = basix.ufl.element("DG", cell, 0, shape=(2,)) 418s V = ufl.FunctionSpace(mesh, element) 418s u = ufl.Coefficient(V) 418s J1 = ufl.real(u)[0] * ufl.imag(u)[1] * ufl.conj(u)[0] * ufl.dx 418s J2 = ufl.real(u[0]) * ufl.imag(u[1]) * ufl.conj(u[0]) * ufl.dx 418s forms = [J1, J2] 418s 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:823: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7f0063649965a951acb57539e87e78f85f1c4...ment (P, triangle, 0, gll_warped, unset, True, float64, []), (2,)): 'element_5d97956437bcc04e1d325e1cf2f0841ae30d0719'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s __________________________ test_invalid_function_name __________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_invalid_function_name(compile_args): 418s # Monkey patch to force invalid name 418s old_str = ufl.Coefficient.__str__ 418s ufl.Coefficient.__str__ = lambda self: "invalid function name" 418s 418s V = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, V) 418s u = ufl.Coefficient(space) 418s a = ufl.inner(u, u) * ufl.dx 418s forms = [a] 418s try: 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:888: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cf2e207f2aba88bd9dfe4f2979c891ca9b28d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_797b96df37153e3a01b2bde48bdd35a688f2c16c'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s 418s During handling of the above exception, another exception occurred: 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_invalid_function_name(compile_args): 418s # Monkey patch to force invalid name 418s old_str = ufl.Coefficient.__str__ 418s ufl.Coefficient.__str__ = lambda self: "invalid function name" 418s 418s V = basix.ufl.element("Lagrange", "triangle", 1) 418s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s space = ufl.FunctionSpace(domain, V) 418s u = ufl.Coefficient(space) 418s a = ufl.inner(u, u) * ufl.dx 418s forms = [a] 418s try: 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, cffi_extra_compile_args=compile_args 418s ) 418s except ValueError: 418s pass 418s except Exception: 418s > raise RuntimeError("Compilation should fail with ValueError.") 418s E RuntimeError: Compilation should fail with ValueError. 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:894: RuntimeError 418s _______________________ test_interval_vertex_quadrature ________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_interval_vertex_quadrature(compile_args): 418s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(1,)) 418s mesh = ufl.Mesh(c_el) 418s 418s x = ufl.SpatialCoordinate(mesh) 418s dx = ufl.Measure("dx", metadata={"quadrature_rule": "vertex"}) 418s b = x[0] * dx 418s 418s forms = [b] 418s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s forms, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:909: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_17ada03dec6eac00628574a59a29fd6741e11...ent (P, interval, 1, gll_warped, unset, False, float64, []), (1,)): 'element_2c34bbf8dc822b604119acc30e21eb0cade14225'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _________________________ test_facet_vertex_quadrature _________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_facet_vertex_quadrature(compile_args): 418s """Test facet vertex quadrature""" 418s c_el = basix.ufl.element("Lagrange", "quadrilateral", 1, shape=(2,)) 418s mesh = ufl.Mesh(c_el) 418s 418s x = ufl.SpatialCoordinate(mesh) 418s ds = ufl.Measure("ds", metadata={"quadrature_rule": "vertex"}) 418s expr = x[0] + ufl.cos(x[1]) 418s b1 = expr * ds 418s ds_c = ufl.Measure( 418s "ds", 418s metadata={ 418s "quadrature_rule": "custom", 418s "quadrature_points": np.array([[0.0], [1.0]]), 418s "quadrature_weights": np.array([1.0 / 2.0, 1.0 / 2.0]), 418s }, 418s ) 418s b2 = expr * ds_c 418s forms = [b1, b2] 418s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 418s forms, cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:954: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []): 'element_cc8a267ab968eac0e35c31519f399f28...P, quadrilateral, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2f6109712854e7c4345c72e1fd4a75af33cb9e48'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s __________________________ test_manifold_derivatives ___________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_manifold_derivatives(compile_args): 418s """Test higher order derivatives on manifolds""" 418s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(2,)) 418s mesh = ufl.Mesh(c_el) 418s 418s x = ufl.SpatialCoordinate(mesh) 418s dx = ufl.Measure("dx", domain=mesh) 418s order = 4 418s el = basix.ufl.element("Lagrange", "interval", order) 418s V = ufl.FunctionSpace(mesh, el) 418s 418s u = ufl.Coefficient(V) 418s d = 5.3 418s f_ex = d * order * (order - 1) * x[1] ** (order - 2) 418s expr = u.dx(1).dx(1) - f_ex 418s J = expr * expr * dx 418s 418s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 418s [J], cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:1012: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_c39ec0e66517245dc60842dcd35bfc19f2ae6...ix element (P, interval, 4, gll_warped, unset, False, float64, []): 'element_9f80e901d837418ee28b915d9fe5f3b99cc8a9bf'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ____________________________ test_integral_grouping ____________________________ 418s 418s compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s def test_integral_grouping(compile_args): 418s """We group integrals with common integrands to avoid duplicated 418s integration kernels. This means that `inner(u, v)*dx((1,2,3)) + 418s inner(grad(u), grad(v))*dx(2) + inner(u,v)*dx` is grouped as 418s 1. `inner(u,v)*dx(("everywhere", 1, 3))` 418s 2. `(inner(grad(u), grad(v)) + inner(u, v))*dx(2)` 418s Each of the forms has one generated `tabulate_tensor_*` function, 418s which is referred to multiple times in `integrals_` and 418s `integral_ids_` 418s 418s """ 418s mesh = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 418s V = ufl.FunctionSpace(mesh, basix.ufl.element("Lagrange", "triangle", 1)) 418s u = ufl.TrialFunction(V) 418s v = ufl.TestFunction(V) 418s a = ( 418s ufl.inner(u, v) * ufl.dx((1, 2, 3)) 418s + ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx(2) 418s + ufl.inner(u, v) * ufl.dx 418s ) 418s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 418s [a], cffi_extra_compile_args=compile_args 418s ) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_jit_forms.py:1060: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_8ae5f4e253ebbe0d2319e836d8113263b0b4c...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1f4591eff05b6abc8ead006228227129a054e1ee'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ______________________ test_multiple_mesh_codim0[float64] ______________________ 418s 418s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float64", 418s "complex128", 418s ], 418s ) 418s def test_multiple_mesh_codim0(dtype, compile_args): 418s # Define coordinate element and element used in parent and sub-mesh 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 418s 418s domain = ufl.Mesh(coordinate_element) 418s space = ufl.FunctionSpace(domain, element) 418s u_parent = ufl.TrialFunction(space) 418s 418s # Create submesh and functionspace on submesh 418s sub_domain = ufl.Mesh(coordinate_element) 418s subspace = ufl.FunctionSpace(sub_domain, element) 418s v_sub = ufl.TestFunction(subspace) 418s 418s # 418s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 418s 418s > A = compute_tensor([a], dtype, compile_args) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_submesh.py:78: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_submesh.py:20: in compute_tensor 418s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_ca3f4e198f0b69900a6e921871a0c59f1c106...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_8e934f2549da5b38ebdc0322143476ceb913eb1a'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ____________________ test_multiple_mesh_codim0[complex128] _____________________ 418s 418s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 418s 418s @pytest.mark.parametrize( 418s "dtype", 418s [ 418s "float64", 418s "complex128", 418s ], 418s ) 418s def test_multiple_mesh_codim0(dtype, compile_args): 418s # Define coordinate element and element used in parent and sub-mesh 418s element = basix.ufl.element("Lagrange", "triangle", 1) 418s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 418s 418s domain = ufl.Mesh(coordinate_element) 418s space = ufl.FunctionSpace(domain, element) 418s u_parent = ufl.TrialFunction(space) 418s 418s # Create submesh and functionspace on submesh 418s sub_domain = ufl.Mesh(coordinate_element) 418s subspace = ufl.FunctionSpace(sub_domain, element) 418s v_sub = ufl.TestFunction(subspace) 418s 418s # 418s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 418s 418s > A = compute_tensor([a], dtype, compile_args) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_submesh.py:78: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_submesh.py:20: in compute_tensor 418s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 418s 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} 418s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2755168cf0bc7bafc20db35c7c1f262e55971...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1fc4b54404e1d37111319309e5ada96857909581'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_bilinear_form[CellType.quadrilateral-1-float32] _____________ 418s 418s dtype = 'float32', P = 1, cell_type = CellType.quadrilateral 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 418s 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} 418s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_4fe2232e95a5be733bbf19...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_5fa7243ca41c71c293a7aab038d7300f6a6cb4ae'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_bilinear_form[CellType.quadrilateral-1-float64] _____________ 418s 418s dtype = 'float64', P = 1, cell_type = CellType.quadrilateral 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 418s 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} 418s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_0b89fc7f72bc0baba33387...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_8b6086a2c996739b122ec36782277365d2b289e3'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_bilinear_form[CellType.quadrilateral-2-float32] _____________ 418s 418s dtype = 'float32', P = 2, cell_type = CellType.quadrilateral 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]) 418s 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} 418s finite_element_names = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_7b66ccd...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_58c6aee372e24b20b2a004a01bab99a75ef6e3c7'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_bilinear_form[CellType.quadrilateral-2-float64] _____________ 418s 418s dtype = 'float64', P = 2, cell_type = CellType.quadrilateral 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]) 418s 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} 418s finite_element_names = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_c1bc8e3...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_fa0ca87c3096875bfb2b9adf34347cf6599e03e6'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_bilinear_form[CellType.quadrilateral-3-float32] _____________ 418s 418s dtype = 'float32', P = 3, cell_type = CellType.quadrilateral 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 418s 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} 418s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_70eef71962f558c822e3cc..., float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 'element_e12ce80e81672f19b447335c02416d6b94b4c685'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s _____________ test_bilinear_form[CellType.quadrilateral-3-float64] _____________ 418s 418s dtype = 'float64', P = 3, cell_type = CellType.quadrilateral 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 418s 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} 418s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_9639936b7aef029ca7d628..., float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 'element_1911405f9092b1bfc9aecb2753804c946586853e'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ______________ test_bilinear_form[CellType.hexahedron-1-float32] _______________ 418s 418s dtype = 'float32', P = 1, cell_type = CellType.hexahedron 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 418s 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} 418s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_4b0a24636fe74...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_77b9fb434d93c7023e38299f88c7e215d42ae174'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ______________ test_bilinear_form[CellType.hexahedron-1-float64] _______________ 418s 418s dtype = 'float64', P = 1, cell_type = CellType.hexahedron 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 418s 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} 418s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_024f14755b994...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_4ee51ab1c58e8ad894d54f1ada7dd856b8457498'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ______________ test_bilinear_form[CellType.hexahedron-2-float32] _______________ 418s 418s dtype = 'float32', P = 2, cell_type = CellType.hexahedron 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 418s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Ba...False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 2} 418s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_5028e72c8b1c9..., 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 'element_55d586366a4bd0fdad297732fb9f0b2f7fdd45d1'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ______________ test_bilinear_form[CellType.hexahedron-2-float64] _______________ 418s 418s dtype = 'float64', P = 2, cell_type = CellType.hexahedron 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 418s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Ba...False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 2} 418s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_f6d3fbcbd7a88..., 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 'element_5926ec5c3e3cd2f9b387e0cacd1074d9fc50b1af'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ______________ test_bilinear_form[CellType.hexahedron-3-float32] _______________ 418s 418s dtype = 'float32', P = 3, cell_type = CellType.hexahedron 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 418s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Ba...0, 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]): 2} 418s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_f4f185fae70e3..., 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]): 'element_57475c5d40c034b560895d7796d82f90e04aa3a5'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s ______________ test_bilinear_form[CellType.hexahedron-3-float64] _______________ 418s 418s dtype = 'float64', P = 3, cell_type = CellType.hexahedron 418s 418s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 418s @pytest.mark.parametrize("P", [1, 2, 3]) 418s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 418s def test_bilinear_form(dtype, P, cell_type): 418s gdim = cell_to_gdim(cell_type) 418s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 418s coords = create_tensor_product_element( 418s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 418s ) 418s mesh = ufl.Mesh(coords) 418s V = ufl.FunctionSpace(mesh, element) 418s 418s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 418s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 418s 418s ndofs = element.dim 418s 418s A = np.zeros((ndofs, ndofs), dtype=dtype) 418s w = np.array([], dtype=dtype) 418s c = np.array([], dtype=dtype) 418s 418s xdtype = dtype_to_scalar_dtype(dtype) 418s if cell_type == basix.CellType.quadrilateral: 418s coords = np.array( 418s [[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 418s ) 418s elif cell_type == basix.CellType.hexahedron: 418s coords = np.array( 418s [ 418s [0.0, 0.0, 0.0], 418s [1.0, 0.0, 0.0], 418s [0.0, 1.0, 0.0], 418s [1.0, 1.0, 0.0], 418s [0.0, 0.0, 1.0], 418s [1.0, 0.0, 1.0], 418s [0.0, 1.0, 1.0], 418s [1.0, 1.0, 1.0], 418s ], 418s dtype=xdtype, 418s ) 418s 418s c_type = dtype_to_c_type(dtype) 418s c_xtype = dtype_to_c_type(xdtype) 418s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:104: 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/test/test_tensor_product.py:43: in generate_kernel 418s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:276: in compile_forms 418s raise e 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:256: in compile_forms 418s impl = _compile_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/codegeneration/jit.py:383: in _compile_objects 418s _, code_body = ffcx.compiler.compile_ufl_objects( 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/compiler.py:113: in compile_ufl_objects 418s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:215: in compute_ir 418s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 418s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 418s 418s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 418s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Ba...0, 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]): 2} 418s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_278a778c93899..., 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]): 'element_1f321f33afbddad2e0d8fc7bb5f091e562bdd910'} 418s 418s def _compute_element_ir(element, element_numbers, finite_element_names): 418s """Compute intermediate representation of element.""" 418s logger.info(f"Computing IR for element {element}") 418s 418s # Create basix elements 418s cell = element.cell 418s 418s # Store id 418s ir = {"id": element_numbers[element]} 418s ir["name"] = finite_element_names[element] 418s 418s # Compute data for each function 418s ir["signature"] = repr(element) 418s ir["cell_shape"] = element.cell_type.name 418s ir["topological_dimension"] = cell.topological_dimension() 418s ir["space_dimension"] = element.dim + element.num_global_support_dofs 418s > ir["element_type"] = element.ufcx_element_type 418s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 418s 418s /tmp/autopkgtest.0OhLMl/build.5Zu/src/ffcx/ir/representation.py:293: AttributeError 418s =============================== warnings summary =============================== 418s test/test_jit_forms.py::test_facet_vertex_quadrature 418s /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. 418s warnings.warn( 418s 418s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 418s =========================== short test summary info ============================ 418s SKIPPED [4] test/test_signatures.py:41: Numba not installed 418s FAILED test/test_add_mode.py::test_additive_facet_integral[float32] - Attribu... 418s FAILED test/test_add_mode.py::test_additive_facet_integral[float64] - Attribu... 418s FAILED test/test_add_mode.py::test_additive_facet_integral[complex64] - Attri... 418s FAILED test/test_add_mode.py::test_additive_facet_integral[complex128] - Attr... 418s FAILED test/test_add_mode.py::test_additive_cell_integral[float32] - Attribut... 418s FAILED test/test_add_mode.py::test_additive_cell_integral[float64] - Attribut... 418s FAILED test/test_add_mode.py::test_additive_cell_integral[complex64] - Attrib... 418s FAILED test/test_add_mode.py::test_additive_cell_integral[complex128] - Attri... 418s FAILED test/test_blocked_elements.py::test_finite_element - AttributeError: '... 418s FAILED test/test_blocked_elements.py::test_vector_element - AttributeError: '... 418s FAILED test/test_blocked_elements.py::test_tensor_element - AttributeError: '... 418s FAILED test/test_blocked_elements.py::test_vector_quadrature_element - Attrib... 418s FAILED test/test_cache.py::test_cache_modes - AttributeError: '_BasixElement'... 418s FAILED test/test_cmdline.py::test_visualise - AssertionError: assert False 418s FAILED test/test_jit_expression.py::test_matvec - AttributeError: '_BasixElem... 418s FAILED test/test_jit_expression.py::test_rank1 - AttributeError: '_BasixEleme... 418s FAILED test/test_jit_expression.py::test_elimiate_zero_tables_tensor - Attrib... 418s FAILED test/test_jit_expression.py::test_facet_expression - AttributeError: m... 418s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] 418s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] 418s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] 418s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] 418s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] 418s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] 418s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] 418s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] 418s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] 418s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] 418s FAILED test/test_jit_forms.py::test_form_coefficient - AttributeError: '_Basi... 418s FAILED test/test_jit_forms.py::test_subdomains - AttributeError: '_BasixEleme... 418s FAILED test/test_jit_forms.py::test_interior_facet_integral[float64] - Attrib... 418s FAILED test/test_jit_forms.py::test_interior_facet_integral[complex128] - Att... 418s FAILED test/test_jit_forms.py::test_conditional[float64] - AttributeError: '_... 418s FAILED test/test_jit_forms.py::test_conditional[complex128] - AttributeError:... 418s FAILED test/test_jit_forms.py::test_custom_quadrature - AttributeError: '_Bas... 418s FAILED test/test_jit_forms.py::test_curl_curl - AttributeError: '_BasixElemen... 418s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] 418s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] 418s FAILED test/test_jit_forms.py::test_prism - AttributeError: '_BasixElement' o... 418s FAILED test/test_jit_forms.py::test_complex_operations - AttributeError: '_Ba... 418s FAILED test/test_jit_forms.py::test_invalid_function_name - RuntimeError: Com... 418s FAILED test/test_jit_forms.py::test_interval_vertex_quadrature - AttributeErr... 418s FAILED test/test_jit_forms.py::test_facet_vertex_quadrature - AttributeError:... 418s FAILED test/test_jit_forms.py::test_manifold_derivatives - AttributeError: '_... 418s FAILED test/test_jit_forms.py::test_integral_grouping - AttributeError: '_Bas... 418s FAILED test/test_submesh.py::test_multiple_mesh_codim0[float64] - AttributeEr... 418s FAILED test/test_submesh.py::test_multiple_mesh_codim0[complex128] - Attribut... 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] 418s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] 418s ======== 75 failed, 8 passed, 4 skipped, 1 warning in 72.10s (0:01:12) ========= 419s autopkgtest [20:39:30]: test command1: -----------------------] 420s autopkgtest [20:39:31]: test command1: - - - - - - - - - - results - - - - - - - - - - 420s command1 FAIL non-zero exit status 1 421s autopkgtest [20:39:32]: @@@@@@@@@@@@@@@@@@@@ summary 421s command1 FAIL non-zero exit status 1 444s nova [W] Skipping flock in bos03-arm64 444s Creating nova instance adt-plucky-arm64-fenics-ffcx-20241123-203154-juju-7f2275-prod-proposed-migration-environment-15-7a9e2e52-066f-42f9-9064-70decc681c27 from image adt/ubuntu-plucky-arm64-server-20241119.img (UUID 254dc414-4366-404b-b85c-a4e26b3194ad)...