0s autopkgtest [22:30:46]: starting date and time: 2024-11-23 22:30:46+0000 0s autopkgtest [22:30:46]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [22:30:46]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.cfgyqt0q/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:fenics-basix --apt-upgrade fenics-ffcx --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=fenics-basix/0.9.0-2build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-ppc64el-19.secgroup --name adt-plucky-ppc64el-fenics-ffcx-20241123-223046-juju-7f2275-prod-proposed-migration-environment-20-2a05b104-7dac-4956-8289-085aa88c73c8 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 87s autopkgtest [22:32:13]: testbed dpkg architecture: ppc64el 87s autopkgtest [22:32:13]: testbed apt version: 2.9.8 87s autopkgtest [22:32:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 88s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 88s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [50.6 kB] 88s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 88s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [908 kB] 88s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 88s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [62.6 kB] 88s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 88s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [765 kB] 88s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [9468 B] 89s Fetched 1893 kB in 1s (2081 kB/s) 89s Reading package lists... 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 91s Calculating upgrade... 91s The following package was automatically installed and is no longer required: 91s libsgutils2-1.46-2 91s Use 'sudo apt autoremove' to remove it. 91s The following NEW packages will be installed: 91s libsgutils2-1.48 91s The following packages will be upgraded: 91s bash bpftrace curl debconf debconf-i18n distro-info dracut-install 91s gir1.2-girepository-2.0 gir1.2-glib-2.0 hostname init init-system-helpers 91s libaudit-common libaudit1 libcurl3t64-gnutls libcurl4t64 91s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-data liblzma5 91s libpam-modules libpam-modules-bin libpam-runtime libpam0g libplymouth5 91s libselinux1 libsemanage-common libsemanage2 linux-base lsvpd lxd-installer 91s openssh-client openssh-server openssh-sftp-server pinentry-curses plymouth 91s plymouth-theme-ubuntu-text python3-blinker python3-dbus python3-debconf 91s python3-gi python3-jsonschema-specifications python3-rpds-py python3-yaml 91s sg3-utils sg3-utils-udev vim-common vim-tiny xxd xz-utils 91s 50 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 91s Need to get 14.1 MB of archives. 91s After this operation, 3675 kB of additional disk space will be used. 91s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el bash ppc64el 5.2.32-1ubuntu2 [979 kB] 92s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el hostname ppc64el 3.25 [11.3 kB] 92s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el init-system-helpers all 1.67ubuntu1 [39.1 kB] 92s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libaudit-common all 1:4.0.2-2ubuntu1 [6578 B] 92s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libaudit1 ppc64el 1:4.0.2-2ubuntu1 [59.6 kB] 92s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el debconf-i18n all 1.5.87ubuntu1 [204 kB] 92s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-debconf all 1.5.87ubuntu1 [4156 B] 92s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el debconf all 1.5.87ubuntu1 [124 kB] 92s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpam0g ppc64el 1.5.3-7ubuntu4 [76.2 kB] 92s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libselinux1 ppc64el 3.7-3ubuntu1 [100 kB] 92s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpam-modules-bin ppc64el 1.5.3-7ubuntu4 [57.6 kB] 92s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpam-modules ppc64el 1.5.3-7ubuntu4 [325 kB] 92s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el init ppc64el 1.67ubuntu1 [6432 B] 92s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el openssh-sftp-server ppc64el 1:9.9p1-3ubuntu2 [43.4 kB] 92s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el openssh-server ppc64el 1:9.9p1-3ubuntu2 [680 kB] 92s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el openssh-client ppc64el 1:9.9p1-3ubuntu2 [1169 kB] 92s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpam-runtime all 1.5.3-7ubuntu4 [40.8 kB] 92s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblzma5 ppc64el 5.6.3-1 [172 kB] 92s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsemanage-common all 3.7-2build1 [7186 B] 92s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsemanage2 ppc64el 3.7-2build1 [115 kB] 92s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el distro-info ppc64el 1.12 [20.0 kB] 92s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-girepository-2.0 ppc64el 1.82.0-2 [25.3 kB] 92s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-glib-2.0 ppc64el 2.82.2-3 [182 kB] 92s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-0t64 ppc64el 2.82.2-3 [1787 kB] 93s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-1.0-1 ppc64el 1.82.0-2 [95.5 kB] 93s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-data all 2.82.2-3 [51.7 kB] 93s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-dbus ppc64el 1.3.2-5build4 [117 kB] 93s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-gi ppc64el 3.50.0-3build1 [308 kB] 93s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-yaml ppc64el 6.0.2-1build1 [180 kB] 93s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el vim-tiny ppc64el 2:9.1.0861-1ubuntu1 [1078 kB] 93s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 93s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el xxd ppc64el 2:9.1.0861-1ubuntu1 [67.9 kB] 93s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libplymouth5 ppc64el 24.004.60-2ubuntu3 [169 kB] 93s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsgutils2-1.48 ppc64el 1.48-0ubuntu1 [133 kB] 93s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el lsvpd ppc64el 1.7.14-1ubuntu3 [162 kB] 93s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el plymouth-theme-ubuntu-text ppc64el 24.004.60-2ubuntu3 [11.1 kB] 93s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el plymouth ppc64el 24.004.60-2ubuntu3 [152 kB] 93s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el xz-utils ppc64el 5.6.3-1 [280 kB] 93s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el bpftrace ppc64el 0.21.2-2ubuntu3 [1898 kB] 93s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el curl ppc64el 8.9.1-2ubuntu3 [247 kB] 93s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcurl4t64 ppc64el 8.9.1-2ubuntu3 [464 kB] 93s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el dracut-install ppc64el 105-2ubuntu2 [38.5 kB] 93s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcurl3t64-gnutls ppc64el 8.9.1-2ubuntu3 [461 kB] 93s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el linux-base all 4.10.1ubuntu1 [34.8 kB] 93s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el lxd-installer all 10 [5264 B] 93s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el pinentry-curses ppc64el 1.3.1-0ubuntu2 [43.5 kB] 93s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-blinker all 1.9.0-1 [10.7 kB] 93s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-rpds-py ppc64el 0.21.0-2ubuntu1 [338 kB] 93s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-jsonschema-specifications all 2023.12.1-2 [9116 B] 93s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el sg3-utils ppc64el 1.48-0ubuntu1 [1070 kB] 93s Get:51 http://ftpmaster.internal/ubuntu plucky/main ppc64el sg3-utils-udev all 1.48-0ubuntu1 [6608 B] 94s Preconfiguring packages ... 94s Fetched 14.1 MB in 2s (7210 kB/s) 94s (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 ... 73847 files and directories currently installed.) 94s Preparing to unpack .../bash_5.2.32-1ubuntu2_ppc64el.deb ... 94s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 94s Setting up bash (5.2.32-1ubuntu2) ... 94s 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 94s (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 ... 73847 files and directories currently installed.) 94s Preparing to unpack .../hostname_3.25_ppc64el.deb ... 94s Unpacking hostname (3.25) over (3.23+nmu2ubuntu2) ... 94s Setting up hostname (3.25) ... 94s (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 ... 73847 files and directories currently installed.) 94s Preparing to unpack .../init-system-helpers_1.67ubuntu1_all.deb ... 94s Unpacking init-system-helpers (1.67ubuntu1) over (1.66ubuntu1) ... 94s Setting up init-system-helpers (1.67ubuntu1) ... 94s (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 ... 73847 files and directories currently installed.) 94s Preparing to unpack .../libaudit-common_1%3a4.0.2-2ubuntu1_all.deb ... 94s Unpacking libaudit-common (1:4.0.2-2ubuntu1) over (1:4.0.1-1ubuntu2) ... 94s Setting up libaudit-common (1:4.0.2-2ubuntu1) ... 94s (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 ... 73847 files and directories currently installed.) 94s Preparing to unpack .../libaudit1_1%3a4.0.2-2ubuntu1_ppc64el.deb ... 94s Unpacking libaudit1:ppc64el (1:4.0.2-2ubuntu1) over (1:4.0.1-1ubuntu2) ... 94s Setting up libaudit1:ppc64el (1:4.0.2-2ubuntu1) ... 94s (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 ... 73847 files and directories currently installed.) 94s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 94s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 94s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 94s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 94s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 94s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 94s Setting up debconf (1.5.87ubuntu1) ... 95s (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 ... 73847 files and directories currently installed.) 95s Preparing to unpack .../libpam0g_1.5.3-7ubuntu4_ppc64el.deb ... 95s Unpacking libpam0g:ppc64el (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 95s Setting up libpam0g:ppc64el (1.5.3-7ubuntu4) ... 95s (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 ... 73847 files and directories currently installed.) 95s Preparing to unpack .../libselinux1_3.7-3ubuntu1_ppc64el.deb ... 95s Unpacking libselinux1:ppc64el (3.7-3ubuntu1) over (3.5-2ubuntu5) ... 95s Setting up libselinux1:ppc64el (3.7-3ubuntu1) ... 95s (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 ... 73847 files and directories currently installed.) 95s Preparing to unpack .../libpam-modules-bin_1.5.3-7ubuntu4_ppc64el.deb ... 95s Unpacking libpam-modules-bin (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 95s Setting up libpam-modules-bin (1.5.3-7ubuntu4) ... 95s pam_namespace.service is a disabled or a static unit not running, not starting it. 95s (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 ... 73847 files and directories currently installed.) 95s Preparing to unpack .../libpam-modules_1.5.3-7ubuntu4_ppc64el.deb ... 95s Unpacking libpam-modules:ppc64el (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 95s Setting up libpam-modules:ppc64el (1.5.3-7ubuntu4) ... 95s (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 ... 73847 files and directories currently installed.) 95s Preparing to unpack .../init_1.67ubuntu1_ppc64el.deb ... 95s Unpacking init (1.67ubuntu1) over (1.66ubuntu1) ... 95s Preparing to unpack .../openssh-sftp-server_1%3a9.9p1-3ubuntu2_ppc64el.deb ... 95s Unpacking openssh-sftp-server (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 95s Preparing to unpack .../openssh-server_1%3a9.9p1-3ubuntu2_ppc64el.deb ... 95s Unpacking openssh-server (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 95s Preparing to unpack .../openssh-client_1%3a9.9p1-3ubuntu2_ppc64el.deb ... 95s Unpacking openssh-client (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 96s Preparing to unpack .../libpam-runtime_1.5.3-7ubuntu4_all.deb ... 96s Unpacking libpam-runtime (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 96s Setting up libpam-runtime (1.5.3-7ubuntu4) ... 96s (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 ... 73849 files and directories currently installed.) 96s Preparing to unpack .../liblzma5_5.6.3-1_ppc64el.deb ... 96s Unpacking liblzma5:ppc64el (5.6.3-1) over (5.6.2-2) ... 96s Setting up liblzma5:ppc64el (5.6.3-1) ... 96s (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 ... 73849 files and directories currently installed.) 96s Preparing to unpack .../libsemanage-common_3.7-2build1_all.deb ... 96s Unpacking libsemanage-common (3.7-2build1) over (3.5-1build6) ... 96s Setting up libsemanage-common (3.7-2build1) ... 96s (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 ... 73848 files and directories currently installed.) 96s Preparing to unpack .../libsemanage2_3.7-2build1_ppc64el.deb ... 96s Unpacking libsemanage2:ppc64el (3.7-2build1) over (3.5-1build6) ... 96s Setting up libsemanage2:ppc64el (3.7-2build1) ... 96s (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 ... 73848 files and directories currently installed.) 96s Preparing to unpack .../00-distro-info_1.12_ppc64el.deb ... 96s Unpacking distro-info (1.12) over (1.9) ... 96s Preparing to unpack .../01-gir1.2-girepository-2.0_1.82.0-2_ppc64el.deb ... 96s Unpacking gir1.2-girepository-2.0:ppc64el (1.82.0-2) over (1.80.1-4) ... 96s Preparing to unpack .../02-gir1.2-glib-2.0_2.82.2-3_ppc64el.deb ... 96s Unpacking gir1.2-glib-2.0:ppc64el (2.82.2-3) over (2.82.1-0ubuntu1) ... 96s Preparing to unpack .../03-libglib2.0-0t64_2.82.2-3_ppc64el.deb ... 96s Unpacking libglib2.0-0t64:ppc64el (2.82.2-3) over (2.82.1-0ubuntu1) ... 96s Preparing to unpack .../04-libgirepository-1.0-1_1.82.0-2_ppc64el.deb ... 96s Unpacking libgirepository-1.0-1:ppc64el (1.82.0-2) over (1.80.1-4) ... 96s Preparing to unpack .../05-libglib2.0-data_2.82.2-3_all.deb ... 96s Unpacking libglib2.0-data (2.82.2-3) over (2.82.1-0ubuntu1) ... 96s Preparing to unpack .../06-python3-dbus_1.3.2-5build4_ppc64el.deb ... 96s Unpacking python3-dbus (1.3.2-5build4) over (1.3.2-5build3) ... 96s Preparing to unpack .../07-python3-gi_3.50.0-3build1_ppc64el.deb ... 96s Unpacking python3-gi (3.50.0-3build1) over (3.50.0-3) ... 96s Preparing to unpack .../08-python3-yaml_6.0.2-1build1_ppc64el.deb ... 96s Unpacking python3-yaml (6.0.2-1build1) over (6.0.2-1) ... 96s Preparing to unpack .../09-vim-tiny_2%3a9.1.0861-1ubuntu1_ppc64el.deb ... 96s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 96s Preparing to unpack .../10-vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 96s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 96s Preparing to unpack .../11-xxd_2%3a9.1.0861-1ubuntu1_ppc64el.deb ... 96s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 96s Preparing to unpack .../12-libplymouth5_24.004.60-2ubuntu3_ppc64el.deb ... 96s Unpacking libplymouth5:ppc64el (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 96s Selecting previously unselected package libsgutils2-1.48:ppc64el. 96s Preparing to unpack .../13-libsgutils2-1.48_1.48-0ubuntu1_ppc64el.deb ... 96s Unpacking libsgutils2-1.48:ppc64el (1.48-0ubuntu1) ... 96s Preparing to unpack .../14-lsvpd_1.7.14-1ubuntu3_ppc64el.deb ... 96s Unpacking lsvpd (1.7.14-1ubuntu3) over (1.7.14-1ubuntu2) ... 96s Preparing to unpack .../15-plymouth-theme-ubuntu-text_24.004.60-2ubuntu3_ppc64el.deb ... 96s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 96s Preparing to unpack .../16-plymouth_24.004.60-2ubuntu3_ppc64el.deb ... 97s Unpacking plymouth (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 97s Preparing to unpack .../17-xz-utils_5.6.3-1_ppc64el.deb ... 97s Unpacking xz-utils (5.6.3-1) over (5.6.2-2) ... 97s Preparing to unpack .../18-bpftrace_0.21.2-2ubuntu3_ppc64el.deb ... 97s Unpacking bpftrace (0.21.2-2ubuntu3) over (0.21.2-2ubuntu2) ... 97s Preparing to unpack .../19-curl_8.9.1-2ubuntu3_ppc64el.deb ... 97s Unpacking curl (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 97s Preparing to unpack .../20-libcurl4t64_8.9.1-2ubuntu3_ppc64el.deb ... 97s Unpacking libcurl4t64:ppc64el (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 97s Preparing to unpack .../21-dracut-install_105-2ubuntu2_ppc64el.deb ... 97s Unpacking dracut-install (105-2ubuntu2) over (105-1ubuntu1) ... 97s Preparing to unpack .../22-libcurl3t64-gnutls_8.9.1-2ubuntu3_ppc64el.deb ... 97s Unpacking libcurl3t64-gnutls:ppc64el (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 97s Preparing to unpack .../23-linux-base_4.10.1ubuntu1_all.deb ... 97s Unpacking linux-base (4.10.1ubuntu1) over (4.5ubuntu9) ... 97s Preparing to unpack .../24-lxd-installer_10_all.deb ... 97s Unpacking lxd-installer (10) over (9) ... 97s Preparing to unpack .../25-pinentry-curses_1.3.1-0ubuntu2_ppc64el.deb ... 97s Unpacking pinentry-curses (1.3.1-0ubuntu2) over (1.2.1-3ubuntu5) ... 97s Preparing to unpack .../26-python3-blinker_1.9.0-1_all.deb ... 97s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 97s Preparing to unpack .../27-python3-rpds-py_0.21.0-2ubuntu1_ppc64el.deb ... 97s Unpacking python3-rpds-py (0.21.0-2ubuntu1) over (0.20.0-0ubuntu3) ... 97s Preparing to unpack .../28-python3-jsonschema-specifications_2023.12.1-2_all.deb ... 97s Unpacking python3-jsonschema-specifications (2023.12.1-2) over (2023.12.1-1ubuntu1) ... 97s Preparing to unpack .../29-sg3-utils_1.48-0ubuntu1_ppc64el.deb ... 97s Unpacking sg3-utils (1.48-0ubuntu1) over (1.46-3ubuntu5) ... 97s Preparing to unpack .../30-sg3-utils-udev_1.48-0ubuntu1_all.deb ... 97s Unpacking sg3-utils-udev (1.48-0ubuntu1) over (1.46-3ubuntu5) ... 97s Setting up pinentry-curses (1.3.1-0ubuntu2) ... 97s Setting up distro-info (1.12) ... 97s Setting up linux-base (4.10.1ubuntu1) ... 97s Setting up init (1.67ubuntu1) ... 97s Setting up libcurl4t64:ppc64el (8.9.1-2ubuntu3) ... 97s Setting up bpftrace (0.21.2-2ubuntu3) ... 97s Setting up openssh-client (1:9.9p1-3ubuntu2) ... 97s Setting up python3-debconf (1.5.87ubuntu1) ... 97s Setting up libcurl3t64-gnutls:ppc64el (8.9.1-2ubuntu3) ... 97s Setting up libsgutils2-1.48:ppc64el (1.48-0ubuntu1) ... 97s Setting up python3-yaml (6.0.2-1build1) ... 98s Setting up debconf-i18n (1.5.87ubuntu1) ... 98s Setting up xxd (2:9.1.0861-1ubuntu1) ... 98s Setting up libglib2.0-0t64:ppc64el (2.82.2-3) ... 98s No schema files found: doing nothing. 98s Setting up libglib2.0-data (2.82.2-3) ... 98s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 98s Setting up xz-utils (5.6.3-1) ... 98s Setting up gir1.2-glib-2.0:ppc64el (2.82.2-3) ... 98s Setting up lxd-installer (10) ... 98s Setting up python3-rpds-py (0.21.0-2ubuntu1) ... 98s Setting up dracut-install (105-2ubuntu2) ... 98s Setting up libplymouth5:ppc64el (24.004.60-2ubuntu3) ... 98s Setting up libgirepository-1.0-1:ppc64el (1.82.0-2) ... 98s Setting up curl (8.9.1-2ubuntu3) ... 98s Setting up python3-jsonschema-specifications (2023.12.1-2) ... 98s Setting up sg3-utils (1.48-0ubuntu1) ... 98s Setting up python3-blinker (1.9.0-1) ... 98s Setting up openssh-sftp-server (1:9.9p1-3ubuntu2) ... 98s Setting up python3-dbus (1.3.2-5build4) ... 98s Setting up openssh-server (1:9.9p1-3ubuntu2) ... 98s Installing new version of config file /etc/ssh/moduli ... 99s Replacing config file /etc/ssh/sshd_config with new version 100s Setting up plymouth (24.004.60-2ubuntu3) ... 100s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 100s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 106s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 107s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 107s Setting up lsvpd (1.7.14-1ubuntu3) ... 107s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 107s Setting up sg3-utils-udev (1.48-0ubuntu1) ... 107s update-initramfs: deferring update (trigger activated) 107s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu3) ... 107s update-initramfs: deferring update (trigger activated) 107s Setting up gir1.2-girepository-2.0:ppc64el (1.82.0-2) ... 107s Setting up python3-gi (3.50.0-3build1) ... 107s Processing triggers for install-info (7.1.1-1) ... 107s Processing triggers for initramfs-tools (0.142ubuntu35) ... 107s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 107s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 113s Processing triggers for libc-bin (2.40-1ubuntu3) ... 113s Processing triggers for ufw (0.36.2-8) ... 114s Processing triggers for man-db (2.13.0-1) ... 115s Processing triggers for debianutils (5.21) ... 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s The following packages will be REMOVED: 116s libsgutils2-1.46-2* 116s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 116s After this operation, 380 kB disk space will be freed. 116s (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 ... 73882 files and directories currently installed.) 116s Removing libsgutils2-1.46-2:ppc64el (1.46-3ubuntu5) ... 116s Processing triggers for libc-bin (2.40-1ubuntu3) ... 116s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 116s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 117s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 117s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 117s Reading package lists... 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s Calculating upgrade... 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s autopkgtest [22:32:45]: rebooting testbed after setup commands that affected boot 122s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 147s autopkgtest [22:33:13]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 150s autopkgtest [22:33:16]: @@@@@@@@@@@@@@@@@@@@ apt-source fenics-ffcx 152s Get:1 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (dsc) [2533 B] 152s Get:2 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (tar) [134 kB] 152s Get:3 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (diff) [9740 B] 152s gpgv: Signature made Thu Apr 25 09:26:51 2024 UTC 152s gpgv: using RSA key 1B5D04B1E507BBF03669E2B801F35FC33E73AF8C 152s gpgv: Can't check signature: No public key 152s dpkg-source: warning: cannot verify inline signature for ./fenics-ffcx_0.8.0-1.dsc: no acceptable signature found 152s autopkgtest [22:33:18]: testing package fenics-ffcx version 1:0.8.0-1 153s autopkgtest [22:33:19]: build not needed 153s autopkgtest [22:33:19]: test command1: preparing testbed 154s Reading package lists... 154s Building dependency tree... 154s Reading state information... 154s Starting pkgProblemResolver with broken count: 0 154s Starting 2 pkgProblemResolver with broken count: 0 154s Done 155s The following additional packages will be installed: 155s autoconf automake autopoint autotools-dev build-essential cmake cmake-data 155s cpp cpp-14 cpp-14-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper 155s debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common 155s dwz fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 155s fonts-font-awesome fonts-lato g++ g++-14 g++-14-powerpc64le-linux-gnu 155s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 155s gcc-powerpc64le-linux-gnu gettext graphviz intltool-debian libann0 libaom3 155s libarchive-zip-perl libasan8 libbasix-dev libbasix0.9 libblas3 155s libboost-math-dev libboost-math1.83-dev libboost-math1.83.0 libboost1.83-dev 155s libcairo2 libcc1-0 libcdt5 libcgraph6 libdatrie1 libde265-0 155s libdebhelper-perl libdeflate0 libeigen3-dev libexpat1-dev 155s libfile-stripnondeterminism-perl libfontconfig1 libgcc-14-dev libgd3 155s libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 155s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 libice6 155s libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 155s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 155s liblab-gamut1 liblapack3 liblerc4 liblsan0 libltdl7 libmpc3 libpango-1.0-0 155s libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 155s libpython3-all-dev libpython3-dev libpython3.12-dev libquadmath0 libraqm0 155s librhash0 libsharpyuv0 libsm6 libstdc++-14-dev libthai-data libthai0 155s libtiff6 libtool libtsan2 libubsan1 libwebp7 libxaw7 libxcb-render0 155s libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 pkg-config pkgconf 155s pkgconf-bin po-debconf pybuild-plugin-pyproject python3-alabaster 155s python3-all python3-all-dev python3-basix python3-build python3-cffi 155s python3-defusedxml python3-dev python3-docutils python3-ffcx 155s python3-imagesize python3-iniconfig python3-installer python3-mpmath 155s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 155s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 155s python3-roman python3-snowballstemmer python3-sphinx 155s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 155s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 155s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 155s Suggested packages: 155s autoconf-archive gnu-standards autoconf-doc cmake-doc cmake-format 155s elpa-cmake-mode ninja-build cpp-doc gcc-14-locales cpp-14-doc dh-make flit 155s gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 155s gdb-powerpc64le-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev 155s gsfonts graphviz-doc basix-doc libboost1.83-doc libboost-atomic1.83-dev 155s libboost-chrono1.83-dev libboost-container1.83-dev libboost-context1.83-dev 155s libboost-contract1.83-dev libboost-coroutine1.83-dev 155s libboost-date-time1.83-dev libboost-exception1.83-dev libboost-fiber1.83-dev 155s libboost-filesystem1.83-dev libboost-graph-parallel1.83-dev 155s libboost-graph1.83-dev libboost-iostreams1.83-dev libboost-json1.83-dev 155s libboost-locale1.83-dev libboost-log1.83-dev libboost-mpi-python1.83-dev 155s libboost-mpi1.83-dev libboost-nowide1.83-dev libboost-numpy1.83-dev 155s libboost-program-options1.83-dev libboost-python1.83-dev 155s libboost-random1.83-dev libboost-regex1.83-dev 155s libboost-serialization1.83-dev libboost-stacktrace1.83-dev 155s libboost-system1.83-dev libboost-test1.83-dev libboost-thread1.83-dev 155s libboost-timer1.83-dev libboost-type-erasure1.83-dev libboost-url1.83-dev 155s libboost-wave1.83-dev libboost1.83-tools-dev libmpfrc++-dev libntl-dev 155s libeigen3-doc libgd-tools libheif-plugin-x265 libheif-plugin-ffmpegdec 155s libheif-plugin-jpegdec libheif-plugin-jpegenc libheif-plugin-j2kdec 155s libheif-plugin-j2kenc libheif-plugin-kvazaar libheif-plugin-rav1e 155s libheif-plugin-svtenc libstdc++-14-doc libtool-doc gfortran 155s | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-venv 155s python-build-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine 155s texlive-lang-french texlive-latex-base texlive-latex-recommended 155s python-installer-doc python-mpmath-doc python3-gmpy2 python3-matplotlib 155s gfortran python-numpy-doc python-ply-doc python-pygraphviz-doc 155s python3-stemmer dvipng dvisvgm fonts-freefont-otf imagemagick-6.q16 latexmk 155s libjs-mathjax sphinx-doc tex-gyre texlive-fonts-extra 155s texlive-fonts-recommended texlive-latex-extra texlive-plain-generic 155s python-sympy-doc python-ufl-doc sgml-base-doc 155s Recommended packages: 155s fonts-liberation libarchive-cpio-perl libgts-bin libheif-plugin-aomenc 155s javascript-common libjson-xs-perl libltdl-dev libmail-sendmail-perl 155s libpaper-utils python3-pil isympy-common 155s The following NEW packages will be installed: 155s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 155s cmake cmake-data cpp cpp-14 cpp-14-powerpc64le-linux-gnu 155s cpp-powerpc64le-linux-gnu debhelper debugedit dh-autoreconf dh-python 155s dh-strip-nondeterminism docutils-common dwz fontconfig fontconfig-config 155s fonts-dejavu-core fonts-dejavu-mono fonts-font-awesome fonts-lato g++ g++-14 155s g++-14-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-14 155s gcc-14-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext graphviz 155s intltool-debian libann0 libaom3 libarchive-zip-perl libasan8 libbasix-dev 155s libbasix0.9 libblas3 libboost-math-dev libboost-math1.83-dev 155s libboost-math1.83.0 libboost1.83-dev libcairo2 libcc1-0 libcdt5 libcgraph6 155s libdatrie1 libde265-0 libdebhelper-perl libdeflate0 libeigen3-dev 155s libexpat1-dev libfile-stripnondeterminism-perl libfontconfig1 libgcc-14-dev 155s libgd3 libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 155s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 libice6 155s libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 155s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 155s liblab-gamut1 liblapack3 liblerc4 liblsan0 libltdl7 libmpc3 libpango-1.0-0 155s libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 155s libpython3-all-dev libpython3-dev libpython3.12-dev libquadmath0 libraqm0 155s librhash0 libsharpyuv0 libsm6 libstdc++-14-dev libthai-data libthai0 155s libtiff6 libtool libtsan2 libubsan1 libwebp7 libxaw7 libxcb-render0 155s libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 pkg-config pkgconf 155s pkgconf-bin po-debconf pybuild-plugin-pyproject python3-alabaster 155s python3-all python3-all-dev python3-basix python3-build python3-cffi 155s python3-defusedxml python3-dev python3-docutils python3-ffcx 155s python3-imagesize python3-iniconfig python3-installer python3-mpmath 155s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 155s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 155s python3-roman python3-snowballstemmer python3-sphinx 155s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 155s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 155s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 155s 0 upgraded, 163 newly installed, 0 to remove and 0 not upgraded. 155s Need to get 135 MB/135 MB of archives. 155s After this operation, 655 MB of additional disk space will be used. 155s Get:1 /tmp/autopkgtest.nMjLDR/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [896 B] 155s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-lato all 2.015-1 [2781 kB] 156s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el sgml-base all 1.31 [11.4 kB] 156s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el m4 ppc64el 1.4.19-4build1 [278 kB] 156s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el autoconf all 2.72-3 [382 kB] 156s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el autotools-dev all 20220109.1 [44.9 kB] 156s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el automake all 1:1.16.5-1.3ubuntu1 [558 kB] 156s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el autopoint all 0.22.5-2 [616 kB] 156s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 156s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 156s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [10.5 MB] 157s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-8ubuntu1 [1034 B] 157s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 157s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 157s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-8ubuntu1 [48.1 kB] 157s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-8ubuntu1 [161 kB] 157s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-8ubuntu1 [31.9 kB] 157s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-8ubuntu1 [2945 kB] 157s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-8ubuntu1 [1322 kB] 157s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-8ubuntu1 [2695 kB] 157s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-8ubuntu1 [1191 kB] 157s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-8ubuntu1 [158 kB] 157s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-8ubuntu1 [1619 kB] 157s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [20.6 MB] 161s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-8ubuntu1 [528 kB] 161s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 161s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 161s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-8ubuntu1 [2673 kB] 161s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [12.0 MB] 164s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-8ubuntu1 [19.9 kB] 164s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [968 B] 164s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.1.0-2ubuntu1 [1090 B] 164s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 164s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjsoncpp25 ppc64el 1.9.5-6build1 [89.0 kB] 164s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el librhash0 ppc64el 1.4.3-3build1 [147 kB] 164s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el cmake-data all 3.30.3-1 [2246 kB] 164s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el cmake ppc64el 3.30.3-1 [12.1 MB] 166s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 166s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtool all 2.4.7-8 [166 kB] 166s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el dh-autoreconf all 20 [16.1 kB] 166s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] 166s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 166s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el dh-strip-nondeterminism all 1.14.0-1 [5058 B] 166s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el debugedit ppc64el 1:5.1-1 [52.1 kB] 166s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el dwz ppc64el 0.15-1build6 [142 kB] 166s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el gettext ppc64el 0.22.5-2 [1082 kB] 166s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el intltool-debian all 0.35.0+20060710.6 [23.2 kB] 166s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] 167s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el debhelper all 13.20ubuntu1 [893 kB] 167s Get:50 http://ftpmaster.internal/ubuntu plucky/universe ppc64el dh-python all 6.20241024 [112 kB] 167s Get:51 http://ftpmaster.internal/ubuntu plucky/main ppc64el xml-core all 0.19 [20.3 kB] 167s Get:52 http://ftpmaster.internal/ubuntu plucky/main ppc64el docutils-common all 0.21.2+dfsg-2 [131 kB] 167s Get:53 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-dejavu-mono all 2.37-8 [502 kB] 167s Get:54 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-dejavu-core all 2.37-8 [835 kB] 167s Get:55 http://ftpmaster.internal/ubuntu plucky/main ppc64el fontconfig-config ppc64el 2.15.0-1.1ubuntu2 [37.4 kB] 167s Get:56 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfontconfig1 ppc64el 2.15.0-1.1ubuntu2 [190 kB] 167s Get:57 http://ftpmaster.internal/ubuntu plucky/main ppc64el fontconfig ppc64el 2.15.0-1.1ubuntu2 [192 kB] 167s Get:58 http://ftpmaster.internal/ubuntu plucky/main ppc64el fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 167s Get:59 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libann0 ppc64el 1.1.2+doc-9build1 [30.1 kB] 167s Get:60 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libcdt5 ppc64el 2.42.4-2build3 [27.3 kB] 167s Get:61 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libcgraph6 ppc64el 2.42.4-2build3 [53.6 kB] 167s Get:62 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsharpyuv0 ppc64el 1.4.0-0.1 [22.0 kB] 167s Get:63 http://ftpmaster.internal/ubuntu plucky/main ppc64el libaom3 ppc64el 3.11.0-1 [3022 kB] 168s Get:64 http://ftpmaster.internal/ubuntu plucky/main ppc64el libheif-plugin-aomdec ppc64el 1.19.3-1 [11.6 kB] 168s Get:65 http://ftpmaster.internal/ubuntu plucky/main ppc64el libde265-0 ppc64el 1.0.15-1build4 [284 kB] 168s Get:66 http://ftpmaster.internal/ubuntu plucky/main ppc64el libheif-plugin-libde265 ppc64el 1.19.3-1 [9092 B] 168s Get:67 http://ftpmaster.internal/ubuntu plucky/main ppc64el libheif1 ppc64el 1.19.3-1 [442 kB] 168s Get:68 http://ftpmaster.internal/ubuntu plucky/main ppc64el libimagequant0 ppc64el 2.18.0-1build1 [43.2 kB] 168s Get:69 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjpeg-turbo8 ppc64el 2.1.5-3ubuntu2 [215 kB] 168s Get:70 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjpeg8 ppc64el 8c-2ubuntu11 [2148 B] 168s Get:71 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgraphite2-3 ppc64el 1.3.14-2ubuntu1 [84.6 kB] 168s Get:72 http://ftpmaster.internal/ubuntu plucky/main ppc64el libharfbuzz0b ppc64el 10.0.1-1 [596 kB] 168s Get:73 http://ftpmaster.internal/ubuntu plucky/main ppc64el libraqm0 ppc64el 0.10.1-1build1 [19.4 kB] 168s Get:74 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdeflate0 ppc64el 1.22-1 [63.3 kB] 168s Get:75 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjbig0 ppc64el 2.1-6.1ubuntu2 [35.9 kB] 168s Get:76 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblerc4 ppc64el 4.0.0+ds-5ubuntu1 [298 kB] 168s Get:77 http://ftpmaster.internal/ubuntu plucky/main ppc64el libwebp7 ppc64el 1.4.0-0.1 [309 kB] 168s Get:78 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtiff6 ppc64el 4.5.1+git230720-4ubuntu4 [272 kB] 168s Get:79 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB] 168s Get:80 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgd3 ppc64el 2.3.3-12ubuntu3 [165 kB] 168s Get:81 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libgts-0.7-5t64 ppc64el 0.7.6+darcs121130-5.2build1 [187 kB] 168s Get:82 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB] 168s Get:83 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-render0 ppc64el 1.17.0-2 [17.2 kB] 168s Get:84 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-shm0 ppc64el 1.17.0-2 [5980 B] 168s Get:85 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1build1 [23.1 kB] 168s Get:86 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcairo2 ppc64el 1.18.2-2 [747 kB] 168s Get:87 http://ftpmaster.internal/ubuntu plucky/main ppc64el libltdl7 ppc64el 2.4.7-8 [47.9 kB] 168s Get:88 http://ftpmaster.internal/ubuntu plucky/main ppc64el libthai-data all 0.1.29-2build1 [158 kB] 168s Get:89 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdatrie1 ppc64el 0.2.13-3build1 [22.7 kB] 168s Get:90 http://ftpmaster.internal/ubuntu plucky/main ppc64el libthai0 ppc64el 0.1.29-2build1 [21.8 kB] 168s Get:91 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpango-1.0-0 ppc64el 1.54.0+ds-3 [272 kB] 168s Get:92 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpangoft2-1.0-0 ppc64el 1.54.0+ds-3 [57.5 kB] 168s Get:93 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpangocairo-1.0-0 ppc64el 1.54.0+ds-3 [30.6 kB] 168s Get:94 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libpathplan4 ppc64el 2.42.4-2build3 [30.5 kB] 169s Get:95 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libgvc6 ppc64el 2.42.4-2build3 [909 kB] 169s Get:96 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libgvpr2 ppc64el 2.42.4-2build3 [214 kB] 169s Get:97 http://ftpmaster.internal/ubuntu plucky/universe ppc64el liblab-gamut1 ppc64el 2.42.4-2build3 [1832 kB] 169s Get:98 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-common all 1:7.7+23ubuntu3 [21.7 kB] 169s Get:99 http://ftpmaster.internal/ubuntu plucky/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB] 169s Get:100 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsm6 ppc64el 2:1.2.4-1 [18.4 kB] 169s Get:101 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 169s Get:102 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 169s Get:103 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB] 169s Get:104 http://ftpmaster.internal/ubuntu plucky/universe ppc64el graphviz ppc64el 2.42.4-2build3 [828 kB] 170s Get:105 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblas3 ppc64el 3.12.0-4 [222 kB] 170s Get:106 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgfortran5 ppc64el 14.2.0-8ubuntu1 [571 kB] 170s Get:107 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblapack3 ppc64el 3.12.0-4 [2814 kB] 170s Get:108 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el libbasix0.9 ppc64el 0.9.0-2build1 [680 kB] 170s Get:109 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 170s Get:110 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 170s Get:111 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 170s Get:112 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkg-config ppc64el 1.8.1-4 [7362 B] 170s Get:113 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libeigen3-dev all 3.4.0-4build1 [1055 kB] 170s Get:114 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el libbasix-dev ppc64el 0.9.0-2build1 [62.2 kB] 170s Get:115 http://ftpmaster.internal/ubuntu plucky/main ppc64el libboost1.83-dev ppc64el 1.83.0-3.2ubuntu2 [10.7 MB] 171s Get:116 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libboost-math1.83.0 ppc64el 1.83.0-3.2ubuntu2 [338 kB] 171s Get:117 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libboost-math1.83-dev ppc64el 1.83.0-3.2ubuntu2 [428 kB] 171s Get:118 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libboost-math-dev ppc64el 1.83.0.2ubuntu1 [4430 B] 171s Get:119 http://ftpmaster.internal/ubuntu plucky/main ppc64el libexpat1-dev ppc64el 2.6.4-1 [149 kB] 171s Get:120 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 171s Get:121 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 171s Get:122 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-sphinxdoc all 7.4.7-4 [158 kB] 171s Get:123 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjson-perl all 4.10000-1 [81.9 kB] 171s Get:124 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 171s Get:125 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3.12-dev ppc64el 3.12.7-3 [6136 kB] 172s Get:126 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3-dev ppc64el 3.12.6-0ubuntu1 [10.2 kB] 172s Get:127 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpython3-all-dev ppc64el 3.12.6-0ubuntu1 [916 B] 172s Get:128 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 172s Get:129 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 172s Get:130 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-toml all 0.10.2-1 [16.5 kB] 172s Get:131 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-wheel all 0.45.0-1 [57.7 kB] 172s Get:132 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-build all 1.2.2-1 [31.0 kB] 172s Get:133 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 172s Get:134 http://ftpmaster.internal/ubuntu plucky/universe ppc64el pybuild-plugin-pyproject all 6.20241024 [1728 B] 172s Get:135 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all ppc64el 3.12.6-0ubuntu1 [888 B] 172s Get:136 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.12-dev ppc64el 3.12.7-3 [505 kB] 172s Get:137 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-dev ppc64el 3.12.6-0ubuntu1 [26.7 kB] 172s Get:138 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-all-dev ppc64el 3.12.6-0ubuntu1 [908 B] 172s Get:139 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-numpy ppc64el 1:1.26.4+ds-11ubuntu1 [5148 kB] 172s Get:140 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-ufl all 2024.2.0-2 [145 kB] 172s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el python3-basix ppc64el 0.9.0-2build1 [140 kB] 172s Get:142 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-ply all 3.11-7 [45.4 kB] 172s Get:143 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-pycparser all 2.22-2 [76.5 kB] 172s Get:144 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-cffi all 1.17.1-2build1 [74.8 kB] 172s Get:145 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-defusedxml all 0.7.1-2 [42.0 kB] 172s Get:146 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-roman all 4.2-1 [10.0 kB] 172s Get:147 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-docutils all 0.21.2+dfsg-2 [409 kB] 172s Get:148 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-ffcx all 1:0.8.0-1 [92.9 kB] 172s Get:149 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-imagesize all 1.4.1-1 [6844 B] 172s Get:150 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 172s Get:151 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-mpmath all 1.3.0-1 [425 kB] 172s Get:152 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pip all 24.3.1+dfsg-1 [1404 kB] 172s Get:153 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 172s Get:154 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pygraphviz ppc64el 1.14-1build1 [92.8 kB] 172s Get:155 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-pytest all 8.3.3-1 [251 kB] 172s Get:156 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 172s Get:157 http://ftpmaster.internal/ubuntu plucky/main ppc64el sphinx-common all 7.4.7-4 [775 kB] 172s Get:158 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-alabaster all 0.7.16-0.1 [18.5 kB] 172s Get:159 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-sphinx all 7.4.7-4 [593 kB] 172s Get:160 http://ftpmaster.internal/ubuntu plucky/main ppc64el sphinx-rtd-theme-common all 3.0.2+dfsg-1 [1014 kB] 172s Get:161 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 172s Get:162 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-sphinx-rtd-theme all 3.0.2+dfsg-1 [23.5 kB] 172s Get:163 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-sympy all 1.13.3-1 [4228 kB] 173s Fetched 135 MB in 18s (7674 kB/s) 173s Selecting previously unselected package fonts-lato. 173s (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 ... 73877 files and directories currently installed.) 173s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 173s Unpacking fonts-lato (2.015-1) ... 173s Selecting previously unselected package sgml-base. 173s Preparing to unpack .../001-sgml-base_1.31_all.deb ... 173s Unpacking sgml-base (1.31) ... 173s Selecting previously unselected package m4. 173s Preparing to unpack .../002-m4_1.4.19-4build1_ppc64el.deb ... 173s Unpacking m4 (1.4.19-4build1) ... 173s Selecting previously unselected package autoconf. 173s Preparing to unpack .../003-autoconf_2.72-3_all.deb ... 173s Unpacking autoconf (2.72-3) ... 173s Selecting previously unselected package autotools-dev. 173s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 173s Unpacking autotools-dev (20220109.1) ... 173s Selecting previously unselected package automake. 173s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 173s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 173s Selecting previously unselected package autopoint. 173s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 173s Unpacking autopoint (0.22.5-2) ... 173s Selecting previously unselected package libisl23:ppc64el. 173s Preparing to unpack .../007-libisl23_0.27-1_ppc64el.deb ... 173s Unpacking libisl23:ppc64el (0.27-1) ... 174s Selecting previously unselected package libmpc3:ppc64el. 174s Preparing to unpack .../008-libmpc3_1.3.1-1build2_ppc64el.deb ... 174s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 174s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 174s Preparing to unpack .../009-cpp-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package cpp-14. 174s Preparing to unpack .../010-cpp-14_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 174s Preparing to unpack .../011-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 174s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 174s Selecting previously unselected package cpp. 174s Preparing to unpack .../012-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 174s Unpacking cpp (4:14.1.0-2ubuntu1) ... 174s Selecting previously unselected package libcc1-0:ppc64el. 174s Preparing to unpack .../013-libcc1-0_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking libcc1-0:ppc64el (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package libgomp1:ppc64el. 174s Preparing to unpack .../014-libgomp1_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking libgomp1:ppc64el (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package libitm1:ppc64el. 174s Preparing to unpack .../015-libitm1_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking libitm1:ppc64el (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package libasan8:ppc64el. 174s Preparing to unpack .../016-libasan8_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking libasan8:ppc64el (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package liblsan0:ppc64el. 174s Preparing to unpack .../017-liblsan0_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking liblsan0:ppc64el (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package libtsan2:ppc64el. 174s Preparing to unpack .../018-libtsan2_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking libtsan2:ppc64el (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package libubsan1:ppc64el. 174s Preparing to unpack .../019-libubsan1_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking libubsan1:ppc64el (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package libquadmath0:ppc64el. 174s Preparing to unpack .../020-libquadmath0_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking libquadmath0:ppc64el (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package libgcc-14-dev:ppc64el. 174s Preparing to unpack .../021-libgcc-14-dev_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking libgcc-14-dev:ppc64el (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 174s Preparing to unpack .../022-gcc-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package gcc-14. 174s Preparing to unpack .../023-gcc-14_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 174s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 174s Preparing to unpack .../024-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 174s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 174s Selecting previously unselected package gcc. 174s Preparing to unpack .../025-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 174s Unpacking gcc (4:14.1.0-2ubuntu1) ... 174s Selecting previously unselected package libstdc++-14-dev:ppc64el. 174s Preparing to unpack .../026-libstdc++-14-dev_14.2.0-8ubuntu1_ppc64el.deb ... 174s Unpacking libstdc++-14-dev:ppc64el (14.2.0-8ubuntu1) ... 175s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 175s Preparing to unpack .../027-g++-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 175s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 175s Selecting previously unselected package g++-14. 175s Preparing to unpack .../028-g++-14_14.2.0-8ubuntu1_ppc64el.deb ... 175s Unpacking g++-14 (14.2.0-8ubuntu1) ... 175s Selecting previously unselected package g++-powerpc64le-linux-gnu. 175s Preparing to unpack .../029-g++-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 175s Unpacking g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 175s Selecting previously unselected package g++. 175s Preparing to unpack .../030-g++_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 175s Unpacking g++ (4:14.1.0-2ubuntu1) ... 175s Selecting previously unselected package build-essential. 175s Preparing to unpack .../031-build-essential_12.10ubuntu1_ppc64el.deb ... 175s Unpacking build-essential (12.10ubuntu1) ... 175s Selecting previously unselected package libjsoncpp25:ppc64el. 175s Preparing to unpack .../032-libjsoncpp25_1.9.5-6build1_ppc64el.deb ... 175s Unpacking libjsoncpp25:ppc64el (1.9.5-6build1) ... 175s Selecting previously unselected package librhash0:ppc64el. 175s Preparing to unpack .../033-librhash0_1.4.3-3build1_ppc64el.deb ... 175s Unpacking librhash0:ppc64el (1.4.3-3build1) ... 175s Selecting previously unselected package cmake-data. 175s Preparing to unpack .../034-cmake-data_3.30.3-1_all.deb ... 175s Unpacking cmake-data (3.30.3-1) ... 175s Selecting previously unselected package cmake. 175s Preparing to unpack .../035-cmake_3.30.3-1_ppc64el.deb ... 175s Unpacking cmake (3.30.3-1) ... 175s Selecting previously unselected package libdebhelper-perl. 175s Preparing to unpack .../036-libdebhelper-perl_13.20ubuntu1_all.deb ... 175s Unpacking libdebhelper-perl (13.20ubuntu1) ... 175s Selecting previously unselected package libtool. 175s Preparing to unpack .../037-libtool_2.4.7-8_all.deb ... 175s Unpacking libtool (2.4.7-8) ... 175s Selecting previously unselected package dh-autoreconf. 175s Preparing to unpack .../038-dh-autoreconf_20_all.deb ... 175s Unpacking dh-autoreconf (20) ... 175s Selecting previously unselected package libarchive-zip-perl. 175s Preparing to unpack .../039-libarchive-zip-perl_1.68-1_all.deb ... 175s Unpacking libarchive-zip-perl (1.68-1) ... 175s Selecting previously unselected package libfile-stripnondeterminism-perl. 175s Preparing to unpack .../040-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 175s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 175s Selecting previously unselected package dh-strip-nondeterminism. 175s Preparing to unpack .../041-dh-strip-nondeterminism_1.14.0-1_all.deb ... 175s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 175s Selecting previously unselected package debugedit. 175s Preparing to unpack .../042-debugedit_1%3a5.1-1_ppc64el.deb ... 175s Unpacking debugedit (1:5.1-1) ... 175s Selecting previously unselected package dwz. 175s Preparing to unpack .../043-dwz_0.15-1build6_ppc64el.deb ... 175s Unpacking dwz (0.15-1build6) ... 175s Selecting previously unselected package gettext. 175s Preparing to unpack .../044-gettext_0.22.5-2_ppc64el.deb ... 175s Unpacking gettext (0.22.5-2) ... 176s Selecting previously unselected package intltool-debian. 176s Preparing to unpack .../045-intltool-debian_0.35.0+20060710.6_all.deb ... 176s Unpacking intltool-debian (0.35.0+20060710.6) ... 176s Selecting previously unselected package po-debconf. 176s Preparing to unpack .../046-po-debconf_1.0.21+nmu1_all.deb ... 176s Unpacking po-debconf (1.0.21+nmu1) ... 176s Selecting previously unselected package debhelper. 176s Preparing to unpack .../047-debhelper_13.20ubuntu1_all.deb ... 176s Unpacking debhelper (13.20ubuntu1) ... 176s Selecting previously unselected package dh-python. 176s Preparing to unpack .../048-dh-python_6.20241024_all.deb ... 176s Unpacking dh-python (6.20241024) ... 176s Selecting previously unselected package xml-core. 176s Preparing to unpack .../049-xml-core_0.19_all.deb ... 176s Unpacking xml-core (0.19) ... 176s Selecting previously unselected package docutils-common. 176s Preparing to unpack .../050-docutils-common_0.21.2+dfsg-2_all.deb ... 176s Unpacking docutils-common (0.21.2+dfsg-2) ... 176s Selecting previously unselected package fonts-dejavu-mono. 176s Preparing to unpack .../051-fonts-dejavu-mono_2.37-8_all.deb ... 176s Unpacking fonts-dejavu-mono (2.37-8) ... 176s Selecting previously unselected package fonts-dejavu-core. 176s Preparing to unpack .../052-fonts-dejavu-core_2.37-8_all.deb ... 176s Unpacking fonts-dejavu-core (2.37-8) ... 176s Selecting previously unselected package fontconfig-config. 176s Preparing to unpack .../053-fontconfig-config_2.15.0-1.1ubuntu2_ppc64el.deb ... 176s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 176s Selecting previously unselected package libfontconfig1:ppc64el. 176s Preparing to unpack .../054-libfontconfig1_2.15.0-1.1ubuntu2_ppc64el.deb ... 176s Unpacking libfontconfig1:ppc64el (2.15.0-1.1ubuntu2) ... 176s Selecting previously unselected package fontconfig. 176s Preparing to unpack .../055-fontconfig_2.15.0-1.1ubuntu2_ppc64el.deb ... 176s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 176s Selecting previously unselected package fonts-font-awesome. 176s Preparing to unpack .../056-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 176s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 176s Selecting previously unselected package libann0. 176s Preparing to unpack .../057-libann0_1.1.2+doc-9build1_ppc64el.deb ... 176s Unpacking libann0 (1.1.2+doc-9build1) ... 176s Selecting previously unselected package libcdt5:ppc64el. 176s Preparing to unpack .../058-libcdt5_2.42.4-2build3_ppc64el.deb ... 176s Unpacking libcdt5:ppc64el (2.42.4-2build3) ... 176s Selecting previously unselected package libcgraph6:ppc64el. 176s Preparing to unpack .../059-libcgraph6_2.42.4-2build3_ppc64el.deb ... 176s Unpacking libcgraph6:ppc64el (2.42.4-2build3) ... 176s Selecting previously unselected package libsharpyuv0:ppc64el. 176s Preparing to unpack .../060-libsharpyuv0_1.4.0-0.1_ppc64el.deb ... 176s Unpacking libsharpyuv0:ppc64el (1.4.0-0.1) ... 176s Selecting previously unselected package libaom3:ppc64el. 176s Preparing to unpack .../061-libaom3_3.11.0-1_ppc64el.deb ... 176s Unpacking libaom3:ppc64el (3.11.0-1) ... 176s Selecting previously unselected package libheif-plugin-aomdec:ppc64el. 176s Preparing to unpack .../062-libheif-plugin-aomdec_1.19.3-1_ppc64el.deb ... 176s Unpacking libheif-plugin-aomdec:ppc64el (1.19.3-1) ... 176s Selecting previously unselected package libde265-0:ppc64el. 176s Preparing to unpack .../063-libde265-0_1.0.15-1build4_ppc64el.deb ... 176s Unpacking libde265-0:ppc64el (1.0.15-1build4) ... 176s Selecting previously unselected package libheif-plugin-libde265:ppc64el. 176s Preparing to unpack .../064-libheif-plugin-libde265_1.19.3-1_ppc64el.deb ... 176s Unpacking libheif-plugin-libde265:ppc64el (1.19.3-1) ... 176s Selecting previously unselected package libheif1:ppc64el. 176s Preparing to unpack .../065-libheif1_1.19.3-1_ppc64el.deb ... 176s Unpacking libheif1:ppc64el (1.19.3-1) ... 176s Selecting previously unselected package libimagequant0:ppc64el. 176s Preparing to unpack .../066-libimagequant0_2.18.0-1build1_ppc64el.deb ... 176s Unpacking libimagequant0:ppc64el (2.18.0-1build1) ... 176s Selecting previously unselected package libjpeg-turbo8:ppc64el. 176s Preparing to unpack .../067-libjpeg-turbo8_2.1.5-3ubuntu2_ppc64el.deb ... 176s Unpacking libjpeg-turbo8:ppc64el (2.1.5-3ubuntu2) ... 176s Selecting previously unselected package libjpeg8:ppc64el. 176s Preparing to unpack .../068-libjpeg8_8c-2ubuntu11_ppc64el.deb ... 176s Unpacking libjpeg8:ppc64el (8c-2ubuntu11) ... 176s Selecting previously unselected package libgraphite2-3:ppc64el. 176s Preparing to unpack .../069-libgraphite2-3_1.3.14-2ubuntu1_ppc64el.deb ... 176s Unpacking libgraphite2-3:ppc64el (1.3.14-2ubuntu1) ... 176s Selecting previously unselected package libharfbuzz0b:ppc64el. 176s Preparing to unpack .../070-libharfbuzz0b_10.0.1-1_ppc64el.deb ... 176s Unpacking libharfbuzz0b:ppc64el (10.0.1-1) ... 176s Selecting previously unselected package libraqm0:ppc64el. 176s Preparing to unpack .../071-libraqm0_0.10.1-1build1_ppc64el.deb ... 176s Unpacking libraqm0:ppc64el (0.10.1-1build1) ... 176s Selecting previously unselected package libdeflate0:ppc64el. 176s Preparing to unpack .../072-libdeflate0_1.22-1_ppc64el.deb ... 176s Unpacking libdeflate0:ppc64el (1.22-1) ... 176s Selecting previously unselected package libjbig0:ppc64el. 176s Preparing to unpack .../073-libjbig0_2.1-6.1ubuntu2_ppc64el.deb ... 176s Unpacking libjbig0:ppc64el (2.1-6.1ubuntu2) ... 176s Selecting previously unselected package liblerc4:ppc64el. 176s Preparing to unpack .../074-liblerc4_4.0.0+ds-5ubuntu1_ppc64el.deb ... 176s Unpacking liblerc4:ppc64el (4.0.0+ds-5ubuntu1) ... 176s Selecting previously unselected package libwebp7:ppc64el. 176s Preparing to unpack .../075-libwebp7_1.4.0-0.1_ppc64el.deb ... 176s Unpacking libwebp7:ppc64el (1.4.0-0.1) ... 176s Selecting previously unselected package libtiff6:ppc64el. 176s Preparing to unpack .../076-libtiff6_4.5.1+git230720-4ubuntu4_ppc64el.deb ... 176s Unpacking libtiff6:ppc64el (4.5.1+git230720-4ubuntu4) ... 176s Selecting previously unselected package libxpm4:ppc64el. 176s Preparing to unpack .../077-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ... 176s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ... 176s Selecting previously unselected package libgd3:ppc64el. 176s Preparing to unpack .../078-libgd3_2.3.3-12ubuntu3_ppc64el.deb ... 176s Unpacking libgd3:ppc64el (2.3.3-12ubuntu3) ... 176s Selecting previously unselected package libgts-0.7-5t64:ppc64el. 176s Preparing to unpack .../079-libgts-0.7-5t64_0.7.6+darcs121130-5.2build1_ppc64el.deb ... 176s Unpacking libgts-0.7-5t64:ppc64el (0.7.6+darcs121130-5.2build1) ... 176s Selecting previously unselected package libpixman-1-0:ppc64el. 176s Preparing to unpack .../080-libpixman-1-0_0.44.0-3_ppc64el.deb ... 176s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ... 176s Selecting previously unselected package libxcb-render0:ppc64el. 176s Preparing to unpack .../081-libxcb-render0_1.17.0-2_ppc64el.deb ... 176s Unpacking libxcb-render0:ppc64el (1.17.0-2) ... 177s Selecting previously unselected package libxcb-shm0:ppc64el. 177s Preparing to unpack .../082-libxcb-shm0_1.17.0-2_ppc64el.deb ... 177s Unpacking libxcb-shm0:ppc64el (1.17.0-2) ... 177s Selecting previously unselected package libxrender1:ppc64el. 177s Preparing to unpack .../083-libxrender1_1%3a0.9.10-1.1build1_ppc64el.deb ... 177s Unpacking libxrender1:ppc64el (1:0.9.10-1.1build1) ... 177s Selecting previously unselected package libcairo2:ppc64el. 177s Preparing to unpack .../084-libcairo2_1.18.2-2_ppc64el.deb ... 177s Unpacking libcairo2:ppc64el (1.18.2-2) ... 177s Selecting previously unselected package libltdl7:ppc64el. 177s Preparing to unpack .../085-libltdl7_2.4.7-8_ppc64el.deb ... 177s Unpacking libltdl7:ppc64el (2.4.7-8) ... 177s Selecting previously unselected package libthai-data. 177s Preparing to unpack .../086-libthai-data_0.1.29-2build1_all.deb ... 177s Unpacking libthai-data (0.1.29-2build1) ... 177s Selecting previously unselected package libdatrie1:ppc64el. 177s Preparing to unpack .../087-libdatrie1_0.2.13-3build1_ppc64el.deb ... 177s Unpacking libdatrie1:ppc64el (0.2.13-3build1) ... 177s Selecting previously unselected package libthai0:ppc64el. 177s Preparing to unpack .../088-libthai0_0.1.29-2build1_ppc64el.deb ... 177s Unpacking libthai0:ppc64el (0.1.29-2build1) ... 177s Selecting previously unselected package libpango-1.0-0:ppc64el. 177s Preparing to unpack .../089-libpango-1.0-0_1.54.0+ds-3_ppc64el.deb ... 177s Unpacking libpango-1.0-0:ppc64el (1.54.0+ds-3) ... 177s Selecting previously unselected package libpangoft2-1.0-0:ppc64el. 177s Preparing to unpack .../090-libpangoft2-1.0-0_1.54.0+ds-3_ppc64el.deb ... 177s Unpacking libpangoft2-1.0-0:ppc64el (1.54.0+ds-3) ... 177s Selecting previously unselected package libpangocairo-1.0-0:ppc64el. 177s Preparing to unpack .../091-libpangocairo-1.0-0_1.54.0+ds-3_ppc64el.deb ... 177s Unpacking libpangocairo-1.0-0:ppc64el (1.54.0+ds-3) ... 177s Selecting previously unselected package libpathplan4:ppc64el. 177s Preparing to unpack .../092-libpathplan4_2.42.4-2build3_ppc64el.deb ... 177s Unpacking libpathplan4:ppc64el (2.42.4-2build3) ... 177s Selecting previously unselected package libgvc6. 177s Preparing to unpack .../093-libgvc6_2.42.4-2build3_ppc64el.deb ... 177s Unpacking libgvc6 (2.42.4-2build3) ... 177s Selecting previously unselected package libgvpr2:ppc64el. 177s Preparing to unpack .../094-libgvpr2_2.42.4-2build3_ppc64el.deb ... 177s Unpacking libgvpr2:ppc64el (2.42.4-2build3) ... 177s Selecting previously unselected package liblab-gamut1:ppc64el. 177s Preparing to unpack .../095-liblab-gamut1_2.42.4-2build3_ppc64el.deb ... 177s Unpacking liblab-gamut1:ppc64el (2.42.4-2build3) ... 177s Selecting previously unselected package x11-common. 177s Preparing to unpack .../096-x11-common_1%3a7.7+23ubuntu3_all.deb ... 177s Unpacking x11-common (1:7.7+23ubuntu3) ... 177s Selecting previously unselected package libice6:ppc64el. 177s Preparing to unpack .../097-libice6_2%3a1.1.1-1_ppc64el.deb ... 177s Unpacking libice6:ppc64el (2:1.1.1-1) ... 177s Selecting previously unselected package libsm6:ppc64el. 177s Preparing to unpack .../098-libsm6_2%3a1.2.4-1_ppc64el.deb ... 177s Unpacking libsm6:ppc64el (2:1.2.4-1) ... 177s Selecting previously unselected package libxt6t64:ppc64el. 177s Preparing to unpack .../099-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 177s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 177s Selecting previously unselected package libxmu6:ppc64el. 177s Preparing to unpack .../100-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 177s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 177s Selecting previously unselected package libxaw7:ppc64el. 177s Preparing to unpack .../101-libxaw7_2%3a1.0.16-1_ppc64el.deb ... 177s Unpacking libxaw7:ppc64el (2:1.0.16-1) ... 177s Selecting previously unselected package graphviz. 177s Preparing to unpack .../102-graphviz_2.42.4-2build3_ppc64el.deb ... 177s Unpacking graphviz (2.42.4-2build3) ... 177s Selecting previously unselected package libblas3:ppc64el. 177s Preparing to unpack .../103-libblas3_3.12.0-4_ppc64el.deb ... 177s Unpacking libblas3:ppc64el (3.12.0-4) ... 177s Selecting previously unselected package libgfortran5:ppc64el. 177s Preparing to unpack .../104-libgfortran5_14.2.0-8ubuntu1_ppc64el.deb ... 177s Unpacking libgfortran5:ppc64el (14.2.0-8ubuntu1) ... 177s Selecting previously unselected package liblapack3:ppc64el. 177s Preparing to unpack .../105-liblapack3_3.12.0-4_ppc64el.deb ... 177s Unpacking liblapack3:ppc64el (3.12.0-4) ... 177s Selecting previously unselected package libbasix0.9:ppc64el. 177s Preparing to unpack .../106-libbasix0.9_0.9.0-2build1_ppc64el.deb ... 177s Unpacking libbasix0.9:ppc64el (0.9.0-2build1) ... 177s Selecting previously unselected package libpkgconf3:ppc64el. 177s Preparing to unpack .../107-libpkgconf3_1.8.1-4_ppc64el.deb ... 177s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 177s Selecting previously unselected package pkgconf-bin. 177s Preparing to unpack .../108-pkgconf-bin_1.8.1-4_ppc64el.deb ... 177s Unpacking pkgconf-bin (1.8.1-4) ... 177s Selecting previously unselected package pkgconf:ppc64el. 177s Preparing to unpack .../109-pkgconf_1.8.1-4_ppc64el.deb ... 177s Unpacking pkgconf:ppc64el (1.8.1-4) ... 177s Selecting previously unselected package pkg-config:ppc64el. 177s Preparing to unpack .../110-pkg-config_1.8.1-4_ppc64el.deb ... 177s Unpacking pkg-config:ppc64el (1.8.1-4) ... 177s Selecting previously unselected package libeigen3-dev. 177s Preparing to unpack .../111-libeigen3-dev_3.4.0-4build1_all.deb ... 177s Unpacking libeigen3-dev (3.4.0-4build1) ... 177s Selecting previously unselected package libbasix-dev:ppc64el. 177s Preparing to unpack .../112-libbasix-dev_0.9.0-2build1_ppc64el.deb ... 177s Unpacking libbasix-dev:ppc64el (0.9.0-2build1) ... 177s Selecting previously unselected package libboost1.83-dev:ppc64el. 177s Preparing to unpack .../113-libboost1.83-dev_1.83.0-3.2ubuntu2_ppc64el.deb ... 177s Unpacking libboost1.83-dev:ppc64el (1.83.0-3.2ubuntu2) ... 179s Selecting previously unselected package libboost-math1.83.0:ppc64el. 179s Preparing to unpack .../114-libboost-math1.83.0_1.83.0-3.2ubuntu2_ppc64el.deb ... 179s Unpacking libboost-math1.83.0:ppc64el (1.83.0-3.2ubuntu2) ... 179s Selecting previously unselected package libboost-math1.83-dev:ppc64el. 179s Preparing to unpack .../115-libboost-math1.83-dev_1.83.0-3.2ubuntu2_ppc64el.deb ... 179s Unpacking libboost-math1.83-dev:ppc64el (1.83.0-3.2ubuntu2) ... 179s Selecting previously unselected package libboost-math-dev:ppc64el. 179s Preparing to unpack .../116-libboost-math-dev_1.83.0.2ubuntu1_ppc64el.deb ... 179s Unpacking libboost-math-dev:ppc64el (1.83.0.2ubuntu1) ... 179s Selecting previously unselected package libexpat1-dev:ppc64el. 179s Preparing to unpack .../117-libexpat1-dev_2.6.4-1_ppc64el.deb ... 179s Unpacking libexpat1-dev:ppc64el (2.6.4-1) ... 179s Selecting previously unselected package libjs-jquery. 180s Preparing to unpack .../118-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 180s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 180s Selecting previously unselected package libjs-underscore. 180s Preparing to unpack .../119-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 180s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 180s Selecting previously unselected package libjs-sphinxdoc. 180s Preparing to unpack .../120-libjs-sphinxdoc_7.4.7-4_all.deb ... 180s Unpacking libjs-sphinxdoc (7.4.7-4) ... 180s Selecting previously unselected package libjson-perl. 180s Preparing to unpack .../121-libjson-perl_4.10000-1_all.deb ... 180s Unpacking libjson-perl (4.10000-1) ... 180s Selecting previously unselected package zlib1g-dev:ppc64el. 180s Preparing to unpack .../122-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 180s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 180s Selecting previously unselected package libpython3.12-dev:ppc64el. 180s Preparing to unpack .../123-libpython3.12-dev_3.12.7-3_ppc64el.deb ... 180s Unpacking libpython3.12-dev:ppc64el (3.12.7-3) ... 180s Selecting previously unselected package libpython3-dev:ppc64el. 180s Preparing to unpack .../124-libpython3-dev_3.12.6-0ubuntu1_ppc64el.deb ... 180s Unpacking libpython3-dev:ppc64el (3.12.6-0ubuntu1) ... 180s Selecting previously unselected package libpython3-all-dev:ppc64el. 180s Preparing to unpack .../125-libpython3-all-dev_3.12.6-0ubuntu1_ppc64el.deb ... 180s Unpacking libpython3-all-dev:ppc64el (3.12.6-0ubuntu1) ... 180s Selecting previously unselected package python3-packaging. 180s Preparing to unpack .../126-python3-packaging_24.2-1_all.deb ... 180s Unpacking python3-packaging (24.2-1) ... 180s Selecting previously unselected package python3-pyproject-hooks. 180s Preparing to unpack .../127-python3-pyproject-hooks_1.2.0-1_all.deb ... 180s Unpacking python3-pyproject-hooks (1.2.0-1) ... 180s Selecting previously unselected package python3-toml. 180s Preparing to unpack .../128-python3-toml_0.10.2-1_all.deb ... 180s Unpacking python3-toml (0.10.2-1) ... 180s Selecting previously unselected package python3-wheel. 180s Preparing to unpack .../129-python3-wheel_0.45.0-1_all.deb ... 180s Unpacking python3-wheel (0.45.0-1) ... 180s Selecting previously unselected package python3-build. 180s Preparing to unpack .../130-python3-build_1.2.2-1_all.deb ... 180s Unpacking python3-build (1.2.2-1) ... 180s Selecting previously unselected package python3-installer. 180s Preparing to unpack .../131-python3-installer_0.7.0+dfsg1-3_all.deb ... 180s Unpacking python3-installer (0.7.0+dfsg1-3) ... 180s Selecting previously unselected package pybuild-plugin-pyproject. 180s Preparing to unpack .../132-pybuild-plugin-pyproject_6.20241024_all.deb ... 180s Unpacking pybuild-plugin-pyproject (6.20241024) ... 180s Selecting previously unselected package python3-all. 180s Preparing to unpack .../133-python3-all_3.12.6-0ubuntu1_ppc64el.deb ... 180s Unpacking python3-all (3.12.6-0ubuntu1) ... 180s Selecting previously unselected package python3.12-dev. 180s Preparing to unpack .../134-python3.12-dev_3.12.7-3_ppc64el.deb ... 180s Unpacking python3.12-dev (3.12.7-3) ... 180s Selecting previously unselected package python3-dev. 180s Preparing to unpack .../135-python3-dev_3.12.6-0ubuntu1_ppc64el.deb ... 180s Unpacking python3-dev (3.12.6-0ubuntu1) ... 180s Selecting previously unselected package python3-all-dev. 180s Preparing to unpack .../136-python3-all-dev_3.12.6-0ubuntu1_ppc64el.deb ... 180s Unpacking python3-all-dev (3.12.6-0ubuntu1) ... 180s Selecting previously unselected package python3-numpy. 180s Preparing to unpack .../137-python3-numpy_1%3a1.26.4+ds-11ubuntu1_ppc64el.deb ... 180s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 180s Selecting previously unselected package python3-ufl. 180s Preparing to unpack .../138-python3-ufl_2024.2.0-2_all.deb ... 180s Unpacking python3-ufl (2024.2.0-2) ... 180s Selecting previously unselected package python3-basix. 180s Preparing to unpack .../139-python3-basix_0.9.0-2build1_ppc64el.deb ... 180s Unpacking python3-basix (0.9.0-2build1) ... 180s Selecting previously unselected package python3-ply. 180s Preparing to unpack .../140-python3-ply_3.11-7_all.deb ... 180s Unpacking python3-ply (3.11-7) ... 180s Selecting previously unselected package python3-pycparser. 180s Preparing to unpack .../141-python3-pycparser_2.22-2_all.deb ... 180s Unpacking python3-pycparser (2.22-2) ... 180s Selecting previously unselected package python3-cffi. 180s Preparing to unpack .../142-python3-cffi_1.17.1-2build1_all.deb ... 180s Unpacking python3-cffi (1.17.1-2build1) ... 180s Selecting previously unselected package python3-defusedxml. 180s Preparing to unpack .../143-python3-defusedxml_0.7.1-2_all.deb ... 180s Unpacking python3-defusedxml (0.7.1-2) ... 180s Selecting previously unselected package python3-roman. 180s Preparing to unpack .../144-python3-roman_4.2-1_all.deb ... 180s Unpacking python3-roman (4.2-1) ... 180s Selecting previously unselected package python3-docutils. 180s Preparing to unpack .../145-python3-docutils_0.21.2+dfsg-2_all.deb ... 180s Unpacking python3-docutils (0.21.2+dfsg-2) ... 180s Selecting previously unselected package python3-ffcx. 180s Preparing to unpack .../146-python3-ffcx_1%3a0.8.0-1_all.deb ... 180s Unpacking python3-ffcx (1:0.8.0-1) ... 180s Selecting previously unselected package python3-imagesize. 180s Preparing to unpack .../147-python3-imagesize_1.4.1-1_all.deb ... 180s Unpacking python3-imagesize (1.4.1-1) ... 180s Selecting previously unselected package python3-iniconfig. 180s Preparing to unpack .../148-python3-iniconfig_1.1.1-2_all.deb ... 180s Unpacking python3-iniconfig (1.1.1-2) ... 180s Selecting previously unselected package python3-mpmath. 180s Preparing to unpack .../149-python3-mpmath_1.3.0-1_all.deb ... 180s Unpacking python3-mpmath (1.3.0-1) ... 181s Selecting previously unselected package python3-pip. 181s Preparing to unpack .../150-python3-pip_24.3.1+dfsg-1_all.deb ... 181s Unpacking python3-pip (24.3.1+dfsg-1) ... 181s Selecting previously unselected package python3-pluggy. 181s Preparing to unpack .../151-python3-pluggy_1.5.0-1_all.deb ... 181s Unpacking python3-pluggy (1.5.0-1) ... 181s Selecting previously unselected package python3-pygraphviz. 181s Preparing to unpack .../152-python3-pygraphviz_1.14-1build1_ppc64el.deb ... 181s Unpacking python3-pygraphviz (1.14-1build1) ... 181s Selecting previously unselected package python3-pytest. 181s Preparing to unpack .../153-python3-pytest_8.3.3-1_all.deb ... 181s Unpacking python3-pytest (8.3.3-1) ... 181s Selecting previously unselected package python3-snowballstemmer. 181s Preparing to unpack .../154-python3-snowballstemmer_2.2.0-4build1_all.deb ... 181s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 181s Selecting previously unselected package sphinx-common. 181s Preparing to unpack .../155-sphinx-common_7.4.7-4_all.deb ... 181s Unpacking sphinx-common (7.4.7-4) ... 181s Selecting previously unselected package python3-alabaster. 181s Preparing to unpack .../156-python3-alabaster_0.7.16-0.1_all.deb ... 181s Unpacking python3-alabaster (0.7.16-0.1) ... 181s Selecting previously unselected package python3-sphinx. 181s Preparing to unpack .../157-python3-sphinx_7.4.7-4_all.deb ... 181s Unpacking python3-sphinx (7.4.7-4) ... 181s Selecting previously unselected package sphinx-rtd-theme-common. 181s Preparing to unpack .../158-sphinx-rtd-theme-common_3.0.2+dfsg-1_all.deb ... 181s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 181s Selecting previously unselected package python3-sphinxcontrib.jquery. 181s Preparing to unpack .../159-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 181s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 181s Selecting previously unselected package python3-sphinx-rtd-theme. 181s Preparing to unpack .../160-python3-sphinx-rtd-theme_3.0.2+dfsg-1_all.deb ... 181s Unpacking python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 181s Selecting previously unselected package python3-sympy. 181s Preparing to unpack .../161-python3-sympy_1.13.3-1_all.deb ... 181s Unpacking python3-sympy (1.13.3-1) ... 181s Selecting previously unselected package autopkgtest-satdep. 181s Preparing to unpack .../162-1-autopkgtest-satdep.deb ... 181s Unpacking autopkgtest-satdep (0) ... 181s Setting up dh-python (6.20241024) ... 181s Setting up libgraphite2-3:ppc64el (1.3.14-2ubuntu1) ... 181s Setting up python3-iniconfig (1.1.1-2) ... 181s Setting up libpixman-1-0:ppc64el (0.44.0-3) ... 181s Setting up libsharpyuv0:ppc64el (1.4.0-0.1) ... 181s Setting up libaom3:ppc64el (3.11.0-1) ... 181s Setting up fonts-lato (2.015-1) ... 181s Setting up liblerc4:ppc64el (4.0.0+ds-5ubuntu1) ... 181s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ... 181s Setting up libxrender1:ppc64el (1:0.9.10-1.1build1) ... 181s Setting up libdatrie1:ppc64el (0.2.13-3build1) ... 181s Setting up libxcb-render0:ppc64el (1.17.0-2) ... 181s Setting up python3-defusedxml (0.7.1-2) ... 182s Setting up libarchive-zip-perl (1.68-1) ... 182s Setting up python3-alabaster (0.7.16-0.1) ... 182s Setting up libdebhelper-perl (13.20ubuntu1) ... 182s Setting up python3-ply (3.11-7) ... 182s Setting up liblab-gamut1:ppc64el (2.42.4-2build3) ... 182s Setting up x11-common (1:7.7+23ubuntu3) ... 182s Setting up libdeflate0:ppc64el (1.22-1) ... 182s Setting up m4 (1.4.19-4build1) ... 182s Setting up python3-all (3.12.6-0ubuntu1) ... 182s Setting up libxcb-shm0:ppc64el (1.17.0-2) ... 182s Setting up libgomp1:ppc64el (14.2.0-8ubuntu1) ... 182s Setting up python3-wheel (0.45.0-1) ... 182s Setting up libjbig0:ppc64el (2.1-6.1ubuntu2) ... 182s Setting up python3-pycparser (2.22-2) ... 182s Setting up python3-roman (4.2-1) ... 183s Setting up autotools-dev (20220109.1) ... 183s Setting up libblas3:ppc64el (3.12.0-4) ... 183s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/blas/libblas.so.3 to provide /usr/lib/powerpc64le-linux-gnu/libblas.so.3 (libblas.so.3-powerpc64le-linux-gnu) in auto mode 183s Setting up python3-packaging (24.2-1) ... 183s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 183s Setting up libexpat1-dev:ppc64el (2.6.4-1) ... 183s Setting up python3-pyproject-hooks (1.2.0-1) ... 183s Setting up python3-snowballstemmer (2.2.0-4build1) ... 183s Setting up libpathplan4:ppc64el (2.42.4-2build3) ... 183s Setting up libann0 (1.1.2+doc-9build1) ... 183s Setting up libquadmath0:ppc64el (14.2.0-8ubuntu1) ... 183s Setting up libimagequant0:ppc64el (2.18.0-1build1) ... 183s Setting up fonts-dejavu-mono (2.37-8) ... 183s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 183s Setting up autopoint (0.22.5-2) ... 183s Setting up libjsoncpp25:ppc64el (1.9.5-6build1) ... 183s Setting up fonts-dejavu-core (2.37-8) ... 183s Setting up pkgconf-bin (1.8.1-4) ... 183s Setting up python3-pip (24.3.1+dfsg-1) ... 184s Setting up libjpeg-turbo8:ppc64el (2.1.5-3ubuntu2) ... 184s Setting up libltdl7:ppc64el (2.4.7-8) ... 184s Setting up python3-toml (0.10.2-1) ... 184s Setting up python3-installer (0.7.0+dfsg1-3) ... 184s Setting up libgfortran5:ppc64el (14.2.0-8ubuntu1) ... 184s Setting up autoconf (2.72-3) ... 185s Setting up python3-pluggy (1.5.0-1) ... 185s Setting up libwebp7:ppc64el (1.4.0-0.1) ... 185s Setting up libubsan1:ppc64el (14.2.0-8ubuntu1) ... 185s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 185s Setting up dwz (0.15-1build6) ... 185s Setting up librhash0:ppc64el (1.4.3-3build1) ... 185s Setting up libasan8:ppc64el (14.2.0-8ubuntu1) ... 185s Setting up libjson-perl (4.10000-1) ... 185s Setting up debugedit (1:5.1-1) ... 185s Setting up libharfbuzz0b:ppc64el (10.0.1-1) ... 185s Setting up libthai-data (0.1.29-2build1) ... 185s Setting up libgts-0.7-5t64:ppc64el (0.7.6+darcs121130-5.2build1) ... 185s Setting up sgml-base (1.31) ... 185s Setting up cmake-data (3.30.3-1) ... 185s Setting up libcdt5:ppc64el (2.42.4-2build3) ... 185s Setting up libcgraph6:ppc64el (2.42.4-2build3) ... 185s Setting up libboost-math1.83.0:ppc64el (1.83.0-3.2ubuntu2) ... 185s Setting up libtsan2:ppc64el (14.2.0-8ubuntu1) ... 185s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 185s Setting up python3-mpmath (1.3.0-1) ... 185s Setting up libisl23:ppc64el (0.27-1) ... 185s Setting up python3-build (1.2.2-1) ... 185s Setting up libde265-0:ppc64el (1.0.15-1build4) ... 185s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 185s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 185s Setting up libcc1-0:ppc64el (14.2.0-8ubuntu1) ... 185s Setting up liblsan0:ppc64el (14.2.0-8ubuntu1) ... 185s Setting up libitm1:ppc64el (14.2.0-8ubuntu1) ... 185s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 185s Setting up python3-imagesize (1.4.1-1) ... 185s Setting up libjpeg8:ppc64el (8c-2ubuntu11) ... 185s Setting up automake (1:1.16.5-1.3ubuntu1) ... 185s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 185s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 185s Setting up python3-sympy (1.13.3-1) ... 193s Setting up libice6:ppc64el (2:1.1.1-1) ... 193s Setting up liblapack3:ppc64el (3.12.0-4) ... 193s update-alternatives: using /usr/lib/powerpc64le-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so.3 (liblapack.so.3-powerpc64le-linux-gnu) in auto mode 193s Setting up gettext (0.22.5-2) ... 193s Setting up pybuild-plugin-pyproject (6.20241024) ... 193s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 193s Setting up python3-pytest (8.3.3-1) ... 193s Setting up python3-cffi (1.17.1-2build1) ... 193s Setting up libpython3.12-dev:ppc64el (3.12.7-3) ... 193s Setting up pkgconf:ppc64el (1.8.1-4) ... 193s Setting up intltool-debian (0.35.0+20060710.6) ... 193s Setting up libthai0:ppc64el (0.1.29-2build1) ... 193s Setting up libraqm0:ppc64el (0.10.1-1build1) ... 193s Setting up libeigen3-dev (3.4.0-4build1) ... 193s Setting up python3.12-dev (3.12.7-3) ... 193s Setting up pkg-config:ppc64el (1.8.1-4) ... 193s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 193s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 195s Setting up libjs-sphinxdoc (7.4.7-4) ... 195s Setting up cpp-14 (14.2.0-8ubuntu1) ... 195s Setting up dh-strip-nondeterminism (1.14.0-1) ... 195s Setting up libgvpr2:ppc64el (2.42.4-2build3) ... 195s Setting up libbasix0.9:ppc64el (0.9.0-2build1) ... 195s Setting up libtiff6:ppc64el (4.5.1+git230720-4ubuntu4) ... 195s Setting up xml-core (0.19) ... 196s Setting up cmake (3.30.3-1) ... 196s Setting up libfontconfig1:ppc64el (2.15.0-1.1ubuntu2) ... 196s Setting up libgcc-14-dev:ppc64el (14.2.0-8ubuntu1) ... 196s Setting up libbasix-dev:ppc64el (0.9.0-2build1) ... 196s Setting up libstdc++-14-dev:ppc64el (14.2.0-8ubuntu1) ... 196s Setting up libsm6:ppc64el (2:1.2.4-1) ... 196s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 196s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 196s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 198s Regenerating fonts cache... done. 198s Setting up libboost1.83-dev:ppc64el (1.83.0-3.2ubuntu2) ... 198s Setting up libpython3-dev:ppc64el (3.12.6-0ubuntu1) ... 198s Setting up python3-ufl (2024.2.0-2) ... 198s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 198s Setting up libboost-math1.83-dev:ppc64el (1.83.0-3.2ubuntu2) ... 198s Setting up libboost-math-dev:ppc64el (1.83.0.2ubuntu1) ... 198s Setting up po-debconf (1.0.21+nmu1) ... 198s Setting up libpango-1.0-0:ppc64el (1.54.0+ds-3) ... 198s Setting up libcairo2:ppc64el (1.18.2-2) ... 198s Setting up gcc-14 (14.2.0-8ubuntu1) ... 198s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 198s Setting up libpython3-all-dev:ppc64el (3.12.6-0ubuntu1) ... 198s Setting up sphinx-common (7.4.7-4) ... 198s Setting up python3-dev (3.12.6-0ubuntu1) ... 198s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 198s Setting up cpp (4:14.1.0-2ubuntu1) ... 198s Setting up g++-14 (14.2.0-8ubuntu1) ... 198s Setting up libpangoft2-1.0-0:ppc64el (1.54.0+ds-3) ... 198s Setting up libpangocairo-1.0-0:ppc64el (1.54.0+ds-3) ... 198s Setting up python3-basix (0.9.0-2build1) ... 198s Setting up g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 198s Setting up python3-all-dev (3.12.6-0ubuntu1) ... 198s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 198s Setting up libtool (2.4.7-8) ... 198s Setting up libxaw7:ppc64el (2:1.0.16-1) ... 198s Setting up gcc (4:14.1.0-2ubuntu1) ... 198s Setting up python3-ffcx (1:0.8.0-1) ... 198s Setting up dh-autoreconf (20) ... 198s Setting up g++ (4:14.1.0-2ubuntu1) ... 198s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 198s Setting up build-essential (12.10ubuntu1) ... 198s Setting up debhelper (13.20ubuntu1) ... 198s Setting up libheif-plugin-aomdec:ppc64el (1.19.3-1) ... 198s Setting up libheif-plugin-libde265:ppc64el (1.19.3-1) ... 198s Setting up libheif1:ppc64el (1.19.3-1) ... 198s Setting up libgd3:ppc64el (2.3.3-12ubuntu3) ... 198s Setting up libgvc6 (2.42.4-2build3) ... 198s Setting up graphviz (2.42.4-2build3) ... 198s Setting up python3-pygraphviz (1.14-1build1) ... 198s Processing triggers for install-info (7.1.1-1) ... 198s Processing triggers for libc-bin (2.40-1ubuntu3) ... 199s Processing triggers for man-db (2.13.0-1) ... 200s Processing triggers for sgml-base (1.31) ... 200s Setting up docutils-common (0.21.2+dfsg-2) ... 201s Processing triggers for sgml-base (1.31) ... 201s Setting up python3-docutils (0.21.2+dfsg-2) ... 201s Setting up python3-sphinx (7.4.7-4) ... 202s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 202s Setting up python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 202s Setting up autopkgtest-satdep (0) ... 206s (Reading database ... 104068 files and directories currently installed.) 206s Removing autopkgtest-satdep (0) ... 207s autopkgtest [22:34:13]: test command1: for pyver in `py3versions -sv`; do python$pyver -m pytest test; done 207s autopkgtest [22:34:13]: test command1: [----------------------- 208s ============================= test session starts ============================== 208s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 208s rootdir: /tmp/autopkgtest.nMjLDR/build.7f3/src 208s configfile: pyproject.toml 208s plugins: typeguard-4.4.1 208s collected 87 items 208s 208s test/test_add_mode.py::test_additive_facet_integral[float32] FAILED [ 1%] 208s test/test_add_mode.py::test_additive_facet_integral[float64] FAILED [ 2%] 208s test/test_add_mode.py::test_additive_facet_integral[complex64] FAILED [ 3%] 208s test/test_add_mode.py::test_additive_facet_integral[complex128] FAILED [ 4%] 208s test/test_add_mode.py::test_additive_cell_integral[float32] FAILED [ 5%] 208s test/test_add_mode.py::test_additive_cell_integral[float64] FAILED [ 6%] 209s test/test_add_mode.py::test_additive_cell_integral[complex64] FAILED [ 8%] 209s test/test_add_mode.py::test_additive_cell_integral[complex128] FAILED [ 9%] 209s test/test_blocked_elements.py::test_finite_element FAILED [ 10%] 209s test/test_blocked_elements.py::test_vector_element FAILED [ 11%] 209s test/test_blocked_elements.py::test_tensor_element FAILED [ 12%] 209s test/test_blocked_elements.py::test_vector_quadrature_element FAILED [ 13%] 209s test/test_cache.py::test_cache_modes FAILED [ 14%] 210s test/test_cmdline.py::test_cmdline_simple PASSED [ 16%] 211s test/test_cmdline.py::test_visualise FAILED [ 17%] 211s test/test_jit_expression.py::test_matvec FAILED [ 18%] 211s test/test_jit_expression.py::test_rank1 FAILED [ 19%] 211s test/test_jit_expression.py::test_elimiate_zero_tables_tensor FAILED [ 20%] 212s test/test_jit_expression.py::test_grad_constant PASSED [ 21%] 212s test/test_jit_expression.py::test_facet_expression FAILED [ 22%] 212s test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] FAILED [ 24%] 212s test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] FAILED [ 25%] 212s test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] FAILED [ 26%] 212s test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] FAILED [ 27%] 212s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] FAILED [ 28%] 212s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] FAILED [ 29%] 213s test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] FAILED [ 31%] 213s test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] FAILED [ 32%] 213s test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] FAILED [ 33%] 213s test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] FAILED [ 34%] 213s test/test_jit_forms.py::test_form_coefficient FAILED [ 35%] 213s test/test_jit_forms.py::test_subdomains FAILED [ 36%] 213s test/test_jit_forms.py::test_interior_facet_integral[float64] FAILED [ 37%] 213s test/test_jit_forms.py::test_interior_facet_integral[complex128] FAILED [ 39%] 213s test/test_jit_forms.py::test_conditional[float64] FAILED [ 40%] 213s test/test_jit_forms.py::test_conditional[complex128] FAILED [ 41%] 213s test/test_jit_forms.py::test_custom_quadrature FAILED [ 42%] 214s test/test_jit_forms.py::test_curl_curl FAILED [ 43%] 214s test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] FAILED [ 44%] 214s test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] FAILED [ 45%] 214s test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] FAILED [ 47%] 214s test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] FAILED [ 48%] 214s test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] FAILED [ 49%] 215s test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] FAILED [ 50%] 219s test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] FAILED [ 51%] 221s test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] FAILED [ 52%] 224s test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] FAILED [ 54%] 225s test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] FAILED [ 55%] 225s test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] FAILED [ 56%] 225s test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] FAILED [ 57%] 226s test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] FAILED [ 58%] 226s test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] FAILED [ 59%] 227s test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] FAILED [ 60%] 248s test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] FAILED [ 62%] 260s test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] FAILED [ 63%] 276s test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] FAILED [ 64%] 276s test/test_jit_forms.py::test_prism FAILED [ 65%] 277s test/test_jit_forms.py::test_complex_operations FAILED [ 66%] 277s test/test_jit_forms.py::test_invalid_function_name FAILED [ 67%] 277s test/test_jit_forms.py::test_interval_vertex_quadrature FAILED [ 68%] 277s test/test_jit_forms.py::test_facet_vertex_quadrature FAILED [ 70%] 277s test/test_jit_forms.py::test_manifold_derivatives FAILED [ 71%] 277s test/test_jit_forms.py::test_integral_grouping FAILED [ 72%] 277s test/test_lnodes.py::test_gemm[float32] 277s -------------------------------- live log call --------------------------------- 277s INFO root:dist.py:970 running build_ext 277s INFO root:build_ext.py:530 building '_gemm_float' extension 277s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_float.c -o ./_gemm_float.o 277s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_float.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemm_float.cpython-312-powerpc64le-linux-gnu.so 277s PASSED [ 73%] 277s test/test_lnodes.py::test_gemm[float64] 277s -------------------------------- live log call --------------------------------- 277s INFO root:dist.py:970 running build_ext 277s INFO root:build_ext.py:530 building '_gemm_double' extension 277s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_double.c -o ./_gemm_double.o 277s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_double.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemm_double.cpython-312-powerpc64le-linux-gnu.so 277s PASSED [ 74%] 278s test/test_lnodes.py::test_gemm[intc] 278s -------------------------------- live log call --------------------------------- 278s INFO root:dist.py:970 running build_ext 278s INFO root:build_ext.py:530 building '_gemm_int' extension 278s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_int.c -o ./_gemm_int.o 278s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_int.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemm_int.cpython-312-powerpc64le-linux-gnu.so 278s PASSED [ 75%] 278s test/test_lnodes.py::test_gemv[float32] 278s -------------------------------- live log call --------------------------------- 278s INFO root:dist.py:970 running build_ext 278s INFO root:build_ext.py:530 building '_gemv_float' extension 278s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_float.c -o ./_gemv_float.o 278s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_float.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemv_float.cpython-312-powerpc64le-linux-gnu.so 278s PASSED [ 77%] 278s test/test_lnodes.py::test_gemv[float64] 278s -------------------------------- live log call --------------------------------- 278s INFO root:dist.py:970 running build_ext 278s INFO root:build_ext.py:530 building '_gemv_double' extension 278s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_double.c -o ./_gemv_double.o 278s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_double.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemv_double.cpython-312-powerpc64le-linux-gnu.so 278s PASSED [ 78%] 278s test/test_lnodes.py::test_gemv[intc] 278s -------------------------------- live log call --------------------------------- 278s INFO root:dist.py:970 running build_ext 278s INFO root:build_ext.py:530 building '_gemv_int' extension 278s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_int.c -o ./_gemv_int.o 278s INFO root:spawn.py:60 powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_int.o -L/usr/lib/powerpc64le-linux-gnu -o ./_gemv_int.cpython-312-powerpc64le-linux-gnu.so 278s PASSED [ 79%] 278s test/test_signatures.py::test_numba_kernel_signature[float32] SKIPPED [ 80%] 278s test/test_signatures.py::test_numba_kernel_signature[float64] SKIPPED [ 81%] 278s test/test_signatures.py::test_numba_kernel_signature[complex64] SKIPPED [ 82%] 278s test/test_signatures.py::test_numba_kernel_signature[complex128] SKIPPED [ 83%] 278s test/test_submesh.py::test_multiple_mesh_codim0[float64] FAILED [ 85%] 278s test/test_submesh.py::test_multiple_mesh_codim0[complex128] FAILED [ 86%] 278s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] FAILED [ 87%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] FAILED [ 88%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] FAILED [ 89%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] FAILED [ 90%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] FAILED [ 91%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] FAILED [ 93%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] FAILED [ 94%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] FAILED [ 95%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] FAILED [ 96%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] FAILED [ 97%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] FAILED [ 98%] 279s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] FAILED [100%] 279s 279s =================================== FAILURES =================================== 279s ____________________ test_additive_facet_integral[float32] _____________________ 279s 279s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype", 279s [ 279s "float32", 279s "float64", 279s "complex64", 279s "complex128", 279s ], 279s ) 279s def test_additive_facet_integral(dtype, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(u, v) * ufl.ds 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_add_mode.py:32: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7e9e118b4f290fd7e45a0e6026288038eb357...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_7b27df8726290d816035990ad978f1570a6fa29b'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s ____________________ test_additive_facet_integral[float64] _____________________ 279s 279s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype", 279s [ 279s "float32", 279s "float64", 279s "complex64", 279s "complex128", 279s ], 279s ) 279s def test_additive_facet_integral(dtype, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(u, v) * ufl.ds 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_add_mode.py:32: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b5b1ecb6176a224bcb020994542197dfc27f4...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9ea091844f88515362f880212a6eeaebc6584bb0'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s ___________________ test_additive_facet_integral[complex64] ____________________ 279s 279s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype", 279s [ 279s "float32", 279s "float64", 279s "complex64", 279s "complex128", 279s ], 279s ) 279s def test_additive_facet_integral(dtype, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(u, v) * ufl.ds 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_add_mode.py:32: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cb3ecfd835501e3f5398c2ce8e3de7e42d735...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_aa7a23b319899b558079ede2c5ecdfbf4d507fc7'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s ___________________ test_additive_facet_integral[complex128] ___________________ 279s 279s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype", 279s [ 279s "float32", 279s "float64", 279s "complex64", 279s "complex128", 279s ], 279s ) 279s def test_additive_facet_integral(dtype, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(u, v) * ufl.ds 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_add_mode.py:32: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_410d0395420e0b128766a765e0bb58871b3ce...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c013d48cd18414656ec6abcfa9239f40e9d49d4f'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s _____________________ test_additive_cell_integral[float32] _____________________ 279s 279s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype", 279s [ 279s "float32", 279s "float64", 279s "complex64", 279s "complex128", 279s ], 279s ) 279s def test_additive_cell_integral(dtype, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_add_mode.py:93: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_666a424d652e1cd435b3f57ab6931100caf18...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_a63255ef5335737999774c906db5a928b9f19941'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s _____________________ test_additive_cell_integral[float64] _____________________ 279s 279s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype", 279s [ 279s "float32", 279s "float64", 279s "complex64", 279s "complex128", 279s ], 279s ) 279s def test_additive_cell_integral(dtype, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_add_mode.py:93: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1973330de0639bcdd5e474b8996dd906458c6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_7f5eecc47dc6312d0c27d59c9083880bba665091'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s ____________________ test_additive_cell_integral[complex64] ____________________ 279s 279s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype", 279s [ 279s "float32", 279s "float64", 279s "complex64", 279s "complex128", 279s ], 279s ) 279s def test_additive_cell_integral(dtype, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_add_mode.py:93: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2a85b61aa14e2f56c63b996e5be123b96b2ae...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5fb7de0d0825a418fd53049c317f5720d9c2304f'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s ___________________ test_additive_cell_integral[complex128] ____________________ 279s 279s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype", 279s [ 279s "float32", 279s "float64", 279s "complex64", 279s "complex128", 279s ], 279s ) 279s def test_additive_cell_integral(dtype, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_add_mode.py:93: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_331530046492c6ffec7245f5b9ca95250daf3...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5cb262715bdabac4489749364cd3a5224b0ad6f7'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s _____________________________ test_finite_element ______________________________ 279s 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s def test_finite_element(compile_args): 279s ufl_element = basix.ufl.element("Lagrange", "triangle", 1) 279s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 279s [ufl_element], cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_blocked_elements.py:16: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:205: in compile_elements 279s raise e 279s ffcx/codegeneration/jit.py:185: in compile_elements 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_9e85cc27ae46c87f884c8652ea25be5704facca2'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s _____________________________ test_vector_element ______________________________ 279s 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s def test_vector_element(compile_args): 279s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 279s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 279s [ufl_element], cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_blocked_elements.py:42: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:205: in compile_elements 279s raise e 279s ffcx/codegeneration/jit.py:185: in compile_elements 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_049a23e5ccc2a097ae5ffa408723d2ac2f0cf...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f0acf366b9c5f64e3c6415cebdc4d2a968ff7e84'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s _____________________________ test_tensor_element ______________________________ 279s 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s def test_tensor_element(compile_args): 279s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2, 2)) 279s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 279s [ufl_element], cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_blocked_elements.py:69: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:205: in compile_elements 279s raise e 279s ffcx/codegeneration/jit.py:185: in compile_elements 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1731fa3d902a141f63f2a06e320e4e0d844d8...t (P, triangle, 1, gll_warped, unset, False, float64, []), (2, 2)): 'element_5bbb5f485f822141748bdac3a1f8d13a35883657'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s ________________________ test_vector_quadrature_element ________________________ 279s 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s def test_vector_quadrature_element(compile_args): 279s ufl_element = basix.ufl.blocked_element( 279s basix.ufl.quadrature_element("tetrahedron", degree=2, scheme="default"), shape=(3,) 279s ) 279s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 279s [ufl_element], cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_blocked_elements.py:99: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:205: in compile_elements 279s raise e 279s ffcx/codegeneration/jit.py:185: in compile_elements 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s 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()) 279s 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} 279s finite_element_names = {QuadratureElement(tetrahedron, array([[0.5854102, 0.1381966, 0.1381966], [0.1381966, 0.5854102, 0.1381966], ..., 0.04166667, 0.04166667, 0.04166667]), IdentityPullback()), (3,)): 'element_c86ae369c761d2edbe97753fd9db3538893c7f5f'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_QuadratureElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s _______________________________ test_cache_modes _______________________________ 279s 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s def test_cache_modes(compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 279s forms = [a] 279s 279s # Load form from /tmp 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, cffi_extra_compile_args=compile_args 279s ) 279s 279s test/test_cache.py:24: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1973330de0639bcdd5e474b8996dd906458c6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_7f5eecc47dc6312d0c27d59c9083880bba665091'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s ffcx/ir/representation.py:293: AttributeError 279s ________________________________ test_visualise ________________________________ 279s 279s def test_visualise(): 279s os.chdir(os.path.dirname(__file__)) 279s subprocess.run(["ffcx", "--visualise", "Poisson.py"]) 279s > assert os.path.isfile("S.pdf") 279s E AssertionError: assert False 279s E + where False = ('S.pdf') 279s E + where = .isfile 279s E + where = os.path 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_cmdline.py:20: AssertionError 279s ----------------------------- Captured stderr call ----------------------------- 279s Traceback (most recent call last): 279s File "/usr/bin/ffcx", line 8, in 279s sys.exit(__main__.main()) 279s ^^^^^^^^^^^^^^^ 279s File "/usr/lib/python3/dist-packages/ffcx/main.py", line 75, in main 279s code_h, code_c = compiler.compile_ufl_objects( 279s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 279s File "/usr/lib/python3/dist-packages/ffcx/compiler.py", line 113, in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 279s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 215, in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 293, in _compute_element_ir 279s ir["element_type"] = element.ufcx_element_type 279s ^^^^^^^^^^^^^^^^^^^^^^^^^ 279s AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s _________________________________ test_matvec __________________________________ 279s 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s def test_matvec(compile_args): 279s """Test evaluation of linear rank-0 form. 279s 279s Evaluates expression c * A_ij * f_j where c is a Constant, 279s A_ij is a user specified constant matrix and f_j is j-th component 279s of user specified vector-valued finite element function (in P1 space). 279s 279s """ 279s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 279s mesh = ufl.Mesh(e) 279s V = ufl.FunctionSpace(mesh, e) 279s f = ufl.Coefficient(V) 279s 279s a_mat = np.array([[1.0, 2.0], [1.0, 1.0]]) 279s a = ufl.as_matrix(a_mat) 279s expr = ufl.Constant(mesh) * ufl.dot(a, f) 279s 279s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 279s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 279s [(expr, points)], cffi_extra_compile_args=compile_args 279s ) 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_expression.py:35: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:358: in compile_expressions 279s raise e 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:338: in compile_expressions 279s impl = _compile_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_9c6ab7e2f3d5c663d5d7bc7849eeb92139ccb...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ba8842cc3233c3ab3c82fe0d8ed7248a859f8ded'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 279s __________________________________ test_rank1 __________________________________ 279s 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s def test_rank1(compile_args): 279s """Tests evaluation of rank-1 form. 279s 279s Builds a linear operator which takes vector-valued functions in P1 space 279s and evaluates expression [u_y, u_x] + grad(u_x) at specified points. 279s 279s """ 279s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 279s mesh = ufl.Mesh(e) 279s 279s V = ufl.FunctionSpace(mesh, e) 279s u = ufl.TrialFunction(V) 279s 279s expr = ufl.as_vector([u[1], u[0]]) + ufl.grad(u[0]) 279s 279s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 279s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 279s [(expr, points)], cffi_extra_compile_args=compile_args 279s ) 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_expression.py:101: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:358: in compile_expressions 279s raise e 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:338: in compile_expressions 279s impl = _compile_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1eca4c9c76ee003eac5caa3a202b8e09380bf...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_200927cdf5402c120eeccb614b94e96a787ee1e3'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 279s _______________________ test_elimiate_zero_tables_tensor _______________________ 279s 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s def test_elimiate_zero_tables_tensor(compile_args): 279s """Test elimination of tensor-valued expressions with zero tables""" 279s cell = "tetrahedron" 279s c_el = basix.ufl.element("P", cell, 1, shape=(3,)) 279s mesh = ufl.Mesh(c_el) 279s 279s e = basix.ufl.element("P", cell, 1) 279s V = ufl.FunctionSpace(mesh, e) 279s u = ufl.Coefficient(V) 279s expr = ufl.sym(ufl.as_tensor([[u, u.dx(0).dx(0), 0], [u.dx(1), u.dx(1), 0], [0, 0, 0]])) 279s 279s # Get vertices of cell 279s # Coords storage XYZXYZXYZ 279s basix_c_e = basix.create_element( 279s > basix.ElementFamily.P, basix.cell.string_to_type(cell), 1, discontinuous=False 279s ) 279s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_expression.py:169: AttributeError 279s ____________________________ test_facet_expression _____________________________ 279s 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s def test_facet_expression(compile_args): 279s """Test facet expression containing a facet normal on a manifold.""" 279s c_el = basix.ufl.element("Lagrange", "triangle", 1, shape=(3,)) 279s mesh = ufl.Mesh(c_el) 279s 279s n = ufl.FacetNormal(mesh) 279s expr = n 279s 279s dtype = np.float64 279s points = np.array([[0.5]], dtype=dtype) 279s 279s > obj, _, _ = ffcx.codegeneration.jit.compile_expressions( 279s [(expr, points)], cffi_extra_compile_args=compile_args 279s ) 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_expression.py:281: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:358: in compile_expressions 279s raise e 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:338: in compile_expressions 279s impl = _compile_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:254: in compute_ir 279s _compute_expression_ir( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:857: in _compute_expression_ir 279s expression_ir = compute_integral_ir( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/integral.py:85: in compute_integral_ir 279s mt_table_reference = build_optimized_tables( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/elementtables.py:415: in build_optimized_tables 279s t = get_ffcx_table_values( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/elementtables.py:138: in get_ffcx_table_values 279s entity_points = map_integral_points(points, integral_type, cell, entity) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representationutils.py:119: in map_integral_points 279s return np.asarray(map_facet_points(points, entity, cell.cellname())) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s points = array([[0.5]]), facet = 0, cellname = 'triangle' 279s 279s def map_facet_points( 279s points: npt.NDArray[np.float64], facet: int, cellname: str 279s ) -> npt.NDArray[np.float64]: 279s """Map points from a reference facet to a physical facet.""" 279s > geom = basix.geometry(basix.cell.string_to_type(cellname)) 279s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/element_interface.py:44: AttributeError 279s ___________ test_laplace_bilinear_form_2d[float64-expected_result0] ____________ 279s 279s dtype = 'float64' 279s expected_result = array([[ 1. , -0.5, -0.5], 279s [-0.5, 0.5, 0. ], 279s [-0.5, 0. , 0.5]]) 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype,expected_result", 279s [ 279s ( 279s "float64", 279s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 279s ), 279s ( 279s "complex128", 279s np.array( 279s [ 279s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 279s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 279s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 279s ], 279s dtype=np.complex128, 279s ), 279s ), 279s ], 279s ) 279s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s kappa = ufl.Constant(domain, shape=(2, 2)) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s 279s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:47: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_219b760e938b2c355436cdec89f50cb9cc9de...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_fa220a76be680181bba78cef1f1c8bce4779eb21'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 279s __________ test_laplace_bilinear_form_2d[complex128-expected_result1] __________ 279s 279s dtype = 'complex128' 279s expected_result = array([[ 1. +0.j, -0.5+0.j, -0.5+0.j], 279s [-0.5+0.j, 0.5+0.j, 0. +0.j], 279s [-0.5+0.j, 0. +0.j, 0.5+0.j]]) 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype,expected_result", 279s [ 279s ( 279s "float64", 279s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 279s ), 279s ( 279s "complex128", 279s np.array( 279s [ 279s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 279s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 279s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 279s ], 279s dtype=np.complex128, 279s ), 279s ), 279s ], 279s ) 279s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s kappa = ufl.Constant(domain, shape=(2, 2)) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s 279s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:47: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_66a11c5a89962a5586b017a72b279ac959d24...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6c0b02cf0ee97ea6b0aa2057289b1c380028f3f5'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 279s _____________ test_mass_bilinear_form_2d[float32-expected_result0] _____________ 279s 279s dtype = 'float32' 279s expected_result = array([[0.08333334, 0.04166667, 0.04166667], 279s [0.04166667, 0.08333334, 0.04166667], 279s [0.04166667, 0.04166667, 0.08333334]], dtype=float32) 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype,expected_result", 279s [ 279s ( 279s "float32", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.float32, 279s ), 279s ), 279s # ("longdouble", 279s # np.array( 279s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 279s # dtype=np.longdouble)), 279s ( 279s "float64", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.float64, 279s ), 279s ), 279s ( 279s "complex128", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.complex128, 279s ), 279s ), 279s ( 279s "complex64", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.complex64, 279s ), 279s ), 279s ], 279s ) 279s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(u, v) * ufl.dx 279s L = ufl.conj(v) * ufl.dx 279s forms = [a, L] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:150: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_fc2336778e2da4662dc1b51b4c1c9becaaa73...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_dcb7d9b28ee80bed98a80948141396b3451d6269'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 279s _____________ test_mass_bilinear_form_2d[float64-expected_result1] _____________ 279s 279s dtype = 'float64' 279s expected_result = array([[0.08333333, 0.04166667, 0.04166667], 279s [0.04166667, 0.08333333, 0.04166667], 279s [0.04166667, 0.04166667, 0.08333333]]) 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype,expected_result", 279s [ 279s ( 279s "float32", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.float32, 279s ), 279s ), 279s # ("longdouble", 279s # np.array( 279s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 279s # dtype=np.longdouble)), 279s ( 279s "float64", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.float64, 279s ), 279s ), 279s ( 279s "complex128", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.complex128, 279s ), 279s ), 279s ( 279s "complex64", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.complex64, 279s ), 279s ), 279s ], 279s ) 279s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(u, v) * ufl.dx 279s L = ufl.conj(v) * ufl.dx 279s forms = [a, L] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:150: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4dd233829ff887415704060233713fbec26c1...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_a8fab1f83bf2ab4c7d6a3fd9770845f8d1aa26c9'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 279s ___________ test_mass_bilinear_form_2d[complex128-expected_result2] ____________ 279s 279s dtype = 'complex128' 279s expected_result = array([[0.08333333+0.j, 0.04166667+0.j, 0.04166667+0.j], 279s [0.04166667+0.j, 0.08333333+0.j, 0.04166667+0.j], 279s [0.04166667+0.j, 0.04166667+0.j, 0.08333333+0.j]]) 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype,expected_result", 279s [ 279s ( 279s "float32", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.float32, 279s ), 279s ), 279s # ("longdouble", 279s # np.array( 279s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 279s # dtype=np.longdouble)), 279s ( 279s "float64", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.float64, 279s ), 279s ), 279s ( 279s "complex128", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.complex128, 279s ), 279s ), 279s ( 279s "complex64", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.complex64, 279s ), 279s ), 279s ], 279s ) 279s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(u, v) * ufl.dx 279s L = ufl.conj(v) * ufl.dx 279s forms = [a, L] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:150: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_31b70a988865d9bf7a44caa66c66278ac8090...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c1639d2280c209da4bcb0ff3a2f4e7b192265ecb'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 279s ____________ test_mass_bilinear_form_2d[complex64-expected_result3] ____________ 279s 279s dtype = 'complex64' 279s expected_result = array([[0.08333334+0.j, 0.04166667+0.j, 0.04166667+0.j], 279s [0.04166667+0.j, 0.08333334+0.j, 0.04166667+0.j], 279s [0.04166667+0.j, 0.04166667+0.j, 0.08333334+0.j]], dtype=complex64) 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype,expected_result", 279s [ 279s ( 279s "float32", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.float32, 279s ), 279s ), 279s # ("longdouble", 279s # np.array( 279s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 279s # dtype=np.longdouble)), 279s ( 279s "float64", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.float64, 279s ), 279s ), 279s ( 279s "complex128", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.complex128, 279s ), 279s ), 279s ( 279s "complex64", 279s np.array( 279s [ 279s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 279s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 279s ], 279s dtype=np.complex64, 279s ), 279s ), 279s ], 279s ) 279s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s a = ufl.inner(u, v) * ufl.dx 279s L = ufl.conj(v) * ufl.dx 279s forms = [a, L] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:150: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1a88b95690dc1e110ec1360ae31b51b71d8d6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_38fb1015a6539e82751b75ef3df7f33c7b670672'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 279s _______________ test_helmholtz_form_2d[float64-expected_result0] _______________ 279s 279s dtype = 'float64' 279s expected_result = array([[ 0.91666667, -0.54166667, -0.54166667], 279s [-0.54166667, 0.41666667, -0.04166667], 279s [-0.54166667, -0.04166667, 0.41666667]]) 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype,expected_result", 279s [ 279s ( 279s "float64", 279s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 279s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 279s ), 279s ( 279s "complex128", 279s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 279s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 279s ), 279s ], 279s ) 279s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s if np.issubdtype(dtype, np.complexfloating): 279s k = ufl.constantvalue.ComplexValue(1j) 279s elif np.issubdtype(dtype, np.floating): 279s k = 1.0 279s else: 279s raise RuntimeError( 279s "Unknown mode type", 279s ) 279s 279s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:186: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 279s raise e 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 279s impl = _compile_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 279s _, code_body = ffcx.compiler.compile_ufl_objects( 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 279s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 279s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 279s 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} 279s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1a64ee47c88d82338258a5efd3e435d453bf8...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ad3d634a844314d08634f15335372e79e0d5f559'} 279s 279s def _compute_element_ir(element, element_numbers, finite_element_names): 279s """Compute intermediate representation of element.""" 279s logger.info(f"Computing IR for element {element}") 279s 279s # Create basix elements 279s cell = element.cell 279s 279s # Store id 279s ir = {"id": element_numbers[element]} 279s ir["name"] = finite_element_names[element] 279s 279s # Compute data for each function 279s ir["signature"] = repr(element) 279s ir["cell_shape"] = element.cell_type.name 279s ir["topological_dimension"] = cell.topological_dimension() 279s ir["space_dimension"] = element.dim + element.num_global_support_dofs 279s > ir["element_type"] = element.ufcx_element_type 279s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 279s 279s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 279s _____________ test_helmholtz_form_2d[complex128-expected_result1] ______________ 279s 279s dtype = 'complex128' 279s expected_result = array([[ 1. -0.08333333j, -0.5-0.04166667j, -0.5-0.04166667j], 279s [-0.5-0.04166667j, 0.5-0.08333333j, 0. -0.04166667j], 279s [-0.5-0.04166667j, 0. -0.04166667j, 0.5-0.08333333j]]) 279s compile_args = ['-O1', '-Wall', '-Werror'] 279s 279s @pytest.mark.parametrize( 279s "dtype,expected_result", 279s [ 279s ( 279s "float64", 279s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 279s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 279s ), 279s ( 279s "complex128", 279s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 279s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 279s ), 279s ], 279s ) 279s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 279s element = basix.ufl.element("Lagrange", "triangle", 1) 279s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 279s space = ufl.FunctionSpace(domain, element) 279s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 279s if np.issubdtype(dtype, np.complexfloating): 279s k = ufl.constantvalue.ComplexValue(1j) 279s elif np.issubdtype(dtype, np.floating): 279s k = 1.0 279s else: 279s raise RuntimeError( 279s "Unknown mode type", 279s ) 279s 279s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 279s forms = [a] 279s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 279s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 279s ) 279s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:186: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_af1b0d2862c4ac704f33750d040c4dd013d4e...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_faf843a542fa3664b6c680ba3692c1065dd5450b'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________ test_laplace_bilinear_form_3d[float64-expected_result0] ____________ 280s 280s dtype = 'float64' 280s expected_result = array([[ 0.5 , -0.16666667, -0.16666667, -0.16666667], 280s [-0.16666667, 0.16666667, 0. , 0. ... [-0.16666667, 0. , 0.16666667, 0. ], 280s [-0.16666667, 0. , 0. , 0.16666667]]) 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s @pytest.mark.parametrize( 280s "dtype,expected_result", 280s [ 280s ( 280s "float64", 280s np.array( 280s [ 280s [0.5, -1 / 6, -1 / 6, -1 / 6], 280s [-1 / 6, 1 / 6, 0.0, 0.0], 280s [-1 / 6, 0.0, 1 / 6, 0.0], 280s [-1 / 6, 0.0, 0.0, 1 / 6], 280s ], 280s dtype=np.float64, 280s ), 280s ), 280s ( 280s "complex128", 280s np.array( 280s [ 280s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 280s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 280s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 280s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 280s ], 280s dtype=np.complex128, 280s ), 280s ), 280s ], 280s ) 280s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 280s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:253: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_d1f61edab1b2cb0d8509e06fe494c42b89... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_22285f2e168e5093b089c14905276ae8de2014da'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s __________ test_laplace_bilinear_form_3d[complex128-expected_result1] __________ 280s 280s dtype = 'complex128' 280s expected_result = array([[ 0.5 +0.j, -0.16666667+0.j, -0.16666667+0.j, 280s -0.16666667+0.j], 280s [-0.16666667+0.j, 0.16666...67+0.j, 280s 0. +0.j], 280s [-0.16666667+0.j, 0. +0.j, 0. +0.j, 280s 0.16666667+0.j]]) 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s @pytest.mark.parametrize( 280s "dtype,expected_result", 280s [ 280s ( 280s "float64", 280s np.array( 280s [ 280s [0.5, -1 / 6, -1 / 6, -1 / 6], 280s [-1 / 6, 1 / 6, 0.0, 0.0], 280s [-1 / 6, 0.0, 1 / 6, 0.0], 280s [-1 / 6, 0.0, 0.0, 1 / 6], 280s ], 280s dtype=np.float64, 280s ), 280s ), 280s ( 280s "complex128", 280s np.array( 280s [ 280s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 280s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 280s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 280s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 280s ], 280s dtype=np.complex128, 280s ), 280s ), 280s ], 280s ) 280s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 280s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:253: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_0a950c086b7ff834fe303354417d54a596... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_27cf5c3affba5c5a95030504a8175020339bf5f5'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ____________________________ test_form_coefficient _____________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_form_coefficient(compile_args): 280s element = basix.ufl.element("Lagrange", "triangle", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s u, v = ufl.TestFunction(space), ufl.TrialFunction(space) 280s g = ufl.Coefficient(space) 280s a = g * ufl.inner(u, v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:292: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_da44b32a3963a464cfa587c0838d011b2b3b6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_289f54a3cb3e848232d7faf2356e9fedf260a862'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _______________________________ test_subdomains ________________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_subdomains(compile_args): 280s element = basix.ufl.element("Lagrange", "triangle", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 280s a0 = ufl.inner(u, v) * ufl.dx + ufl.inner(u, v) * ufl.dx(2) 280s a1 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx 280s a2 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx(1) 280s a3 = ufl.inner(u, v) * ufl.ds(210) + ufl.inner(u, v) * ufl.ds(0) 280s forms = [a0, a1, a2, a3] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:334: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_331128ab0b7a2e9df2a559bb1b86286d48052...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5ee0c4ca3b5524702f0d5100afb1d4676164de9e'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ____________________ test_interior_facet_integral[float64] _____________________ 280s 280s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 280s def test_interior_facet_integral(dtype, compile_args): 280s element = basix.ufl.element("Lagrange", "triangle", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 280s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 280s forms = [a0] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:373: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_5f838b90230c87a6b9f13f5276a2dd3a0d037...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_27d81ccff2543f45947640824736dbe5d009704a'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________________ test_interior_facet_integral[complex128] ___________________ 280s 280s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 280s def test_interior_facet_integral(dtype, compile_args): 280s element = basix.ufl.element("Lagrange", "triangle", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 280s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 280s forms = [a0] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:373: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_9a42dae22cb514b9e0eeeaf7f048bf231df5c...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f5bca99d292973d5d9f685ebcd1f3aa4a0f0918e'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s __________________________ test_conditional[float64] ___________________________ 280s 280s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s @pytest.mark.parametrize( 280s "dtype", 280s [ 280s "float64", 280s "complex128", 280s ], 280s ) 280s def test_conditional(dtype, compile_args): 280s element = basix.ufl.element("Lagrange", "triangle", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 280s x = ufl.SpatialCoordinate(domain) 280s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 280s c1 = ufl.conditional(condition, 2.0, 1.0) 280s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 280s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 280s b = c2 * ufl.conj(v) * ufl.dx 280s 280s forms = [a, b] 280s 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:439: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_35ae8edf74c467db06e110462959b9c673d26...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_adc7af14d9afab21bb746a4f7dddb741006c5d55'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _________________________ test_conditional[complex128] _________________________ 280s 280s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s @pytest.mark.parametrize( 280s "dtype", 280s [ 280s "float64", 280s "complex128", 280s ], 280s ) 280s def test_conditional(dtype, compile_args): 280s element = basix.ufl.element("Lagrange", "triangle", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 280s x = ufl.SpatialCoordinate(domain) 280s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 280s c1 = ufl.conditional(condition, 2.0, 1.0) 280s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 280s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 280s b = c2 * ufl.conj(v) * ufl.dx 280s 280s forms = [a, b] 280s 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:439: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_ecfd63ede3aff0de6ffaf6182f155f5067223...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b7cec934bbb6ed1b5f6b821b7859cf4122770790'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ____________________________ test_custom_quadrature ____________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_custom_quadrature(compile_args): 280s ve = basix.ufl.element("P", "triangle", 1, shape=(2,)) 280s mesh = ufl.Mesh(ve) 280s 280s e = basix.ufl.element("P", mesh.ufl_cell().cellname(), 2) 280s V = ufl.FunctionSpace(mesh, e) 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s 280s 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]] 280s weights = [1 / 12] * 6 280s a = ( 280s u 280s * v 280s * ufl.dx( 280s metadata={ 280s "quadrature_rule": "custom", 280s "quadrature_points": points, 280s "quadrature_weights": weights, 280s } 280s ) 280s ) 280s 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:513: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_075eb9220c893ba4715bcdf8f60b243af21a4...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_ae5cbec168858245473cc3e23d2e7fe62e39eed6'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ________________________________ test_curl_curl ________________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_curl_curl(compile_args): 280s V = basix.ufl.element("N1curl", "triangle", 2) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, V) 280s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 280s a = ufl.inner(ufl.curl(u), ufl.curl(v)) * ufl.dx 280s 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:549: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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 (N1E, triangle, 2, legendre, unset, False, float64, []): 2} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_ed33921222c50d9fb2d530ed26cfbe4e80e86...ix element (N1E, triangle, 2, legendre, unset, False, float64, []): 'element_0e9aa6823d98ea7e4b48a58d97c2dabf50fbca0b'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_lagrange_triangle[1--0-float64] _____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 280s sym_fun = at 0x61dbee19e5c0> 280s ufl_fun = at 0x61dbee19e660> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "triangle", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:620: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_c51b12ecfa1ba3dfd8d764dc12fab76accc82...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b0d4528b086081b973fc92d3a02955381b29f53f'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_lagrange_triangle[1--1-float64] _____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 280s sym_fun = at 0x61dbee19e700> 280s ufl_fun = at 0x61dbee19e7a0> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "triangle", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:620: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4feab06c75c6426c5c31147f432ed2ba111eb...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_bb6a6eb69530869bd298e4b3e0afdf290875aadd'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_lagrange_triangle[1--2-float64] _____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 280s sym_fun = at 0x61dbee19e840> 280s ufl_fun = at 0x61dbee19e8e0> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "triangle", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:620: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_57854fe0566c0eb4f99e924b6f01017a1d070...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_84cff292469e31dfb492f79869e3a9568b6d2c24'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_lagrange_triangle[2--0-float64] _____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 280s sym_fun = at 0x61dbee19e5c0> 280s ufl_fun = at 0x61dbee19e660> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "triangle", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:620: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cbd3befc618e721b388f4771cfd0086525429...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_734faccb8fa5cbf204ad1832f5ed388b46e156bf'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_lagrange_triangle[2--1-float64] _____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 280s sym_fun = at 0x61dbee19e700> 280s ufl_fun = at 0x61dbee19e7a0> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "triangle", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:620: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_8c4d87b5715082387d7001c354d14f0f2d725...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_42bd04c4c21cb913995c39f10583cc7d63b942e4'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_lagrange_triangle[2--2-float64] _____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 280s sym_fun = at 0x61dbee19e840> 280s ufl_fun = at 0x61dbee19e8e0> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "triangle", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:620: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_3ffb40ac9114638c686122e11e4ce6d699311...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_066ef0d54c57a1f7fb5b329b7f716bbdc22e335d'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_lagrange_triangle[3--0-float64] _____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 280s sym_fun = at 0x61dbee19e5c0> 280s ufl_fun = at 0x61dbee19e660> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "triangle", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:620: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 2} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_69d107d80b9dd0b2a587a8ee95942e07fadb2...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_85ddc44c8451beaa67e678f4b466aeed539e2e2e'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_lagrange_triangle[3--1-float64] _____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 280s sym_fun = at 0x61dbee19e700> 280s ufl_fun = at 0x61dbee19e7a0> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "triangle", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:620: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 2} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_d78c5a01d25bc07c0c21a3f0025b04eca1215...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_a0040afbe7834ebcf2eaf92637b8ddb1513fd5da'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_lagrange_triangle[3--2-float64] _____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 280s sym_fun = at 0x61dbee19e840> 280s ufl_fun = at 0x61dbee19e8e0> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "triangle", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:620: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 2} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_80b2474004a3b56d740b3f3d96567db9cdc34...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_f9561068c4243adb51a4e765db5e7f2377a0d86f'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________ test_lagrange_tetrahedron[1--0-float64] ____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 280s sym_fun = at 0x61dbee19eb60> 280s ufl_fun = at 0x61dbee19ec00> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "tetrahedron", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:745: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_2726965562e14db4b99a60625f1a36a74f... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_3c3737fcba7985551ffaa158776e75c7b78aa8a0'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________ test_lagrange_tetrahedron[1--1-float64] ____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 280s sym_fun = at 0x61dbee19eca0> 280s ufl_fun = at 0x61dbee19ed40> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "tetrahedron", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:745: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_40803ad27effa9981fb82deea0eaa41fe5... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_504e77e74f80d318266133ba9abc70fafd1c7db2'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________ test_lagrange_tetrahedron[1--2-float64] ____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 280s sym_fun = at 0x61dbee19ede0> 280s ufl_fun = at 0x61dbee19ee80> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "tetrahedron", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:745: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_f0c6359ce0af21eb8b3b0632a846e0c5f4... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_0070277b3110132d8478726e2a62513efe2c11d1'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________ test_lagrange_tetrahedron[2--0-float64] ____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 280s sym_fun = at 0x61dbee19eb60> 280s ufl_fun = at 0x61dbee19ec00> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "tetrahedron", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:745: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_887182fe079de116bbf9408ada9757b0e0...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_e57ccafec25e6bdeefa6a1c041b09c0d0b14bf59'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________ test_lagrange_tetrahedron[2--1-float64] ____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 280s sym_fun = at 0x61dbee19eca0> 280s ufl_fun = at 0x61dbee19ed40> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "tetrahedron", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:745: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_76a05bcf49fe023877114f34984e702fef...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_1fdd1e411b0233ef12891bc1c888d08aed84d234'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________ test_lagrange_tetrahedron[2--2-float64] ____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 280s sym_fun = at 0x61dbee19ede0> 280s ufl_fun = at 0x61dbee19ee80> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "tetrahedron", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:745: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_28c1eca1f051b698996be2a6f66214f20b...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_f5e44203d879a2674dc71819fb4532578c3cdb9d'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________ test_lagrange_tetrahedron[3--0-float64] ____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 280s sym_fun = at 0x61dbee19eb60> 280s ufl_fun = at 0x61dbee19ec00> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "tetrahedron", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:745: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_c13bd8f0c47f7afc3485564d24550f42c3... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_b5ee113ea927217082646969a8511652ab85e09d'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________ test_lagrange_tetrahedron[3--1-float64] ____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 280s sym_fun = at 0x61dbee19eca0> 280s ufl_fun = at 0x61dbee19ed40> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "tetrahedron", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:745: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_5d79a3dc9953f98e36f27fdf0843ad39a7... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_a843c03be978c51ea16399d1235475922b9e3df0'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________ test_lagrange_tetrahedron[3--2-float64] ____________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 280s sym_fun = at 0x61dbee19ede0> 280s ufl_fun = at 0x61dbee19ee80> 280s 280s @pytest.mark.parametrize("dtype", ["float64"]) 280s @pytest.mark.parametrize( 280s "sym_fun,ufl_fun", 280s [ 280s (lambda i: i, lambda i: i), 280s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 280s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 280s ], 280s ) 280s @pytest.mark.parametrize("order", [1, 2, 3]) 280s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 280s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 280s element = basix.ufl.element("Lagrange", "tetrahedron", order) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s 280s a = ufl_fun(v) * ufl.dx 280s forms = [a] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:745: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_c798bd648ec7f898492b4923f272f8a1dd... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_1d9f535c8799496107cc1f09b4c6749d8aa8af75'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s __________________________________ test_prism __________________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_prism(compile_args): 280s element = basix.ufl.element("Lagrange", "prism", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "prism", 1, shape=(3,))) 280s space = ufl.FunctionSpace(domain, element) 280s v = ufl.TestFunction(space) 280s L = v * ufl.dx 280s forms = [L] 280s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:784: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, prism, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, prism, 1, gll_warped, unset, False, float64, []): 'element_5cc4d402730c124ddada699c6dfce66882db697d...lement (P, prism, 1, gll_warped, unset, False, float64, []), (3,)): 'element_77d1ded8782f00fc647dc8e73888bae3c2dd5f33'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ___________________________ test_complex_operations ____________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_complex_operations(compile_args): 280s dtype = "complex128" 280s cell = "triangle" 280s c_element = basix.ufl.element("Lagrange", cell, 1, shape=(2,)) 280s mesh = ufl.Mesh(c_element) 280s element = basix.ufl.element("DG", cell, 0, shape=(2,)) 280s V = ufl.FunctionSpace(mesh, element) 280s u = ufl.Coefficient(V) 280s J1 = ufl.real(u)[0] * ufl.imag(u)[1] * ufl.conj(u)[0] * ufl.dx 280s J2 = ufl.real(u[0]) * ufl.imag(u[1]) * ufl.conj(u[0]) * ufl.dx 280s forms = [J1, J2] 280s 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:823: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 0, gll_warped, unset, True, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 0, gll_warped, unset, True, float64, []): 'element_5dfa5831effb61268f5227970ea2aff562acbc...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_fd42bd4d89daa37ff68641046dd04246f33bc613'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s __________________________ test_invalid_function_name __________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_invalid_function_name(compile_args): 280s # Monkey patch to force invalid name 280s old_str = ufl.Coefficient.__str__ 280s ufl.Coefficient.__str__ = lambda self: "invalid function name" 280s 280s V = basix.ufl.element("Lagrange", "triangle", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, V) 280s u = ufl.Coefficient(space) 280s a = ufl.inner(u, u) * ufl.dx 280s forms = [a] 280s try: 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:888: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_3c83fd255822e0a943107e65d923c38c03c0d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_89b7b56d7477187466792125bc57e72de3fa859c'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s 280s During handling of the above exception, another exception occurred: 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_invalid_function_name(compile_args): 280s # Monkey patch to force invalid name 280s old_str = ufl.Coefficient.__str__ 280s ufl.Coefficient.__str__ = lambda self: "invalid function name" 280s 280s V = basix.ufl.element("Lagrange", "triangle", 1) 280s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s space = ufl.FunctionSpace(domain, V) 280s u = ufl.Coefficient(space) 280s a = ufl.inner(u, u) * ufl.dx 280s forms = [a] 280s try: 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, cffi_extra_compile_args=compile_args 280s ) 280s except ValueError: 280s pass 280s except Exception: 280s > raise RuntimeError("Compilation should fail with ValueError.") 280s E RuntimeError: Compilation should fail with ValueError. 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:894: RuntimeError 280s _______________________ test_interval_vertex_quadrature ________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_interval_vertex_quadrature(compile_args): 280s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(1,)) 280s mesh = ufl.Mesh(c_el) 280s 280s x = ufl.SpatialCoordinate(mesh) 280s dx = ufl.Measure("dx", metadata={"quadrature_rule": "vertex"}) 280s b = x[0] * dx 280s 280s forms = [b] 280s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s forms, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:909: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_843efb4dbf2ba243242ed770389689d641442...ent (P, interval, 1, gll_warped, unset, False, float64, []), (1,)): 'element_f461e6d789a376a8fa12651de7ad24bceaee8dde'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _________________________ test_facet_vertex_quadrature _________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_facet_vertex_quadrature(compile_args): 280s """Test facet vertex quadrature""" 280s c_el = basix.ufl.element("Lagrange", "quadrilateral", 1, shape=(2,)) 280s mesh = ufl.Mesh(c_el) 280s 280s x = ufl.SpatialCoordinate(mesh) 280s ds = ufl.Measure("ds", metadata={"quadrature_rule": "vertex"}) 280s expr = x[0] + ufl.cos(x[1]) 280s b1 = expr * ds 280s ds_c = ufl.Measure( 280s "ds", 280s metadata={ 280s "quadrature_rule": "custom", 280s "quadrature_points": np.array([[0.0], [1.0]]), 280s "quadrature_weights": np.array([1.0 / 2.0, 1.0 / 2.0]), 280s }, 280s ) 280s b2 = expr * ds_c 280s forms = [b1, b2] 280s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 280s forms, cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:954: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []): 'element_f5505ae29139f04ad0b22d233d472782...P, quadrilateral, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ccf4fcaaeb4ebb846bca5819186d2c1b627bbf1d'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s __________________________ test_manifold_derivatives ___________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_manifold_derivatives(compile_args): 280s """Test higher order derivatives on manifolds""" 280s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(2,)) 280s mesh = ufl.Mesh(c_el) 280s 280s x = ufl.SpatialCoordinate(mesh) 280s dx = ufl.Measure("dx", domain=mesh) 280s order = 4 280s el = basix.ufl.element("Lagrange", "interval", order) 280s V = ufl.FunctionSpace(mesh, el) 280s 280s u = ufl.Coefficient(V) 280s d = 5.3 280s f_ex = d * order * (order - 1) * x[1] ** (order - 2) 280s expr = u.dx(1).dx(1) - f_ex 280s J = expr * expr * dx 280s 280s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 280s [J], cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:1012: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, interval, 4, gll_warped, unset, False, float64, []) 280s element_numbers = {Basix element (P, interval, 4, gll_warped, unset, False, float64, []): 0, Basix element (P, interval, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, interval, 1, gll_warped, unset, False, float64, []), (2,)): 2} 280s finite_element_names = {Basix element (P, interval, 4, gll_warped, unset, False, float64, []): 'element_4cb1e55f8a544b823d23036f273de64cc8932...ent (P, interval, 1, gll_warped, unset, False, float64, []), (2,)): 'element_e22199d68d95807544e30373805fad6504ce61b7'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ____________________________ test_integral_grouping ____________________________ 280s 280s compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s def test_integral_grouping(compile_args): 280s """We group integrals with common integrands to avoid duplicated 280s integration kernels. This means that `inner(u, v)*dx((1,2,3)) + 280s inner(grad(u), grad(v))*dx(2) + inner(u,v)*dx` is grouped as 280s 1. `inner(u,v)*dx(("everywhere", 1, 3))` 280s 2. `(inner(grad(u), grad(v)) + inner(u, v))*dx(2)` 280s Each of the forms has one generated `tabulate_tensor_*` function, 280s which is referred to multiple times in `integrals_` and 280s `integral_ids_` 280s 280s """ 280s mesh = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 280s V = ufl.FunctionSpace(mesh, basix.ufl.element("Lagrange", "triangle", 1)) 280s u = ufl.TrialFunction(V) 280s v = ufl.TestFunction(V) 280s a = ( 280s ufl.inner(u, v) * ufl.dx((1, 2, 3)) 280s + ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx(2) 280s + ufl.inner(u, v) * ufl.dx 280s ) 280s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 280s [a], cffi_extra_compile_args=compile_args 280s ) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_jit_forms.py:1060: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7b232fa7673c68bc8dc771138801aba7fd1dc...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b0989e896f78ea296aef6ac67577bd8513070525'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ______________________ test_multiple_mesh_codim0[float64] ______________________ 280s 280s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s @pytest.mark.parametrize( 280s "dtype", 280s [ 280s "float64", 280s "complex128", 280s ], 280s ) 280s def test_multiple_mesh_codim0(dtype, compile_args): 280s # Define coordinate element and element used in parent and sub-mesh 280s element = basix.ufl.element("Lagrange", "triangle", 1) 280s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 280s 280s domain = ufl.Mesh(coordinate_element) 280s space = ufl.FunctionSpace(domain, element) 280s u_parent = ufl.TrialFunction(space) 280s 280s # Create submesh and functionspace on submesh 280s sub_domain = ufl.Mesh(coordinate_element) 280s subspace = ufl.FunctionSpace(sub_domain, element) 280s v_sub = ufl.TestFunction(subspace) 280s 280s # 280s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 280s 280s > A = compute_tensor([a], dtype, compile_args) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_submesh.py:78: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_submesh.py:20: in compute_tensor 280s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_162020558ef33c6817ab91355a5d2421dbd67...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b16fd1ee490500709c5d0c961a51436618433a52'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ____________________ test_multiple_mesh_codim0[complex128] _____________________ 280s 280s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 280s 280s @pytest.mark.parametrize( 280s "dtype", 280s [ 280s "float64", 280s "complex128", 280s ], 280s ) 280s def test_multiple_mesh_codim0(dtype, compile_args): 280s # Define coordinate element and element used in parent and sub-mesh 280s element = basix.ufl.element("Lagrange", "triangle", 1) 280s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 280s 280s domain = ufl.Mesh(coordinate_element) 280s space = ufl.FunctionSpace(domain, element) 280s u_parent = ufl.TrialFunction(space) 280s 280s # Create submesh and functionspace on submesh 280s sub_domain = ufl.Mesh(coordinate_element) 280s subspace = ufl.FunctionSpace(sub_domain, element) 280s v_sub = ufl.TestFunction(subspace) 280s 280s # 280s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 280s 280s > A = compute_tensor([a], dtype, compile_args) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_submesh.py:78: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_submesh.py:20: in compute_tensor 280s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 280s 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} 280s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_496be1178b1962ac4c8be792428070dea6ca0...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9484f03a672655fdc73f7161205585955c38286e'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_bilinear_form[CellType.quadrilateral-1-float32] _____________ 280s 280s dtype = 'float32', P = 1, cell_type = CellType.quadrilateral 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 280s 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} 280s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_ebad6b8e84ce561bea0163...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_34e190c6abde8d08ec0261d3634354aa9813ad29'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_bilinear_form[CellType.quadrilateral-1-float64] _____________ 280s 280s dtype = 'float64', P = 1, cell_type = CellType.quadrilateral 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 280s 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} 280s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_77a192f3a738ea3bee6df6...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_53c2092b582dc4908fcb22cd6392f39efaa26963'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_bilinear_form[CellType.quadrilateral-2-float32] _____________ 280s 280s dtype = 'float32', P = 2, cell_type = CellType.quadrilateral 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 280s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 0, blocked element (Basix eleme... 3]), (2,)): 1, Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 2} 280s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_47f80cdeda04a7b5e78a4c...2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_263be186973d387bbefed38d41bcacb61da97064'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_bilinear_form[CellType.quadrilateral-2-float64] _____________ 280s 280s dtype = 'float64', P = 2, cell_type = CellType.quadrilateral 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 280s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 0, blocked element (Basix eleme... 3]), (2,)): 1, Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 2} 280s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_3cbe09c86c83afc3475766...2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_df6527f30478742423f01afc4e13b6f9f91cd60b'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_bilinear_form[CellType.quadrilateral-3-float32] _____________ 280s 280s dtype = 'float32', P = 3, cell_type = CellType.quadrilateral 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 280s 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} 280s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_1f4bb61547a3b00e029163..., float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 'element_7ddac2c44ffff1cc606839e92856260f0ee9edbf'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s _____________ test_bilinear_form[CellType.quadrilateral-3-float64] _____________ 280s 280s dtype = 'float64', P = 3, cell_type = CellType.quadrilateral 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 280s 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} 280s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_4f2247ddede0ed98094ddd..., float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 'element_56cf1790695369fea4b3b2c3fa8ef1ae2b677db9'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ______________ test_bilinear_form[CellType.hexahedron-1-float32] _______________ 280s 280s dtype = 'float32', P = 1, cell_type = CellType.hexahedron 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 280s 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} 280s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_050848f1a0963...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_2f594cbd9880f6360881928508da13fe80b95bc1'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ______________ test_bilinear_form[CellType.hexahedron-1-float64] _______________ 280s 280s dtype = 'float64', P = 1, cell_type = CellType.hexahedron 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 280s 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} 280s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_291e60cb8b469...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_8a2b1e34cbccf1767bdf5ad165ef0f23ea5d6f41'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ______________ test_bilinear_form[CellType.hexahedron-2-float32] _______________ 280s 280s dtype = 'float32', P = 2, cell_type = CellType.hexahedron 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s 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]) 280s 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} 280s 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_73ff43555066ff8dfb222dd8bef9ad2baba82bc8'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ______________ test_bilinear_form[CellType.hexahedron-2-float64] _______________ 280s 280s dtype = 'float64', P = 2, cell_type = CellType.hexahedron 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s 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]) 280s 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} 280s 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_09f2194b1824438d75c9269c66e9a159d4623a81'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ______________ test_bilinear_form[CellType.hexahedron-3-float32] _______________ 280s 280s dtype = 'float32', P = 3, cell_type = CellType.hexahedron 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s 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]) 280s 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} 280s finite_element_names = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_12b86e0e5aacd262b951f414f658b59104185bb2'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s ______________ test_bilinear_form[CellType.hexahedron-3-float64] _______________ 280s 280s dtype = 'float64', P = 3, cell_type = CellType.hexahedron 280s 280s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 280s @pytest.mark.parametrize("P", [1, 2, 3]) 280s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 280s def test_bilinear_form(dtype, P, cell_type): 280s gdim = cell_to_gdim(cell_type) 280s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 280s coords = create_tensor_product_element( 280s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 280s ) 280s mesh = ufl.Mesh(coords) 280s V = ufl.FunctionSpace(mesh, element) 280s 280s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 280s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 280s 280s ndofs = element.dim 280s 280s A = np.zeros((ndofs, ndofs), dtype=dtype) 280s w = np.array([], dtype=dtype) 280s c = np.array([], dtype=dtype) 280s 280s xdtype = dtype_to_scalar_dtype(dtype) 280s if cell_type == basix.CellType.quadrilateral: 280s coords = np.array( 280s [[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 280s ) 280s elif cell_type == basix.CellType.hexahedron: 280s coords = np.array( 280s [ 280s [0.0, 0.0, 0.0], 280s [1.0, 0.0, 0.0], 280s [0.0, 1.0, 0.0], 280s [1.0, 1.0, 0.0], 280s [0.0, 0.0, 1.0], 280s [1.0, 0.0, 1.0], 280s [0.0, 1.0, 1.0], 280s [1.0, 1.0, 1.0], 280s ], 280s dtype=xdtype, 280s ) 280s 280s c_type = dtype_to_c_type(dtype) 280s c_xtype = dtype_to_c_type(xdtype) 280s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:104: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/test/test_tensor_product.py:43: in generate_kernel 280s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:276: in compile_forms 280s raise e 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:256: in compile_forms 280s impl = _compile_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/codegeneration/jit.py:383: in _compile_objects 280s _, code_body = ffcx.compiler.compile_ufl_objects( 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/compiler.py:113: in compile_ufl_objects 280s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:215: in compute_ir 280s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s 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]) 280s 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} 280s finite_element_names = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_917100974a8963b0cf01829498c63e588b4095d7'} 280s 280s def _compute_element_ir(element, element_numbers, finite_element_names): 280s """Compute intermediate representation of element.""" 280s logger.info(f"Computing IR for element {element}") 280s 280s # Create basix elements 280s cell = element.cell 280s 280s # Store id 280s ir = {"id": element_numbers[element]} 280s ir["name"] = finite_element_names[element] 280s 280s # Compute data for each function 280s ir["signature"] = repr(element) 280s ir["cell_shape"] = element.cell_type.name 280s ir["topological_dimension"] = cell.topological_dimension() 280s ir["space_dimension"] = element.dim + element.num_global_support_dofs 280s > ir["element_type"] = element.ufcx_element_type 280s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 280s 280s /tmp/autopkgtest.nMjLDR/build.7f3/src/ffcx/ir/representation.py:293: AttributeError 280s =============================== warnings summary =============================== 280s test/test_jit_forms.py::test_facet_vertex_quadrature 280s /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. 280s warnings.warn( 280s 280s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 280s =========================== short test summary info ============================ 280s SKIPPED [4] test/test_signatures.py:41: Numba not installed 280s FAILED test/test_add_mode.py::test_additive_facet_integral[float32] - Attribu... 280s FAILED test/test_add_mode.py::test_additive_facet_integral[float64] - Attribu... 280s FAILED test/test_add_mode.py::test_additive_facet_integral[complex64] - Attri... 280s FAILED test/test_add_mode.py::test_additive_facet_integral[complex128] - Attr... 280s FAILED test/test_add_mode.py::test_additive_cell_integral[float32] - Attribut... 280s FAILED test/test_add_mode.py::test_additive_cell_integral[float64] - Attribut... 280s FAILED test/test_add_mode.py::test_additive_cell_integral[complex64] - Attrib... 280s FAILED test/test_add_mode.py::test_additive_cell_integral[complex128] - Attri... 280s FAILED test/test_blocked_elements.py::test_finite_element - AttributeError: '... 280s FAILED test/test_blocked_elements.py::test_vector_element - AttributeError: '... 280s FAILED test/test_blocked_elements.py::test_tensor_element - AttributeError: '... 280s FAILED test/test_blocked_elements.py::test_vector_quadrature_element - Attrib... 280s FAILED test/test_cache.py::test_cache_modes - AttributeError: '_BasixElement'... 280s FAILED test/test_cmdline.py::test_visualise - AssertionError: assert False 280s FAILED test/test_jit_expression.py::test_matvec - AttributeError: '_BasixElem... 280s FAILED test/test_jit_expression.py::test_rank1 - AttributeError: '_BasixEleme... 280s FAILED test/test_jit_expression.py::test_elimiate_zero_tables_tensor - Attrib... 280s FAILED test/test_jit_expression.py::test_facet_expression - AttributeError: m... 280s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] 280s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] 280s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] 280s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] 280s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] 280s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] 280s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] 280s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] 280s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] 280s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] 280s FAILED test/test_jit_forms.py::test_form_coefficient - AttributeError: '_Basi... 280s FAILED test/test_jit_forms.py::test_subdomains - AttributeError: '_BasixEleme... 280s FAILED test/test_jit_forms.py::test_interior_facet_integral[float64] - Attrib... 280s FAILED test/test_jit_forms.py::test_interior_facet_integral[complex128] - Att... 280s FAILED test/test_jit_forms.py::test_conditional[float64] - AttributeError: '_... 280s FAILED test/test_jit_forms.py::test_conditional[complex128] - AttributeError:... 280s FAILED test/test_jit_forms.py::test_custom_quadrature - AttributeError: '_Bas... 280s FAILED test/test_jit_forms.py::test_curl_curl - AttributeError: '_BasixElemen... 280s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] 280s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] 280s FAILED test/test_jit_forms.py::test_prism - AttributeError: '_BasixElement' o... 280s FAILED test/test_jit_forms.py::test_complex_operations - AttributeError: '_Ba... 280s FAILED test/test_jit_forms.py::test_invalid_function_name - RuntimeError: Com... 280s FAILED test/test_jit_forms.py::test_interval_vertex_quadrature - AttributeErr... 280s FAILED test/test_jit_forms.py::test_facet_vertex_quadrature - AttributeError:... 280s FAILED test/test_jit_forms.py::test_manifold_derivatives - AttributeError: '_... 280s FAILED test/test_jit_forms.py::test_integral_grouping - AttributeError: '_Bas... 280s FAILED test/test_submesh.py::test_multiple_mesh_codim0[float64] - AttributeEr... 280s FAILED test/test_submesh.py::test_multiple_mesh_codim0[complex128] - Attribut... 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] 280s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] 280s ======== 75 failed, 8 passed, 4 skipped, 1 warning in 72.15s (0:01:12) ========= 280s autopkgtest [22:35:26]: test command1: -----------------------] 280s command1 FAIL non-zero exit status 1 280s autopkgtest [22:35:26]: test command1: - - - - - - - - - - results - - - - - - - - - - 281s autopkgtest [22:35:27]: @@@@@@@@@@@@@@@@@@@@ summary 281s command1 FAIL non-zero exit status 1 292s nova [W] Using flock in prodstack6-ppc64el 292s Creating nova instance adt-plucky-ppc64el-fenics-ffcx-20241123-223046-juju-7f2275-prod-proposed-migration-environment-20-2a05b104-7dac-4956-8289-085aa88c73c8 from image adt/ubuntu-plucky-ppc64el-server-20241119.img (UUID dcc6a44c-21fb-45bb-821a-d64a8784c175)...