2s autopkgtest [20:32:27]: starting date and time: 2024-11-23 20:32:27+0000 3s autopkgtest [20:32:28]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 3s autopkgtest [20:32:28]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.x1icjhzr/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-17.secgroup --name adt-plucky-s390x-fenics-ffcx-20241123-203150-juju-7f2275-prod-proposed-migration-environment-15-d36c07f8-b8a4-4dd2-9600-eaa693eaf629 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-s390x -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/ 152s autopkgtest [20:34:57]: testbed dpkg architecture: s390x 153s autopkgtest [20:34:58]: testbed apt version: 2.9.8 153s autopkgtest [20:34:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 153s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 154s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 154s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 154s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [54.8 kB] 154s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [930 kB] 154s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [70.6 kB] 154s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 154s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [760 kB] 154s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [6452 B] 154s Fetched 1920 kB in 1s (2362 kB/s) 154s Reading package lists... 156s Reading package lists... 157s Building dependency tree... 157s Reading state information... 157s Calculating upgrade... 157s The following package was automatically installed and is no longer required: 157s libsgutils2-1.46-2 157s Use 'sudo apt autoremove' to remove it. 157s The following NEW packages will be installed: 157s libsgutils2-1.48 157s The following packages will be upgraded: 157s bash bpftrace curl debconf debconf-i18n distro-info gir1.2-girepository-2.0 157s gir1.2-glib-2.0 hostname libaudit-common libaudit1 libcurl3t64-gnutls 157s libcurl4t64 libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-data 157s libpam-modules libpam-modules-bin libpam-runtime libpam0g libplymouth5 157s libselinux1 libsemanage-common libsemanage2 linux-base lxd-installer 157s openssh-client openssh-server openssh-sftp-server plymouth 157s plymouth-theme-ubuntu-text python3-blinker python3-debconf 157s python3-jsonschema-specifications python3-rpds-py python3-yaml sg3-utils 157s sg3-utils-udev vim-common vim-tiny xxd 157s 41 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 157s Need to get 11.3 MB of archives. 157s After this operation, 2418 kB of additional disk space will be used. 157s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x bash s390x 5.2.32-1ubuntu2 [845 kB] 157s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x hostname s390x 3.25 [11.2 kB] 157s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libaudit-common all 1:4.0.2-2ubuntu1 [6578 B] 157s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libaudit1 s390x 1:4.0.2-2ubuntu1 [52.5 kB] 157s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x debconf-i18n all 1.5.87ubuntu1 [204 kB] 157s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x python3-debconf all 1.5.87ubuntu1 [4156 B] 157s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x debconf all 1.5.87ubuntu1 [124 kB] 157s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libpam0g s390x 1.5.3-7ubuntu4 [70.0 kB] 157s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libselinux1 s390x 3.7-3ubuntu1 [85.2 kB] 157s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libpam-modules-bin s390x 1.5.3-7ubuntu4 [56.2 kB] 157s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libpam-modules s390x 1.5.3-7ubuntu4 [294 kB] 157s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x openssh-sftp-server s390x 1:9.9p1-3ubuntu2 [38.2 kB] 157s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x openssh-server s390x 1:9.9p1-3ubuntu2 [552 kB] 157s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x openssh-client s390x 1:9.9p1-3ubuntu2 [955 kB] 158s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libpam-runtime all 1.5.3-7ubuntu4 [40.8 kB] 158s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libsemanage-common all 3.7-2build1 [7186 B] 158s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libsemanage2 s390x 3.7-2build1 [97.1 kB] 158s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x distro-info s390x 1.12 [20.0 kB] 158s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-girepository-2.0 s390x 1.82.0-2 [25.0 kB] 158s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-glib-2.0 s390x 2.82.2-3 [180 kB] 158s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-0t64 s390x 2.82.2-3 [1575 kB] 158s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-1.0-1 s390x 1.82.0-2 [84.9 kB] 158s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-data all 2.82.2-3 [51.7 kB] 158s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x python3-yaml s390x 6.0.2-1build1 [188 kB] 158s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x vim-tiny s390x 2:9.1.0861-1ubuntu1 [664 kB] 158s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 158s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x xxd s390x 2:9.1.0861-1ubuntu1 [66.6 kB] 158s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x libplymouth5 s390x 24.004.60-2ubuntu3 [150 kB] 158s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x plymouth-theme-ubuntu-text s390x 24.004.60-2ubuntu3 [10.1 kB] 158s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x plymouth s390x 24.004.60-2ubuntu3 [144 kB] 158s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x bpftrace s390x 0.21.2-2ubuntu3 [1718 kB] 158s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x curl s390x 8.9.1-2ubuntu3 [241 kB] 158s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libcurl4t64 s390x 8.9.1-2ubuntu3 [386 kB] 158s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libcurl3t64-gnutls s390x 8.9.1-2ubuntu3 [379 kB] 158s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libsgutils2-1.48 s390x 1.48-0ubuntu1 [120 kB] 158s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x linux-base all 4.10.1ubuntu1 [34.8 kB] 158s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x lxd-installer all 10 [5264 B] 158s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x python3-blinker all 1.9.0-1 [10.7 kB] 158s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x python3-rpds-py s390x 0.21.0-2ubuntu1 [368 kB] 158s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x python3-jsonschema-specifications all 2023.12.1-2 [9116 B] 158s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x sg3-utils s390x 1.48-0ubuntu1 [1027 kB] 158s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x sg3-utils-udev all 1.48-0ubuntu1 [6608 B] 158s Preconfiguring packages ... 158s Fetched 11.3 MB in 1s (10.4 MB/s) 158s (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 ... 55541 files and directories currently installed.) 158s Preparing to unpack .../bash_5.2.32-1ubuntu2_s390x.deb ... 158s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 158s Setting up bash (5.2.32-1ubuntu2) ... 158s 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 158s (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 ... 55541 files and directories currently installed.) 158s Preparing to unpack .../hostname_3.25_s390x.deb ... 158s Unpacking hostname (3.25) over (3.23+nmu2ubuntu2) ... 158s Setting up hostname (3.25) ... 159s (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 ... 55541 files and directories currently installed.) 159s Preparing to unpack .../libaudit-common_1%3a4.0.2-2ubuntu1_all.deb ... 159s Unpacking libaudit-common (1:4.0.2-2ubuntu1) over (1:4.0.1-1ubuntu2) ... 159s Setting up libaudit-common (1:4.0.2-2ubuntu1) ... 159s (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 ... 55541 files and directories currently installed.) 159s Preparing to unpack .../libaudit1_1%3a4.0.2-2ubuntu1_s390x.deb ... 159s Unpacking libaudit1:s390x (1:4.0.2-2ubuntu1) over (1:4.0.1-1ubuntu2) ... 159s Setting up libaudit1:s390x (1:4.0.2-2ubuntu1) ... 159s (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 ... 55541 files and directories currently installed.) 159s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 159s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 159s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 159s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 159s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 159s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 159s Setting up debconf (1.5.87ubuntu1) ... 159s (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 ... 55541 files and directories currently installed.) 159s Preparing to unpack .../libpam0g_1.5.3-7ubuntu4_s390x.deb ... 159s Unpacking libpam0g:s390x (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 159s Setting up libpam0g:s390x (1.5.3-7ubuntu4) ... 159s (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 ... 55541 files and directories currently installed.) 159s Preparing to unpack .../libselinux1_3.7-3ubuntu1_s390x.deb ... 159s Unpacking libselinux1:s390x (3.7-3ubuntu1) over (3.5-2ubuntu5) ... 159s Setting up libselinux1:s390x (3.7-3ubuntu1) ... 159s (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 ... 55541 files and directories currently installed.) 159s Preparing to unpack .../libpam-modules-bin_1.5.3-7ubuntu4_s390x.deb ... 159s Unpacking libpam-modules-bin (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 159s Setting up libpam-modules-bin (1.5.3-7ubuntu4) ... 159s pam_namespace.service is a disabled or a static unit not running, not starting it. 159s (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 ... 55541 files and directories currently installed.) 159s Preparing to unpack .../libpam-modules_1.5.3-7ubuntu4_s390x.deb ... 159s Unpacking libpam-modules:s390x (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 159s Setting up libpam-modules:s390x (1.5.3-7ubuntu4) ... 159s (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 ... 55541 files and directories currently installed.) 159s Preparing to unpack .../openssh-sftp-server_1%3a9.9p1-3ubuntu2_s390x.deb ... 159s Unpacking openssh-sftp-server (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 159s Preparing to unpack .../openssh-server_1%3a9.9p1-3ubuntu2_s390x.deb ... 159s Unpacking openssh-server (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 159s Preparing to unpack .../openssh-client_1%3a9.9p1-3ubuntu2_s390x.deb ... 160s Unpacking openssh-client (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 160s Preparing to unpack .../libpam-runtime_1.5.3-7ubuntu4_all.deb ... 160s Unpacking libpam-runtime (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 160s Setting up libpam-runtime (1.5.3-7ubuntu4) ... 160s (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 ... 55543 files and directories currently installed.) 160s Preparing to unpack .../libsemanage-common_3.7-2build1_all.deb ... 160s Unpacking libsemanage-common (3.7-2build1) over (3.5-1build6) ... 160s Setting up libsemanage-common (3.7-2build1) ... 160s (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 ... 55542 files and directories currently installed.) 160s Preparing to unpack .../libsemanage2_3.7-2build1_s390x.deb ... 160s Unpacking libsemanage2:s390x (3.7-2build1) over (3.5-1build6) ... 160s Setting up libsemanage2:s390x (3.7-2build1) ... 160s (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 ... 55542 files and directories currently installed.) 160s Preparing to unpack .../00-distro-info_1.12_s390x.deb ... 160s Unpacking distro-info (1.12) over (1.9) ... 160s Preparing to unpack .../01-gir1.2-girepository-2.0_1.82.0-2_s390x.deb ... 160s Unpacking gir1.2-girepository-2.0:s390x (1.82.0-2) over (1.80.1-4) ... 160s Preparing to unpack .../02-gir1.2-glib-2.0_2.82.2-3_s390x.deb ... 160s Unpacking gir1.2-glib-2.0:s390x (2.82.2-3) over (2.82.1-0ubuntu1) ... 160s Preparing to unpack .../03-libglib2.0-0t64_2.82.2-3_s390x.deb ... 160s Unpacking libglib2.0-0t64:s390x (2.82.2-3) over (2.82.1-0ubuntu1) ... 160s Preparing to unpack .../04-libgirepository-1.0-1_1.82.0-2_s390x.deb ... 160s Unpacking libgirepository-1.0-1:s390x (1.82.0-2) over (1.80.1-4) ... 160s Preparing to unpack .../05-libglib2.0-data_2.82.2-3_all.deb ... 160s Unpacking libglib2.0-data (2.82.2-3) over (2.82.1-0ubuntu1) ... 160s Preparing to unpack .../06-python3-yaml_6.0.2-1build1_s390x.deb ... 160s Unpacking python3-yaml (6.0.2-1build1) over (6.0.2-1) ... 160s Preparing to unpack .../07-vim-tiny_2%3a9.1.0861-1ubuntu1_s390x.deb ... 160s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 160s Preparing to unpack .../08-vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 160s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 160s Preparing to unpack .../09-xxd_2%3a9.1.0861-1ubuntu1_s390x.deb ... 160s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 160s Preparing to unpack .../10-libplymouth5_24.004.60-2ubuntu3_s390x.deb ... 160s Unpacking libplymouth5:s390x (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 160s Preparing to unpack .../11-plymouth-theme-ubuntu-text_24.004.60-2ubuntu3_s390x.deb ... 160s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 160s Preparing to unpack .../12-plymouth_24.004.60-2ubuntu3_s390x.deb ... 160s Unpacking plymouth (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 160s Preparing to unpack .../13-bpftrace_0.21.2-2ubuntu3_s390x.deb ... 160s Unpacking bpftrace (0.21.2-2ubuntu3) over (0.21.2-2ubuntu2) ... 160s Preparing to unpack .../14-curl_8.9.1-2ubuntu3_s390x.deb ... 160s Unpacking curl (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 160s Preparing to unpack .../15-libcurl4t64_8.9.1-2ubuntu3_s390x.deb ... 160s Unpacking libcurl4t64:s390x (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 160s Preparing to unpack .../16-libcurl3t64-gnutls_8.9.1-2ubuntu3_s390x.deb ... 160s Unpacking libcurl3t64-gnutls:s390x (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 160s Selecting previously unselected package libsgutils2-1.48:s390x. 160s Preparing to unpack .../17-libsgutils2-1.48_1.48-0ubuntu1_s390x.deb ... 160s Unpacking libsgutils2-1.48:s390x (1.48-0ubuntu1) ... 160s Preparing to unpack .../18-linux-base_4.10.1ubuntu1_all.deb ... 160s Unpacking linux-base (4.10.1ubuntu1) over (4.5ubuntu9) ... 160s Preparing to unpack .../19-lxd-installer_10_all.deb ... 160s Unpacking lxd-installer (10) over (9) ... 160s Preparing to unpack .../20-python3-blinker_1.9.0-1_all.deb ... 160s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 160s Preparing to unpack .../21-python3-rpds-py_0.21.0-2ubuntu1_s390x.deb ... 160s Unpacking python3-rpds-py (0.21.0-2ubuntu1) over (0.20.0-0ubuntu3) ... 160s Preparing to unpack .../22-python3-jsonschema-specifications_2023.12.1-2_all.deb ... 160s Unpacking python3-jsonschema-specifications (2023.12.1-2) over (2023.12.1-1ubuntu1) ... 160s Preparing to unpack .../23-sg3-utils_1.48-0ubuntu1_s390x.deb ... 160s Unpacking sg3-utils (1.48-0ubuntu1) over (1.46-3ubuntu5) ... 160s Preparing to unpack .../24-sg3-utils-udev_1.48-0ubuntu1_all.deb ... 160s Unpacking sg3-utils-udev (1.48-0ubuntu1) over (1.46-3ubuntu5) ... 161s Setting up distro-info (1.12) ... 161s Setting up linux-base (4.10.1ubuntu1) ... 161s Setting up libcurl4t64:s390x (8.9.1-2ubuntu3) ... 161s Setting up bpftrace (0.21.2-2ubuntu3) ... 161s Setting up openssh-client (1:9.9p1-3ubuntu2) ... 161s Setting up python3-debconf (1.5.87ubuntu1) ... 161s Setting up libcurl3t64-gnutls:s390x (8.9.1-2ubuntu3) ... 161s Setting up libsgutils2-1.48:s390x (1.48-0ubuntu1) ... 161s Setting up python3-yaml (6.0.2-1build1) ... 161s Setting up debconf-i18n (1.5.87ubuntu1) ... 161s Setting up xxd (2:9.1.0861-1ubuntu1) ... 161s Setting up libglib2.0-0t64:s390x (2.82.2-3) ... 161s No schema files found: doing nothing. 161s Setting up libglib2.0-data (2.82.2-3) ... 161s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 161s Setting up gir1.2-glib-2.0:s390x (2.82.2-3) ... 161s Setting up lxd-installer (10) ... 161s Setting up python3-rpds-py (0.21.0-2ubuntu1) ... 161s Setting up libplymouth5:s390x (24.004.60-2ubuntu3) ... 161s Setting up libgirepository-1.0-1:s390x (1.82.0-2) ... 161s Setting up curl (8.9.1-2ubuntu3) ... 161s Setting up python3-jsonschema-specifications (2023.12.1-2) ... 161s Setting up sg3-utils (1.48-0ubuntu1) ... 161s Setting up python3-blinker (1.9.0-1) ... 161s Setting up openssh-sftp-server (1:9.9p1-3ubuntu2) ... 161s Setting up openssh-server (1:9.9p1-3ubuntu2) ... 161s Installing new version of config file /etc/ssh/moduli ... 161s Replacing config file /etc/ssh/sshd_config with new version 162s Setting up plymouth (24.004.60-2ubuntu3) ... 162s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 162s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 164s Using config file '/etc/zipl.conf' 164s Building bootmap in '/boot' 164s Adding IPL section 'ubuntu' (default) 164s Preparing boot device for LD-IPL: vda (0000). 164s Done. 164s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 165s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 165s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 165s Setting up sg3-utils-udev (1.48-0ubuntu1) ... 165s update-initramfs: deferring update (trigger activated) 165s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu3) ... 165s update-initramfs: deferring update (trigger activated) 165s Setting up gir1.2-girepository-2.0:s390x (1.82.0-2) ... 165s Processing triggers for install-info (7.1.1-1) ... 165s Processing triggers for initramfs-tools (0.142ubuntu35) ... 165s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 165s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 167s Using config file '/etc/zipl.conf' 167s Building bootmap in '/boot' 167s Adding IPL section 'ubuntu' (default) 167s Preparing boot device for LD-IPL: vda (0000). 167s Done. 167s Processing triggers for libc-bin (2.40-1ubuntu3) ... 167s Processing triggers for ufw (0.36.2-8) ... 167s Processing triggers for man-db (2.13.0-1) ... 168s Processing triggers for debianutils (5.21) ... 168s Reading package lists... 168s Building dependency tree... 168s Reading state information... 168s The following packages will be REMOVED: 168s libsgutils2-1.46-2* 169s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 169s After this operation, 294 kB disk space will be freed. 169s (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 ... 55573 files and directories currently installed.) 169s Removing libsgutils2-1.46-2:s390x (1.46-3ubuntu5) ... 169s Processing triggers for libc-bin (2.40-1ubuntu3) ... 169s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 169s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 169s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 169s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 170s Reading package lists... 170s Reading package lists... 170s Building dependency tree... 170s Reading state information... 170s Calculating upgrade... 171s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 171s Reading package lists... 171s Building dependency tree... 171s Reading state information... 171s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 171s autopkgtest [20:35:16]: rebooting testbed after setup commands that affected boot 175s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 191s autopkgtest [20:35:36]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 194s autopkgtest [20:35:39]: @@@@@@@@@@@@@@@@@@@@ apt-source fenics-ffcx 197s Get:1 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (dsc) [2533 B] 197s Get:2 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (tar) [134 kB] 197s Get:3 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (diff) [9740 B] 197s gpgv: Signature made Thu Apr 25 09:26:51 2024 UTC 197s gpgv: using RSA key 1B5D04B1E507BBF03669E2B801F35FC33E73AF8C 197s gpgv: Can't check signature: No public key 197s dpkg-source: warning: cannot verify inline signature for ./fenics-ffcx_0.8.0-1.dsc: no acceptable signature found 197s autopkgtest [20:35:41]: testing package fenics-ffcx version 1:0.8.0-1 198s autopkgtest [20:35:43]: build not needed 199s autopkgtest [20:35:44]: test command1: preparing testbed 201s Reading package lists... 201s Building dependency tree... 201s Reading state information... 201s Starting pkgProblemResolver with broken count: 0 201s Starting 2 pkgProblemResolver with broken count: 0 201s Done 202s The following additional packages will be installed: 202s autoconf automake autopoint autotools-dev build-essential cmake cmake-data 202s cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit 202s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz 202s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 202s fonts-font-awesome fonts-lato g++ g++-14 g++-14-s390x-linux-gnu 202s g++-s390x-linux-gnu gcc gcc-14 gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu 202s gettext graphviz intltool-debian libann0 libaom3 libarchive-zip-perl 202s libasan8 libbasix-dev libbasix0.9 libblas3 libboost-math-dev 202s libboost-math1.83-dev libboost-math1.83.0 libboost1.83-dev libcairo2 202s libcc1-0 libcdt5 libcgraph6 libdatrie1 libde265-0 libdebhelper-perl 202s libdeflate0 libeigen3-dev libexpat1-dev libfile-stripnondeterminism-perl 202s libfontconfig1 libfreetype6 libgcc-14-dev libgd3 libgfortran5 libgomp1 202s libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 libharfbuzz0b 202s libheif-plugin-aomdec libheif-plugin-libde265 libheif1 libice6 202s libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 202s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 202s liblab-gamut1 liblapack3 libltdl7 libmpc3 libpango-1.0-0 libpangocairo-1.0-0 202s libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 libpython3-all-dev 202s libpython3-dev libpython3.12-dev libraqm0 librhash0 libsharpyuv0 libsm6 202s libstdc++-14-dev libthai-data libthai0 libtiff6 libtool libubsan1 libwebp7 202s libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 202s pkg-config pkgconf pkgconf-bin po-debconf pybuild-plugin-pyproject 202s python3-alabaster python3-all python3-all-dev python3-basix python3-build 202s python3-cffi python3-defusedxml python3-dev python3-docutils python3-ffcx 202s python3-imagesize python3-iniconfig python3-installer python3-mpmath 202s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 202s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 202s python3-roman python3-snowballstemmer python3-sphinx 202s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 202s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 202s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 202s Suggested packages: 202s autoconf-archive gnu-standards autoconf-doc cmake-doc cmake-format 202s elpa-cmake-mode ninja-build cpp-doc gcc-14-locales cpp-14-doc dh-make flit 202s gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 202s gdb-s390x-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev gsfonts 202s graphviz-doc basix-doc libboost1.83-doc libboost-atomic1.83-dev 202s libboost-chrono1.83-dev libboost-container1.83-dev libboost-context1.83-dev 202s libboost-contract1.83-dev libboost-coroutine1.83-dev 202s libboost-date-time1.83-dev libboost-exception1.83-dev libboost-fiber1.83-dev 202s libboost-filesystem1.83-dev libboost-graph-parallel1.83-dev 202s libboost-graph1.83-dev libboost-iostreams1.83-dev libboost-json1.83-dev 202s libboost-locale1.83-dev libboost-log1.83-dev libboost-mpi-python1.83-dev 202s libboost-mpi1.83-dev libboost-nowide1.83-dev libboost-numpy1.83-dev 202s libboost-program-options1.83-dev libboost-python1.83-dev 202s libboost-random1.83-dev libboost-regex1.83-dev 202s libboost-serialization1.83-dev libboost-stacktrace1.83-dev 202s libboost-system1.83-dev libboost-test1.83-dev libboost-thread1.83-dev 202s libboost-timer1.83-dev libboost-type-erasure1.83-dev libboost-url1.83-dev 202s libboost-wave1.83-dev libboost1.83-tools-dev libmpfrc++-dev libntl-dev 202s libeigen3-doc libgd-tools libheif-plugin-x265 libheif-plugin-ffmpegdec 202s libheif-plugin-jpegdec libheif-plugin-jpegenc libheif-plugin-j2kdec 202s libheif-plugin-j2kenc libheif-plugin-kvazaar libheif-plugin-rav1e 202s libheif-plugin-svtenc libstdc++-14-doc libtool-doc gfortran 202s | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-venv 202s python-build-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine 202s texlive-lang-french texlive-latex-base texlive-latex-recommended 202s python-installer-doc python-mpmath-doc python3-gmpy2 python3-matplotlib 202s gfortran python-numpy-doc python-ply-doc python-pygraphviz-doc 202s python3-stemmer dvipng dvisvgm fonts-freefont-otf imagemagick-6.q16 latexmk 202s libjs-mathjax sphinx-doc tex-gyre texlive-fonts-extra 202s texlive-fonts-recommended texlive-latex-extra texlive-plain-generic 202s python-sympy-doc python-ufl-doc sgml-base-doc 202s Recommended packages: 202s fonts-liberation libarchive-cpio-perl libgts-bin libheif-plugin-aomenc 202s javascript-common libjson-xs-perl libltdl-dev libmail-sendmail-perl 202s libpaper-utils python3-pil isympy-common 202s The following NEW packages will be installed: 202s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 202s cmake cmake-data cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu 202s debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism 202s docutils-common dwz fontconfig fontconfig-config fonts-dejavu-core 202s fonts-dejavu-mono fonts-font-awesome fonts-lato g++ g++-14 202s g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 gcc-14-s390x-linux-gnu 202s gcc-s390x-linux-gnu gettext graphviz intltool-debian libann0 libaom3 202s libarchive-zip-perl libasan8 libbasix-dev libbasix0.9 libblas3 202s libboost-math-dev libboost-math1.83-dev libboost-math1.83.0 libboost1.83-dev 202s libcairo2 libcc1-0 libcdt5 libcgraph6 libdatrie1 libde265-0 202s libdebhelper-perl libdeflate0 libeigen3-dev libexpat1-dev 202s libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libgcc-14-dev 202s libgd3 libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 202s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 libice6 202s libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 202s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 202s liblab-gamut1 liblapack3 libltdl7 libmpc3 libpango-1.0-0 libpangocairo-1.0-0 202s libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 libpython3-all-dev 202s libpython3-dev libpython3.12-dev libraqm0 librhash0 libsharpyuv0 libsm6 202s libstdc++-14-dev libthai-data libthai0 libtiff6 libtool libubsan1 libwebp7 202s libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 202s pkg-config pkgconf pkgconf-bin po-debconf pybuild-plugin-pyproject 202s python3-alabaster python3-all python3-all-dev python3-basix python3-build 202s python3-cffi python3-defusedxml python3-dev python3-docutils python3-ffcx 202s python3-imagesize python3-iniconfig python3-installer python3-mpmath 202s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 202s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 202s python3-roman python3-snowballstemmer python3-sphinx 202s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 202s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 202s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 202s 0 upgraded, 160 newly installed, 0 to remove and 0 not upgraded. 202s Need to get 123 MB/123 MB of archives. 202s After this operation, 576 MB of additional disk space will be used. 202s Get:1 /tmp/autopkgtest.GZ3CPp/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [888 B] 202s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-lato all 2.015-1 [2781 kB] 202s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x sgml-base all 1.31 [11.4 kB] 202s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x m4 s390x 1.4.19-4build1 [256 kB] 202s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x autoconf all 2.72-3 [382 kB] 202s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x autotools-dev all 20220109.1 [44.9 kB] 202s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x automake all 1:1.16.5-1.3ubuntu1 [558 kB] 202s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x autopoint all 0.22.5-2 [616 kB] 202s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 202s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 202s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [9570 kB] 203s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-8ubuntu1 [1026 B] 203s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 203s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 203s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-8ubuntu1 [50.6 kB] 203s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-8ubuntu1 [151 kB] 203s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-8ubuntu1 [30.9 kB] 203s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-8ubuntu1 [2963 kB] 203s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-8ubuntu1 [1184 kB] 203s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-8ubuntu1 [1037 kB] 203s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [18.7 MB] 203s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-8ubuntu1 [518 kB] 203s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 203s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 203s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-8ubuntu1 [2608 kB] 203s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [11.0 MB] 204s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-8ubuntu1 [19.9 kB] 204s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 204s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 204s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 204s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libjsoncpp25 s390x 1.9.5-6build1 [82.5 kB] 204s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x librhash0 s390x 1.4.3-3build1 [133 kB] 204s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x cmake-data all 3.30.3-1 [2246 kB] 204s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x cmake s390x 3.30.3-1 [12.3 MB] 204s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 204s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libtool all 2.4.7-8 [166 kB] 204s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x dh-autoreconf all 20 [16.1 kB] 204s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] 204s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 204s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x dh-strip-nondeterminism all 1.14.0-1 [5058 B] 204s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x debugedit s390x 1:5.1-1 [49.9 kB] 204s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x dwz s390x 0.15-1build6 [122 kB] 204s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x gettext s390x 0.22.5-2 [996 kB] 204s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] 204s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x po-debconf all 1.0.21+nmu1 [233 kB] 204s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x debhelper all 13.20ubuntu1 [893 kB] 204s Get:47 http://ftpmaster.internal/ubuntu plucky/universe s390x dh-python all 6.20241024 [112 kB] 204s Get:48 http://ftpmaster.internal/ubuntu plucky/main s390x xml-core all 0.19 [20.3 kB] 204s Get:49 http://ftpmaster.internal/ubuntu plucky/main s390x docutils-common all 0.21.2+dfsg-2 [131 kB] 204s Get:50 http://ftpmaster.internal/ubuntu plucky/main s390x libfreetype6 s390x 2.13.3+dfsg-1 [431 kB] 204s Get:51 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-dejavu-mono all 2.37-8 [502 kB] 204s Get:52 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-dejavu-core all 2.37-8 [835 kB] 204s Get:53 http://ftpmaster.internal/ubuntu plucky/main s390x fontconfig-config s390x 2.15.0-1.1ubuntu2 [37.4 kB] 204s Get:54 http://ftpmaster.internal/ubuntu plucky/main s390x libfontconfig1 s390x 2.15.0-1.1ubuntu2 [150 kB] 204s Get:55 http://ftpmaster.internal/ubuntu plucky/main s390x fontconfig s390x 2.15.0-1.1ubuntu2 [191 kB] 204s Get:56 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 204s Get:57 http://ftpmaster.internal/ubuntu plucky/universe s390x libann0 s390x 1.1.2+doc-9build1 [28.8 kB] 204s Get:58 http://ftpmaster.internal/ubuntu plucky/universe s390x libcdt5 s390x 2.42.4-2build3 [23.2 kB] 204s Get:59 http://ftpmaster.internal/ubuntu plucky/universe s390x libcgraph6 s390x 2.42.4-2build3 [46.9 kB] 204s Get:60 http://ftpmaster.internal/ubuntu plucky/main s390x libsharpyuv0 s390x 1.4.0-0.1 [16.2 kB] 204s Get:61 http://ftpmaster.internal/ubuntu plucky/main s390x libaom3 s390x 3.11.0-1 [1493 kB] 204s Get:62 http://ftpmaster.internal/ubuntu plucky/main s390x libheif-plugin-aomdec s390x 1.19.3-1 [11.5 kB] 204s Get:63 http://ftpmaster.internal/ubuntu plucky/main s390x libde265-0 s390x 1.0.15-1build4 [175 kB] 204s Get:64 http://ftpmaster.internal/ubuntu plucky/main s390x libheif-plugin-libde265 s390x 1.19.3-1 [8974 B] 204s Get:65 http://ftpmaster.internal/ubuntu plucky/main s390x libheif1 s390x 1.19.3-1 [402 kB] 204s Get:66 http://ftpmaster.internal/ubuntu plucky/main s390x libimagequant0 s390x 2.18.0-1build1 [43.3 kB] 204s Get:67 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg-turbo8 s390x 2.1.5-3ubuntu2 [147 kB] 204s Get:68 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] 204s Get:69 http://ftpmaster.internal/ubuntu plucky/main s390x libgraphite2-3 s390x 1.3.14-2ubuntu1 [79.8 kB] 204s Get:70 http://ftpmaster.internal/ubuntu plucky/main s390x libharfbuzz0b s390x 10.0.1-1 [536 kB] 204s Get:71 http://ftpmaster.internal/ubuntu plucky/main s390x libraqm0 s390x 0.10.1-1build1 [16.2 kB] 204s Get:72 http://ftpmaster.internal/ubuntu plucky/main s390x libdeflate0 s390x 1.22-1 [46.1 kB] 204s Get:73 http://ftpmaster.internal/ubuntu plucky/main s390x libjbig0 s390x 2.1-6.1ubuntu2 [33.1 kB] 204s Get:74 http://ftpmaster.internal/ubuntu plucky/main s390x libwebp7 s390x 1.4.0-0.1 [204 kB] 204s Get:75 http://ftpmaster.internal/ubuntu plucky/main s390x libtiff6 s390x 4.5.1+git230720-4ubuntu4 [217 kB] 204s Get:76 http://ftpmaster.internal/ubuntu plucky/main s390x libxpm4 s390x 1:3.5.17-1build2 [41.2 kB] 204s Get:77 http://ftpmaster.internal/ubuntu plucky/main s390x libgd3 s390x 2.3.3-12ubuntu3 [141 kB] 204s Get:78 http://ftpmaster.internal/ubuntu plucky/universe s390x libgts-0.7-5t64 s390x 0.7.6+darcs121130-5.2build1 [164 kB] 204s Get:79 http://ftpmaster.internal/ubuntu plucky/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB] 204s Get:80 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-render0 s390x 1.17.0-2 [17.0 kB] 204s Get:81 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-shm0 s390x 1.17.0-2 [5862 B] 204s Get:82 http://ftpmaster.internal/ubuntu plucky/main s390x libxrender1 s390x 1:0.9.10-1.1build1 [20.4 kB] 204s Get:83 http://ftpmaster.internal/ubuntu plucky/main s390x libcairo2 s390x 1.18.2-2 [580 kB] 205s Get:84 http://ftpmaster.internal/ubuntu plucky/main s390x libltdl7 s390x 2.4.7-8 [41.5 kB] 205s Get:85 http://ftpmaster.internal/ubuntu plucky/main s390x libthai-data all 0.1.29-2build1 [158 kB] 205s Get:86 http://ftpmaster.internal/ubuntu plucky/main s390x libdatrie1 s390x 0.2.13-3build1 [20.6 kB] 205s Get:87 http://ftpmaster.internal/ubuntu plucky/main s390x libthai0 s390x 0.1.29-2build1 [20.7 kB] 205s Get:88 http://ftpmaster.internal/ubuntu plucky/main s390x libpango-1.0-0 s390x 1.54.0+ds-3 [249 kB] 205s Get:89 http://ftpmaster.internal/ubuntu plucky/main s390x libpangoft2-1.0-0 s390x 1.54.0+ds-3 [49.5 kB] 205s Get:90 http://ftpmaster.internal/ubuntu plucky/main s390x libpangocairo-1.0-0 s390x 1.54.0+ds-3 [28.0 kB] 205s Get:91 http://ftpmaster.internal/ubuntu plucky/universe s390x libpathplan4 s390x 2.42.4-2build3 [26.5 kB] 205s Get:92 http://ftpmaster.internal/ubuntu plucky/universe s390x libgvc6 s390x 2.42.4-2build3 [789 kB] 205s Get:93 http://ftpmaster.internal/ubuntu plucky/universe s390x libgvpr2 s390x 2.42.4-2build3 [194 kB] 205s Get:94 http://ftpmaster.internal/ubuntu plucky/universe s390x liblab-gamut1 s390x 2.42.4-2build3 [1834 kB] 205s Get:95 http://ftpmaster.internal/ubuntu plucky/main s390x x11-common all 1:7.7+23ubuntu3 [21.7 kB] 205s Get:96 http://ftpmaster.internal/ubuntu plucky/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB] 205s Get:97 http://ftpmaster.internal/ubuntu plucky/main s390x libsm6 s390x 2:1.2.4-1 [18.4 kB] 205s Get:98 http://ftpmaster.internal/ubuntu plucky/main s390x libxt6t64 s390x 1:1.2.1-1.2build1 [184 kB] 205s Get:99 http://ftpmaster.internal/ubuntu plucky/main s390x libxmu6 s390x 2:1.1.3-3build2 [53.0 kB] 205s Get:100 http://ftpmaster.internal/ubuntu plucky/main s390x libxaw7 s390x 2:1.0.16-1 [201 kB] 205s Get:101 http://ftpmaster.internal/ubuntu plucky/universe s390x graphviz s390x 2.42.4-2build3 [698 kB] 205s Get:102 http://ftpmaster.internal/ubuntu plucky/main s390x libblas3 s390x 3.12.0-3build2 [238 kB] 205s Get:103 http://ftpmaster.internal/ubuntu plucky/main s390x libgfortran5 s390x 14.2.0-8ubuntu1 [587 kB] 205s Get:104 http://ftpmaster.internal/ubuntu plucky/main s390x liblapack3 s390x 3.12.0-3build2 [2953 kB] 206s Get:105 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x libbasix0.9 s390x 0.9.0-2build1 [537 kB] 206s Get:106 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB] 206s Get:107 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB] 206s Get:108 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB] 206s Get:109 http://ftpmaster.internal/ubuntu plucky/main s390x pkg-config s390x 1.8.1-4 [7362 B] 206s Get:110 http://ftpmaster.internal/ubuntu plucky/universe s390x libeigen3-dev all 3.4.0-4build1 [1055 kB] 206s Get:111 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x libbasix-dev s390x 0.9.0-2build1 [62.2 kB] 206s Get:112 http://ftpmaster.internal/ubuntu plucky/main s390x libboost1.83-dev s390x 1.83.0-3.2ubuntu2 [10.7 MB] 206s Get:113 http://ftpmaster.internal/ubuntu plucky/universe s390x libboost-math1.83.0 s390x 1.83.0-3.2ubuntu2 [459 kB] 206s Get:114 http://ftpmaster.internal/ubuntu plucky/universe s390x libboost-math1.83-dev s390x 1.83.0-3.2ubuntu2 [556 kB] 206s Get:115 http://ftpmaster.internal/ubuntu plucky/universe s390x libboost-math-dev s390x 1.83.0.2ubuntu1 [4434 B] 206s Get:116 http://ftpmaster.internal/ubuntu plucky/main s390x libexpat1-dev s390x 2.6.4-1 [146 kB] 206s Get:117 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 206s Get:118 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 206s Get:119 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-sphinxdoc all 7.4.7-4 [158 kB] 206s Get:120 http://ftpmaster.internal/ubuntu plucky/main s390x libjson-perl all 4.10000-1 [81.9 kB] 206s Get:121 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB] 207s Get:122 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12-dev s390x 3.12.7-3 [5838 kB] 207s Get:123 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3-dev s390x 3.12.6-0ubuntu1 [10.2 kB] 207s Get:124 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3-all-dev s390x 3.12.6-0ubuntu1 [918 B] 207s Get:125 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 207s Get:126 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 207s Get:127 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-toml all 0.10.2-1 [16.5 kB] 207s Get:128 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-wheel all 0.45.0-1 [57.7 kB] 207s Get:129 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-build all 1.2.2-1 [31.0 kB] 207s Get:130 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 207s Get:131 http://ftpmaster.internal/ubuntu plucky/universe s390x pybuild-plugin-pyproject all 6.20241024 [1728 B] 207s Get:132 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.12.6-0ubuntu1 [890 B] 207s Get:133 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12-dev s390x 3.12.7-3 [505 kB] 207s Get:134 http://ftpmaster.internal/ubuntu plucky/main s390x python3-dev s390x 3.12.6-0ubuntu1 [26.7 kB] 207s Get:135 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all-dev s390x 3.12.6-0ubuntu1 [912 B] 207s Get:136 http://ftpmaster.internal/ubuntu plucky/main s390x python3-numpy s390x 1:1.26.4+ds-11ubuntu1 [4602 kB] 207s Get:137 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-ufl all 2024.2.0-2 [145 kB] 207s Get:138 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-basix s390x 0.9.0-2build1 [136 kB] 207s Get:139 http://ftpmaster.internal/ubuntu plucky/main s390x python3-ply all 3.11-7 [45.4 kB] 207s Get:140 http://ftpmaster.internal/ubuntu plucky/main s390x python3-pycparser all 2.22-2 [76.5 kB] 207s Get:141 http://ftpmaster.internal/ubuntu plucky/main s390x python3-cffi all 1.17.1-2build1 [74.8 kB] 207s Get:142 http://ftpmaster.internal/ubuntu plucky/main s390x python3-defusedxml all 0.7.1-2 [42.0 kB] 207s Get:143 http://ftpmaster.internal/ubuntu plucky/main s390x python3-roman all 4.2-1 [10.0 kB] 207s Get:144 http://ftpmaster.internal/ubuntu plucky/main s390x python3-docutils all 0.21.2+dfsg-2 [409 kB] 207s Get:145 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-ffcx all 1:0.8.0-1 [92.9 kB] 207s Get:146 http://ftpmaster.internal/ubuntu plucky/main s390x python3-imagesize all 1.4.1-1 [6844 B] 207s Get:147 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 207s Get:148 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-mpmath all 1.3.0-1 [425 kB] 207s Get:149 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pip all 24.3.1+dfsg-1 [1404 kB] 207s Get:150 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 207s Get:151 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pygraphviz s390x 1.14-1build1 [81.2 kB] 207s Get:152 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.3-1 [251 kB] 207s Get:153 http://ftpmaster.internal/ubuntu plucky/main s390x python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 207s Get:154 http://ftpmaster.internal/ubuntu plucky/main s390x sphinx-common all 7.4.7-4 [775 kB] 208s Get:155 http://ftpmaster.internal/ubuntu plucky/main s390x python3-alabaster all 0.7.16-0.1 [18.5 kB] 208s Get:156 http://ftpmaster.internal/ubuntu plucky/main s390x python3-sphinx all 7.4.7-4 [593 kB] 208s Get:157 http://ftpmaster.internal/ubuntu plucky/main s390x sphinx-rtd-theme-common all 3.0.2+dfsg-1 [1014 kB] 208s Get:158 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 208s Get:159 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-sphinx-rtd-theme all 3.0.2+dfsg-1 [23.5 kB] 208s Get:160 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-sympy all 1.13.3-1 [4228 kB] 208s Fetched 123 MB in 6s (20.1 MB/s) 208s Selecting previously unselected package fonts-lato. 209s (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 ... 55568 files and directories currently installed.) 209s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 209s Unpacking fonts-lato (2.015-1) ... 209s Selecting previously unselected package sgml-base. 209s Preparing to unpack .../001-sgml-base_1.31_all.deb ... 209s Unpacking sgml-base (1.31) ... 209s Selecting previously unselected package m4. 209s Preparing to unpack .../002-m4_1.4.19-4build1_s390x.deb ... 209s Unpacking m4 (1.4.19-4build1) ... 209s Selecting previously unselected package autoconf. 209s Preparing to unpack .../003-autoconf_2.72-3_all.deb ... 209s Unpacking autoconf (2.72-3) ... 209s Selecting previously unselected package autotools-dev. 209s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 209s Unpacking autotools-dev (20220109.1) ... 209s Selecting previously unselected package automake. 209s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 209s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 209s Selecting previously unselected package autopoint. 209s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 209s Unpacking autopoint (0.22.5-2) ... 209s Selecting previously unselected package libisl23:s390x. 209s Preparing to unpack .../007-libisl23_0.27-1_s390x.deb ... 209s Unpacking libisl23:s390x (0.27-1) ... 209s Selecting previously unselected package libmpc3:s390x. 209s Preparing to unpack .../008-libmpc3_1.3.1-1build2_s390x.deb ... 209s Unpacking libmpc3:s390x (1.3.1-1build2) ... 209s Selecting previously unselected package cpp-14-s390x-linux-gnu. 209s Preparing to unpack .../009-cpp-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking cpp-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 209s Selecting previously unselected package cpp-14. 209s Preparing to unpack .../010-cpp-14_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 209s Selecting previously unselected package cpp-s390x-linux-gnu. 209s Preparing to unpack .../011-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 209s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 209s Selecting previously unselected package cpp. 209s Preparing to unpack .../012-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 209s Unpacking cpp (4:14.1.0-2ubuntu1) ... 209s Selecting previously unselected package libcc1-0:s390x. 209s Preparing to unpack .../013-libcc1-0_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking libcc1-0:s390x (14.2.0-8ubuntu1) ... 209s Selecting previously unselected package libgomp1:s390x. 209s Preparing to unpack .../014-libgomp1_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking libgomp1:s390x (14.2.0-8ubuntu1) ... 209s Selecting previously unselected package libitm1:s390x. 209s Preparing to unpack .../015-libitm1_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking libitm1:s390x (14.2.0-8ubuntu1) ... 209s Selecting previously unselected package libasan8:s390x. 209s Preparing to unpack .../016-libasan8_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking libasan8:s390x (14.2.0-8ubuntu1) ... 209s Selecting previously unselected package libubsan1:s390x. 209s Preparing to unpack .../017-libubsan1_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking libubsan1:s390x (14.2.0-8ubuntu1) ... 209s Selecting previously unselected package libgcc-14-dev:s390x. 209s Preparing to unpack .../018-libgcc-14-dev_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking libgcc-14-dev:s390x (14.2.0-8ubuntu1) ... 209s Selecting previously unselected package gcc-14-s390x-linux-gnu. 209s Preparing to unpack .../019-gcc-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking gcc-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 209s Selecting previously unselected package gcc-14. 209s Preparing to unpack .../020-gcc-14_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 209s Selecting previously unselected package gcc-s390x-linux-gnu. 209s Preparing to unpack .../021-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 209s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 209s Selecting previously unselected package gcc. 209s Preparing to unpack .../022-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 209s Unpacking gcc (4:14.1.0-2ubuntu1) ... 209s Selecting previously unselected package libstdc++-14-dev:s390x. 209s Preparing to unpack .../023-libstdc++-14-dev_14.2.0-8ubuntu1_s390x.deb ... 209s Unpacking libstdc++-14-dev:s390x (14.2.0-8ubuntu1) ... 210s Selecting previously unselected package g++-14-s390x-linux-gnu. 210s Preparing to unpack .../024-g++-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 210s Unpacking g++-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 210s Selecting previously unselected package g++-14. 210s Preparing to unpack .../025-g++-14_14.2.0-8ubuntu1_s390x.deb ... 210s Unpacking g++-14 (14.2.0-8ubuntu1) ... 210s Selecting previously unselected package g++-s390x-linux-gnu. 210s Preparing to unpack .../026-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 210s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 210s Selecting previously unselected package g++. 210s Preparing to unpack .../027-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 210s Unpacking g++ (4:14.1.0-2ubuntu1) ... 210s Selecting previously unselected package build-essential. 210s Preparing to unpack .../028-build-essential_12.10ubuntu1_s390x.deb ... 210s Unpacking build-essential (12.10ubuntu1) ... 210s Selecting previously unselected package libjsoncpp25:s390x. 210s Preparing to unpack .../029-libjsoncpp25_1.9.5-6build1_s390x.deb ... 210s Unpacking libjsoncpp25:s390x (1.9.5-6build1) ... 210s Selecting previously unselected package librhash0:s390x. 210s Preparing to unpack .../030-librhash0_1.4.3-3build1_s390x.deb ... 210s Unpacking librhash0:s390x (1.4.3-3build1) ... 210s Selecting previously unselected package cmake-data. 210s Preparing to unpack .../031-cmake-data_3.30.3-1_all.deb ... 210s Unpacking cmake-data (3.30.3-1) ... 210s Selecting previously unselected package cmake. 210s Preparing to unpack .../032-cmake_3.30.3-1_s390x.deb ... 210s Unpacking cmake (3.30.3-1) ... 210s Selecting previously unselected package libdebhelper-perl. 210s Preparing to unpack .../033-libdebhelper-perl_13.20ubuntu1_all.deb ... 210s Unpacking libdebhelper-perl (13.20ubuntu1) ... 210s Selecting previously unselected package libtool. 210s Preparing to unpack .../034-libtool_2.4.7-8_all.deb ... 210s Unpacking libtool (2.4.7-8) ... 210s Selecting previously unselected package dh-autoreconf. 210s Preparing to unpack .../035-dh-autoreconf_20_all.deb ... 210s Unpacking dh-autoreconf (20) ... 210s Selecting previously unselected package libarchive-zip-perl. 210s Preparing to unpack .../036-libarchive-zip-perl_1.68-1_all.deb ... 210s Unpacking libarchive-zip-perl (1.68-1) ... 210s Selecting previously unselected package libfile-stripnondeterminism-perl. 210s Preparing to unpack .../037-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 210s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 210s Selecting previously unselected package dh-strip-nondeterminism. 210s Preparing to unpack .../038-dh-strip-nondeterminism_1.14.0-1_all.deb ... 210s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 210s Selecting previously unselected package debugedit. 210s Preparing to unpack .../039-debugedit_1%3a5.1-1_s390x.deb ... 210s Unpacking debugedit (1:5.1-1) ... 210s Selecting previously unselected package dwz. 210s Preparing to unpack .../040-dwz_0.15-1build6_s390x.deb ... 210s Unpacking dwz (0.15-1build6) ... 210s Selecting previously unselected package gettext. 210s Preparing to unpack .../041-gettext_0.22.5-2_s390x.deb ... 210s Unpacking gettext (0.22.5-2) ... 210s Selecting previously unselected package intltool-debian. 210s Preparing to unpack .../042-intltool-debian_0.35.0+20060710.6_all.deb ... 210s Unpacking intltool-debian (0.35.0+20060710.6) ... 210s Selecting previously unselected package po-debconf. 210s Preparing to unpack .../043-po-debconf_1.0.21+nmu1_all.deb ... 210s Unpacking po-debconf (1.0.21+nmu1) ... 210s Selecting previously unselected package debhelper. 210s Preparing to unpack .../044-debhelper_13.20ubuntu1_all.deb ... 210s Unpacking debhelper (13.20ubuntu1) ... 210s Selecting previously unselected package dh-python. 210s Preparing to unpack .../045-dh-python_6.20241024_all.deb ... 210s Unpacking dh-python (6.20241024) ... 210s Selecting previously unselected package xml-core. 210s Preparing to unpack .../046-xml-core_0.19_all.deb ... 210s Unpacking xml-core (0.19) ... 210s Selecting previously unselected package docutils-common. 210s Preparing to unpack .../047-docutils-common_0.21.2+dfsg-2_all.deb ... 210s Unpacking docutils-common (0.21.2+dfsg-2) ... 210s Selecting previously unselected package libfreetype6:s390x. 210s Preparing to unpack .../048-libfreetype6_2.13.3+dfsg-1_s390x.deb ... 210s Unpacking libfreetype6:s390x (2.13.3+dfsg-1) ... 210s Selecting previously unselected package fonts-dejavu-mono. 210s Preparing to unpack .../049-fonts-dejavu-mono_2.37-8_all.deb ... 210s Unpacking fonts-dejavu-mono (2.37-8) ... 210s Selecting previously unselected package fonts-dejavu-core. 210s Preparing to unpack .../050-fonts-dejavu-core_2.37-8_all.deb ... 210s Unpacking fonts-dejavu-core (2.37-8) ... 210s Selecting previously unselected package fontconfig-config. 210s Preparing to unpack .../051-fontconfig-config_2.15.0-1.1ubuntu2_s390x.deb ... 211s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 211s Selecting previously unselected package libfontconfig1:s390x. 211s Preparing to unpack .../052-libfontconfig1_2.15.0-1.1ubuntu2_s390x.deb ... 211s Unpacking libfontconfig1:s390x (2.15.0-1.1ubuntu2) ... 211s Selecting previously unselected package fontconfig. 211s Preparing to unpack .../053-fontconfig_2.15.0-1.1ubuntu2_s390x.deb ... 211s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 211s Selecting previously unselected package fonts-font-awesome. 211s Preparing to unpack .../054-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 211s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 211s Selecting previously unselected package libann0. 211s Preparing to unpack .../055-libann0_1.1.2+doc-9build1_s390x.deb ... 211s Unpacking libann0 (1.1.2+doc-9build1) ... 211s Selecting previously unselected package libcdt5:s390x. 211s Preparing to unpack .../056-libcdt5_2.42.4-2build3_s390x.deb ... 211s Unpacking libcdt5:s390x (2.42.4-2build3) ... 211s Selecting previously unselected package libcgraph6:s390x. 211s Preparing to unpack .../057-libcgraph6_2.42.4-2build3_s390x.deb ... 211s Unpacking libcgraph6:s390x (2.42.4-2build3) ... 211s Selecting previously unselected package libsharpyuv0:s390x. 211s Preparing to unpack .../058-libsharpyuv0_1.4.0-0.1_s390x.deb ... 211s Unpacking libsharpyuv0:s390x (1.4.0-0.1) ... 211s Selecting previously unselected package libaom3:s390x. 211s Preparing to unpack .../059-libaom3_3.11.0-1_s390x.deb ... 211s Unpacking libaom3:s390x (3.11.0-1) ... 211s Selecting previously unselected package libheif-plugin-aomdec:s390x. 211s Preparing to unpack .../060-libheif-plugin-aomdec_1.19.3-1_s390x.deb ... 211s Unpacking libheif-plugin-aomdec:s390x (1.19.3-1) ... 211s Selecting previously unselected package libde265-0:s390x. 211s Preparing to unpack .../061-libde265-0_1.0.15-1build4_s390x.deb ... 211s Unpacking libde265-0:s390x (1.0.15-1build4) ... 211s Selecting previously unselected package libheif-plugin-libde265:s390x. 211s Preparing to unpack .../062-libheif-plugin-libde265_1.19.3-1_s390x.deb ... 211s Unpacking libheif-plugin-libde265:s390x (1.19.3-1) ... 211s Selecting previously unselected package libheif1:s390x. 211s Preparing to unpack .../063-libheif1_1.19.3-1_s390x.deb ... 211s Unpacking libheif1:s390x (1.19.3-1) ... 211s Selecting previously unselected package libimagequant0:s390x. 211s Preparing to unpack .../064-libimagequant0_2.18.0-1build1_s390x.deb ... 211s Unpacking libimagequant0:s390x (2.18.0-1build1) ... 211s Selecting previously unselected package libjpeg-turbo8:s390x. 211s Preparing to unpack .../065-libjpeg-turbo8_2.1.5-3ubuntu2_s390x.deb ... 211s Unpacking libjpeg-turbo8:s390x (2.1.5-3ubuntu2) ... 211s Selecting previously unselected package libjpeg8:s390x. 211s Preparing to unpack .../066-libjpeg8_8c-2ubuntu11_s390x.deb ... 211s Unpacking libjpeg8:s390x (8c-2ubuntu11) ... 211s Selecting previously unselected package libgraphite2-3:s390x. 211s Preparing to unpack .../067-libgraphite2-3_1.3.14-2ubuntu1_s390x.deb ... 211s Unpacking libgraphite2-3:s390x (1.3.14-2ubuntu1) ... 211s Selecting previously unselected package libharfbuzz0b:s390x. 211s Preparing to unpack .../068-libharfbuzz0b_10.0.1-1_s390x.deb ... 211s Unpacking libharfbuzz0b:s390x (10.0.1-1) ... 211s Selecting previously unselected package libraqm0:s390x. 211s Preparing to unpack .../069-libraqm0_0.10.1-1build1_s390x.deb ... 211s Unpacking libraqm0:s390x (0.10.1-1build1) ... 211s Selecting previously unselected package libdeflate0:s390x. 211s Preparing to unpack .../070-libdeflate0_1.22-1_s390x.deb ... 211s Unpacking libdeflate0:s390x (1.22-1) ... 211s Selecting previously unselected package libjbig0:s390x. 211s Preparing to unpack .../071-libjbig0_2.1-6.1ubuntu2_s390x.deb ... 211s Unpacking libjbig0:s390x (2.1-6.1ubuntu2) ... 211s Selecting previously unselected package libwebp7:s390x. 211s Preparing to unpack .../072-libwebp7_1.4.0-0.1_s390x.deb ... 211s Unpacking libwebp7:s390x (1.4.0-0.1) ... 211s Selecting previously unselected package libtiff6:s390x. 211s Preparing to unpack .../073-libtiff6_4.5.1+git230720-4ubuntu4_s390x.deb ... 211s Unpacking libtiff6:s390x (4.5.1+git230720-4ubuntu4) ... 211s Selecting previously unselected package libxpm4:s390x. 211s Preparing to unpack .../074-libxpm4_1%3a3.5.17-1build2_s390x.deb ... 211s Unpacking libxpm4:s390x (1:3.5.17-1build2) ... 211s Selecting previously unselected package libgd3:s390x. 211s Preparing to unpack .../075-libgd3_2.3.3-12ubuntu3_s390x.deb ... 211s Unpacking libgd3:s390x (2.3.3-12ubuntu3) ... 211s Selecting previously unselected package libgts-0.7-5t64:s390x. 211s Preparing to unpack .../076-libgts-0.7-5t64_0.7.6+darcs121130-5.2build1_s390x.deb ... 211s Unpacking libgts-0.7-5t64:s390x (0.7.6+darcs121130-5.2build1) ... 211s Selecting previously unselected package libpixman-1-0:s390x. 211s Preparing to unpack .../077-libpixman-1-0_0.44.0-3_s390x.deb ... 211s Unpacking libpixman-1-0:s390x (0.44.0-3) ... 211s Selecting previously unselected package libxcb-render0:s390x. 211s Preparing to unpack .../078-libxcb-render0_1.17.0-2_s390x.deb ... 211s Unpacking libxcb-render0:s390x (1.17.0-2) ... 211s Selecting previously unselected package libxcb-shm0:s390x. 211s Preparing to unpack .../079-libxcb-shm0_1.17.0-2_s390x.deb ... 211s Unpacking libxcb-shm0:s390x (1.17.0-2) ... 211s Selecting previously unselected package libxrender1:s390x. 211s Preparing to unpack .../080-libxrender1_1%3a0.9.10-1.1build1_s390x.deb ... 211s Unpacking libxrender1:s390x (1:0.9.10-1.1build1) ... 211s Selecting previously unselected package libcairo2:s390x. 211s Preparing to unpack .../081-libcairo2_1.18.2-2_s390x.deb ... 211s Unpacking libcairo2:s390x (1.18.2-2) ... 211s Selecting previously unselected package libltdl7:s390x. 211s Preparing to unpack .../082-libltdl7_2.4.7-8_s390x.deb ... 211s Unpacking libltdl7:s390x (2.4.7-8) ... 211s Selecting previously unselected package libthai-data. 211s Preparing to unpack .../083-libthai-data_0.1.29-2build1_all.deb ... 211s Unpacking libthai-data (0.1.29-2build1) ... 211s Selecting previously unselected package libdatrie1:s390x. 211s Preparing to unpack .../084-libdatrie1_0.2.13-3build1_s390x.deb ... 211s Unpacking libdatrie1:s390x (0.2.13-3build1) ... 211s Selecting previously unselected package libthai0:s390x. 211s Preparing to unpack .../085-libthai0_0.1.29-2build1_s390x.deb ... 211s Unpacking libthai0:s390x (0.1.29-2build1) ... 211s Selecting previously unselected package libpango-1.0-0:s390x. 211s Preparing to unpack .../086-libpango-1.0-0_1.54.0+ds-3_s390x.deb ... 211s Unpacking libpango-1.0-0:s390x (1.54.0+ds-3) ... 211s Selecting previously unselected package libpangoft2-1.0-0:s390x. 211s Preparing to unpack .../087-libpangoft2-1.0-0_1.54.0+ds-3_s390x.deb ... 211s Unpacking libpangoft2-1.0-0:s390x (1.54.0+ds-3) ... 211s Selecting previously unselected package libpangocairo-1.0-0:s390x. 211s Preparing to unpack .../088-libpangocairo-1.0-0_1.54.0+ds-3_s390x.deb ... 211s Unpacking libpangocairo-1.0-0:s390x (1.54.0+ds-3) ... 211s Selecting previously unselected package libpathplan4:s390x. 211s Preparing to unpack .../089-libpathplan4_2.42.4-2build3_s390x.deb ... 211s Unpacking libpathplan4:s390x (2.42.4-2build3) ... 211s Selecting previously unselected package libgvc6. 211s Preparing to unpack .../090-libgvc6_2.42.4-2build3_s390x.deb ... 211s Unpacking libgvc6 (2.42.4-2build3) ... 211s Selecting previously unselected package libgvpr2:s390x. 211s Preparing to unpack .../091-libgvpr2_2.42.4-2build3_s390x.deb ... 211s Unpacking libgvpr2:s390x (2.42.4-2build3) ... 211s Selecting previously unselected package liblab-gamut1:s390x. 211s Preparing to unpack .../092-liblab-gamut1_2.42.4-2build3_s390x.deb ... 211s Unpacking liblab-gamut1:s390x (2.42.4-2build3) ... 211s Selecting previously unselected package x11-common. 211s Preparing to unpack .../093-x11-common_1%3a7.7+23ubuntu3_all.deb ... 211s Unpacking x11-common (1:7.7+23ubuntu3) ... 211s Selecting previously unselected package libice6:s390x. 211s Preparing to unpack .../094-libice6_2%3a1.1.1-1_s390x.deb ... 211s Unpacking libice6:s390x (2:1.1.1-1) ... 211s Selecting previously unselected package libsm6:s390x. 211s Preparing to unpack .../095-libsm6_2%3a1.2.4-1_s390x.deb ... 211s Unpacking libsm6:s390x (2:1.2.4-1) ... 211s Selecting previously unselected package libxt6t64:s390x. 211s Preparing to unpack .../096-libxt6t64_1%3a1.2.1-1.2build1_s390x.deb ... 211s Unpacking libxt6t64:s390x (1:1.2.1-1.2build1) ... 211s Selecting previously unselected package libxmu6:s390x. 211s Preparing to unpack .../097-libxmu6_2%3a1.1.3-3build2_s390x.deb ... 211s Unpacking libxmu6:s390x (2:1.1.3-3build2) ... 211s Selecting previously unselected package libxaw7:s390x. 211s Preparing to unpack .../098-libxaw7_2%3a1.0.16-1_s390x.deb ... 211s Unpacking libxaw7:s390x (2:1.0.16-1) ... 211s Selecting previously unselected package graphviz. 211s Preparing to unpack .../099-graphviz_2.42.4-2build3_s390x.deb ... 211s Unpacking graphviz (2.42.4-2build3) ... 211s Selecting previously unselected package libblas3:s390x. 211s Preparing to unpack .../100-libblas3_3.12.0-3build2_s390x.deb ... 211s Unpacking libblas3:s390x (3.12.0-3build2) ... 211s Selecting previously unselected package libgfortran5:s390x. 211s Preparing to unpack .../101-libgfortran5_14.2.0-8ubuntu1_s390x.deb ... 211s Unpacking libgfortran5:s390x (14.2.0-8ubuntu1) ... 211s Selecting previously unselected package liblapack3:s390x. 211s Preparing to unpack .../102-liblapack3_3.12.0-3build2_s390x.deb ... 211s Unpacking liblapack3:s390x (3.12.0-3build2) ... 211s Selecting previously unselected package libbasix0.9:s390x. 211s Preparing to unpack .../103-libbasix0.9_0.9.0-2build1_s390x.deb ... 211s Unpacking libbasix0.9:s390x (0.9.0-2build1) ... 211s Selecting previously unselected package libpkgconf3:s390x. 211s Preparing to unpack .../104-libpkgconf3_1.8.1-4_s390x.deb ... 211s Unpacking libpkgconf3:s390x (1.8.1-4) ... 211s Selecting previously unselected package pkgconf-bin. 211s Preparing to unpack .../105-pkgconf-bin_1.8.1-4_s390x.deb ... 211s Unpacking pkgconf-bin (1.8.1-4) ... 211s Selecting previously unselected package pkgconf:s390x. 211s Preparing to unpack .../106-pkgconf_1.8.1-4_s390x.deb ... 211s Unpacking pkgconf:s390x (1.8.1-4) ... 211s Selecting previously unselected package pkg-config:s390x. 211s Preparing to unpack .../107-pkg-config_1.8.1-4_s390x.deb ... 211s Unpacking pkg-config:s390x (1.8.1-4) ... 211s Selecting previously unselected package libeigen3-dev. 211s Preparing to unpack .../108-libeigen3-dev_3.4.0-4build1_all.deb ... 211s Unpacking libeigen3-dev (3.4.0-4build1) ... 211s Selecting previously unselected package libbasix-dev:s390x. 211s Preparing to unpack .../109-libbasix-dev_0.9.0-2build1_s390x.deb ... 211s Unpacking libbasix-dev:s390x (0.9.0-2build1) ... 211s Selecting previously unselected package libboost1.83-dev:s390x. 211s Preparing to unpack .../110-libboost1.83-dev_1.83.0-3.2ubuntu2_s390x.deb ... 211s Unpacking libboost1.83-dev:s390x (1.83.0-3.2ubuntu2) ... 213s Selecting previously unselected package libboost-math1.83.0:s390x. 213s Preparing to unpack .../111-libboost-math1.83.0_1.83.0-3.2ubuntu2_s390x.deb ... 213s Unpacking libboost-math1.83.0:s390x (1.83.0-3.2ubuntu2) ... 213s Selecting previously unselected package libboost-math1.83-dev:s390x. 213s Preparing to unpack .../112-libboost-math1.83-dev_1.83.0-3.2ubuntu2_s390x.deb ... 213s Unpacking libboost-math1.83-dev:s390x (1.83.0-3.2ubuntu2) ... 213s Selecting previously unselected package libboost-math-dev:s390x. 213s Preparing to unpack .../113-libboost-math-dev_1.83.0.2ubuntu1_s390x.deb ... 213s Unpacking libboost-math-dev:s390x (1.83.0.2ubuntu1) ... 213s Selecting previously unselected package libexpat1-dev:s390x. 213s Preparing to unpack .../114-libexpat1-dev_2.6.4-1_s390x.deb ... 213s Unpacking libexpat1-dev:s390x (2.6.4-1) ... 213s Selecting previously unselected package libjs-jquery. 213s Preparing to unpack .../115-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 213s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 213s Selecting previously unselected package libjs-underscore. 213s Preparing to unpack .../116-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 213s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 213s Selecting previously unselected package libjs-sphinxdoc. 213s Preparing to unpack .../117-libjs-sphinxdoc_7.4.7-4_all.deb ... 213s Unpacking libjs-sphinxdoc (7.4.7-4) ... 213s Selecting previously unselected package libjson-perl. 213s Preparing to unpack .../118-libjson-perl_4.10000-1_all.deb ... 213s Unpacking libjson-perl (4.10000-1) ... 213s Selecting previously unselected package zlib1g-dev:s390x. 213s Preparing to unpack .../119-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ... 213s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 213s Selecting previously unselected package libpython3.12-dev:s390x. 213s Preparing to unpack .../120-libpython3.12-dev_3.12.7-3_s390x.deb ... 213s Unpacking libpython3.12-dev:s390x (3.12.7-3) ... 213s Selecting previously unselected package libpython3-dev:s390x. 213s Preparing to unpack .../121-libpython3-dev_3.12.6-0ubuntu1_s390x.deb ... 213s Unpacking libpython3-dev:s390x (3.12.6-0ubuntu1) ... 213s Selecting previously unselected package libpython3-all-dev:s390x. 213s Preparing to unpack .../122-libpython3-all-dev_3.12.6-0ubuntu1_s390x.deb ... 213s Unpacking libpython3-all-dev:s390x (3.12.6-0ubuntu1) ... 213s Selecting previously unselected package python3-packaging. 213s Preparing to unpack .../123-python3-packaging_24.2-1_all.deb ... 213s Unpacking python3-packaging (24.2-1) ... 213s Selecting previously unselected package python3-pyproject-hooks. 213s Preparing to unpack .../124-python3-pyproject-hooks_1.2.0-1_all.deb ... 213s Unpacking python3-pyproject-hooks (1.2.0-1) ... 213s Selecting previously unselected package python3-toml. 213s Preparing to unpack .../125-python3-toml_0.10.2-1_all.deb ... 213s Unpacking python3-toml (0.10.2-1) ... 213s Selecting previously unselected package python3-wheel. 213s Preparing to unpack .../126-python3-wheel_0.45.0-1_all.deb ... 213s Unpacking python3-wheel (0.45.0-1) ... 213s Selecting previously unselected package python3-build. 213s Preparing to unpack .../127-python3-build_1.2.2-1_all.deb ... 213s Unpacking python3-build (1.2.2-1) ... 213s Selecting previously unselected package python3-installer. 213s Preparing to unpack .../128-python3-installer_0.7.0+dfsg1-3_all.deb ... 213s Unpacking python3-installer (0.7.0+dfsg1-3) ... 213s Selecting previously unselected package pybuild-plugin-pyproject. 213s Preparing to unpack .../129-pybuild-plugin-pyproject_6.20241024_all.deb ... 213s Unpacking pybuild-plugin-pyproject (6.20241024) ... 213s Selecting previously unselected package python3-all. 213s Preparing to unpack .../130-python3-all_3.12.6-0ubuntu1_s390x.deb ... 213s Unpacking python3-all (3.12.6-0ubuntu1) ... 213s Selecting previously unselected package python3.12-dev. 213s Preparing to unpack .../131-python3.12-dev_3.12.7-3_s390x.deb ... 213s Unpacking python3.12-dev (3.12.7-3) ... 213s Selecting previously unselected package python3-dev. 213s Preparing to unpack .../132-python3-dev_3.12.6-0ubuntu1_s390x.deb ... 213s Unpacking python3-dev (3.12.6-0ubuntu1) ... 213s Selecting previously unselected package python3-all-dev. 213s Preparing to unpack .../133-python3-all-dev_3.12.6-0ubuntu1_s390x.deb ... 213s Unpacking python3-all-dev (3.12.6-0ubuntu1) ... 213s Selecting previously unselected package python3-numpy. 213s Preparing to unpack .../134-python3-numpy_1%3a1.26.4+ds-11ubuntu1_s390x.deb ... 213s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 213s Selecting previously unselected package python3-ufl. 213s Preparing to unpack .../135-python3-ufl_2024.2.0-2_all.deb ... 213s Unpacking python3-ufl (2024.2.0-2) ... 213s Selecting previously unselected package python3-basix. 213s Preparing to unpack .../136-python3-basix_0.9.0-2build1_s390x.deb ... 213s Unpacking python3-basix (0.9.0-2build1) ... 213s Selecting previously unselected package python3-ply. 213s Preparing to unpack .../137-python3-ply_3.11-7_all.deb ... 213s Unpacking python3-ply (3.11-7) ... 213s Selecting previously unselected package python3-pycparser. 213s Preparing to unpack .../138-python3-pycparser_2.22-2_all.deb ... 213s Unpacking python3-pycparser (2.22-2) ... 213s Selecting previously unselected package python3-cffi. 213s Preparing to unpack .../139-python3-cffi_1.17.1-2build1_all.deb ... 213s Unpacking python3-cffi (1.17.1-2build1) ... 213s Selecting previously unselected package python3-defusedxml. 213s Preparing to unpack .../140-python3-defusedxml_0.7.1-2_all.deb ... 213s Unpacking python3-defusedxml (0.7.1-2) ... 213s Selecting previously unselected package python3-roman. 213s Preparing to unpack .../141-python3-roman_4.2-1_all.deb ... 213s Unpacking python3-roman (4.2-1) ... 213s Selecting previously unselected package python3-docutils. 213s Preparing to unpack .../142-python3-docutils_0.21.2+dfsg-2_all.deb ... 213s Unpacking python3-docutils (0.21.2+dfsg-2) ... 213s Selecting previously unselected package python3-ffcx. 213s Preparing to unpack .../143-python3-ffcx_1%3a0.8.0-1_all.deb ... 213s Unpacking python3-ffcx (1:0.8.0-1) ... 213s Selecting previously unselected package python3-imagesize. 213s Preparing to unpack .../144-python3-imagesize_1.4.1-1_all.deb ... 213s Unpacking python3-imagesize (1.4.1-1) ... 213s Selecting previously unselected package python3-iniconfig. 213s Preparing to unpack .../145-python3-iniconfig_1.1.1-2_all.deb ... 213s Unpacking python3-iniconfig (1.1.1-2) ... 213s Selecting previously unselected package python3-mpmath. 213s Preparing to unpack .../146-python3-mpmath_1.3.0-1_all.deb ... 213s Unpacking python3-mpmath (1.3.0-1) ... 213s Selecting previously unselected package python3-pip. 213s Preparing to unpack .../147-python3-pip_24.3.1+dfsg-1_all.deb ... 213s Unpacking python3-pip (24.3.1+dfsg-1) ... 213s Selecting previously unselected package python3-pluggy. 213s Preparing to unpack .../148-python3-pluggy_1.5.0-1_all.deb ... 213s Unpacking python3-pluggy (1.5.0-1) ... 214s Selecting previously unselected package python3-pygraphviz. 214s Preparing to unpack .../149-python3-pygraphviz_1.14-1build1_s390x.deb ... 214s Unpacking python3-pygraphviz (1.14-1build1) ... 214s Selecting previously unselected package python3-pytest. 214s Preparing to unpack .../150-python3-pytest_8.3.3-1_all.deb ... 214s Unpacking python3-pytest (8.3.3-1) ... 214s Selecting previously unselected package python3-snowballstemmer. 214s Preparing to unpack .../151-python3-snowballstemmer_2.2.0-4build1_all.deb ... 214s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 214s Selecting previously unselected package sphinx-common. 214s Preparing to unpack .../152-sphinx-common_7.4.7-4_all.deb ... 214s Unpacking sphinx-common (7.4.7-4) ... 214s Selecting previously unselected package python3-alabaster. 214s Preparing to unpack .../153-python3-alabaster_0.7.16-0.1_all.deb ... 214s Unpacking python3-alabaster (0.7.16-0.1) ... 214s Selecting previously unselected package python3-sphinx. 214s Preparing to unpack .../154-python3-sphinx_7.4.7-4_all.deb ... 214s Unpacking python3-sphinx (7.4.7-4) ... 214s Selecting previously unselected package sphinx-rtd-theme-common. 214s Preparing to unpack .../155-sphinx-rtd-theme-common_3.0.2+dfsg-1_all.deb ... 214s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 214s Selecting previously unselected package python3-sphinxcontrib.jquery. 214s Preparing to unpack .../156-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 214s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 214s Selecting previously unselected package python3-sphinx-rtd-theme. 214s Preparing to unpack .../157-python3-sphinx-rtd-theme_3.0.2+dfsg-1_all.deb ... 214s Unpacking python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 214s Selecting previously unselected package python3-sympy. 214s Preparing to unpack .../158-python3-sympy_1.13.3-1_all.deb ... 214s Unpacking python3-sympy (1.13.3-1) ... 214s Selecting previously unselected package autopkgtest-satdep. 214s Preparing to unpack .../159-1-autopkgtest-satdep.deb ... 214s Unpacking autopkgtest-satdep (0) ... 214s Setting up dh-python (6.20241024) ... 214s Setting up libgraphite2-3:s390x (1.3.14-2ubuntu1) ... 214s Setting up python3-iniconfig (1.1.1-2) ... 214s Setting up libpixman-1-0:s390x (0.44.0-3) ... 214s Setting up libsharpyuv0:s390x (1.4.0-0.1) ... 214s Setting up libaom3:s390x (3.11.0-1) ... 214s Setting up fonts-lato (2.015-1) ... 214s Setting up libxpm4:s390x (1:3.5.17-1build2) ... 214s Setting up libxrender1:s390x (1:0.9.10-1.1build1) ... 214s Setting up libdatrie1:s390x (0.2.13-3build1) ... 214s Setting up libxcb-render0:s390x (1.17.0-2) ... 214s Setting up python3-defusedxml (0.7.1-2) ... 214s Setting up libarchive-zip-perl (1.68-1) ... 214s Setting up python3-alabaster (0.7.16-0.1) ... 214s Setting up libdebhelper-perl (13.20ubuntu1) ... 214s Setting up python3-ply (3.11-7) ... 214s Setting up liblab-gamut1:s390x (2.42.4-2build3) ... 214s Setting up x11-common (1:7.7+23ubuntu3) ... 215s Setting up libdeflate0:s390x (1.22-1) ... 215s Setting up m4 (1.4.19-4build1) ... 215s Setting up python3-all (3.12.6-0ubuntu1) ... 215s Setting up libxcb-shm0:s390x (1.17.0-2) ... 215s Setting up libgomp1:s390x (14.2.0-8ubuntu1) ... 215s Setting up python3-wheel (0.45.0-1) ... 215s Setting up libjbig0:s390x (2.1-6.1ubuntu2) ... 215s Setting up python3-pycparser (2.22-2) ... 215s Setting up python3-roman (4.2-1) ... 215s Setting up autotools-dev (20220109.1) ... 215s Setting up libblas3:s390x (3.12.0-3build2) ... 215s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 215s Setting up python3-packaging (24.2-1) ... 215s Setting up libpkgconf3:s390x (1.8.1-4) ... 215s Setting up libexpat1-dev:s390x (2.6.4-1) ... 215s Setting up python3-pyproject-hooks (1.2.0-1) ... 215s Setting up libfreetype6:s390x (2.13.3+dfsg-1) ... 215s Setting up python3-snowballstemmer (2.2.0-4build1) ... 216s Setting up libpathplan4:s390x (2.42.4-2build3) ... 216s Setting up libann0 (1.1.2+doc-9build1) ... 216s Setting up libimagequant0:s390x (2.18.0-1build1) ... 216s Setting up fonts-dejavu-mono (2.37-8) ... 216s Setting up libmpc3:s390x (1.3.1-1build2) ... 216s Setting up autopoint (0.22.5-2) ... 216s Setting up libjsoncpp25:s390x (1.9.5-6build1) ... 216s Setting up fonts-dejavu-core (2.37-8) ... 216s Setting up pkgconf-bin (1.8.1-4) ... 216s Setting up python3-pip (24.3.1+dfsg-1) ... 217s Setting up libjpeg-turbo8:s390x (2.1.5-3ubuntu2) ... 217s Setting up libltdl7:s390x (2.4.7-8) ... 217s Setting up python3-toml (0.10.2-1) ... 217s Setting up python3-installer (0.7.0+dfsg1-3) ... 217s Setting up libgfortran5:s390x (14.2.0-8ubuntu1) ... 217s Setting up autoconf (2.72-3) ... 217s Setting up python3-pluggy (1.5.0-1) ... 217s Setting up libwebp7:s390x (1.4.0-0.1) ... 217s Setting up libubsan1:s390x (14.2.0-8ubuntu1) ... 217s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 217s Setting up dwz (0.15-1build6) ... 217s Setting up librhash0:s390x (1.4.3-3build1) ... 217s Setting up libasan8:s390x (14.2.0-8ubuntu1) ... 217s Setting up libjson-perl (4.10000-1) ... 217s Setting up debugedit (1:5.1-1) ... 217s Setting up libharfbuzz0b:s390x (10.0.1-1) ... 217s Setting up libthai-data (0.1.29-2build1) ... 217s Setting up libgts-0.7-5t64:s390x (0.7.6+darcs121130-5.2build1) ... 217s Setting up sgml-base (1.31) ... 217s Setting up cmake-data (3.30.3-1) ... 217s Setting up libcdt5:s390x (2.42.4-2build3) ... 217s Setting up libcgraph6:s390x (2.42.4-2build3) ... 217s Setting up libboost-math1.83.0:s390x (1.83.0-3.2ubuntu2) ... 217s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 217s Setting up python3-mpmath (1.3.0-1) ... 217s Setting up libisl23:s390x (0.27-1) ... 217s Setting up python3-build (1.2.2-1) ... 217s Setting up libde265-0:s390x (1.0.15-1build4) ... 217s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 217s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 217s Setting up libcc1-0:s390x (14.2.0-8ubuntu1) ... 217s Setting up libitm1:s390x (14.2.0-8ubuntu1) ... 217s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 217s Setting up python3-imagesize (1.4.1-1) ... 217s Setting up libjpeg8:s390x (8c-2ubuntu11) ... 217s Setting up automake (1:1.16.5-1.3ubuntu1) ... 217s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 217s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 217s Setting up python3-sympy (1.13.3-1) ... 224s Setting up libice6:s390x (2:1.1.1-1) ... 224s Setting up liblapack3:s390x (3.12.0-3build2) ... 224s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 224s Setting up gettext (0.22.5-2) ... 224s Setting up pybuild-plugin-pyproject (6.20241024) ... 224s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 224s Setting up python3-pytest (8.3.3-1) ... 224s Setting up python3-cffi (1.17.1-2build1) ... 225s Setting up libpython3.12-dev:s390x (3.12.7-3) ... 225s Setting up pkgconf:s390x (1.8.1-4) ... 225s Setting up intltool-debian (0.35.0+20060710.6) ... 225s Setting up libthai0:s390x (0.1.29-2build1) ... 225s Setting up libraqm0:s390x (0.10.1-1build1) ... 225s Setting up libeigen3-dev (3.4.0-4build1) ... 225s Setting up python3.12-dev (3.12.7-3) ... 225s Setting up pkg-config:s390x (1.8.1-4) ... 225s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 226s Setting up libjs-sphinxdoc (7.4.7-4) ... 226s Setting up cpp-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 227s Setting up cpp-14 (14.2.0-8ubuntu1) ... 227s Setting up dh-strip-nondeterminism (1.14.0-1) ... 227s Setting up libgvpr2:s390x (2.42.4-2build3) ... 227s Setting up libbasix0.9:s390x (0.9.0-2build1) ... 227s Setting up libtiff6:s390x (4.5.1+git230720-4ubuntu4) ... 227s Setting up xml-core (0.19) ... 227s Setting up cmake (3.30.3-1) ... 227s Setting up libfontconfig1:s390x (2.15.0-1.1ubuntu2) ... 227s Setting up libgcc-14-dev:s390x (14.2.0-8ubuntu1) ... 227s Setting up libbasix-dev:s390x (0.9.0-2build1) ... 227s Setting up libstdc++-14-dev:s390x (14.2.0-8ubuntu1) ... 227s Setting up libsm6:s390x (2:1.2.4-1) ... 227s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 229s Regenerating fonts cache... done. 229s Setting up libboost1.83-dev:s390x (1.83.0-3.2ubuntu2) ... 229s Setting up libpython3-dev:s390x (3.12.6-0ubuntu1) ... 229s Setting up python3-ufl (2024.2.0-2) ... 229s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 229s Setting up libboost-math1.83-dev:s390x (1.83.0-3.2ubuntu2) ... 229s Setting up libboost-math-dev:s390x (1.83.0.2ubuntu1) ... 229s Setting up po-debconf (1.0.21+nmu1) ... 229s Setting up libpango-1.0-0:s390x (1.54.0+ds-3) ... 229s Setting up libcairo2:s390x (1.18.2-2) ... 229s Setting up gcc-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 229s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 229s Setting up libpython3-all-dev:s390x (3.12.6-0ubuntu1) ... 229s Setting up sphinx-common (7.4.7-4) ... 229s Setting up python3-dev (3.12.6-0ubuntu1) ... 229s Setting up libxt6t64:s390x (1:1.2.1-1.2build1) ... 229s Setting up g++-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 229s Setting up cpp (4:14.1.0-2ubuntu1) ... 229s Setting up libpangoft2-1.0-0:s390x (1.54.0+ds-3) ... 229s Setting up libpangocairo-1.0-0:s390x (1.54.0+ds-3) ... 229s Setting up python3-basix (0.9.0-2build1) ... 229s Setting up python3-all-dev (3.12.6-0ubuntu1) ... 229s Setting up libxmu6:s390x (2:1.1.3-3build2) ... 229s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 229s Setting up libxaw7:s390x (2:1.0.16-1) ... 229s Setting up gcc-14 (14.2.0-8ubuntu1) ... 229s Setting up python3-ffcx (1:0.8.0-1) ... 229s Setting up g++-14 (14.2.0-8ubuntu1) ... 229s Setting up libtool (2.4.7-8) ... 229s Setting up gcc (4:14.1.0-2ubuntu1) ... 229s Setting up dh-autoreconf (20) ... 229s Setting up g++ (4:14.1.0-2ubuntu1) ... 229s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 229s Setting up build-essential (12.10ubuntu1) ... 229s Setting up debhelper (13.20ubuntu1) ... 229s Setting up libheif-plugin-aomdec:s390x (1.19.3-1) ... 229s Setting up libheif-plugin-libde265:s390x (1.19.3-1) ... 229s Setting up libheif1:s390x (1.19.3-1) ... 229s Setting up libgd3:s390x (2.3.3-12ubuntu3) ... 229s Setting up libgvc6 (2.42.4-2build3) ... 229s Setting up graphviz (2.42.4-2build3) ... 229s Setting up python3-pygraphviz (1.14-1build1) ... 229s Processing triggers for install-info (7.1.1-1) ... 229s Processing triggers for libc-bin (2.40-1ubuntu3) ... 229s Processing triggers for man-db (2.13.0-1) ... 230s Processing triggers for sgml-base (1.31) ... 230s Setting up docutils-common (0.21.2+dfsg-2) ... 230s Processing triggers for sgml-base (1.31) ... 230s Setting up python3-docutils (0.21.2+dfsg-2) ... 231s Setting up python3-sphinx (7.4.7-4) ... 231s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 232s Setting up python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 232s Setting up autopkgtest-satdep (0) ... 236s (Reading database ... 85727 files and directories currently installed.) 236s Removing autopkgtest-satdep (0) ... 236s autopkgtest [20:36:21]: test command1: for pyver in `py3versions -sv`; do python$pyver -m pytest test; done 236s autopkgtest [20:36:21]: test command1: [----------------------- 237s ============================= test session starts ============================== 237s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 237s rootdir: /tmp/autopkgtest.GZ3CPp/build.WXK/src 237s configfile: pyproject.toml 237s plugins: typeguard-4.4.1 237s collected 87 items 237s 237s test/test_add_mode.py::test_additive_facet_integral[float32] FAILED [ 1%] 237s test/test_add_mode.py::test_additive_facet_integral[float64] FAILED [ 2%] 237s test/test_add_mode.py::test_additive_facet_integral[complex64] FAILED [ 3%] 237s test/test_add_mode.py::test_additive_facet_integral[complex128] FAILED [ 4%] 237s test/test_add_mode.py::test_additive_cell_integral[float32] FAILED [ 5%] 237s test/test_add_mode.py::test_additive_cell_integral[float64] FAILED [ 6%] 238s test/test_add_mode.py::test_additive_cell_integral[complex64] FAILED [ 8%] 238s test/test_add_mode.py::test_additive_cell_integral[complex128] FAILED [ 9%] 238s test/test_blocked_elements.py::test_finite_element FAILED [ 10%] 238s test/test_blocked_elements.py::test_vector_element FAILED [ 11%] 238s test/test_blocked_elements.py::test_tensor_element FAILED [ 12%] 238s test/test_blocked_elements.py::test_vector_quadrature_element FAILED [ 13%] 238s test/test_cache.py::test_cache_modes FAILED [ 14%] 239s test/test_cmdline.py::test_cmdline_simple PASSED [ 16%] 240s test/test_cmdline.py::test_visualise FAILED [ 17%] 240s test/test_jit_expression.py::test_matvec FAILED [ 18%] 240s test/test_jit_expression.py::test_rank1 FAILED [ 19%] 240s test/test_jit_expression.py::test_elimiate_zero_tables_tensor FAILED [ 20%] 240s test/test_jit_expression.py::test_grad_constant PASSED [ 21%] 240s test/test_jit_expression.py::test_facet_expression FAILED [ 22%] 240s test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] FAILED [ 24%] 241s test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] FAILED [ 25%] 241s test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] FAILED [ 26%] 241s test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] FAILED [ 27%] 241s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] FAILED [ 28%] 241s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] FAILED [ 29%] 241s test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] FAILED [ 31%] 241s test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] FAILED [ 32%] 241s test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] FAILED [ 33%] 241s test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] FAILED [ 34%] 241s test/test_jit_forms.py::test_form_coefficient FAILED [ 35%] 241s test/test_jit_forms.py::test_subdomains FAILED [ 36%] 241s test/test_jit_forms.py::test_interior_facet_integral[float64] FAILED [ 37%] 241s test/test_jit_forms.py::test_interior_facet_integral[complex128] FAILED [ 39%] 241s test/test_jit_forms.py::test_conditional[float64] FAILED [ 40%] 241s test/test_jit_forms.py::test_conditional[complex128] FAILED [ 41%] 242s test/test_jit_forms.py::test_custom_quadrature FAILED [ 42%] 242s test/test_jit_forms.py::test_curl_curl FAILED [ 43%] 242s test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] FAILED [ 44%] 242s test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] FAILED [ 45%] 242s test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] FAILED [ 47%] 242s test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] FAILED [ 48%] 242s test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] FAILED [ 49%] 242s test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] FAILED [ 50%] 245s test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] FAILED [ 51%] 248s test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] FAILED [ 52%] 249s test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] FAILED [ 54%] 249s test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] FAILED [ 55%] 250s test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] FAILED [ 56%] 250s test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] FAILED [ 57%] 250s test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] FAILED [ 58%] 251s test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] FAILED [ 59%] 251s test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] FAILED [ 60%] 265s test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] FAILED [ 62%] 274s test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] FAILED [ 63%] 284s test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] FAILED [ 64%] 284s test/test_jit_forms.py::test_prism FAILED [ 65%] 285s test/test_jit_forms.py::test_complex_operations FAILED [ 66%] 285s test/test_jit_forms.py::test_invalid_function_name FAILED [ 67%] 285s test/test_jit_forms.py::test_interval_vertex_quadrature FAILED [ 68%] 285s test/test_jit_forms.py::test_facet_vertex_quadrature FAILED [ 70%] 285s test/test_jit_forms.py::test_manifold_derivatives FAILED [ 71%] 285s test/test_jit_forms.py::test_integral_grouping FAILED [ 72%] 285s test/test_lnodes.py::test_gemm[float32] 285s -------------------------------- live log call --------------------------------- 285s INFO root:dist.py:970 running build_ext 285s INFO root:build_ext.py:530 building '_gemm_float' extension 285s INFO root:spawn.py:60 s390x-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 285s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_float.o -L/usr/lib/s390x-linux-gnu -o ./_gemm_float.cpython-312-s390x-linux-gnu.so 285s PASSED [ 73%] 285s test/test_lnodes.py::test_gemm[float64] 285s -------------------------------- live log call --------------------------------- 285s INFO root:dist.py:970 running build_ext 285s INFO root:build_ext.py:530 building '_gemm_double' extension 285s INFO root:spawn.py:60 s390x-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 285s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_double.o -L/usr/lib/s390x-linux-gnu -o ./_gemm_double.cpython-312-s390x-linux-gnu.so 285s PASSED [ 74%] 285s test/test_lnodes.py::test_gemm[intc] 285s -------------------------------- live log call --------------------------------- 285s INFO root:dist.py:970 running build_ext 285s INFO root:build_ext.py:530 building '_gemm_int' extension 285s INFO root:spawn.py:60 s390x-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 285s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_int.o -L/usr/lib/s390x-linux-gnu -o ./_gemm_int.cpython-312-s390x-linux-gnu.so 285s PASSED [ 75%] 285s test/test_lnodes.py::test_gemv[float32] 285s -------------------------------- live log call --------------------------------- 285s INFO root:dist.py:970 running build_ext 285s INFO root:build_ext.py:530 building '_gemv_float' extension 285s INFO root:spawn.py:60 s390x-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 286s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_float.o -L/usr/lib/s390x-linux-gnu -o ./_gemv_float.cpython-312-s390x-linux-gnu.so 286s PASSED [ 77%] 286s test/test_lnodes.py::test_gemv[float64] 286s -------------------------------- live log call --------------------------------- 286s INFO root:dist.py:970 running build_ext 286s INFO root:build_ext.py:530 building '_gemv_double' extension 286s INFO root:spawn.py:60 s390x-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 286s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_double.o -L/usr/lib/s390x-linux-gnu -o ./_gemv_double.cpython-312-s390x-linux-gnu.so 286s PASSED [ 78%] 286s test/test_lnodes.py::test_gemv[intc] 286s -------------------------------- live log call --------------------------------- 286s INFO root:dist.py:970 running build_ext 286s INFO root:build_ext.py:530 building '_gemv_int' extension 286s INFO root:spawn.py:60 s390x-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 286s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_int.o -L/usr/lib/s390x-linux-gnu -o ./_gemv_int.cpython-312-s390x-linux-gnu.so 286s PASSED [ 79%] 286s test/test_signatures.py::test_numba_kernel_signature[float32] SKIPPED [ 80%] 286s test/test_signatures.py::test_numba_kernel_signature[float64] SKIPPED [ 81%] 286s test/test_signatures.py::test_numba_kernel_signature[complex64] SKIPPED [ 82%] 286s test/test_signatures.py::test_numba_kernel_signature[complex128] SKIPPED [ 83%] 286s test/test_submesh.py::test_multiple_mesh_codim0[float64] FAILED [ 85%] 286s test/test_submesh.py::test_multiple_mesh_codim0[complex128] FAILED [ 86%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] FAILED [ 87%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] FAILED [ 88%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] FAILED [ 89%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] FAILED [ 90%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] FAILED [ 91%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] FAILED [ 93%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] FAILED [ 94%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] FAILED [ 95%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] FAILED [ 96%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] FAILED [ 97%] 286s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] FAILED [ 98%] 287s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] FAILED [100%] 287s 287s =================================== FAILURES =================================== 287s ____________________ test_additive_facet_integral[float32] _____________________ 287s 287s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float32", 287s "float64", 287s "complex64", 287s "complex128", 287s ], 287s ) 287s def test_additive_facet_integral(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(u, v) * ufl.ds 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_add_mode.py:32: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_c49c34d1f50361f643a8fa3262fb0cb365212...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9ac7901a8ae548a56b4e5062db20e2d523e48ba1'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s ____________________ test_additive_facet_integral[float64] _____________________ 287s 287s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float32", 287s "float64", 287s "complex64", 287s "complex128", 287s ], 287s ) 287s def test_additive_facet_integral(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(u, v) * ufl.ds 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_add_mode.py:32: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_90577c5e1846df346b7419a93a84a5394787f...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5c932663e4c66c20d1c054a8a6c49e9b6f3eaadb'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s ___________________ test_additive_facet_integral[complex64] ____________________ 287s 287s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float32", 287s "float64", 287s "complex64", 287s "complex128", 287s ], 287s ) 287s def test_additive_facet_integral(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(u, v) * ufl.ds 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_add_mode.py:32: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_71be7c7448e0872435225a9bfe0d41a7bfbe4...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_e47d0537ffe0fe1a135c6f299dbd859ab889d832'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s ___________________ test_additive_facet_integral[complex128] ___________________ 287s 287s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float32", 287s "float64", 287s "complex64", 287s "complex128", 287s ], 287s ) 287s def test_additive_facet_integral(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(u, v) * ufl.ds 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_add_mode.py:32: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2e489d76a1bf51cb484a8d02a72b92a5509ab...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_39363741204f96e893159e5fa69c87ca1d6275df'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s _____________________ test_additive_cell_integral[float32] _____________________ 287s 287s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float32", 287s "float64", 287s "complex64", 287s "complex128", 287s ], 287s ) 287s def test_additive_cell_integral(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_add_mode.py:93: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7288431234a36a38725d9e9dd4690629a8d99...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_3b92785491ae7e28ecfa525af16751dcc7cab1ef'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s _____________________ test_additive_cell_integral[float64] _____________________ 287s 287s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float32", 287s "float64", 287s "complex64", 287s "complex128", 287s ], 287s ) 287s def test_additive_cell_integral(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_add_mode.py:93: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6d36cff8b5e7876d0437dc4936e5c8db3af94...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_31170dc38db16a20a6323c19cf1629daa2ca51fa'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s ____________________ test_additive_cell_integral[complex64] ____________________ 287s 287s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float32", 287s "float64", 287s "complex64", 287s "complex128", 287s ], 287s ) 287s def test_additive_cell_integral(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_add_mode.py:93: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e4f7d6e84c5369adf2dba4811c7f177099bb3...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_33bacda477c0afc62a4fa9487757906f73281a0e'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s ___________________ test_additive_cell_integral[complex128] ____________________ 287s 287s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float32", 287s "float64", 287s "complex64", 287s "complex128", 287s ], 287s ) 287s def test_additive_cell_integral(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_add_mode.py:93: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1c0e181e019aa2e73e4803874fbdb9dd73493...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_aa807c0dbf925a7d8d3f0bde80bac7c24bfdcdaf'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s _____________________________ test_finite_element ______________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_finite_element(compile_args): 287s ufl_element = basix.ufl.element("Lagrange", "triangle", 1) 287s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 287s [ufl_element], cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_blocked_elements.py:16: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:205: in compile_elements 287s raise e 287s ffcx/codegeneration/jit.py:185: in compile_elements 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_809bd798a14c8c727a2ad360da1f9fcc9fb81ad6'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s _____________________________ test_vector_element ______________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_vector_element(compile_args): 287s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 287s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 287s [ufl_element], cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_blocked_elements.py:42: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:205: in compile_elements 287s raise e 287s ffcx/codegeneration/jit.py:185: in compile_elements 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_62592c69251ce423efb7c4030862f51839719...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f2bccaff155751aaa7593945d243c98ce6ea4df8'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s _____________________________ test_tensor_element ______________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_tensor_element(compile_args): 287s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2, 2)) 287s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 287s [ufl_element], cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_blocked_elements.py:69: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:205: in compile_elements 287s raise e 287s ffcx/codegeneration/jit.py:185: in compile_elements 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_91f7ff43431b8e1864b97879a3e3a7c216a97...t (P, triangle, 1, gll_warped, unset, False, float64, []), (2, 2)): 'element_268174d0c2389ec66a4808c632dd28a004394076'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s ________________________ test_vector_quadrature_element ________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_vector_quadrature_element(compile_args): 287s ufl_element = basix.ufl.blocked_element( 287s basix.ufl.quadrature_element("tetrahedron", degree=2, scheme="default"), shape=(3,) 287s ) 287s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 287s [ufl_element], cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_blocked_elements.py:99: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:205: in compile_elements 287s raise e 287s ffcx/codegeneration/jit.py:185: in compile_elements 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s 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()) 287s 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} 287s 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_c50941e02990eb710aa32005edfaec1781dfa695'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_QuadratureElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s _______________________________ test_cache_modes _______________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_cache_modes(compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s forms = [a] 287s 287s # Load form from /tmp 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, cffi_extra_compile_args=compile_args 287s ) 287s 287s test/test_cache.py:24: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6d36cff8b5e7876d0437dc4936e5c8db3af94...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_31170dc38db16a20a6323c19cf1629daa2ca51fa'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s ffcx/ir/representation.py:293: AttributeError 287s ________________________________ test_visualise ________________________________ 287s 287s def test_visualise(): 287s os.chdir(os.path.dirname(__file__)) 287s subprocess.run(["ffcx", "--visualise", "Poisson.py"]) 287s > assert os.path.isfile("S.pdf") 287s E AssertionError: assert False 287s E + where False = ('S.pdf') 287s E + where = .isfile 287s E + where = os.path 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_cmdline.py:20: AssertionError 287s ----------------------------- Captured stderr call ----------------------------- 287s Traceback (most recent call last): 287s File "/usr/bin/ffcx", line 8, in 287s sys.exit(__main__.main()) 287s ^^^^^^^^^^^^^^^ 287s File "/usr/lib/python3/dist-packages/ffcx/main.py", line 75, in main 287s code_h, code_c = compiler.compile_ufl_objects( 287s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 287s File "/usr/lib/python3/dist-packages/ffcx/compiler.py", line 113, in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 287s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 215, in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 293, in _compute_element_ir 287s ir["element_type"] = element.ufcx_element_type 287s ^^^^^^^^^^^^^^^^^^^^^^^^^ 287s AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s _________________________________ test_matvec __________________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_matvec(compile_args): 287s """Test evaluation of linear rank-0 form. 287s 287s Evaluates expression c * A_ij * f_j where c is a Constant, 287s A_ij is a user specified constant matrix and f_j is j-th component 287s of user specified vector-valued finite element function (in P1 space). 287s 287s """ 287s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 287s mesh = ufl.Mesh(e) 287s V = ufl.FunctionSpace(mesh, e) 287s f = ufl.Coefficient(V) 287s 287s a_mat = np.array([[1.0, 2.0], [1.0, 1.0]]) 287s a = ufl.as_matrix(a_mat) 287s expr = ufl.Constant(mesh) * ufl.dot(a, f) 287s 287s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 287s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 287s [(expr, points)], cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_expression.py:35: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:358: in compile_expressions 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:338: in compile_expressions 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7850a61faf8c78263fe881428a55ed19c960b...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1125b9d0b5d64e124329a95dd7de6d90f08e961b'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s __________________________________ test_rank1 __________________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_rank1(compile_args): 287s """Tests evaluation of rank-1 form. 287s 287s Builds a linear operator which takes vector-valued functions in P1 space 287s and evaluates expression [u_y, u_x] + grad(u_x) at specified points. 287s 287s """ 287s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 287s mesh = ufl.Mesh(e) 287s 287s V = ufl.FunctionSpace(mesh, e) 287s u = ufl.TrialFunction(V) 287s 287s expr = ufl.as_vector([u[1], u[0]]) + ufl.grad(u[0]) 287s 287s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 287s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 287s [(expr, points)], cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_expression.py:101: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:358: in compile_expressions 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:338: in compile_expressions 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_0372053d0f83ce9dd4f8975e7affaf8a4666b...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1107338ebf768f9dfcdd66a2bf1b41016cc5b247'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _______________________ test_elimiate_zero_tables_tensor _______________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_elimiate_zero_tables_tensor(compile_args): 287s """Test elimination of tensor-valued expressions with zero tables""" 287s cell = "tetrahedron" 287s c_el = basix.ufl.element("P", cell, 1, shape=(3,)) 287s mesh = ufl.Mesh(c_el) 287s 287s e = basix.ufl.element("P", cell, 1) 287s V = ufl.FunctionSpace(mesh, e) 287s u = ufl.Coefficient(V) 287s expr = ufl.sym(ufl.as_tensor([[u, u.dx(0).dx(0), 0], [u.dx(1), u.dx(1), 0], [0, 0, 0]])) 287s 287s # Get vertices of cell 287s # Coords storage XYZXYZXYZ 287s basix_c_e = basix.create_element( 287s > basix.ElementFamily.P, basix.cell.string_to_type(cell), 1, discontinuous=False 287s ) 287s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_expression.py:169: AttributeError 287s ____________________________ test_facet_expression _____________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_facet_expression(compile_args): 287s """Test facet expression containing a facet normal on a manifold.""" 287s c_el = basix.ufl.element("Lagrange", "triangle", 1, shape=(3,)) 287s mesh = ufl.Mesh(c_el) 287s 287s n = ufl.FacetNormal(mesh) 287s expr = n 287s 287s dtype = np.float64 287s points = np.array([[0.5]], dtype=dtype) 287s 287s > obj, _, _ = ffcx.codegeneration.jit.compile_expressions( 287s [(expr, points)], cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_expression.py:281: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:358: in compile_expressions 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:338: in compile_expressions 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:254: in compute_ir 287s _compute_expression_ir( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:857: in _compute_expression_ir 287s expression_ir = compute_integral_ir( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/integral.py:85: in compute_integral_ir 287s mt_table_reference = build_optimized_tables( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/elementtables.py:415: in build_optimized_tables 287s t = get_ffcx_table_values( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/elementtables.py:138: in get_ffcx_table_values 287s entity_points = map_integral_points(points, integral_type, cell, entity) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representationutils.py:119: in map_integral_points 287s return np.asarray(map_facet_points(points, entity, cell.cellname())) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s points = array([[0.5]]), facet = 0, cellname = 'triangle' 287s 287s def map_facet_points( 287s points: npt.NDArray[np.float64], facet: int, cellname: str 287s ) -> npt.NDArray[np.float64]: 287s """Map points from a reference facet to a physical facet.""" 287s > geom = basix.geometry(basix.cell.string_to_type(cellname)) 287s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/element_interface.py:44: AttributeError 287s ___________ test_laplace_bilinear_form_2d[float64-expected_result0] ____________ 287s 287s dtype = 'float64' 287s expected_result = array([[ 1. , -0.5, -0.5], 287s [-0.5, 0.5, 0. ], 287s [-0.5, 0. , 0.5]]) 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype,expected_result", 287s [ 287s ( 287s "float64", 287s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 287s ), 287s ( 287s "complex128", 287s np.array( 287s [ 287s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 287s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 287s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 287s ], 287s dtype=np.complex128, 287s ), 287s ), 287s ], 287s ) 287s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s kappa = ufl.Constant(domain, shape=(2, 2)) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s 287s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:47: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2fd389abe4623ea6684be76d27aaba2a5efa6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c11fb15d6789fe6da219e14dbf872ec1af838a73'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s __________ test_laplace_bilinear_form_2d[complex128-expected_result1] __________ 287s 287s dtype = 'complex128' 287s expected_result = array([[ 1. +0.j, -0.5+0.j, -0.5+0.j], 287s [-0.5+0.j, 0.5+0.j, 0. +0.j], 287s [-0.5+0.j, 0. +0.j, 0.5+0.j]]) 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype,expected_result", 287s [ 287s ( 287s "float64", 287s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 287s ), 287s ( 287s "complex128", 287s np.array( 287s [ 287s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 287s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 287s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 287s ], 287s dtype=np.complex128, 287s ), 287s ), 287s ], 287s ) 287s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s kappa = ufl.Constant(domain, shape=(2, 2)) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s 287s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:47: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_422b359056014aa0f1a959260f3d76da45ffe...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_275852bbf33d2acd4aa15b359782bd784e87e626'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_mass_bilinear_form_2d[float32-expected_result0] _____________ 287s 287s dtype = 'float32' 287s expected_result = array([[0.08333334, 0.04166667, 0.04166667], 287s [0.04166667, 0.08333334, 0.04166667], 287s [0.04166667, 0.04166667, 0.08333334]], dtype=float32) 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype,expected_result", 287s [ 287s ( 287s "float32", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.float32, 287s ), 287s ), 287s # ("longdouble", 287s # np.array( 287s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 287s # dtype=np.longdouble)), 287s ( 287s "float64", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.float64, 287s ), 287s ), 287s ( 287s "complex128", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.complex128, 287s ), 287s ), 287s ( 287s "complex64", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.complex64, 287s ), 287s ), 287s ], 287s ) 287s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(u, v) * ufl.dx 287s L = ufl.conj(v) * ufl.dx 287s forms = [a, L] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:150: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_8b59d573ddcd8b9e7f90247159c4be321f397...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6fd7a2c645aefd9bb88b38b9980ba42967182c71'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_mass_bilinear_form_2d[float64-expected_result1] _____________ 287s 287s dtype = 'float64' 287s expected_result = array([[0.08333333, 0.04166667, 0.04166667], 287s [0.04166667, 0.08333333, 0.04166667], 287s [0.04166667, 0.04166667, 0.08333333]]) 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype,expected_result", 287s [ 287s ( 287s "float32", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.float32, 287s ), 287s ), 287s # ("longdouble", 287s # np.array( 287s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 287s # dtype=np.longdouble)), 287s ( 287s "float64", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.float64, 287s ), 287s ), 287s ( 287s "complex128", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.complex128, 287s ), 287s ), 287s ( 287s "complex64", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.complex64, 287s ), 287s ), 287s ], 287s ) 287s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(u, v) * ufl.dx 287s L = ufl.conj(v) * ufl.dx 287s forms = [a, L] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:150: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_34b1316ed9d6952034209184ea0fab6153bdf...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_dfb4acbce7681ef78016171dcb59df45b5df3930'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_mass_bilinear_form_2d[complex128-expected_result2] ____________ 287s 287s dtype = 'complex128' 287s expected_result = array([[0.08333333+0.j, 0.04166667+0.j, 0.04166667+0.j], 287s [0.04166667+0.j, 0.08333333+0.j, 0.04166667+0.j], 287s [0.04166667+0.j, 0.04166667+0.j, 0.08333333+0.j]]) 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype,expected_result", 287s [ 287s ( 287s "float32", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.float32, 287s ), 287s ), 287s # ("longdouble", 287s # np.array( 287s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 287s # dtype=np.longdouble)), 287s ( 287s "float64", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.float64, 287s ), 287s ), 287s ( 287s "complex128", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.complex128, 287s ), 287s ), 287s ( 287s "complex64", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.complex64, 287s ), 287s ), 287s ], 287s ) 287s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(u, v) * ufl.dx 287s L = ufl.conj(v) * ufl.dx 287s forms = [a, L] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:150: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_68afc57515f83c0420a7db2d41166be6c64cf...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b184dd099ee054e5457458ccb16e83121f88ed35'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ____________ test_mass_bilinear_form_2d[complex64-expected_result3] ____________ 287s 287s dtype = 'complex64' 287s expected_result = array([[0.08333334+0.j, 0.04166667+0.j, 0.04166667+0.j], 287s [0.04166667+0.j, 0.08333334+0.j, 0.04166667+0.j], 287s [0.04166667+0.j, 0.04166667+0.j, 0.08333334+0.j]], dtype=complex64) 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype,expected_result", 287s [ 287s ( 287s "float32", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.float32, 287s ), 287s ), 287s # ("longdouble", 287s # np.array( 287s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 287s # dtype=np.longdouble)), 287s ( 287s "float64", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.float64, 287s ), 287s ), 287s ( 287s "complex128", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.complex128, 287s ), 287s ), 287s ( 287s "complex64", 287s np.array( 287s [ 287s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 287s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 287s ], 287s dtype=np.complex64, 287s ), 287s ), 287s ], 287s ) 287s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(u, v) * ufl.dx 287s L = ufl.conj(v) * ufl.dx 287s forms = [a, L] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:150: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4a87e43d3204047475de01013a20f1f9b127f...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5b5ea770aa4d24de219593160c6d87e7d38be607'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _______________ test_helmholtz_form_2d[float64-expected_result0] _______________ 287s 287s dtype = 'float64' 287s expected_result = array([[ 0.91666667, -0.54166667, -0.54166667], 287s [-0.54166667, 0.41666667, -0.04166667], 287s [-0.54166667, -0.04166667, 0.41666667]]) 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype,expected_result", 287s [ 287s ( 287s "float64", 287s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 287s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 287s ), 287s ( 287s "complex128", 287s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 287s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 287s ), 287s ], 287s ) 287s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s if np.issubdtype(dtype, np.complexfloating): 287s k = ufl.constantvalue.ComplexValue(1j) 287s elif np.issubdtype(dtype, np.floating): 287s k = 1.0 287s else: 287s raise RuntimeError( 287s "Unknown mode type", 287s ) 287s 287s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:186: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6d9c63158a80e7e13d57972ea5294d02e115d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_514b9d5bd9b68fc6fa3876805469ac68bd0a0162'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_helmholtz_form_2d[complex128-expected_result1] ______________ 287s 287s dtype = 'complex128' 287s expected_result = array([[ 1. -0.08333333j, -0.5-0.04166667j, -0.5-0.04166667j], 287s [-0.5-0.04166667j, 0.5-0.08333333j, 0. -0.04166667j], 287s [-0.5-0.04166667j, 0. -0.04166667j, 0.5-0.08333333j]]) 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype,expected_result", 287s [ 287s ( 287s "float64", 287s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 287s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 287s ), 287s ( 287s "complex128", 287s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 287s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 287s ), 287s ], 287s ) 287s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s if np.issubdtype(dtype, np.complexfloating): 287s k = ufl.constantvalue.ComplexValue(1j) 287s elif np.issubdtype(dtype, np.floating): 287s k = 1.0 287s else: 287s raise RuntimeError( 287s "Unknown mode type", 287s ) 287s 287s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:186: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7635fcd7f598858d922b495ed84f270b520da...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_80b98e8b6596067b410c0b915a8c40d6e38ee2c6'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_laplace_bilinear_form_3d[float64-expected_result0] ____________ 287s 287s dtype = 'float64' 287s expected_result = array([[ 0.5 , -0.16666667, -0.16666667, -0.16666667], 287s [-0.16666667, 0.16666667, 0. , 0. ... [-0.16666667, 0. , 0.16666667, 0. ], 287s [-0.16666667, 0. , 0. , 0.16666667]]) 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype,expected_result", 287s [ 287s ( 287s "float64", 287s np.array( 287s [ 287s [0.5, -1 / 6, -1 / 6, -1 / 6], 287s [-1 / 6, 1 / 6, 0.0, 0.0], 287s [-1 / 6, 0.0, 1 / 6, 0.0], 287s [-1 / 6, 0.0, 0.0, 1 / 6], 287s ], 287s dtype=np.float64, 287s ), 287s ), 287s ( 287s "complex128", 287s np.array( 287s [ 287s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 287s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 287s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 287s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 287s ], 287s dtype=np.complex128, 287s ), 287s ), 287s ], 287s ) 287s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 287s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:253: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_41e643d9e1103ef959340180e524fb536b... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_69be1876a2be71d2f70e4a961f0d75969e1b42b2'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s __________ test_laplace_bilinear_form_3d[complex128-expected_result1] __________ 287s 287s dtype = 'complex128' 287s expected_result = array([[ 0.5 +0.j, -0.16666667+0.j, -0.16666667+0.j, 287s -0.16666667+0.j], 287s [-0.16666667+0.j, 0.16666...67+0.j, 287s 0. +0.j], 287s [-0.16666667+0.j, 0. +0.j, 0. +0.j, 287s 0.16666667+0.j]]) 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype,expected_result", 287s [ 287s ( 287s "float64", 287s np.array( 287s [ 287s [0.5, -1 / 6, -1 / 6, -1 / 6], 287s [-1 / 6, 1 / 6, 0.0, 0.0], 287s [-1 / 6, 0.0, 1 / 6, 0.0], 287s [-1 / 6, 0.0, 0.0, 1 / 6], 287s ], 287s dtype=np.float64, 287s ), 287s ), 287s ( 287s "complex128", 287s np.array( 287s [ 287s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 287s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 287s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 287s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 287s ], 287s dtype=np.complex128, 287s ), 287s ), 287s ], 287s ) 287s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 287s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:253: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_81b2c09bfbed13e33ef5f537b765f4f6f0... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_e2c4771c2fb1b5dc444fba06321a89865de83c72'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ____________________________ test_form_coefficient _____________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_form_coefficient(compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TestFunction(space), ufl.TrialFunction(space) 287s g = ufl.Coefficient(space) 287s a = g * ufl.inner(u, v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:292: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cdd35daabcecd982582b5a5a8e16d31ddadaa...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_07ba8ec8e281fb49c7e777b8c2eb49e5b3f8e675'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _______________________________ test_subdomains ________________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_subdomains(compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a0 = ufl.inner(u, v) * ufl.dx + ufl.inner(u, v) * ufl.dx(2) 287s a1 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx 287s a2 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx(1) 287s a3 = ufl.inner(u, v) * ufl.ds(210) + ufl.inner(u, v) * ufl.ds(0) 287s forms = [a0, a1, a2, a3] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:334: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_9b41af7a81930966cfc745b888f5c4092570d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f0a44635b334cd31aea603e26af7dae6e5d6cb28'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ____________________ test_interior_facet_integral[float64] _____________________ 287s 287s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 287s def test_interior_facet_integral(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 287s forms = [a0] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:373: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_d3f25b7c57ff4caa2a9ffad6daac4a8d77d97...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_e9566a95fe8378d602653472cb554fa8170e1a4d'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________________ test_interior_facet_integral[complex128] ___________________ 287s 287s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 287s def test_interior_facet_integral(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 287s forms = [a0] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:373: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2502d932e6a37875034c9364a3c4bb398b7f8...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_95af8f20af03a680547df18e7c9466b2aaad4ff6'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s __________________________ test_conditional[float64] ___________________________ 287s 287s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float64", 287s "complex128", 287s ], 287s ) 287s def test_conditional(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s x = ufl.SpatialCoordinate(domain) 287s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 287s c1 = ufl.conditional(condition, 2.0, 1.0) 287s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 287s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 287s b = c2 * ufl.conj(v) * ufl.dx 287s 287s forms = [a, b] 287s 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:439: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_bcff7363e752dcb245a198432e937313e73ef...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_59569c5fc73ddc71032ccc46094a557b0eee2704'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _________________________ test_conditional[complex128] _________________________ 287s 287s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float64", 287s "complex128", 287s ], 287s ) 287s def test_conditional(dtype, compile_args): 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s x = ufl.SpatialCoordinate(domain) 287s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 287s c1 = ufl.conditional(condition, 2.0, 1.0) 287s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 287s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 287s b = c2 * ufl.conj(v) * ufl.dx 287s 287s forms = [a, b] 287s 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:439: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_987d3968c2ca56bfe5044da00e3e0e01b38f9...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_00c3812e3d6844cd53ba3a84b2e4b9b8a95696ea'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ____________________________ test_custom_quadrature ____________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_custom_quadrature(compile_args): 287s ve = basix.ufl.element("P", "triangle", 1, shape=(2,)) 287s mesh = ufl.Mesh(ve) 287s 287s e = basix.ufl.element("P", mesh.ufl_cell().cellname(), 2) 287s V = ufl.FunctionSpace(mesh, e) 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s 287s 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]] 287s weights = [1 / 12] * 6 287s a = ( 287s u 287s * v 287s * ufl.dx( 287s metadata={ 287s "quadrature_rule": "custom", 287s "quadrature_points": points, 287s "quadrature_weights": weights, 287s } 287s ) 287s ) 287s 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:513: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_aeb9be730215449b5ef3f1690c52b618a312e...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_42c980ce553e3d6598579aa97d83a0353f5fab37'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ________________________________ test_curl_curl ________________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_curl_curl(compile_args): 287s V = basix.ufl.element("N1curl", "triangle", 2) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, V) 287s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 287s a = ufl.inner(ufl.curl(u), ufl.curl(v)) * ufl.dx 287s 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:549: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (N1E, triangle, 2, legendre, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (N1E, triangle, 2, legendre, unset, False, float64, []): 'element_814f25565fc5e68aead538c2acb150ed86009...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c8dc7fc54d551081df41af8a7eef6c7241ced26a'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_lagrange_triangle[1--0-float64] _____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 287s sym_fun = at 0x3ffaae5e5c0> 287s ufl_fun = at 0x3ffaae5e660> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "triangle", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:620: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_046ab3d365b7f6bd6274ad5cd43e9cdc542d1...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_bea32ada4d334ac03ce4e0c9a14b2359534369bc'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_lagrange_triangle[1--1-float64] _____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 287s sym_fun = at 0x3ffaae5e700> 287s ufl_fun = at 0x3ffaae5e7a0> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "triangle", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:620: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2c256f7906b9daefd4545df94cfc91de9e027...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2d1c5789691959249bd681766fa02fc389971490'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_lagrange_triangle[1--2-float64] _____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 287s sym_fun = at 0x3ffaae5e840> 287s ufl_fun = at 0x3ffaae5e8e0> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "triangle", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:620: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4a5f6156185789baa4f0df4b84fad272ab221...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2d581924b275fca0b6c0d30625ef4fbfdd179e5a'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_lagrange_triangle[2--0-float64] _____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 287s sym_fun = at 0x3ffaae5e5c0> 287s ufl_fun = at 0x3ffaae5e660> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "triangle", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:620: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_822fc815cf0d88294f96815db082232316057...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_5ccfba4ccbd622e4568a8e58466ceef1f376291a'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_lagrange_triangle[2--1-float64] _____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 287s sym_fun = at 0x3ffaae5e700> 287s ufl_fun = at 0x3ffaae5e7a0> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "triangle", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:620: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_5c511487046bea6bf6ab54882e19f1cba0024...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_d496c68c37924f64454134c5fd031f00c24a77d6'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_lagrange_triangle[2--2-float64] _____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 287s sym_fun = at 0x3ffaae5e840> 287s ufl_fun = at 0x3ffaae5e8e0> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "triangle", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:620: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b60374ce7b54d591e299b60db36554951dc3a...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_6b3cc112f4fa4c1631cb124f63b3c587ebdf82f8'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_lagrange_triangle[3--0-float64] _____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 287s sym_fun = at 0x3ffaae5e5c0> 287s ufl_fun = at 0x3ffaae5e660> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "triangle", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:620: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 3, gll_warped, unset, False, float64, []) 287s element_numbers = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 287s finite_element_names = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_275ffed960e801d8c74dde2dba3f12fc27648...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f130ad84591e790a0c949b8872a5aeb271ffa3fc'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_lagrange_triangle[3--1-float64] _____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 287s sym_fun = at 0x3ffaae5e700> 287s ufl_fun = at 0x3ffaae5e7a0> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "triangle", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:620: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 3, gll_warped, unset, False, float64, []) 287s element_numbers = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 287s finite_element_names = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_ae2b29c6813e406d4f0f08c216bfde7be3592...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_8bf7181ae3b08691352cd241a0a01227f80a4daa'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_lagrange_triangle[3--2-float64] _____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 287s sym_fun = at 0x3ffaae5e840> 287s ufl_fun = at 0x3ffaae5e8e0> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "triangle", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:620: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 3, gll_warped, unset, False, float64, []) 287s element_numbers = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 287s finite_element_names = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_80d7a30ad7f8d78d3d82a32963de0ff97f89a...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_3da8496eb89ea811e5bbc6dbb7b7137008ea9cc4'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_lagrange_tetrahedron[1--0-float64] ____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 287s sym_fun = at 0x3ffaae5eb60> 287s ufl_fun = at 0x3ffaae5ec00> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "tetrahedron", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:745: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_e381a9f05a3d7724e27f1603d977fa3487... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_f1e2d1b7c464cb7aa3e554cf9e85ab3536f66e68'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_lagrange_tetrahedron[1--1-float64] ____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 287s sym_fun = at 0x3ffaae5eca0> 287s ufl_fun = at 0x3ffaae5ed40> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "tetrahedron", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:745: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_d9e94b1e2f1604294fb95d381b63613065... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_61cb339fb798fe8def0d9dfb07594f00c18d8474'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_lagrange_tetrahedron[1--2-float64] ____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 287s sym_fun = at 0x3ffaae5ede0> 287s ufl_fun = at 0x3ffaae5ee80> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "tetrahedron", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:745: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_6267114cbb0ab2c9d9196a478b3096dee8... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_ef94f6b3bb1165926d3bd6356567b67bb98134ee'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_lagrange_tetrahedron[2--0-float64] ____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 287s sym_fun = at 0x3ffaae5eb60> 287s ufl_fun = at 0x3ffaae5ec00> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "tetrahedron", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:745: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 287s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 2} 287s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_a5819ad74061c305d7d09b77f3c25e887b...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_1025e54fa5642473c8715967d58231064e7a9169'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_lagrange_tetrahedron[2--1-float64] ____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 287s sym_fun = at 0x3ffaae5eca0> 287s ufl_fun = at 0x3ffaae5ed40> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "tetrahedron", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:745: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 287s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 2} 287s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_93f1b8421c21bc0fdfc40ad9e6552be1b8...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_86babbe3d21f6cec88165fa48bb51b4f59fadb20'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_lagrange_tetrahedron[2--2-float64] ____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 287s sym_fun = at 0x3ffaae5ede0> 287s ufl_fun = at 0x3ffaae5ee80> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "tetrahedron", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:745: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 287s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 2} 287s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_cb7084b1ff5bd1b2b743a975a06b6c8f9a...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_63a5014a7ff3c04f7344d99abfae1ba4abf1d963'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_lagrange_tetrahedron[3--0-float64] ____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 287s sym_fun = at 0x3ffaae5eb60> 287s ufl_fun = at 0x3ffaae5ec00> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "tetrahedron", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:745: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_e41030c58ee4b21898fc80a4b5c100b819... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_b8719231908ed83dc4712d0cf9cdfef8ff9b4418'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_lagrange_tetrahedron[3--1-float64] ____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 287s sym_fun = at 0x3ffaae5eca0> 287s ufl_fun = at 0x3ffaae5ed40> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "tetrahedron", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:745: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_0902593337ca1f89afe6c8cfcb651f5d60... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_f406b7c013b9b481aeb9c92d45f86ee5063eca30'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________ test_lagrange_tetrahedron[3--2-float64] ____________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 287s sym_fun = at 0x3ffaae5ede0> 287s ufl_fun = at 0x3ffaae5ee80> 287s 287s @pytest.mark.parametrize("dtype", ["float64"]) 287s @pytest.mark.parametrize( 287s "sym_fun,ufl_fun", 287s [ 287s (lambda i: i, lambda i: i), 287s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 287s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 287s ], 287s ) 287s @pytest.mark.parametrize("order", [1, 2, 3]) 287s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 287s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 287s element = basix.ufl.element("Lagrange", "tetrahedron", order) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s 287s a = ufl_fun(v) * ufl.dx 287s forms = [a] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:745: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_ad56b82f9e1460ba34944f66e8e08cb969... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_78622b6a4871c5ba94c0466cd924bf41565e51cf'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s __________________________________ test_prism __________________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_prism(compile_args): 287s element = basix.ufl.element("Lagrange", "prism", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "prism", 1, shape=(3,))) 287s space = ufl.FunctionSpace(domain, element) 287s v = ufl.TestFunction(space) 287s L = v * ufl.dx 287s forms = [L] 287s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:784: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, prism, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, prism, 1, gll_warped, unset, False, float64, []): 'element_149120449d84b390ca3fb7a016347c7e472db53d...lement (P, prism, 1, gll_warped, unset, False, float64, []), (3,)): 'element_f40e710c192b30d8e98d7e1f811e67d965630218'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ___________________________ test_complex_operations ____________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_complex_operations(compile_args): 287s dtype = "complex128" 287s cell = "triangle" 287s c_element = basix.ufl.element("Lagrange", cell, 1, shape=(2,)) 287s mesh = ufl.Mesh(c_element) 287s element = basix.ufl.element("DG", cell, 0, shape=(2,)) 287s V = ufl.FunctionSpace(mesh, element) 287s u = ufl.Coefficient(V) 287s J1 = ufl.real(u)[0] * ufl.imag(u)[1] * ufl.conj(u)[0] * ufl.dx 287s J2 = ufl.real(u[0]) * ufl.imag(u[1]) * ufl.conj(u[0]) * ufl.dx 287s forms = [J1, J2] 287s 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:823: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 0, gll_warped, unset, True, float64, []) 287s element_numbers = {Basix element (P, triangle, 0, gll_warped, unset, True, float64, []): 0, blocked element (Basix element (P, triangle,...lse, float64, []): 2, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 3} 287s finite_element_names = {Basix element (P, triangle, 0, gll_warped, unset, True, float64, []): 'element_6767170cec62001a9333de42a2af3b61afbdc4...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6473b9c29c034c63b93195354acb3d626382a62e'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s __________________________ test_invalid_function_name __________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_invalid_function_name(compile_args): 287s # Monkey patch to force invalid name 287s old_str = ufl.Coefficient.__str__ 287s ufl.Coefficient.__str__ = lambda self: "invalid function name" 287s 287s V = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, V) 287s u = ufl.Coefficient(space) 287s a = ufl.inner(u, u) * ufl.dx 287s forms = [a] 287s try: 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:888: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_394cf49ac74a43f66053f44e3476283969992...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6e4fb477e3c95e8f3a32948beacf92e5e7a48b19'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s 287s During handling of the above exception, another exception occurred: 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_invalid_function_name(compile_args): 287s # Monkey patch to force invalid name 287s old_str = ufl.Coefficient.__str__ 287s ufl.Coefficient.__str__ = lambda self: "invalid function name" 287s 287s V = basix.ufl.element("Lagrange", "triangle", 1) 287s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s space = ufl.FunctionSpace(domain, V) 287s u = ufl.Coefficient(space) 287s a = ufl.inner(u, u) * ufl.dx 287s forms = [a] 287s try: 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, cffi_extra_compile_args=compile_args 287s ) 287s except ValueError: 287s pass 287s except Exception: 287s > raise RuntimeError("Compilation should fail with ValueError.") 287s E RuntimeError: Compilation should fail with ValueError. 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:894: RuntimeError 287s _______________________ test_interval_vertex_quadrature ________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_interval_vertex_quadrature(compile_args): 287s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(1,)) 287s mesh = ufl.Mesh(c_el) 287s 287s x = ufl.SpatialCoordinate(mesh) 287s dx = ufl.Measure("dx", metadata={"quadrature_rule": "vertex"}) 287s b = x[0] * dx 287s 287s forms = [b] 287s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s forms, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:909: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_0e61c18efff2a1fd5ee3e81e88e440040fe1b...ent (P, interval, 1, gll_warped, unset, False, float64, []), (1,)): 'element_1a1af31a85ec8808877975bde333cc5635a4f1a5'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _________________________ test_facet_vertex_quadrature _________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_facet_vertex_quadrature(compile_args): 287s """Test facet vertex quadrature""" 287s c_el = basix.ufl.element("Lagrange", "quadrilateral", 1, shape=(2,)) 287s mesh = ufl.Mesh(c_el) 287s 287s x = ufl.SpatialCoordinate(mesh) 287s ds = ufl.Measure("ds", metadata={"quadrature_rule": "vertex"}) 287s expr = x[0] + ufl.cos(x[1]) 287s b1 = expr * ds 287s ds_c = ufl.Measure( 287s "ds", 287s metadata={ 287s "quadrature_rule": "custom", 287s "quadrature_points": np.array([[0.0], [1.0]]), 287s "quadrature_weights": np.array([1.0 / 2.0, 1.0 / 2.0]), 287s }, 287s ) 287s b2 = expr * ds_c 287s forms = [b1, b2] 287s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 287s forms, cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:954: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []): 'element_002b94252634860ff4391853108754fa...P, quadrilateral, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1b3c6a1140f1a41776b5bdce8f51fcd46ad11bfa'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s __________________________ test_manifold_derivatives ___________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_manifold_derivatives(compile_args): 287s """Test higher order derivatives on manifolds""" 287s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(2,)) 287s mesh = ufl.Mesh(c_el) 287s 287s x = ufl.SpatialCoordinate(mesh) 287s dx = ufl.Measure("dx", domain=mesh) 287s order = 4 287s el = basix.ufl.element("Lagrange", "interval", order) 287s V = ufl.FunctionSpace(mesh, el) 287s 287s u = ufl.Coefficient(V) 287s d = 5.3 287s f_ex = d * order * (order - 1) * x[1] ** (order - 2) 287s expr = u.dx(1).dx(1) - f_ex 287s J = expr * expr * dx 287s 287s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 287s [J], cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:1012: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_597722c31ff1b20cc45e2c0879aef849f13b9...ix element (P, interval, 4, gll_warped, unset, False, float64, []): 'element_726c0bf6695506f36c152ed123645a7f01bf08c7'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ____________________________ test_integral_grouping ____________________________ 287s 287s compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s def test_integral_grouping(compile_args): 287s """We group integrals with common integrands to avoid duplicated 287s integration kernels. This means that `inner(u, v)*dx((1,2,3)) + 287s inner(grad(u), grad(v))*dx(2) + inner(u,v)*dx` is grouped as 287s 1. `inner(u,v)*dx(("everywhere", 1, 3))` 287s 2. `(inner(grad(u), grad(v)) + inner(u, v))*dx(2)` 287s Each of the forms has one generated `tabulate_tensor_*` function, 287s which is referred to multiple times in `integrals_` and 287s `integral_ids_` 287s 287s """ 287s mesh = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 287s V = ufl.FunctionSpace(mesh, basix.ufl.element("Lagrange", "triangle", 1)) 287s u = ufl.TrialFunction(V) 287s v = ufl.TestFunction(V) 287s a = ( 287s ufl.inner(u, v) * ufl.dx((1, 2, 3)) 287s + ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx(2) 287s + ufl.inner(u, v) * ufl.dx 287s ) 287s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 287s [a], cffi_extra_compile_args=compile_args 287s ) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_jit_forms.py:1060: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_8c67a7cc6348e77d79b8b4fcefc3af30a7c20...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_62012e04730b4063b45c3508c80eacba99fd296c'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ______________________ test_multiple_mesh_codim0[float64] ______________________ 287s 287s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float64", 287s "complex128", 287s ], 287s ) 287s def test_multiple_mesh_codim0(dtype, compile_args): 287s # Define coordinate element and element used in parent and sub-mesh 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 287s 287s domain = ufl.Mesh(coordinate_element) 287s space = ufl.FunctionSpace(domain, element) 287s u_parent = ufl.TrialFunction(space) 287s 287s # Create submesh and functionspace on submesh 287s sub_domain = ufl.Mesh(coordinate_element) 287s subspace = ufl.FunctionSpace(sub_domain, element) 287s v_sub = ufl.TestFunction(subspace) 287s 287s # 287s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 287s 287s > A = compute_tensor([a], dtype, compile_args) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_submesh.py:78: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_submesh.py:20: in compute_tensor 287s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4fa73d73aa50003010de207152dcdaa830b90...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_807ad8ca4238e24f1a90ce435ef0da44eef7c760'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ____________________ test_multiple_mesh_codim0[complex128] _____________________ 287s 287s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 287s 287s @pytest.mark.parametrize( 287s "dtype", 287s [ 287s "float64", 287s "complex128", 287s ], 287s ) 287s def test_multiple_mesh_codim0(dtype, compile_args): 287s # Define coordinate element and element used in parent and sub-mesh 287s element = basix.ufl.element("Lagrange", "triangle", 1) 287s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 287s 287s domain = ufl.Mesh(coordinate_element) 287s space = ufl.FunctionSpace(domain, element) 287s u_parent = ufl.TrialFunction(space) 287s 287s # Create submesh and functionspace on submesh 287s sub_domain = ufl.Mesh(coordinate_element) 287s subspace = ufl.FunctionSpace(sub_domain, element) 287s v_sub = ufl.TestFunction(subspace) 287s 287s # 287s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 287s 287s > A = compute_tensor([a], dtype, compile_args) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_submesh.py:78: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_submesh.py:20: in compute_tensor 287s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 287s 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} 287s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_8c3bd2b04574621348d4f1e806fab23939962...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_e7077f42fa8288a193692517d393d6d931076c8a'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_bilinear_form[CellType.quadrilateral-1-float32] _____________ 287s 287s dtype = 'float32', P = 1, cell_type = CellType.quadrilateral 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 287s 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} 287s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_f619157d57ddeb2321f920...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_c30b740025458810f82c173c98d05c939f3a2c7d'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_bilinear_form[CellType.quadrilateral-1-float64] _____________ 287s 287s dtype = 'float64', P = 1, cell_type = CellType.quadrilateral 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 287s 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} 287s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_1f69f996695e10c5dc205d...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_333adaba1abbc44ca95271b01a6deb18fdaf0b34'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_bilinear_form[CellType.quadrilateral-2-float32] _____________ 287s 287s dtype = 'float32', P = 2, cell_type = CellType.quadrilateral 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]) 287s 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} 287s finite_element_names = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_3a85497...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_3fd28a25088a6e804414828da0ae52dc1349bc56'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_bilinear_form[CellType.quadrilateral-2-float64] _____________ 287s 287s dtype = 'float64', P = 2, cell_type = CellType.quadrilateral 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]) 287s 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} 287s finite_element_names = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_fb4aba4...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_e4733b17e0c78b482d398a2c386513c74a8e8103'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_bilinear_form[CellType.quadrilateral-3-float32] _____________ 287s 287s dtype = 'float32', P = 3, cell_type = CellType.quadrilateral 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 287s 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} 287s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_05b96a6655b91cfda38214..., float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 'element_3121e7bb205f52b4787b4581c5b5b10b3dc26e58'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s _____________ test_bilinear_form[CellType.quadrilateral-3-float64] _____________ 287s 287s dtype = 'float64', P = 3, cell_type = CellType.quadrilateral 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 287s 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} 287s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_c14189b354632c3840c487..., float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 'element_f0207414ca23ef7a0e6bf4a6581f20aebbac65d6'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ______________ test_bilinear_form[CellType.hexahedron-1-float32] _______________ 287s 287s dtype = 'float32', P = 1, cell_type = CellType.hexahedron 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 287s 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} 287s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_a447bda2524a7...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_b675f6cb3165f9383f0d8b67a7af284896bcc9b9'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ______________ test_bilinear_form[CellType.hexahedron-1-float64] _______________ 287s 287s dtype = 'float64', P = 1, cell_type = CellType.hexahedron 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 287s 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} 287s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_0a7cf9d64adf4...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_c766084e498594aed5aa25e436f5a325defc49c9'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ______________ test_bilinear_form[CellType.hexahedron-2-float32] _______________ 287s 287s dtype = 'float32', P = 2, cell_type = CellType.hexahedron 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]) 287s element_numbers = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 287s finite_element_names = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_62e699d03b7f82cde3cf491c800e99499dd64384'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ______________ test_bilinear_form[CellType.hexahedron-2-float64] _______________ 287s 287s dtype = 'float64', P = 2, cell_type = CellType.hexahedron 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]) 287s element_numbers = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 287s finite_element_names = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_75749f8f5b72499506bcc01249e6d41344992ed6'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ______________ test_bilinear_form[CellType.hexahedron-3-float32] _______________ 287s 287s dtype = 'float32', P = 3, cell_type = CellType.hexahedron 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3, ...4, 60, 34, 50, 35, 51, 10, 14, 11, 15, 26, 30, 27, 31, 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]) 287s element_numbers = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 287s finite_element_names = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_e9812445e1dcc1309a678deb01da475519bcaed9'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s ______________ test_bilinear_form[CellType.hexahedron-3-float64] _______________ 287s 287s dtype = 'float64', P = 3, cell_type = CellType.hexahedron 287s 287s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 287s @pytest.mark.parametrize("P", [1, 2, 3]) 287s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 287s def test_bilinear_form(dtype, P, cell_type): 287s gdim = cell_to_gdim(cell_type) 287s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 287s coords = create_tensor_product_element( 287s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 287s ) 287s mesh = ufl.Mesh(coords) 287s V = ufl.FunctionSpace(mesh, element) 287s 287s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 287s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 287s 287s ndofs = element.dim 287s 287s A = np.zeros((ndofs, ndofs), dtype=dtype) 287s w = np.array([], dtype=dtype) 287s c = np.array([], dtype=dtype) 287s 287s xdtype = dtype_to_scalar_dtype(dtype) 287s if cell_type == basix.CellType.quadrilateral: 287s coords = np.array( 287s [[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 287s ) 287s elif cell_type == basix.CellType.hexahedron: 287s coords = np.array( 287s [ 287s [0.0, 0.0, 0.0], 287s [1.0, 0.0, 0.0], 287s [0.0, 1.0, 0.0], 287s [1.0, 1.0, 0.0], 287s [0.0, 0.0, 1.0], 287s [1.0, 0.0, 1.0], 287s [0.0, 1.0, 1.0], 287s [1.0, 1.0, 1.0], 287s ], 287s dtype=xdtype, 287s ) 287s 287s c_type = dtype_to_c_type(dtype) 287s c_xtype = dtype_to_c_type(xdtype) 287s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:104: 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/test/test_tensor_product.py:43: in generate_kernel 287s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:276: in compile_forms 287s raise e 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:256: in compile_forms 287s impl = _compile_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/codegeneration/jit.py:383: in _compile_objects 287s _, code_body = ffcx.compiler.compile_ufl_objects( 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/compiler.py:113: in compile_ufl_objects 287s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:215: in compute_ir 287s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 287s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 287s 287s element = Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3, ...4, 60, 34, 50, 35, 51, 10, 14, 11, 15, 26, 30, 27, 31, 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]) 287s element_numbers = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 287s finite_element_names = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_08e765eb595b2660b667ceb53ac4733b33229f2d'} 287s 287s def _compute_element_ir(element, element_numbers, finite_element_names): 287s """Compute intermediate representation of element.""" 287s logger.info(f"Computing IR for element {element}") 287s 287s # Create basix elements 287s cell = element.cell 287s 287s # Store id 287s ir = {"id": element_numbers[element]} 287s ir["name"] = finite_element_names[element] 287s 287s # Compute data for each function 287s ir["signature"] = repr(element) 287s ir["cell_shape"] = element.cell_type.name 287s ir["topological_dimension"] = cell.topological_dimension() 287s ir["space_dimension"] = element.dim + element.num_global_support_dofs 287s > ir["element_type"] = element.ufcx_element_type 287s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 287s 287s /tmp/autopkgtest.GZ3CPp/build.WXK/src/ffcx/ir/representation.py:293: AttributeError 287s =============================== warnings summary =============================== 287s test/test_jit_forms.py::test_facet_vertex_quadrature 287s /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. 287s warnings.warn( 287s 287s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 287s =========================== short test summary info ============================ 287s SKIPPED [4] test/test_signatures.py:41: Numba not installed 287s FAILED test/test_add_mode.py::test_additive_facet_integral[float32] - Attribu... 287s FAILED test/test_add_mode.py::test_additive_facet_integral[float64] - Attribu... 287s FAILED test/test_add_mode.py::test_additive_facet_integral[complex64] - Attri... 287s FAILED test/test_add_mode.py::test_additive_facet_integral[complex128] - Attr... 287s FAILED test/test_add_mode.py::test_additive_cell_integral[float32] - Attribut... 287s FAILED test/test_add_mode.py::test_additive_cell_integral[float64] - Attribut... 287s FAILED test/test_add_mode.py::test_additive_cell_integral[complex64] - Attrib... 287s FAILED test/test_add_mode.py::test_additive_cell_integral[complex128] - Attri... 287s FAILED test/test_blocked_elements.py::test_finite_element - AttributeError: '... 287s FAILED test/test_blocked_elements.py::test_vector_element - AttributeError: '... 287s FAILED test/test_blocked_elements.py::test_tensor_element - AttributeError: '... 287s FAILED test/test_blocked_elements.py::test_vector_quadrature_element - Attrib... 287s FAILED test/test_cache.py::test_cache_modes - AttributeError: '_BasixElement'... 287s FAILED test/test_cmdline.py::test_visualise - AssertionError: assert False 287s FAILED test/test_jit_expression.py::test_matvec - AttributeError: '_BasixElem... 287s FAILED test/test_jit_expression.py::test_rank1 - AttributeError: '_BasixEleme... 287s FAILED test/test_jit_expression.py::test_elimiate_zero_tables_tensor - Attrib... 287s FAILED test/test_jit_expression.py::test_facet_expression - AttributeError: m... 287s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] 287s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] 287s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] 287s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] 287s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] 287s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] 287s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] 287s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] 287s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] 287s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] 287s FAILED test/test_jit_forms.py::test_form_coefficient - AttributeError: '_Basi... 287s FAILED test/test_jit_forms.py::test_subdomains - AttributeError: '_BasixEleme... 287s FAILED test/test_jit_forms.py::test_interior_facet_integral[float64] - Attrib... 287s FAILED test/test_jit_forms.py::test_interior_facet_integral[complex128] - Att... 287s FAILED test/test_jit_forms.py::test_conditional[float64] - AttributeError: '_... 287s FAILED test/test_jit_forms.py::test_conditional[complex128] - AttributeError:... 287s FAILED test/test_jit_forms.py::test_custom_quadrature - AttributeError: '_Bas... 287s FAILED test/test_jit_forms.py::test_curl_curl - AttributeError: '_BasixElemen... 287s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] 287s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] 287s FAILED test/test_jit_forms.py::test_prism - AttributeError: '_BasixElement' o... 287s FAILED test/test_jit_forms.py::test_complex_operations - AttributeError: '_Ba... 287s FAILED test/test_jit_forms.py::test_invalid_function_name - RuntimeError: Com... 287s FAILED test/test_jit_forms.py::test_interval_vertex_quadrature - AttributeErr... 287s FAILED test/test_jit_forms.py::test_facet_vertex_quadrature - AttributeError:... 287s FAILED test/test_jit_forms.py::test_manifold_derivatives - AttributeError: '_... 287s FAILED test/test_jit_forms.py::test_integral_grouping - AttributeError: '_Bas... 287s FAILED test/test_submesh.py::test_multiple_mesh_codim0[float64] - AttributeEr... 287s FAILED test/test_submesh.py::test_multiple_mesh_codim0[complex128] - Attribut... 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] 287s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] 287s ============= 75 failed, 8 passed, 4 skipped, 1 warning in 49.97s ============== 287s autopkgtest [20:37:12]: test command1: -----------------------] 288s command1 FAIL non-zero exit status 1 288s autopkgtest [20:37:13]: test command1: - - - - - - - - - - results - - - - - - - - - - 288s autopkgtest [20:37:13]: @@@@@@@@@@@@@@@@@@@@ summary 288s command1 FAIL non-zero exit status 1 300s nova [W] Using flock in prodstack6-s390x 300s Creating nova instance adt-plucky-s390x-fenics-ffcx-20241123-203150-juju-7f2275-prod-proposed-migration-environment-15-d36c07f8-b8a4-4dd2-9600-eaa693eaf629 from image adt/ubuntu-plucky-s390x-server-20241119.img (UUID 0efe7a44-24e0-44d8-af6e-8997f14b87bd)...