0s autopkgtest [20:31:47]: starting date and time: 2024-11-23 20:31:47+0000 0s autopkgtest [20:31:47]: git checkout: 6408f825 Correct logic in old-systemd fallback code 0s autopkgtest [20:31:47]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.pez2sbu9/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.149 lxd-armhf-10.145.243.149:autopkgtest/ubuntu/plucky/armhf 51s autopkgtest [20:32:38]: testbed dpkg architecture: armhf 53s autopkgtest [20:32:40]: testbed apt version: 2.9.8 53s autopkgtest [20:32:40]: @@@@@@@@@@@@@@@@@@@@ test bed setup 62s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 62s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [930 kB] 62s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [54.8 kB] 62s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 62s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 62s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [63.6 kB] 62s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 62s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [727 kB] 62s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5924 B] 62s Fetched 1879 kB in 1s (2194 kB/s) 63s Reading package lists... 82s tee: /proc/self/fd/2: Permission denied 104s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 104s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 104s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 104s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 105s Reading package lists... 105s Reading package lists... 106s Building dependency tree... 106s Reading state information... 106s Calculating upgrade... 107s The following packages will be upgraded: 107s bash debconf debconf-i18n python3-blinker python3-debconf vim-common 107s vim-tiny xxd 107s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 107s Need to get 2172 kB of archives. 107s After this operation, 1024 B disk space will be freed. 107s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.32-1ubuntu2 [673 kB] 108s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf debconf-i18n all 1.5.87ubuntu1 [204 kB] 108s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3-debconf all 1.5.87ubuntu1 [4156 B] 108s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf debconf all 1.5.87ubuntu1 [124 kB] 108s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0861-1ubuntu1 [694 kB] 108s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 108s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0861-1ubuntu1 [67.0 kB] 108s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3-blinker all 1.9.0-1 [10.7 kB] 109s Preconfiguring packages ... 109s Fetched 2172 kB in 2s (1364 kB/s) 109s (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 ... 59616 files and directories currently installed.) 109s Preparing to unpack .../bash_5.2.32-1ubuntu2_armhf.deb ... 109s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 109s Setting up bash (5.2.32-1ubuntu2) ... 109s 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 109s (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 ... 59616 files and directories currently installed.) 109s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 109s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 109s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 109s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 109s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 109s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 109s Setting up debconf (1.5.87ubuntu1) ... 109s (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 ... 59616 files and directories currently installed.) 109s Preparing to unpack .../vim-tiny_2%3a9.1.0861-1ubuntu1_armhf.deb ... 109s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 109s Preparing to unpack .../vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 109s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 109s Preparing to unpack .../xxd_2%3a9.1.0861-1ubuntu1_armhf.deb ... 109s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 110s Preparing to unpack .../python3-blinker_1.9.0-1_all.deb ... 110s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 110s Setting up python3-debconf (1.5.87ubuntu1) ... 110s Setting up debconf-i18n (1.5.87ubuntu1) ... 110s Setting up xxd (2:9.1.0861-1ubuntu1) ... 110s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 110s Setting up python3-blinker (1.9.0-1) ... 110s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 110s Processing triggers for debianutils (5.21) ... 110s Processing triggers for install-info (7.1.1-1) ... 110s Processing triggers for man-db (2.13.0-1) ... 111s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s autopkgtest [20:33:42]: rebooting testbed after setup commands that affected boot 191s autopkgtest [20:34:58]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 218s autopkgtest [20:35:25]: @@@@@@@@@@@@@@@@@@@@ apt-source fenics-ffcx 233s Get:1 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (dsc) [2533 B] 233s Get:2 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (tar) [134 kB] 233s Get:3 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (diff) [9740 B] 234s gpgv: Signature made Thu Apr 25 09:26:51 2024 UTC 234s gpgv: using RSA key 1B5D04B1E507BBF03669E2B801F35FC33E73AF8C 234s gpgv: Can't check signature: No public key 234s dpkg-source: warning: cannot verify inline signature for ./fenics-ffcx_0.8.0-1.dsc: no acceptable signature found 234s autopkgtest [20:35:41]: testing package fenics-ffcx version 1:0.8.0-1 236s autopkgtest [20:35:43]: build not needed 238s autopkgtest [20:35:45]: test command1: preparing testbed 249s Reading package lists... 250s Building dependency tree... 250s Reading state information... 250s Starting pkgProblemResolver with broken count: 0 250s Starting 2 pkgProblemResolver with broken count: 0 250s Done 251s The following additional packages will be installed: 251s autoconf automake autopoint autotools-dev build-essential cmake cmake-data 251s cpp cpp-14 cpp-14-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper 251s debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common 251s dwz fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 251s fonts-font-awesome fonts-lato g++ g++-14 g++-14-arm-linux-gnueabihf 251s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 251s gcc-arm-linux-gnueabihf gettext graphviz intltool-debian libaom3 251s libarchive-zip-perl libasan8 libbasix-dev libbasix0.9 libblas3 251s libboost-math-dev libboost-math1.83-dev libboost-math1.83.0 libboost1.83-dev 251s libc-dev-bin libc6-dev libcairo2 libcc1-0 libcdt5 libcgraph6 libcrypt-dev 251s libdatrie1 libde265-0 libdebhelper-perl libdeflate0 libeigen3-dev 251s libexpat1-dev libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 251s libgcc-14-dev libgd3 libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 251s libgvc6 libgvpr2 libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 251s libheif1 libice6 libimagequant0 libisl23 libjbig0 libjpeg-turbo8 libjpeg8 251s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 251s liblab-gamut1 liblapack3 liblerc4 libltdl7 libmpc3 libpango-1.0-0 251s libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 251s libpython3-all-dev libpython3-dev libpython3.12-dev libpython3.12t64 251s libraqm0 librhash0 libsharpyuv0 libsm6 libstdc++-14-dev libthai-data 251s libthai0 libtiff6 libtool libubsan1 libwebp7 libxaw7 libxcb-render0 251s libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 linux-libc-dev m4 251s pkg-config pkgconf pkgconf-bin po-debconf pybuild-plugin-pyproject 251s python3-alabaster python3-all python3-all-dev python3-basix python3-build 251s python3-cffi python3-defusedxml python3-dev python3-docutils python3-ffcx 251s python3-imagesize python3-iniconfig python3-installer python3-mpmath 251s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 251s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 251s python3-roman python3-snowballstemmer python3-sphinx 251s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 251s python3-toml python3-ufl python3-wheel python3.12-dev rpcsvc-proto sgml-base 251s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 251s Suggested packages: 251s autoconf-archive gnu-standards autoconf-doc cmake-doc cmake-format 251s elpa-cmake-mode ninja-build cpp-doc gcc-14-locales cpp-14-doc dh-make flit 251s gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 251s gdb-arm-linux-gnueabihf gettext-doc libasprintf-dev libgettextpo-dev gsfonts 251s graphviz-doc basix-doc libboost1.83-doc libboost-atomic1.83-dev 251s libboost-chrono1.83-dev libboost-container1.83-dev libboost-context1.83-dev 251s libboost-contract1.83-dev libboost-coroutine1.83-dev 251s libboost-date-time1.83-dev libboost-exception1.83-dev libboost-fiber1.83-dev 251s libboost-filesystem1.83-dev libboost-graph-parallel1.83-dev 251s libboost-graph1.83-dev libboost-iostreams1.83-dev libboost-json1.83-dev 251s libboost-locale1.83-dev libboost-log1.83-dev libboost-mpi-python1.83-dev 251s libboost-mpi1.83-dev libboost-nowide1.83-dev libboost-numpy1.83-dev 251s libboost-program-options1.83-dev libboost-python1.83-dev 251s libboost-random1.83-dev libboost-regex1.83-dev 251s libboost-serialization1.83-dev libboost-stacktrace1.83-dev 251s libboost-system1.83-dev libboost-test1.83-dev libboost-thread1.83-dev 251s libboost-timer1.83-dev libboost-type-erasure1.83-dev libboost-url1.83-dev 251s libboost-wave1.83-dev libboost1.83-tools-dev libmpfrc++-dev libntl-dev 251s libc-devtools glibc-doc libeigen3-doc libgd-tools libheif-plugin-x265 251s libheif-plugin-ffmpegdec libheif-plugin-jpegdec libheif-plugin-jpegenc 251s libheif-plugin-j2kdec libheif-plugin-j2kenc libheif-plugin-kvazaar 251s libheif-plugin-rav1e libheif-plugin-svtenc libstdc++-14-doc libtool-doc 251s gfortran | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-venv 251s python-build-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine 251s texlive-lang-french texlive-latex-base texlive-latex-recommended 251s python-installer-doc python-mpmath-doc python3-gmpy2 python3-matplotlib 251s gfortran python-numpy-doc python-ply-doc python-pygraphviz-doc 251s python3-stemmer dvipng dvisvgm fonts-freefont-otf imagemagick-6.q16 latexmk 251s libjs-mathjax sphinx-doc tex-gyre texlive-fonts-extra 251s texlive-fonts-recommended texlive-latex-extra texlive-plain-generic 251s python-sympy-doc python-ufl-doc sgml-base-doc 251s Recommended packages: 251s fonts-liberation manpages manpages-dev libarchive-cpio-perl libgts-bin 251s libheif-plugin-aomenc javascript-common libjson-xs-perl libssl3 libltdl-dev 251s libmail-sendmail-perl libpaper-utils python3-pil isympy-common 251s The following NEW packages will be installed: 251s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 251s cmake cmake-data cpp cpp-14 cpp-14-arm-linux-gnueabihf 251s cpp-arm-linux-gnueabihf debhelper debugedit dh-autoreconf dh-python 251s dh-strip-nondeterminism docutils-common dwz fontconfig fontconfig-config 251s fonts-dejavu-core fonts-dejavu-mono fonts-font-awesome fonts-lato g++ g++-14 251s g++-14-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-14 251s gcc-14-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext graphviz 251s intltool-debian libaom3 libarchive-zip-perl libasan8 libbasix-dev 251s libbasix0.9 libblas3 libboost-math-dev libboost-math1.83-dev 251s libboost-math1.83.0 libboost1.83-dev libc-dev-bin libc6-dev libcairo2 251s libcc1-0 libcdt5 libcgraph6 libcrypt-dev libdatrie1 libde265-0 251s libdebhelper-perl libdeflate0 libeigen3-dev libexpat1-dev 251s libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libgcc-14-dev 251s libgd3 libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 251s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 libice6 251s libimagequant0 libisl23 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery 251s libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 liblab-gamut1 251s liblapack3 liblerc4 libltdl7 libmpc3 libpango-1.0-0 libpangocairo-1.0-0 251s libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 libpython3-all-dev 251s libpython3-dev libpython3.12-dev libpython3.12t64 libraqm0 librhash0 251s libsharpyuv0 libsm6 libstdc++-14-dev libthai-data libthai0 libtiff6 libtool 251s libubsan1 libwebp7 libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4 251s libxrender1 libxt6t64 linux-libc-dev m4 pkg-config pkgconf pkgconf-bin 251s po-debconf pybuild-plugin-pyproject python3-alabaster python3-all 251s python3-all-dev python3-basix python3-build python3-cffi python3-defusedxml 251s python3-dev python3-docutils python3-ffcx python3-imagesize 251s python3-iniconfig python3-installer python3-mpmath python3-numpy 251s python3-packaging python3-pip python3-pluggy python3-ply python3-pycparser 251s python3-pygraphviz python3-pyproject-hooks python3-pytest python3-roman 251s python3-snowballstemmer python3-sphinx python3-sphinx-rtd-theme 251s python3-sphinxcontrib.jquery python3-sympy python3-toml python3-ufl 251s python3-wheel python3.12-dev rpcsvc-proto sgml-base sphinx-common 251s sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 251s 0 upgraded, 165 newly installed, 0 to remove and 0 not upgraded. 251s Need to get 116 MB/116 MB of archives. 251s After this operation, 520 MB of additional disk space will be used. 251s Get:1 /tmp/autopkgtest.mecMNi/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [892 B] 251s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-lato all 2.015-1 [2781 kB] 252s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf sgml-base all 1.31 [11.4 kB] 252s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf m4 armhf 1.4.19-4build1 [235 kB] 252s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf autoconf all 2.72-3 [382 kB] 252s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf autotools-dev all 20220109.1 [44.9 kB] 252s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf automake all 1:1.16.5-1.3ubuntu1 [558 kB] 252s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf autopoint all 0.22.5-2 [616 kB] 252s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-1ubuntu3 [19.2 kB] 252s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.11.0-8.8 [1628 kB] 252s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.36-5 [119 kB] 252s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 252s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-1ubuntu3 [1370 kB] 252s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 252s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 252s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [9219 kB] 253s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-8ubuntu1 [1032 B] 253s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [5464 B] 253s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.1.0-2ubuntu1 [22.4 kB] 253s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 14.2.0-8ubuntu1 [43.3 kB] 253s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 14.2.0-8ubuntu1 [125 kB] 253s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 14.2.0-8ubuntu1 [2901 kB] 253s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 14.2.0-8ubuntu1 [1150 kB] 253s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-8ubuntu1 [897 kB] 253s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [18.0 MB] 254s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-8ubuntu1 [498 kB] 254s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [1222 B] 254s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.1.0-2ubuntu1 [5002 B] 254s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-8ubuntu1 [2569 kB] 255s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-8ubuntu1 [10.5 MB] 255s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-8ubuntu1 [19.9 kB] 255s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.1.0-2ubuntu1 [968 B] 255s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.1.0-2ubuntu1 [1084 B] 255s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 255s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libjsoncpp25 armhf 1.9.5-6build1 [75.3 kB] 255s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf librhash0 armhf 1.4.3-3build1 [143 kB] 255s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf cmake-data all 3.30.3-1 [2246 kB] 255s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf cmake armhf 3.30.3-1 [6319 kB] 256s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 256s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libtool all 2.4.7-8 [166 kB] 256s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf dh-autoreconf all 20 [16.1 kB] 256s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 256s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 256s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf dh-strip-nondeterminism all 1.14.0-1 [5058 B] 256s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf debugedit armhf 1:5.1-1 [46.5 kB] 256s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf dwz armhf 0.15-1build6 [116 kB] 256s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf gettext armhf 0.22.5-2 [995 kB] 256s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 256s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 256s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf debhelper all 13.20ubuntu1 [893 kB] 256s Get:51 http://ftpmaster.internal/ubuntu plucky/universe armhf dh-python all 6.20241024 [112 kB] 256s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf xml-core all 0.19 [20.3 kB] 256s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf docutils-common all 0.21.2+dfsg-2 [131 kB] 256s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libfreetype6 armhf 2.13.3+dfsg-1 [330 kB] 256s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-dejavu-mono all 2.37-8 [502 kB] 256s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-dejavu-core all 2.37-8 [835 kB] 256s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf fontconfig-config armhf 2.15.0-1.1ubuntu2 [37.4 kB] 256s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf libfontconfig1 armhf 2.15.0-1.1ubuntu2 [113 kB] 256s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf fontconfig armhf 2.15.0-1.1ubuntu2 [189 kB] 256s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 256s Get:61 http://ftpmaster.internal/ubuntu plucky/universe armhf libcdt5 armhf 2.42.4-2build3 [19.4 kB] 256s Get:62 http://ftpmaster.internal/ubuntu plucky/universe armhf libcgraph6 armhf 2.42.4-2build3 [37.6 kB] 256s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf libsharpyuv0 armhf 1.4.0-0.1 [16.3 kB] 256s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf libaom3 armhf 3.11.0-1 [1759 kB] 256s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf libheif-plugin-aomdec armhf 1.19.3-1 [11.0 kB] 256s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf libde265-0 armhf 1.0.15-1build4 [157 kB] 256s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf libheif-plugin-libde265 armhf 1.19.3-1 [11.5 kB] 256s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf libheif1 armhf 1.19.3-1 [451 kB] 256s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libimagequant0 armhf 2.18.0-1build1 [31.1 kB] 256s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg-turbo8 armhf 2.1.5-3ubuntu2 [127 kB] 256s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf libjpeg8 armhf 8c-2ubuntu11 [2148 B] 256s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf libgraphite2-3 armhf 1.3.14-2ubuntu1 [64.8 kB] 256s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf libharfbuzz0b armhf 10.0.1-1 [463 kB] 256s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf libraqm0 armhf 0.10.1-1build1 [12.4 kB] 256s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf libdeflate0 armhf 1.22-1 [38.9 kB] 256s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf libjbig0 armhf 2.1-6.1ubuntu2 [24.9 kB] 256s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf liblerc4 armhf 4.0.0+ds-5ubuntu1 [160 kB] 256s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf libwebp7 armhf 1.4.0-0.1 [184 kB] 256s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf libtiff6 armhf 4.5.1+git230720-4ubuntu4 [179 kB] 257s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libxpm4 armhf 1:3.5.17-1build2 [30.1 kB] 257s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libgd3 armhf 2.3.3-12ubuntu3 [108 kB] 257s Get:82 http://ftpmaster.internal/ubuntu plucky/universe armhf libgts-0.7-5t64 armhf 0.7.6+darcs121130-5.2build1 [139 kB] 257s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf libpixman-1-0 armhf 0.44.0-3 [183 kB] 257s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-render0 armhf 1.17.0-2 [15.3 kB] 257s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-shm0 armhf 1.17.0-2 [5774 B] 257s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf libxrender1 armhf 1:0.9.10-1.1build1 [16.0 kB] 257s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf libcairo2 armhf 1.18.2-2 [484 kB] 257s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf libltdl7 armhf 2.4.7-8 [37.7 kB] 257s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf libthai-data all 0.1.29-2build1 [158 kB] 257s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf libdatrie1 armhf 0.2.13-3build1 [15.7 kB] 257s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf libthai0 armhf 0.1.29-2build1 [15.2 kB] 257s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf libpango-1.0-0 armhf 1.54.0+ds-3 [212 kB] 257s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf libpangoft2-1.0-0 armhf 1.54.0+ds-3 [42.9 kB] 257s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf libpangocairo-1.0-0 armhf 1.54.0+ds-3 [24.8 kB] 257s Get:95 http://ftpmaster.internal/ubuntu plucky/universe armhf libpathplan4 armhf 2.42.4-2build3 [21.7 kB] 257s Get:96 http://ftpmaster.internal/ubuntu plucky/universe armhf libgvc6 armhf 2.42.4-2build3 [621 kB] 257s Get:97 http://ftpmaster.internal/ubuntu plucky/universe armhf libgvpr2 armhf 2.42.4-2build3 [161 kB] 257s Get:98 http://ftpmaster.internal/ubuntu plucky/universe armhf liblab-gamut1 armhf 2.42.4-2build3 [1833 kB] 257s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf x11-common all 1:7.7+23ubuntu3 [21.7 kB] 257s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libice6 armhf 2:1.1.1-1 [36.5 kB] 257s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libsm6 armhf 2:1.2.4-1 [15.1 kB] 257s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libxt6t64 armhf 1:1.2.1-1.2build1 [145 kB] 257s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libxmu6 armhf 2:1.1.3-3build2 [40.4 kB] 257s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf libxaw7 armhf 2:1.0.16-1 [154 kB] 257s Get:105 http://ftpmaster.internal/ubuntu plucky/universe armhf graphviz armhf 2.42.4-2build3 [540 kB] 257s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf libblas3 armhf 3.12.0-3build2 [126 kB] 257s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf libgfortran5 armhf 14.2.0-8ubuntu1 [311 kB] 257s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf liblapack3 armhf 3.12.0-3build2 [2086 kB] 258s Get:109 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf libbasix0.9 armhf 0.9.0-2build1 [426 kB] 258s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB] 258s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB] 258s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB] 258s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf pkg-config armhf 1.8.1-4 [7362 B] 258s Get:114 http://ftpmaster.internal/ubuntu plucky/universe armhf libeigen3-dev all 3.4.0-4build1 [1055 kB] 258s Get:115 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf libbasix-dev armhf 0.9.0-2build1 [62.2 kB] 258s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf libboost1.83-dev armhf 1.83.0-3.2ubuntu2 [10.7 MB] 258s Get:117 http://ftpmaster.internal/ubuntu plucky/universe armhf libboost-math1.83.0 armhf 1.83.0-3.2ubuntu2 [347 kB] 258s Get:118 http://ftpmaster.internal/ubuntu plucky/universe armhf libboost-math1.83-dev armhf 1.83.0-3.2ubuntu2 [360 kB] 258s Get:119 http://ftpmaster.internal/ubuntu plucky/universe armhf libboost-math-dev armhf 1.83.0.2ubuntu1 [4434 B] 258s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf libexpat1-dev armhf 2.6.4-1 [121 kB] 258s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 258s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 258s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] 258s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-perl all 4.10000-1 [81.9 kB] 258s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12t64 armhf 3.12.7-3 [2075 kB] 258s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB] 258s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-dev armhf 3.12.7-3 [4344 kB] 259s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-dev armhf 3.12.6-0ubuntu1 [10.2 kB] 259s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-all-dev armhf 3.12.6-0ubuntu1 [914 B] 259s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 259s Get:131 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 259s Get:132 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-toml all 0.10.2-1 [16.5 kB] 259s Get:133 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-wheel all 0.45.0-1 [57.7 kB] 259s Get:134 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-build all 1.2.2-1 [31.0 kB] 259s Get:135 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 259s Get:136 http://ftpmaster.internal/ubuntu plucky/universe armhf pybuild-plugin-pyproject all 6.20241024 [1728 B] 259s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.12.6-0ubuntu1 [886 B] 259s Get:138 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-dev armhf 3.12.7-3 [505 kB] 259s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dev armhf 3.12.6-0ubuntu1 [26.7 kB] 259s Get:140 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all-dev armhf 3.12.6-0ubuntu1 [908 B] 259s Get:141 http://ftpmaster.internal/ubuntu plucky/main armhf python3-numpy armhf 1:1.26.4+ds-11ubuntu1 [3975 kB] 259s Get:142 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-ufl all 2024.2.0-2 [145 kB] 259s Get:143 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-basix armhf 0.9.0-2build1 [126 kB] 259s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf python3-ply all 3.11-7 [45.4 kB] 259s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pycparser all 2.22-2 [76.5 kB] 259s Get:146 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cffi all 1.17.1-2build1 [74.8 kB] 259s Get:147 http://ftpmaster.internal/ubuntu plucky/main armhf python3-defusedxml all 0.7.1-2 [42.0 kB] 259s Get:148 http://ftpmaster.internal/ubuntu plucky/main armhf python3-roman all 4.2-1 [10.0 kB] 259s Get:149 http://ftpmaster.internal/ubuntu plucky/main armhf python3-docutils all 0.21.2+dfsg-2 [409 kB] 259s Get:150 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-ffcx all 1:0.8.0-1 [92.9 kB] 259s Get:151 http://ftpmaster.internal/ubuntu plucky/main armhf python3-imagesize all 1.4.1-1 [6844 B] 259s Get:152 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 259s Get:153 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-mpmath all 1.3.0-1 [425 kB] 259s Get:154 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pip all 24.3.1+dfsg-1 [1404 kB] 259s Get:155 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 259s Get:156 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pygraphviz armhf 1.14-1build1 [81.4 kB] 259s Get:157 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 259s Get:158 http://ftpmaster.internal/ubuntu plucky/main armhf python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 259s Get:159 http://ftpmaster.internal/ubuntu plucky/main armhf sphinx-common all 7.4.7-4 [775 kB] 259s Get:160 http://ftpmaster.internal/ubuntu plucky/main armhf python3-alabaster all 0.7.16-0.1 [18.5 kB] 259s Get:161 http://ftpmaster.internal/ubuntu plucky/main armhf python3-sphinx all 7.4.7-4 [593 kB] 259s Get:162 http://ftpmaster.internal/ubuntu plucky/main armhf sphinx-rtd-theme-common all 3.0.2+dfsg-1 [1014 kB] 259s Get:163 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 259s Get:164 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sphinx-rtd-theme all 3.0.2+dfsg-1 [23.5 kB] 259s Get:165 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sympy all 1.13.3-1 [4228 kB] 260s Fetched 116 MB in 8s (14.3 MB/s) 260s Selecting previously unselected package fonts-lato. 260s (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 ... 59616 files and directories currently installed.) 260s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 260s Unpacking fonts-lato (2.015-1) ... 260s Selecting previously unselected package sgml-base. 260s Preparing to unpack .../001-sgml-base_1.31_all.deb ... 260s Unpacking sgml-base (1.31) ... 260s Selecting previously unselected package m4. 260s Preparing to unpack .../002-m4_1.4.19-4build1_armhf.deb ... 260s Unpacking m4 (1.4.19-4build1) ... 260s Selecting previously unselected package autoconf. 260s Preparing to unpack .../003-autoconf_2.72-3_all.deb ... 260s Unpacking autoconf (2.72-3) ... 260s Selecting previously unselected package autotools-dev. 260s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 260s Unpacking autotools-dev (20220109.1) ... 260s Selecting previously unselected package automake. 260s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 260s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 260s Selecting previously unselected package autopoint. 260s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 260s Unpacking autopoint (0.22.5-2) ... 261s Selecting previously unselected package libc-dev-bin. 261s Preparing to unpack .../007-libc-dev-bin_2.40-1ubuntu3_armhf.deb ... 261s Unpacking libc-dev-bin (2.40-1ubuntu3) ... 261s Selecting previously unselected package linux-libc-dev:armhf. 261s Preparing to unpack .../008-linux-libc-dev_6.11.0-8.8_armhf.deb ... 261s Unpacking linux-libc-dev:armhf (6.11.0-8.8) ... 261s Selecting previously unselected package libcrypt-dev:armhf. 261s Preparing to unpack .../009-libcrypt-dev_1%3a4.4.36-5_armhf.deb ... 261s Unpacking libcrypt-dev:armhf (1:4.4.36-5) ... 261s Selecting previously unselected package rpcsvc-proto. 261s Preparing to unpack .../010-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 261s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 261s Selecting previously unselected package libc6-dev:armhf. 261s Preparing to unpack .../011-libc6-dev_2.40-1ubuntu3_armhf.deb ... 261s Unpacking libc6-dev:armhf (2.40-1ubuntu3) ... 261s Selecting previously unselected package libisl23:armhf. 261s Preparing to unpack .../012-libisl23_0.27-1_armhf.deb ... 261s Unpacking libisl23:armhf (0.27-1) ... 261s Selecting previously unselected package libmpc3:armhf. 261s Preparing to unpack .../013-libmpc3_1.3.1-1build2_armhf.deb ... 261s Unpacking libmpc3:armhf (1.3.1-1build2) ... 261s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 261s Preparing to unpack .../014-cpp-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 261s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 261s Selecting previously unselected package cpp-14. 261s Preparing to unpack .../015-cpp-14_14.2.0-8ubuntu1_armhf.deb ... 261s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 261s Selecting previously unselected package cpp-arm-linux-gnueabihf. 261s Preparing to unpack .../016-cpp-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 261s Unpacking cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 261s Selecting previously unselected package cpp. 261s Preparing to unpack .../017-cpp_4%3a14.1.0-2ubuntu1_armhf.deb ... 261s Unpacking cpp (4:14.1.0-2ubuntu1) ... 261s Selecting previously unselected package libcc1-0:armhf. 261s Preparing to unpack .../018-libcc1-0_14.2.0-8ubuntu1_armhf.deb ... 261s Unpacking libcc1-0:armhf (14.2.0-8ubuntu1) ... 261s Selecting previously unselected package libgomp1:armhf. 261s Preparing to unpack .../019-libgomp1_14.2.0-8ubuntu1_armhf.deb ... 261s Unpacking libgomp1:armhf (14.2.0-8ubuntu1) ... 261s Selecting previously unselected package libasan8:armhf. 261s Preparing to unpack .../020-libasan8_14.2.0-8ubuntu1_armhf.deb ... 261s Unpacking libasan8:armhf (14.2.0-8ubuntu1) ... 262s Selecting previously unselected package libubsan1:armhf. 262s Preparing to unpack .../021-libubsan1_14.2.0-8ubuntu1_armhf.deb ... 262s Unpacking libubsan1:armhf (14.2.0-8ubuntu1) ... 262s Selecting previously unselected package libgcc-14-dev:armhf. 262s Preparing to unpack .../022-libgcc-14-dev_14.2.0-8ubuntu1_armhf.deb ... 262s Unpacking libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 262s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 262s Preparing to unpack .../023-gcc-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 262s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 262s Selecting previously unselected package gcc-14. 262s Preparing to unpack .../024-gcc-14_14.2.0-8ubuntu1_armhf.deb ... 262s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 262s Selecting previously unselected package gcc-arm-linux-gnueabihf. 262s Preparing to unpack .../025-gcc-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 262s Unpacking gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 262s Selecting previously unselected package gcc. 262s Preparing to unpack .../026-gcc_4%3a14.1.0-2ubuntu1_armhf.deb ... 262s Unpacking gcc (4:14.1.0-2ubuntu1) ... 262s Selecting previously unselected package libstdc++-14-dev:armhf. 262s Preparing to unpack .../027-libstdc++-14-dev_14.2.0-8ubuntu1_armhf.deb ... 262s Unpacking libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 263s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 263s Preparing to unpack .../028-g++-14-arm-linux-gnueabihf_14.2.0-8ubuntu1_armhf.deb ... 263s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 263s Selecting previously unselected package g++-14. 263s Preparing to unpack .../029-g++-14_14.2.0-8ubuntu1_armhf.deb ... 263s Unpacking g++-14 (14.2.0-8ubuntu1) ... 263s Selecting previously unselected package g++-arm-linux-gnueabihf. 263s Preparing to unpack .../030-g++-arm-linux-gnueabihf_4%3a14.1.0-2ubuntu1_armhf.deb ... 263s Unpacking g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 263s Selecting previously unselected package g++. 263s Preparing to unpack .../031-g++_4%3a14.1.0-2ubuntu1_armhf.deb ... 263s Unpacking g++ (4:14.1.0-2ubuntu1) ... 263s Selecting previously unselected package build-essential. 263s Preparing to unpack .../032-build-essential_12.10ubuntu1_armhf.deb ... 263s Unpacking build-essential (12.10ubuntu1) ... 263s Selecting previously unselected package libjsoncpp25:armhf. 263s Preparing to unpack .../033-libjsoncpp25_1.9.5-6build1_armhf.deb ... 263s Unpacking libjsoncpp25:armhf (1.9.5-6build1) ... 263s Selecting previously unselected package librhash0:armhf. 263s Preparing to unpack .../034-librhash0_1.4.3-3build1_armhf.deb ... 263s Unpacking librhash0:armhf (1.4.3-3build1) ... 263s Selecting previously unselected package cmake-data. 263s Preparing to unpack .../035-cmake-data_3.30.3-1_all.deb ... 263s Unpacking cmake-data (3.30.3-1) ... 264s Selecting previously unselected package cmake. 264s Preparing to unpack .../036-cmake_3.30.3-1_armhf.deb ... 264s Unpacking cmake (3.30.3-1) ... 264s Selecting previously unselected package libdebhelper-perl. 264s Preparing to unpack .../037-libdebhelper-perl_13.20ubuntu1_all.deb ... 264s Unpacking libdebhelper-perl (13.20ubuntu1) ... 264s Selecting previously unselected package libtool. 264s Preparing to unpack .../038-libtool_2.4.7-8_all.deb ... 264s Unpacking libtool (2.4.7-8) ... 264s Selecting previously unselected package dh-autoreconf. 264s Preparing to unpack .../039-dh-autoreconf_20_all.deb ... 264s Unpacking dh-autoreconf (20) ... 264s Selecting previously unselected package libarchive-zip-perl. 264s Preparing to unpack .../040-libarchive-zip-perl_1.68-1_all.deb ... 264s Unpacking libarchive-zip-perl (1.68-1) ... 264s Selecting previously unselected package libfile-stripnondeterminism-perl. 264s Preparing to unpack .../041-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 264s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 265s Selecting previously unselected package dh-strip-nondeterminism. 265s Preparing to unpack .../042-dh-strip-nondeterminism_1.14.0-1_all.deb ... 265s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 265s Selecting previously unselected package debugedit. 265s Preparing to unpack .../043-debugedit_1%3a5.1-1_armhf.deb ... 265s Unpacking debugedit (1:5.1-1) ... 265s Selecting previously unselected package dwz. 265s Preparing to unpack .../044-dwz_0.15-1build6_armhf.deb ... 265s Unpacking dwz (0.15-1build6) ... 265s Selecting previously unselected package gettext. 265s Preparing to unpack .../045-gettext_0.22.5-2_armhf.deb ... 265s Unpacking gettext (0.22.5-2) ... 265s Selecting previously unselected package intltool-debian. 265s Preparing to unpack .../046-intltool-debian_0.35.0+20060710.6_all.deb ... 265s Unpacking intltool-debian (0.35.0+20060710.6) ... 265s Selecting previously unselected package po-debconf. 265s Preparing to unpack .../047-po-debconf_1.0.21+nmu1_all.deb ... 265s Unpacking po-debconf (1.0.21+nmu1) ... 265s Selecting previously unselected package debhelper. 265s Preparing to unpack .../048-debhelper_13.20ubuntu1_all.deb ... 265s Unpacking debhelper (13.20ubuntu1) ... 265s Selecting previously unselected package dh-python. 265s Preparing to unpack .../049-dh-python_6.20241024_all.deb ... 265s Unpacking dh-python (6.20241024) ... 265s Selecting previously unselected package xml-core. 265s Preparing to unpack .../050-xml-core_0.19_all.deb ... 265s Unpacking xml-core (0.19) ... 265s Selecting previously unselected package docutils-common. 265s Preparing to unpack .../051-docutils-common_0.21.2+dfsg-2_all.deb ... 265s Unpacking docutils-common (0.21.2+dfsg-2) ... 265s Selecting previously unselected package libfreetype6:armhf. 266s Preparing to unpack .../052-libfreetype6_2.13.3+dfsg-1_armhf.deb ... 266s Unpacking libfreetype6:armhf (2.13.3+dfsg-1) ... 266s Selecting previously unselected package fonts-dejavu-mono. 266s Preparing to unpack .../053-fonts-dejavu-mono_2.37-8_all.deb ... 266s Unpacking fonts-dejavu-mono (2.37-8) ... 266s Selecting previously unselected package fonts-dejavu-core. 266s Preparing to unpack .../054-fonts-dejavu-core_2.37-8_all.deb ... 266s Unpacking fonts-dejavu-core (2.37-8) ... 266s Selecting previously unselected package fontconfig-config. 266s Preparing to unpack .../055-fontconfig-config_2.15.0-1.1ubuntu2_armhf.deb ... 266s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 266s Selecting previously unselected package libfontconfig1:armhf. 266s Preparing to unpack .../056-libfontconfig1_2.15.0-1.1ubuntu2_armhf.deb ... 266s Unpacking libfontconfig1:armhf (2.15.0-1.1ubuntu2) ... 266s Selecting previously unselected package fontconfig. 266s Preparing to unpack .../057-fontconfig_2.15.0-1.1ubuntu2_armhf.deb ... 266s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 266s Selecting previously unselected package fonts-font-awesome. 266s Preparing to unpack .../058-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 266s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 266s Selecting previously unselected package libcdt5:armhf. 266s Preparing to unpack .../059-libcdt5_2.42.4-2build3_armhf.deb ... 266s Unpacking libcdt5:armhf (2.42.4-2build3) ... 266s Selecting previously unselected package libcgraph6:armhf. 266s Preparing to unpack .../060-libcgraph6_2.42.4-2build3_armhf.deb ... 266s Unpacking libcgraph6:armhf (2.42.4-2build3) ... 266s Selecting previously unselected package libsharpyuv0:armhf. 266s Preparing to unpack .../061-libsharpyuv0_1.4.0-0.1_armhf.deb ... 266s Unpacking libsharpyuv0:armhf (1.4.0-0.1) ... 266s Selecting previously unselected package libaom3:armhf. 266s Preparing to unpack .../062-libaom3_3.11.0-1_armhf.deb ... 266s Unpacking libaom3:armhf (3.11.0-1) ... 266s Selecting previously unselected package libheif-plugin-aomdec:armhf. 266s Preparing to unpack .../063-libheif-plugin-aomdec_1.19.3-1_armhf.deb ... 266s Unpacking libheif-plugin-aomdec:armhf (1.19.3-1) ... 266s Selecting previously unselected package libde265-0:armhf. 266s Preparing to unpack .../064-libde265-0_1.0.15-1build4_armhf.deb ... 266s Unpacking libde265-0:armhf (1.0.15-1build4) ... 267s Selecting previously unselected package libheif-plugin-libde265:armhf. 267s Preparing to unpack .../065-libheif-plugin-libde265_1.19.3-1_armhf.deb ... 267s Unpacking libheif-plugin-libde265:armhf (1.19.3-1) ... 267s Selecting previously unselected package libheif1:armhf. 267s Preparing to unpack .../066-libheif1_1.19.3-1_armhf.deb ... 267s Unpacking libheif1:armhf (1.19.3-1) ... 267s Selecting previously unselected package libimagequant0:armhf. 267s Preparing to unpack .../067-libimagequant0_2.18.0-1build1_armhf.deb ... 267s Unpacking libimagequant0:armhf (2.18.0-1build1) ... 267s Selecting previously unselected package libjpeg-turbo8:armhf. 267s Preparing to unpack .../068-libjpeg-turbo8_2.1.5-3ubuntu2_armhf.deb ... 267s Unpacking libjpeg-turbo8:armhf (2.1.5-3ubuntu2) ... 267s Selecting previously unselected package libjpeg8:armhf. 267s Preparing to unpack .../069-libjpeg8_8c-2ubuntu11_armhf.deb ... 267s Unpacking libjpeg8:armhf (8c-2ubuntu11) ... 267s Selecting previously unselected package libgraphite2-3:armhf. 267s Preparing to unpack .../070-libgraphite2-3_1.3.14-2ubuntu1_armhf.deb ... 267s Unpacking libgraphite2-3:armhf (1.3.14-2ubuntu1) ... 267s Selecting previously unselected package libharfbuzz0b:armhf. 267s Preparing to unpack .../071-libharfbuzz0b_10.0.1-1_armhf.deb ... 267s Unpacking libharfbuzz0b:armhf (10.0.1-1) ... 267s Selecting previously unselected package libraqm0:armhf. 267s Preparing to unpack .../072-libraqm0_0.10.1-1build1_armhf.deb ... 267s Unpacking libraqm0:armhf (0.10.1-1build1) ... 267s Selecting previously unselected package libdeflate0:armhf. 267s Preparing to unpack .../073-libdeflate0_1.22-1_armhf.deb ... 267s Unpacking libdeflate0:armhf (1.22-1) ... 267s Selecting previously unselected package libjbig0:armhf. 267s Preparing to unpack .../074-libjbig0_2.1-6.1ubuntu2_armhf.deb ... 267s Unpacking libjbig0:armhf (2.1-6.1ubuntu2) ... 267s Selecting previously unselected package liblerc4:armhf. 267s Preparing to unpack .../075-liblerc4_4.0.0+ds-5ubuntu1_armhf.deb ... 267s Unpacking liblerc4:armhf (4.0.0+ds-5ubuntu1) ... 267s Selecting previously unselected package libwebp7:armhf. 267s Preparing to unpack .../076-libwebp7_1.4.0-0.1_armhf.deb ... 267s Unpacking libwebp7:armhf (1.4.0-0.1) ... 267s Selecting previously unselected package libtiff6:armhf. 267s Preparing to unpack .../077-libtiff6_4.5.1+git230720-4ubuntu4_armhf.deb ... 267s Unpacking libtiff6:armhf (4.5.1+git230720-4ubuntu4) ... 267s Selecting previously unselected package libxpm4:armhf. 267s Preparing to unpack .../078-libxpm4_1%3a3.5.17-1build2_armhf.deb ... 267s Unpacking libxpm4:armhf (1:3.5.17-1build2) ... 267s Selecting previously unselected package libgd3:armhf. 267s Preparing to unpack .../079-libgd3_2.3.3-12ubuntu3_armhf.deb ... 267s Unpacking libgd3:armhf (2.3.3-12ubuntu3) ... 267s Selecting previously unselected package libgts-0.7-5t64:armhf. 267s Preparing to unpack .../080-libgts-0.7-5t64_0.7.6+darcs121130-5.2build1_armhf.deb ... 267s Unpacking libgts-0.7-5t64:armhf (0.7.6+darcs121130-5.2build1) ... 267s Selecting previously unselected package libpixman-1-0:armhf. 267s Preparing to unpack .../081-libpixman-1-0_0.44.0-3_armhf.deb ... 267s Unpacking libpixman-1-0:armhf (0.44.0-3) ... 267s Selecting previously unselected package libxcb-render0:armhf. 267s Preparing to unpack .../082-libxcb-render0_1.17.0-2_armhf.deb ... 267s Unpacking libxcb-render0:armhf (1.17.0-2) ... 267s Selecting previously unselected package libxcb-shm0:armhf. 267s Preparing to unpack .../083-libxcb-shm0_1.17.0-2_armhf.deb ... 267s Unpacking libxcb-shm0:armhf (1.17.0-2) ... 267s Selecting previously unselected package libxrender1:armhf. 268s Preparing to unpack .../084-libxrender1_1%3a0.9.10-1.1build1_armhf.deb ... 268s Unpacking libxrender1:armhf (1:0.9.10-1.1build1) ... 268s Selecting previously unselected package libcairo2:armhf. 268s Preparing to unpack .../085-libcairo2_1.18.2-2_armhf.deb ... 268s Unpacking libcairo2:armhf (1.18.2-2) ... 268s Selecting previously unselected package libltdl7:armhf. 268s Preparing to unpack .../086-libltdl7_2.4.7-8_armhf.deb ... 268s Unpacking libltdl7:armhf (2.4.7-8) ... 268s Selecting previously unselected package libthai-data. 268s Preparing to unpack .../087-libthai-data_0.1.29-2build1_all.deb ... 268s Unpacking libthai-data (0.1.29-2build1) ... 268s Selecting previously unselected package libdatrie1:armhf. 268s Preparing to unpack .../088-libdatrie1_0.2.13-3build1_armhf.deb ... 268s Unpacking libdatrie1:armhf (0.2.13-3build1) ... 268s Selecting previously unselected package libthai0:armhf. 268s Preparing to unpack .../089-libthai0_0.1.29-2build1_armhf.deb ... 268s Unpacking libthai0:armhf (0.1.29-2build1) ... 268s Selecting previously unselected package libpango-1.0-0:armhf. 268s Preparing to unpack .../090-libpango-1.0-0_1.54.0+ds-3_armhf.deb ... 268s Unpacking libpango-1.0-0:armhf (1.54.0+ds-3) ... 268s Selecting previously unselected package libpangoft2-1.0-0:armhf. 268s Preparing to unpack .../091-libpangoft2-1.0-0_1.54.0+ds-3_armhf.deb ... 268s Unpacking libpangoft2-1.0-0:armhf (1.54.0+ds-3) ... 268s Selecting previously unselected package libpangocairo-1.0-0:armhf. 268s Preparing to unpack .../092-libpangocairo-1.0-0_1.54.0+ds-3_armhf.deb ... 268s Unpacking libpangocairo-1.0-0:armhf (1.54.0+ds-3) ... 268s Selecting previously unselected package libpathplan4:armhf. 268s Preparing to unpack .../093-libpathplan4_2.42.4-2build3_armhf.deb ... 268s Unpacking libpathplan4:armhf (2.42.4-2build3) ... 268s Selecting previously unselected package libgvc6. 268s Preparing to unpack .../094-libgvc6_2.42.4-2build3_armhf.deb ... 268s Unpacking libgvc6 (2.42.4-2build3) ... 268s Selecting previously unselected package libgvpr2:armhf. 268s Preparing to unpack .../095-libgvpr2_2.42.4-2build3_armhf.deb ... 268s Unpacking libgvpr2:armhf (2.42.4-2build3) ... 268s Selecting previously unselected package liblab-gamut1:armhf. 268s Preparing to unpack .../096-liblab-gamut1_2.42.4-2build3_armhf.deb ... 268s Unpacking liblab-gamut1:armhf (2.42.4-2build3) ... 268s Selecting previously unselected package x11-common. 268s Preparing to unpack .../097-x11-common_1%3a7.7+23ubuntu3_all.deb ... 268s Unpacking x11-common (1:7.7+23ubuntu3) ... 268s Selecting previously unselected package libice6:armhf. 268s Preparing to unpack .../098-libice6_2%3a1.1.1-1_armhf.deb ... 268s Unpacking libice6:armhf (2:1.1.1-1) ... 268s Selecting previously unselected package libsm6:armhf. 268s Preparing to unpack .../099-libsm6_2%3a1.2.4-1_armhf.deb ... 268s Unpacking libsm6:armhf (2:1.2.4-1) ... 268s Selecting previously unselected package libxt6t64:armhf. 268s Preparing to unpack .../100-libxt6t64_1%3a1.2.1-1.2build1_armhf.deb ... 268s Unpacking libxt6t64:armhf (1:1.2.1-1.2build1) ... 268s Selecting previously unselected package libxmu6:armhf. 268s Preparing to unpack .../101-libxmu6_2%3a1.1.3-3build2_armhf.deb ... 268s Unpacking libxmu6:armhf (2:1.1.3-3build2) ... 268s Selecting previously unselected package libxaw7:armhf. 268s Preparing to unpack .../102-libxaw7_2%3a1.0.16-1_armhf.deb ... 268s Unpacking libxaw7:armhf (2:1.0.16-1) ... 268s Selecting previously unselected package graphviz. 268s Preparing to unpack .../103-graphviz_2.42.4-2build3_armhf.deb ... 268s Unpacking graphviz (2.42.4-2build3) ... 269s Selecting previously unselected package libblas3:armhf. 269s Preparing to unpack .../104-libblas3_3.12.0-3build2_armhf.deb ... 269s Unpacking libblas3:armhf (3.12.0-3build2) ... 269s Selecting previously unselected package libgfortran5:armhf. 269s Preparing to unpack .../105-libgfortran5_14.2.0-8ubuntu1_armhf.deb ... 269s Unpacking libgfortran5:armhf (14.2.0-8ubuntu1) ... 269s Selecting previously unselected package liblapack3:armhf. 269s Preparing to unpack .../106-liblapack3_3.12.0-3build2_armhf.deb ... 269s Unpacking liblapack3:armhf (3.12.0-3build2) ... 269s Selecting previously unselected package libbasix0.9:armhf. 269s Preparing to unpack .../107-libbasix0.9_0.9.0-2build1_armhf.deb ... 269s Unpacking libbasix0.9:armhf (0.9.0-2build1) ... 269s Selecting previously unselected package libpkgconf3:armhf. 269s Preparing to unpack .../108-libpkgconf3_1.8.1-4_armhf.deb ... 269s Unpacking libpkgconf3:armhf (1.8.1-4) ... 269s Selecting previously unselected package pkgconf-bin. 269s Preparing to unpack .../109-pkgconf-bin_1.8.1-4_armhf.deb ... 269s Unpacking pkgconf-bin (1.8.1-4) ... 269s Selecting previously unselected package pkgconf:armhf. 269s Preparing to unpack .../110-pkgconf_1.8.1-4_armhf.deb ... 269s Unpacking pkgconf:armhf (1.8.1-4) ... 269s Selecting previously unselected package pkg-config:armhf. 269s Preparing to unpack .../111-pkg-config_1.8.1-4_armhf.deb ... 269s Unpacking pkg-config:armhf (1.8.1-4) ... 269s Selecting previously unselected package libeigen3-dev. 269s Preparing to unpack .../112-libeigen3-dev_3.4.0-4build1_all.deb ... 269s Unpacking libeigen3-dev (3.4.0-4build1) ... 269s Selecting previously unselected package libbasix-dev:armhf. 269s Preparing to unpack .../113-libbasix-dev_0.9.0-2build1_armhf.deb ... 269s Unpacking libbasix-dev:armhf (0.9.0-2build1) ... 269s Selecting previously unselected package libboost1.83-dev:armhf. 269s Preparing to unpack .../114-libboost1.83-dev_1.83.0-3.2ubuntu2_armhf.deb ... 269s Unpacking libboost1.83-dev:armhf (1.83.0-3.2ubuntu2) ... 272s Selecting previously unselected package libboost-math1.83.0:armhf. 272s Preparing to unpack .../115-libboost-math1.83.0_1.83.0-3.2ubuntu2_armhf.deb ... 272s Unpacking libboost-math1.83.0:armhf (1.83.0-3.2ubuntu2) ... 272s Selecting previously unselected package libboost-math1.83-dev:armhf. 272s Preparing to unpack .../116-libboost-math1.83-dev_1.83.0-3.2ubuntu2_armhf.deb ... 272s Unpacking libboost-math1.83-dev:armhf (1.83.0-3.2ubuntu2) ... 272s Selecting previously unselected package libboost-math-dev:armhf. 272s Preparing to unpack .../117-libboost-math-dev_1.83.0.2ubuntu1_armhf.deb ... 272s Unpacking libboost-math-dev:armhf (1.83.0.2ubuntu1) ... 272s Selecting previously unselected package libexpat1-dev:armhf. 272s Preparing to unpack .../118-libexpat1-dev_2.6.4-1_armhf.deb ... 272s Unpacking libexpat1-dev:armhf (2.6.4-1) ... 272s Selecting previously unselected package libjs-jquery. 272s Preparing to unpack .../119-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 272s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 272s Selecting previously unselected package libjs-underscore. 272s Preparing to unpack .../120-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 272s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 272s Selecting previously unselected package libjs-sphinxdoc. 272s Preparing to unpack .../121-libjs-sphinxdoc_7.4.7-4_all.deb ... 272s Unpacking libjs-sphinxdoc (7.4.7-4) ... 272s Selecting previously unselected package libjson-perl. 272s Preparing to unpack .../122-libjson-perl_4.10000-1_all.deb ... 272s Unpacking libjson-perl (4.10000-1) ... 272s Selecting previously unselected package libpython3.12t64:armhf. 272s Preparing to unpack .../123-libpython3.12t64_3.12.7-3_armhf.deb ... 272s Unpacking libpython3.12t64:armhf (3.12.7-3) ... 272s Selecting previously unselected package zlib1g-dev:armhf. 272s Preparing to unpack .../124-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ... 272s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 272s Selecting previously unselected package libpython3.12-dev:armhf. 272s Preparing to unpack .../125-libpython3.12-dev_3.12.7-3_armhf.deb ... 272s Unpacking libpython3.12-dev:armhf (3.12.7-3) ... 272s Selecting previously unselected package libpython3-dev:armhf. 272s Preparing to unpack .../126-libpython3-dev_3.12.6-0ubuntu1_armhf.deb ... 272s Unpacking libpython3-dev:armhf (3.12.6-0ubuntu1) ... 273s Selecting previously unselected package libpython3-all-dev:armhf. 273s Preparing to unpack .../127-libpython3-all-dev_3.12.6-0ubuntu1_armhf.deb ... 273s Unpacking libpython3-all-dev:armhf (3.12.6-0ubuntu1) ... 273s Selecting previously unselected package python3-packaging. 273s Preparing to unpack .../128-python3-packaging_24.2-1_all.deb ... 273s Unpacking python3-packaging (24.2-1) ... 273s Selecting previously unselected package python3-pyproject-hooks. 273s Preparing to unpack .../129-python3-pyproject-hooks_1.2.0-1_all.deb ... 273s Unpacking python3-pyproject-hooks (1.2.0-1) ... 273s Selecting previously unselected package python3-toml. 273s Preparing to unpack .../130-python3-toml_0.10.2-1_all.deb ... 273s Unpacking python3-toml (0.10.2-1) ... 273s Selecting previously unselected package python3-wheel. 273s Preparing to unpack .../131-python3-wheel_0.45.0-1_all.deb ... 273s Unpacking python3-wheel (0.45.0-1) ... 273s Selecting previously unselected package python3-build. 273s Preparing to unpack .../132-python3-build_1.2.2-1_all.deb ... 273s Unpacking python3-build (1.2.2-1) ... 273s Selecting previously unselected package python3-installer. 273s Preparing to unpack .../133-python3-installer_0.7.0+dfsg1-3_all.deb ... 273s Unpacking python3-installer (0.7.0+dfsg1-3) ... 273s Selecting previously unselected package pybuild-plugin-pyproject. 273s Preparing to unpack .../134-pybuild-plugin-pyproject_6.20241024_all.deb ... 273s Unpacking pybuild-plugin-pyproject (6.20241024) ... 273s Selecting previously unselected package python3-all. 273s Preparing to unpack .../135-python3-all_3.12.6-0ubuntu1_armhf.deb ... 273s Unpacking python3-all (3.12.6-0ubuntu1) ... 273s Selecting previously unselected package python3.12-dev. 273s Preparing to unpack .../136-python3.12-dev_3.12.7-3_armhf.deb ... 273s Unpacking python3.12-dev (3.12.7-3) ... 273s Selecting previously unselected package python3-dev. 273s Preparing to unpack .../137-python3-dev_3.12.6-0ubuntu1_armhf.deb ... 273s Unpacking python3-dev (3.12.6-0ubuntu1) ... 273s Selecting previously unselected package python3-all-dev. 273s Preparing to unpack .../138-python3-all-dev_3.12.6-0ubuntu1_armhf.deb ... 273s Unpacking python3-all-dev (3.12.6-0ubuntu1) ... 273s Selecting previously unselected package python3-numpy. 273s Preparing to unpack .../139-python3-numpy_1%3a1.26.4+ds-11ubuntu1_armhf.deb ... 273s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 273s Selecting previously unselected package python3-ufl. 273s Preparing to unpack .../140-python3-ufl_2024.2.0-2_all.deb ... 273s Unpacking python3-ufl (2024.2.0-2) ... 273s Selecting previously unselected package python3-basix. 273s Preparing to unpack .../141-python3-basix_0.9.0-2build1_armhf.deb ... 273s Unpacking python3-basix (0.9.0-2build1) ... 273s Selecting previously unselected package python3-ply. 273s Preparing to unpack .../142-python3-ply_3.11-7_all.deb ... 273s Unpacking python3-ply (3.11-7) ... 274s Selecting previously unselected package python3-pycparser. 274s Preparing to unpack .../143-python3-pycparser_2.22-2_all.deb ... 274s Unpacking python3-pycparser (2.22-2) ... 274s Selecting previously unselected package python3-cffi. 274s Preparing to unpack .../144-python3-cffi_1.17.1-2build1_all.deb ... 274s Unpacking python3-cffi (1.17.1-2build1) ... 274s Selecting previously unselected package python3-defusedxml. 274s Preparing to unpack .../145-python3-defusedxml_0.7.1-2_all.deb ... 274s Unpacking python3-defusedxml (0.7.1-2) ... 274s Selecting previously unselected package python3-roman. 274s Preparing to unpack .../146-python3-roman_4.2-1_all.deb ... 274s Unpacking python3-roman (4.2-1) ... 274s Selecting previously unselected package python3-docutils. 274s Preparing to unpack .../147-python3-docutils_0.21.2+dfsg-2_all.deb ... 274s Unpacking python3-docutils (0.21.2+dfsg-2) ... 274s Selecting previously unselected package python3-ffcx. 274s Preparing to unpack .../148-python3-ffcx_1%3a0.8.0-1_all.deb ... 274s Unpacking python3-ffcx (1:0.8.0-1) ... 274s Selecting previously unselected package python3-imagesize. 274s Preparing to unpack .../149-python3-imagesize_1.4.1-1_all.deb ... 274s Unpacking python3-imagesize (1.4.1-1) ... 274s Selecting previously unselected package python3-iniconfig. 274s Preparing to unpack .../150-python3-iniconfig_1.1.1-2_all.deb ... 274s Unpacking python3-iniconfig (1.1.1-2) ... 274s Selecting previously unselected package python3-mpmath. 274s Preparing to unpack .../151-python3-mpmath_1.3.0-1_all.deb ... 274s Unpacking python3-mpmath (1.3.0-1) ... 274s Selecting previously unselected package python3-pip. 274s Preparing to unpack .../152-python3-pip_24.3.1+dfsg-1_all.deb ... 274s Unpacking python3-pip (24.3.1+dfsg-1) ... 274s Selecting previously unselected package python3-pluggy. 274s Preparing to unpack .../153-python3-pluggy_1.5.0-1_all.deb ... 274s Unpacking python3-pluggy (1.5.0-1) ... 274s Selecting previously unselected package python3-pygraphviz. 274s Preparing to unpack .../154-python3-pygraphviz_1.14-1build1_armhf.deb ... 274s Unpacking python3-pygraphviz (1.14-1build1) ... 274s Selecting previously unselected package python3-pytest. 274s Preparing to unpack .../155-python3-pytest_8.3.3-1_all.deb ... 274s Unpacking python3-pytest (8.3.3-1) ... 274s Selecting previously unselected package python3-snowballstemmer. 274s Preparing to unpack .../156-python3-snowballstemmer_2.2.0-4build1_all.deb ... 274s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 274s Selecting previously unselected package sphinx-common. 274s Preparing to unpack .../157-sphinx-common_7.4.7-4_all.deb ... 274s Unpacking sphinx-common (7.4.7-4) ... 274s Selecting previously unselected package python3-alabaster. 274s Preparing to unpack .../158-python3-alabaster_0.7.16-0.1_all.deb ... 274s Unpacking python3-alabaster (0.7.16-0.1) ... 275s Selecting previously unselected package python3-sphinx. 275s Preparing to unpack .../159-python3-sphinx_7.4.7-4_all.deb ... 275s Unpacking python3-sphinx (7.4.7-4) ... 275s Selecting previously unselected package sphinx-rtd-theme-common. 275s Preparing to unpack .../160-sphinx-rtd-theme-common_3.0.2+dfsg-1_all.deb ... 275s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 275s Selecting previously unselected package python3-sphinxcontrib.jquery. 275s Preparing to unpack .../161-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 275s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 275s Selecting previously unselected package python3-sphinx-rtd-theme. 275s Preparing to unpack .../162-python3-sphinx-rtd-theme_3.0.2+dfsg-1_all.deb ... 275s Unpacking python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 275s Selecting previously unselected package python3-sympy. 275s Preparing to unpack .../163-python3-sympy_1.13.3-1_all.deb ... 275s Unpacking python3-sympy (1.13.3-1) ... 275s Selecting previously unselected package autopkgtest-satdep. 275s Preparing to unpack .../164-1-autopkgtest-satdep.deb ... 275s Unpacking autopkgtest-satdep (0) ... 275s Setting up dh-python (6.20241024) ... 275s Setting up libgraphite2-3:armhf (1.3.14-2ubuntu1) ... 275s Setting up python3-iniconfig (1.1.1-2) ... 275s Setting up libpixman-1-0:armhf (0.44.0-3) ... 275s Setting up libsharpyuv0:armhf (1.4.0-0.1) ... 275s Setting up libaom3:armhf (3.11.0-1) ... 275s Setting up fonts-lato (2.015-1) ... 275s Setting up liblerc4:armhf (4.0.0+ds-5ubuntu1) ... 275s Setting up libxpm4:armhf (1:3.5.17-1build2) ... 275s Setting up libxrender1:armhf (1:0.9.10-1.1build1) ... 275s Setting up libdatrie1:armhf (0.2.13-3build1) ... 275s Setting up libxcb-render0:armhf (1.17.0-2) ... 275s Setting up python3-defusedxml (0.7.1-2) ... 276s Setting up libarchive-zip-perl (1.68-1) ... 276s Setting up python3-alabaster (0.7.16-0.1) ... 276s Setting up libdebhelper-perl (13.20ubuntu1) ... 276s Setting up python3-ply (3.11-7) ... 276s Setting up liblab-gamut1:armhf (2.42.4-2build3) ... 276s Setting up x11-common (1:7.7+23ubuntu3) ... 276s Setting up libdeflate0:armhf (1.22-1) ... 276s Setting up linux-libc-dev:armhf (6.11.0-8.8) ... 276s Setting up m4 (1.4.19-4build1) ... 276s Setting up python3-all (3.12.6-0ubuntu1) ... 276s Setting up libxcb-shm0:armhf (1.17.0-2) ... 276s Setting up libgomp1:armhf (14.2.0-8ubuntu1) ... 276s Setting up python3-wheel (0.45.0-1) ... 276s Setting up libjbig0:armhf (2.1-6.1ubuntu2) ... 276s Setting up python3-pycparser (2.22-2) ... 277s Setting up libpython3.12t64:armhf (3.12.7-3) ... 277s Setting up python3-roman (4.2-1) ... 277s Setting up autotools-dev (20220109.1) ... 277s Setting up libblas3:armhf (3.12.0-3build2) ... 277s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 277s Setting up python3-packaging (24.2-1) ... 277s Setting up libpkgconf3:armhf (1.8.1-4) ... 277s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 277s Setting up python3-pyproject-hooks (1.2.0-1) ... 277s Setting up libfreetype6:armhf (2.13.3+dfsg-1) ... 277s Setting up python3-snowballstemmer (2.2.0-4build1) ... 277s Setting up libpathplan4:armhf (2.42.4-2build3) ... 277s Setting up libimagequant0:armhf (2.18.0-1build1) ... 277s Setting up fonts-dejavu-mono (2.37-8) ... 277s Setting up libmpc3:armhf (1.3.1-1build2) ... 277s Setting up autopoint (0.22.5-2) ... 277s Setting up libjsoncpp25:armhf (1.9.5-6build1) ... 277s Setting up fonts-dejavu-core (2.37-8) ... 277s Setting up pkgconf-bin (1.8.1-4) ... 277s Setting up python3-pip (24.3.1+dfsg-1) ... 278s Setting up libjpeg-turbo8:armhf (2.1.5-3ubuntu2) ... 278s Setting up libltdl7:armhf (2.4.7-8) ... 278s Setting up python3-toml (0.10.2-1) ... 279s Setting up python3-installer (0.7.0+dfsg1-3) ... 279s Setting up libgfortran5:armhf (14.2.0-8ubuntu1) ... 279s Setting up autoconf (2.72-3) ... 279s Setting up python3-pluggy (1.5.0-1) ... 279s Setting up libwebp7:armhf (1.4.0-0.1) ... 279s Setting up libubsan1:armhf (14.2.0-8ubuntu1) ... 279s Setting up dwz (0.15-1build6) ... 279s Setting up librhash0:armhf (1.4.3-3build1) ... 279s Setting up libcrypt-dev:armhf (1:4.4.36-5) ... 279s Setting up libasan8:armhf (14.2.0-8ubuntu1) ... 279s Setting up libjson-perl (4.10000-1) ... 279s Setting up debugedit (1:5.1-1) ... 279s Setting up libharfbuzz0b:armhf (10.0.1-1) ... 279s Setting up libthai-data (0.1.29-2build1) ... 279s Setting up libgts-0.7-5t64:armhf (0.7.6+darcs121130-5.2build1) ... 279s Setting up sgml-base (1.31) ... 279s Setting up cmake-data (3.30.3-1) ... 279s Setting up libcdt5:armhf (2.42.4-2build3) ... 279s Setting up libcgraph6:armhf (2.42.4-2build3) ... 279s Setting up libboost-math1.83.0:armhf (1.83.0-3.2ubuntu2) ... 279s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 279s Setting up libgcc-14-dev:armhf (14.2.0-8ubuntu1) ... 279s Setting up python3-mpmath (1.3.0-1) ... 281s Setting up libisl23:armhf (0.27-1) ... 281s Setting up python3-build (1.2.2-1) ... 281s Setting up libde265-0:armhf (1.0.15-1build4) ... 281s Setting up libc-dev-bin (2.40-1ubuntu3) ... 281s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 281s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 281s Setting up libcc1-0:armhf (14.2.0-8ubuntu1) ... 281s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 281s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 281s Setting up python3-imagesize (1.4.1-1) ... 281s Setting up libjpeg8:armhf (8c-2ubuntu11) ... 281s Setting up automake (1:1.16.5-1.3ubuntu1) ... 281s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 281s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 281s Setting up python3-sympy (1.13.3-1) ... 287s Setting up libice6:armhf (2:1.1.1-1) ... 287s Setting up liblapack3:armhf (3.12.0-3build2) ... 287s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 287s Setting up gettext (0.22.5-2) ... 287s Setting up pybuild-plugin-pyproject (6.20241024) ... 287s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 287s Setting up python3-pytest (8.3.3-1) ... 288s Setting up python3-cffi (1.17.1-2build1) ... 288s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 288s Setting up pkgconf:armhf (1.8.1-4) ... 288s Setting up intltool-debian (0.35.0+20060710.6) ... 288s Setting up libthai0:armhf (0.1.29-2build1) ... 288s Setting up libraqm0:armhf (0.10.1-1build1) ... 288s Setting up libeigen3-dev (3.4.0-4build1) ... 288s Setting up pkg-config:armhf (1.8.1-4) ... 288s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 291s Setting up libjs-sphinxdoc (7.4.7-4) ... 291s Setting up cpp-14 (14.2.0-8ubuntu1) ... 291s Setting up dh-strip-nondeterminism (1.14.0-1) ... 291s Setting up libgvpr2:armhf (2.42.4-2build3) ... 291s Setting up libbasix0.9:armhf (0.9.0-2build1) ... 291s Setting up libtiff6:armhf (4.5.1+git230720-4ubuntu4) ... 291s Setting up xml-core (0.19) ... 291s Setting up cmake (3.30.3-1) ... 291s Setting up libc6-dev:armhf (2.40-1ubuntu3) ... 291s Setting up libfontconfig1:armhf (2.15.0-1.1ubuntu2) ... 291s Setting up libbasix-dev:armhf (0.9.0-2build1) ... 291s Setting up libstdc++-14-dev:armhf (14.2.0-8ubuntu1) ... 291s Setting up libsm6:armhf (2:1.2.4-1) ... 291s Setting up cpp-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 291s Setting up gcc-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 291s Setting up g++-14-arm-linux-gnueabihf (14.2.0-8ubuntu1) ... 291s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 293s Regenerating fonts cache... done. 293s Setting up libboost1.83-dev:armhf (1.83.0-3.2ubuntu2) ... 293s Setting up python3-ufl (2024.2.0-2) ... 294s Setting up libboost-math1.83-dev:armhf (1.83.0-3.2ubuntu2) ... 294s Setting up libboost-math-dev:armhf (1.83.0.2ubuntu1) ... 294s Setting up po-debconf (1.0.21+nmu1) ... 294s Setting up libpango-1.0-0:armhf (1.54.0+ds-3) ... 294s Setting up libcairo2:armhf (1.18.2-2) ... 294s Setting up gcc-14 (14.2.0-8ubuntu1) ... 294s Setting up libexpat1-dev:armhf (2.6.4-1) ... 294s Setting up sphinx-common (7.4.7-4) ... 294s Setting up libxt6t64:armhf (1:1.2.1-1.2build1) ... 294s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 294s Setting up cpp (4:14.1.0-2ubuntu1) ... 294s Setting up g++-14 (14.2.0-8ubuntu1) ... 294s Setting up libpangoft2-1.0-0:armhf (1.54.0+ds-3) ... 294s Setting up libpangocairo-1.0-0:armhf (1.54.0+ds-3) ... 294s Setting up python3-basix (0.9.0-2build1) ... 294s Setting up g++-arm-linux-gnueabihf (4:14.1.0-2ubuntu1) ... 294s Setting up libxmu6:armhf (2:1.1.3-3build2) ... 294s Setting up libtool (2.4.7-8) ... 294s Setting up libpython3.12-dev:armhf (3.12.7-3) ... 294s Setting up libxaw7:armhf (2:1.0.16-1) ... 294s Setting up gcc (4:14.1.0-2ubuntu1) ... 294s Setting up dh-autoreconf (20) ... 294s Setting up python3.12-dev (3.12.7-3) ... 294s Setting up g++ (4:14.1.0-2ubuntu1) ... 294s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 294s Setting up build-essential (12.10ubuntu1) ... 294s Setting up libpython3-dev:armhf (3.12.6-0ubuntu1) ... 294s Setting up debhelper (13.20ubuntu1) ... 294s Setting up libpython3-all-dev:armhf (3.12.6-0ubuntu1) ... 294s Setting up python3-dev (3.12.6-0ubuntu1) ... 294s Setting up python3-all-dev (3.12.6-0ubuntu1) ... 294s Setting up python3-ffcx (1:0.8.0-1) ... 294s Setting up libheif-plugin-aomdec:armhf (1.19.3-1) ... 294s Setting up libheif-plugin-libde265:armhf (1.19.3-1) ... 294s Setting up libheif1:armhf (1.19.3-1) ... 294s Setting up libgd3:armhf (2.3.3-12ubuntu3) ... 294s Setting up libgvc6 (2.42.4-2build3) ... 294s Setting up graphviz (2.42.4-2build3) ... 294s Setting up python3-pygraphviz (1.14-1build1) ... 295s Processing triggers for install-info (7.1.1-1) ... 295s Processing triggers for libc-bin (2.40-1ubuntu3) ... 295s Processing triggers for man-db (2.13.0-1) ... 296s Processing triggers for sgml-base (1.31) ... 296s Setting up docutils-common (0.21.2+dfsg-2) ... 296s Processing triggers for sgml-base (1.31) ... 296s Setting up python3-docutils (0.21.2+dfsg-2) ... 297s Setting up python3-sphinx (7.4.7-4) ... 298s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 298s Setting up python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 298s Setting up autopkgtest-satdep (0) ... 323s (Reading database ... 91364 files and directories currently installed.) 323s Removing autopkgtest-satdep (0) ... 330s autopkgtest [20:37:17]: test command1: for pyver in `py3versions -sv`; do python$pyver -m pytest test; done 330s autopkgtest [20:37:17]: test command1: [----------------------- 333s ============================= test session starts ============================== 333s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 333s rootdir: /tmp/autopkgtest.mecMNi/build.GHz/src 333s configfile: pyproject.toml 333s plugins: typeguard-4.4.1 333s collected 87 items 333s 333s test/test_add_mode.py::test_additive_facet_integral[float32] FAILED [ 1%] 333s test/test_add_mode.py::test_additive_facet_integral[float64] FAILED [ 2%] 334s test/test_add_mode.py::test_additive_facet_integral[complex64] FAILED [ 3%] 334s test/test_add_mode.py::test_additive_facet_integral[complex128] FAILED [ 4%] 334s test/test_add_mode.py::test_additive_cell_integral[float32] FAILED [ 5%] 334s test/test_add_mode.py::test_additive_cell_integral[float64] FAILED [ 6%] 334s test/test_add_mode.py::test_additive_cell_integral[complex64] FAILED [ 8%] 334s test/test_add_mode.py::test_additive_cell_integral[complex128] FAILED [ 9%] 334s test/test_blocked_elements.py::test_finite_element FAILED [ 10%] 334s test/test_blocked_elements.py::test_vector_element FAILED [ 11%] 334s test/test_blocked_elements.py::test_tensor_element FAILED [ 12%] 334s test/test_blocked_elements.py::test_vector_quadrature_element FAILED [ 13%] 334s test/test_cache.py::test_cache_modes FAILED [ 14%] 336s test/test_cmdline.py::test_cmdline_simple PASSED [ 16%] 337s test/test_cmdline.py::test_visualise FAILED [ 17%] 338s test/test_jit_expression.py::test_matvec FAILED [ 18%] 338s test/test_jit_expression.py::test_rank1 FAILED [ 19%] 338s test/test_jit_expression.py::test_elimiate_zero_tables_tensor FAILED [ 20%] 338s test/test_jit_expression.py::test_grad_constant PASSED [ 21%] 338s test/test_jit_expression.py::test_facet_expression FAILED [ 22%] 338s test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] FAILED [ 24%] 338s test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] FAILED [ 25%] 338s test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] FAILED [ 26%] 338s test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] FAILED [ 27%] 339s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] FAILED [ 28%] 339s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] FAILED [ 29%] 339s test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] FAILED [ 31%] 339s test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] FAILED [ 32%] 339s test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] FAILED [ 33%] 339s test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] FAILED [ 34%] 339s test/test_jit_forms.py::test_form_coefficient FAILED [ 35%] 339s test/test_jit_forms.py::test_subdomains FAILED [ 36%] 339s test/test_jit_forms.py::test_interior_facet_integral[float64] FAILED [ 37%] 339s test/test_jit_forms.py::test_interior_facet_integral[complex128] FAILED [ 39%] 339s test/test_jit_forms.py::test_conditional[float64] FAILED [ 40%] 340s test/test_jit_forms.py::test_conditional[complex128] FAILED [ 41%] 340s test/test_jit_forms.py::test_custom_quadrature FAILED [ 42%] 340s test/test_jit_forms.py::test_curl_curl FAILED [ 43%] 340s test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] FAILED [ 44%] 340s test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] FAILED [ 45%] 340s test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] FAILED [ 47%] 340s test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] FAILED [ 48%] 341s test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] FAILED [ 49%] 341s test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] FAILED [ 50%] 344s test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] FAILED [ 51%] 346s test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] FAILED [ 52%] 348s test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] FAILED [ 54%] 348s test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] FAILED [ 55%] 348s test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] FAILED [ 56%] 348s test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] FAILED [ 57%] 349s test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] FAILED [ 58%] 349s test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] FAILED [ 59%] 350s test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] FAILED [ 60%] 363s test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] FAILED [ 62%] 372s test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] FAILED [ 63%] 382s test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] FAILED [ 64%] 383s test/test_jit_forms.py::test_prism FAILED [ 65%] 383s test/test_jit_forms.py::test_complex_operations FAILED [ 66%] 383s test/test_jit_forms.py::test_invalid_function_name FAILED [ 67%] 383s test/test_jit_forms.py::test_interval_vertex_quadrature FAILED [ 68%] 383s test/test_jit_forms.py::test_facet_vertex_quadrature FAILED [ 70%] 383s test/test_jit_forms.py::test_manifold_derivatives FAILED [ 71%] 383s test/test_jit_forms.py::test_integral_grouping FAILED [ 72%] 383s test/test_lnodes.py::test_gemm[float32] 383s -------------------------------- live log call --------------------------------- 383s INFO root:dist.py:970 running build_ext 383s INFO root:build_ext.py:530 building '_gemm_float' extension 383s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_float.c -o ./_gemm_float.o 383s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_float.o -L/usr/lib/arm-linux-gnueabihf -o ./_gemm_float.cpython-312-arm-linux-gnueabihf.so 383s PASSED [ 73%] 383s test/test_lnodes.py::test_gemm[float64] 383s -------------------------------- live log call --------------------------------- 383s INFO root:dist.py:970 running build_ext 383s INFO root:build_ext.py:530 building '_gemm_double' extension 383s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_double.c -o ./_gemm_double.o 384s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_double.o -L/usr/lib/arm-linux-gnueabihf -o ./_gemm_double.cpython-312-arm-linux-gnueabihf.so 384s PASSED [ 74%] 384s test/test_lnodes.py::test_gemm[intc] 384s -------------------------------- live log call --------------------------------- 384s INFO root:dist.py:970 running build_ext 384s INFO root:build_ext.py:530 building '_gemm_int' extension 384s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_int.c -o ./_gemm_int.o 384s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_int.o -L/usr/lib/arm-linux-gnueabihf -o ./_gemm_int.cpython-312-arm-linux-gnueabihf.so 384s PASSED [ 75%] 384s test/test_lnodes.py::test_gemv[float32] 384s -------------------------------- live log call --------------------------------- 384s INFO root:dist.py:970 running build_ext 384s INFO root:build_ext.py:530 building '_gemv_float' extension 384s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_float.c -o ./_gemv_float.o 384s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_float.o -L/usr/lib/arm-linux-gnueabihf -o ./_gemv_float.cpython-312-arm-linux-gnueabihf.so 384s PASSED [ 77%] 384s test/test_lnodes.py::test_gemv[float64] 384s -------------------------------- live log call --------------------------------- 384s INFO root:dist.py:970 running build_ext 384s INFO root:build_ext.py:530 building '_gemv_double' extension 384s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_double.c -o ./_gemv_double.o 384s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_double.o -L/usr/lib/arm-linux-gnueabihf -o ./_gemv_double.cpython-312-arm-linux-gnueabihf.so 384s PASSED [ 78%] 384s test/test_lnodes.py::test_gemv[intc] 384s -------------------------------- live log call --------------------------------- 384s INFO root:dist.py:970 running build_ext 384s INFO root:build_ext.py:530 building '_gemv_int' extension 384s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_int.c -o ./_gemv_int.o 384s INFO root:spawn.py:60 arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_int.o -L/usr/lib/arm-linux-gnueabihf -o ./_gemv_int.cpython-312-arm-linux-gnueabihf.so 385s PASSED [ 79%] 385s test/test_signatures.py::test_numba_kernel_signature[float32] SKIPPED [ 80%] 385s test/test_signatures.py::test_numba_kernel_signature[float64] SKIPPED [ 81%] 385s test/test_signatures.py::test_numba_kernel_signature[complex64] SKIPPED [ 82%] 385s test/test_signatures.py::test_numba_kernel_signature[complex128] SKIPPED [ 83%] 385s test/test_submesh.py::test_multiple_mesh_codim0[float64] FAILED [ 85%] 385s test/test_submesh.py::test_multiple_mesh_codim0[complex128] FAILED [ 86%] 385s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] FAILED [ 87%] 385s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] FAILED [ 88%] 385s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] FAILED [ 89%] 385s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] FAILED [ 90%] 386s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] FAILED [ 91%] 386s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] FAILED [ 93%] 386s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] FAILED [ 94%] 386s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] FAILED [ 95%] 386s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] FAILED [ 96%] 386s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] FAILED [ 97%] 386s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] FAILED [ 98%] 386s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] FAILED [100%] 386s 386s =================================== FAILURES =================================== 386s ____________________ test_additive_facet_integral[float32] _____________________ 386s 386s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float32", 386s "float64", 386s "complex64", 386s "complex128", 386s ], 386s ) 386s def test_additive_facet_integral(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(u, v) * ufl.ds 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_add_mode.py:32: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_94f690c114cd452e7b4a7308bdf2de0bb0d5a...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_957d6a85d97efc3f3810d86136ea6cd85ebbf3fd'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s ____________________ test_additive_facet_integral[float64] _____________________ 386s 386s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float32", 386s "float64", 386s "complex64", 386s "complex128", 386s ], 386s ) 386s def test_additive_facet_integral(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(u, v) * ufl.ds 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_add_mode.py:32: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2dd47d92907ecbd5764173649fc513df12bd3...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_8ab4c6801631c712c256f92ec4e59169c0689b25'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s ___________________ test_additive_facet_integral[complex64] ____________________ 386s 386s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float32", 386s "float64", 386s "complex64", 386s "complex128", 386s ], 386s ) 386s def test_additive_facet_integral(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(u, v) * ufl.ds 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_add_mode.py:32: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_91167b09d7ecb72007972609b799f5d103d78...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6bcc95c88fda89da6a7e5358a724c0b5474033f6'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s ___________________ test_additive_facet_integral[complex128] ___________________ 386s 386s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float32", 386s "float64", 386s "complex64", 386s "complex128", 386s ], 386s ) 386s def test_additive_facet_integral(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(u, v) * ufl.ds 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_add_mode.py:32: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e7fc0c9da04fb1263b9c94c3d64874cacc4fb...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_d9c246f2a83a87eef4e75127ca615de574ce3b8d'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s _____________________ test_additive_cell_integral[float32] _____________________ 386s 386s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float32", 386s "float64", 386s "complex64", 386s "complex128", 386s ], 386s ) 386s def test_additive_cell_integral(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_add_mode.py:93: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_0c6ea398f60b8d3d459b739f2b170d0a09492...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_49e7aadbc43f758094d22d19ca6a5423b0782167'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s _____________________ test_additive_cell_integral[float64] _____________________ 386s 386s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float32", 386s "float64", 386s "complex64", 386s "complex128", 386s ], 386s ) 386s def test_additive_cell_integral(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_add_mode.py:93: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_3d821f8d2f4f108bad7a69325469d6e96de88...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_7e61b2ed3bf3d2f61134a95cf3d7e06a783be2fd'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s ____________________ test_additive_cell_integral[complex64] ____________________ 386s 386s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float32", 386s "float64", 386s "complex64", 386s "complex128", 386s ], 386s ) 386s def test_additive_cell_integral(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_add_mode.py:93: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_bc3c102e727028e3c39634f8823c09309899b...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_fd224c35809a7a9d22f96ebad930afa3ece2bd10'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s ___________________ test_additive_cell_integral[complex128] ____________________ 386s 386s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float32", 386s "float64", 386s "complex64", 386s "complex128", 386s ], 386s ) 386s def test_additive_cell_integral(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_add_mode.py:93: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e54387e58a3f0bd8e4ce143d0d9b1eb4eb187...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_a76708cc22182d61e699cc5349af86d26ef7d468'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s _____________________________ test_finite_element ______________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_finite_element(compile_args): 386s ufl_element = basix.ufl.element("Lagrange", "triangle", 1) 386s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 386s [ufl_element], cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_blocked_elements.py:16: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:205: in compile_elements 386s raise e 386s ffcx/codegeneration/jit.py:185: in compile_elements 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_c821a77eea3359f17e948cea4c3643d0215c8281'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s _____________________________ test_vector_element ______________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_vector_element(compile_args): 386s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 386s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 386s [ufl_element], cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_blocked_elements.py:42: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:205: in compile_elements 386s raise e 386s ffcx/codegeneration/jit.py:185: in compile_elements 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_85dab3543984d339f3b0ef001398ebcce2879...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_4c0657244598c1433fd6f6ba4c448c171ff976b2'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s _____________________________ test_tensor_element ______________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_tensor_element(compile_args): 386s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2, 2)) 386s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 386s [ufl_element], cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_blocked_elements.py:69: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:205: in compile_elements 386s raise e 386s ffcx/codegeneration/jit.py:185: in compile_elements 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_37f110a690d1123bdbed030946765eab2c87e...t (P, triangle, 1, gll_warped, unset, False, float64, []), (2, 2)): 'element_69d4f9751e22b7c4cd4f6cfa6e10a3f3181f8e3e'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s ________________________ test_vector_quadrature_element ________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_vector_quadrature_element(compile_args): 386s ufl_element = basix.ufl.blocked_element( 386s basix.ufl.quadrature_element("tetrahedron", degree=2, scheme="default"), shape=(3,) 386s ) 386s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 386s [ufl_element], cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_blocked_elements.py:99: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:205: in compile_elements 386s raise e 386s ffcx/codegeneration/jit.py:185: in compile_elements 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s 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()) 386s 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} 386s 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_c43f83a76dbfa80a72d2c7873724c8a5336ee101'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_QuadratureElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s _______________________________ test_cache_modes _______________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_cache_modes(compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s forms = [a] 386s 386s # Load form from /tmp 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, cffi_extra_compile_args=compile_args 386s ) 386s 386s test/test_cache.py:24: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_3d821f8d2f4f108bad7a69325469d6e96de88...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_7e61b2ed3bf3d2f61134a95cf3d7e06a783be2fd'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s ffcx/ir/representation.py:293: AttributeError 386s ________________________________ test_visualise ________________________________ 386s 386s def test_visualise(): 386s os.chdir(os.path.dirname(__file__)) 386s subprocess.run(["ffcx", "--visualise", "Poisson.py"]) 386s > assert os.path.isfile("S.pdf") 386s E AssertionError: assert False 386s E + where False = ('S.pdf') 386s E + where = .isfile 386s E + where = os.path 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_cmdline.py:20: AssertionError 386s ----------------------------- Captured stderr call ----------------------------- 386s Traceback (most recent call last): 386s File "/usr/bin/ffcx", line 8, in 386s sys.exit(__main__.main()) 386s ^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/ffcx/main.py", line 75, in main 386s code_h, code_c = compiler.compile_ufl_objects( 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/ffcx/compiler.py", line 113, in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 386s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 215, in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 293, in _compute_element_ir 386s ir["element_type"] = element.ufcx_element_type 386s ^^^^^^^^^^^^^^^^^^^^^^^^^ 386s AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s _________________________________ test_matvec __________________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_matvec(compile_args): 386s """Test evaluation of linear rank-0 form. 386s 386s Evaluates expression c * A_ij * f_j where c is a Constant, 386s A_ij is a user specified constant matrix and f_j is j-th component 386s of user specified vector-valued finite element function (in P1 space). 386s 386s """ 386s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 386s mesh = ufl.Mesh(e) 386s V = ufl.FunctionSpace(mesh, e) 386s f = ufl.Coefficient(V) 386s 386s a_mat = np.array([[1.0, 2.0], [1.0, 1.0]]) 386s a = ufl.as_matrix(a_mat) 386s expr = ufl.Constant(mesh) * ufl.dot(a, f) 386s 386s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 386s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 386s [(expr, points)], cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_expression.py:35: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:358: in compile_expressions 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:338: in compile_expressions 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_88c6dd1bd9ca856afca233448ed78a8ebb92d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_197826a9124d765273cee22a779461c4a4f3e1d5'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s __________________________________ test_rank1 __________________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_rank1(compile_args): 386s """Tests evaluation of rank-1 form. 386s 386s Builds a linear operator which takes vector-valued functions in P1 space 386s and evaluates expression [u_y, u_x] + grad(u_x) at specified points. 386s 386s """ 386s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 386s mesh = ufl.Mesh(e) 386s 386s V = ufl.FunctionSpace(mesh, e) 386s u = ufl.TrialFunction(V) 386s 386s expr = ufl.as_vector([u[1], u[0]]) + ufl.grad(u[0]) 386s 386s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 386s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 386s [(expr, points)], cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_expression.py:101: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:358: in compile_expressions 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:338: in compile_expressions 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_038b2feb76f7c82aad5a0c9496733ba9466a1...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9eabf5b84a4e1010bb3e64eed1e21f1aa718df7e'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _______________________ test_elimiate_zero_tables_tensor _______________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_elimiate_zero_tables_tensor(compile_args): 386s """Test elimination of tensor-valued expressions with zero tables""" 386s cell = "tetrahedron" 386s c_el = basix.ufl.element("P", cell, 1, shape=(3,)) 386s mesh = ufl.Mesh(c_el) 386s 386s e = basix.ufl.element("P", cell, 1) 386s V = ufl.FunctionSpace(mesh, e) 386s u = ufl.Coefficient(V) 386s expr = ufl.sym(ufl.as_tensor([[u, u.dx(0).dx(0), 0], [u.dx(1), u.dx(1), 0], [0, 0, 0]])) 386s 386s # Get vertices of cell 386s # Coords storage XYZXYZXYZ 386s basix_c_e = basix.create_element( 386s > basix.ElementFamily.P, basix.cell.string_to_type(cell), 1, discontinuous=False 386s ) 386s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_expression.py:169: AttributeError 386s ____________________________ test_facet_expression _____________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_facet_expression(compile_args): 386s """Test facet expression containing a facet normal on a manifold.""" 386s c_el = basix.ufl.element("Lagrange", "triangle", 1, shape=(3,)) 386s mesh = ufl.Mesh(c_el) 386s 386s n = ufl.FacetNormal(mesh) 386s expr = n 386s 386s dtype = np.float64 386s points = np.array([[0.5]], dtype=dtype) 386s 386s > obj, _, _ = ffcx.codegeneration.jit.compile_expressions( 386s [(expr, points)], cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_expression.py:281: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:358: in compile_expressions 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:338: in compile_expressions 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:254: in compute_ir 386s _compute_expression_ir( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:857: in _compute_expression_ir 386s expression_ir = compute_integral_ir( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/integral.py:85: in compute_integral_ir 386s mt_table_reference = build_optimized_tables( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/elementtables.py:415: in build_optimized_tables 386s t = get_ffcx_table_values( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/elementtables.py:138: in get_ffcx_table_values 386s entity_points = map_integral_points(points, integral_type, cell, entity) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representationutils.py:119: in map_integral_points 386s return np.asarray(map_facet_points(points, entity, cell.cellname())) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s points = array([[0.5]]), facet = 0, cellname = 'triangle' 386s 386s def map_facet_points( 386s points: npt.NDArray[np.float64], facet: int, cellname: str 386s ) -> npt.NDArray[np.float64]: 386s """Map points from a reference facet to a physical facet.""" 386s > geom = basix.geometry(basix.cell.string_to_type(cellname)) 386s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/element_interface.py:44: AttributeError 386s ___________ test_laplace_bilinear_form_2d[float64-expected_result0] ____________ 386s 386s dtype = 'float64' 386s expected_result = array([[ 1. , -0.5, -0.5], 386s [-0.5, 0.5, 0. ], 386s [-0.5, 0. , 0.5]]) 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype,expected_result", 386s [ 386s ( 386s "float64", 386s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 386s ), 386s ( 386s "complex128", 386s np.array( 386s [ 386s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 386s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 386s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 386s ], 386s dtype=np.complex128, 386s ), 386s ), 386s ], 386s ) 386s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s kappa = ufl.Constant(domain, shape=(2, 2)) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s 386s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:47: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_20cd0628c4c95cef69908968f03ace4c6ba77...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5c32b427c582904e9da172bbf9c26b83778edfcb'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s __________ test_laplace_bilinear_form_2d[complex128-expected_result1] __________ 386s 386s dtype = 'complex128' 386s expected_result = array([[ 1. +0.j, -0.5+0.j, -0.5+0.j], 386s [-0.5+0.j, 0.5+0.j, 0. +0.j], 386s [-0.5+0.j, 0. +0.j, 0.5+0.j]]) 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype,expected_result", 386s [ 386s ( 386s "float64", 386s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 386s ), 386s ( 386s "complex128", 386s np.array( 386s [ 386s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 386s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 386s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 386s ], 386s dtype=np.complex128, 386s ), 386s ), 386s ], 386s ) 386s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s kappa = ufl.Constant(domain, shape=(2, 2)) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s 386s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:47: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_459ce76ec790ba2a7e8704a8297868607486b...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c34704678923954dfdc40638a437032fdc1c69ca'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_mass_bilinear_form_2d[float32-expected_result0] _____________ 386s 386s dtype = 'float32' 386s expected_result = array([[0.08333334, 0.04166667, 0.04166667], 386s [0.04166667, 0.08333334, 0.04166667], 386s [0.04166667, 0.04166667, 0.08333334]], dtype=float32) 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype,expected_result", 386s [ 386s ( 386s "float32", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.float32, 386s ), 386s ), 386s # ("longdouble", 386s # np.array( 386s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 386s # dtype=np.longdouble)), 386s ( 386s "float64", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.float64, 386s ), 386s ), 386s ( 386s "complex128", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.complex128, 386s ), 386s ), 386s ( 386s "complex64", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.complex64, 386s ), 386s ), 386s ], 386s ) 386s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(u, v) * ufl.dx 386s L = ufl.conj(v) * ufl.dx 386s forms = [a, L] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:150: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_3fb840ac451d159bd782c891684ceaca36f1f...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ba41972c3cb67a76c9a105011e2295e13de27a29'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_mass_bilinear_form_2d[float64-expected_result1] _____________ 386s 386s dtype = 'float64' 386s expected_result = array([[0.08333333, 0.04166667, 0.04166667], 386s [0.04166667, 0.08333333, 0.04166667], 386s [0.04166667, 0.04166667, 0.08333333]]) 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype,expected_result", 386s [ 386s ( 386s "float32", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.float32, 386s ), 386s ), 386s # ("longdouble", 386s # np.array( 386s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 386s # dtype=np.longdouble)), 386s ( 386s "float64", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.float64, 386s ), 386s ), 386s ( 386s "complex128", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.complex128, 386s ), 386s ), 386s ( 386s "complex64", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.complex64, 386s ), 386s ), 386s ], 386s ) 386s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(u, v) * ufl.dx 386s L = ufl.conj(v) * ufl.dx 386s forms = [a, L] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:150: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_3ca203df54f209696e305fcc03bcd082193fb...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_bb7f7bc3892e2b5a05f00bbb459a53f0a74324a4'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_mass_bilinear_form_2d[complex128-expected_result2] ____________ 386s 386s dtype = 'complex128' 386s expected_result = array([[0.08333333+0.j, 0.04166667+0.j, 0.04166667+0.j], 386s [0.04166667+0.j, 0.08333333+0.j, 0.04166667+0.j], 386s [0.04166667+0.j, 0.04166667+0.j, 0.08333333+0.j]]) 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype,expected_result", 386s [ 386s ( 386s "float32", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.float32, 386s ), 386s ), 386s # ("longdouble", 386s # np.array( 386s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 386s # dtype=np.longdouble)), 386s ( 386s "float64", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.float64, 386s ), 386s ), 386s ( 386s "complex128", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.complex128, 386s ), 386s ), 386s ( 386s "complex64", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.complex64, 386s ), 386s ), 386s ], 386s ) 386s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(u, v) * ufl.dx 386s L = ufl.conj(v) * ufl.dx 386s forms = [a, L] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:150: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_70cafbecaba65b412ad325321869a5102ae86...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_90030a1619f441577ffe65ebbd2e7d1a4df375b4'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ____________ test_mass_bilinear_form_2d[complex64-expected_result3] ____________ 386s 386s dtype = 'complex64' 386s expected_result = array([[0.08333334+0.j, 0.04166667+0.j, 0.04166667+0.j], 386s [0.04166667+0.j, 0.08333334+0.j, 0.04166667+0.j], 386s [0.04166667+0.j, 0.04166667+0.j, 0.08333334+0.j]], dtype=complex64) 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype,expected_result", 386s [ 386s ( 386s "float32", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.float32, 386s ), 386s ), 386s # ("longdouble", 386s # np.array( 386s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 386s # dtype=np.longdouble)), 386s ( 386s "float64", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.float64, 386s ), 386s ), 386s ( 386s "complex128", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.complex128, 386s ), 386s ), 386s ( 386s "complex64", 386s np.array( 386s [ 386s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 386s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 386s ], 386s dtype=np.complex64, 386s ), 386s ), 386s ], 386s ) 386s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(u, v) * ufl.dx 386s L = ufl.conj(v) * ufl.dx 386s forms = [a, L] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:150: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2e0742add865214de03465acb5c214247d84d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_856d25db9b743f4ea82b83b60468e08215ade607'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _______________ test_helmholtz_form_2d[float64-expected_result0] _______________ 386s 386s dtype = 'float64' 386s expected_result = array([[ 0.91666667, -0.54166667, -0.54166667], 386s [-0.54166667, 0.41666667, -0.04166667], 386s [-0.54166667, -0.04166667, 0.41666667]]) 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype,expected_result", 386s [ 386s ( 386s "float64", 386s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 386s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 386s ), 386s ( 386s "complex128", 386s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 386s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 386s ), 386s ], 386s ) 386s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s if np.issubdtype(dtype, np.complexfloating): 386s k = ufl.constantvalue.ComplexValue(1j) 386s elif np.issubdtype(dtype, np.floating): 386s k = 1.0 386s else: 386s raise RuntimeError( 386s "Unknown mode type", 386s ) 386s 386s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:186: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e267e89625ce2d79373ab695c504e73169755...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ff5e6f71b670d9f13895965e6be1ba7a704829f0'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_helmholtz_form_2d[complex128-expected_result1] ______________ 386s 386s dtype = 'complex128' 386s expected_result = array([[ 1. -0.08333333j, -0.5-0.04166667j, -0.5-0.04166667j], 386s [-0.5-0.04166667j, 0.5-0.08333333j, 0. -0.04166667j], 386s [-0.5-0.04166667j, 0. -0.04166667j, 0.5-0.08333333j]]) 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype,expected_result", 386s [ 386s ( 386s "float64", 386s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 386s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 386s ), 386s ( 386s "complex128", 386s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 386s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 386s ), 386s ], 386s ) 386s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s if np.issubdtype(dtype, np.complexfloating): 386s k = ufl.constantvalue.ComplexValue(1j) 386s elif np.issubdtype(dtype, np.floating): 386s k = 1.0 386s else: 386s raise RuntimeError( 386s "Unknown mode type", 386s ) 386s 386s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:186: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_621371ae4be81415c4e5b7ee081b65af454be...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2832a90ae3299bfc21fe8cfd56f528840b174e23'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_laplace_bilinear_form_3d[float64-expected_result0] ____________ 386s 386s dtype = 'float64' 386s expected_result = array([[ 0.5 , -0.16666667, -0.16666667, -0.16666667], 386s [-0.16666667, 0.16666667, 0. , 0. ... [-0.16666667, 0. , 0.16666667, 0. ], 386s [-0.16666667, 0. , 0. , 0.16666667]]) 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype,expected_result", 386s [ 386s ( 386s "float64", 386s np.array( 386s [ 386s [0.5, -1 / 6, -1 / 6, -1 / 6], 386s [-1 / 6, 1 / 6, 0.0, 0.0], 386s [-1 / 6, 0.0, 1 / 6, 0.0], 386s [-1 / 6, 0.0, 0.0, 1 / 6], 386s ], 386s dtype=np.float64, 386s ), 386s ), 386s ( 386s "complex128", 386s np.array( 386s [ 386s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 386s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 386s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 386s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 386s ], 386s dtype=np.complex128, 386s ), 386s ), 386s ], 386s ) 386s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 386s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:253: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_a8bb79871a6d09f087d1eca6cbb6c57db7... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_22c34196b70c1879afc7854b53887dc9bbbe63c4'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s __________ test_laplace_bilinear_form_3d[complex128-expected_result1] __________ 386s 386s dtype = 'complex128' 386s expected_result = array([[ 0.5 +0.j, -0.16666667+0.j, -0.16666667+0.j, 386s -0.16666667+0.j], 386s [-0.16666667+0.j, 0.16666...67+0.j, 386s 0. +0.j], 386s [-0.16666667+0.j, 0. +0.j, 0. +0.j, 386s 0.16666667+0.j]]) 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype,expected_result", 386s [ 386s ( 386s "float64", 386s np.array( 386s [ 386s [0.5, -1 / 6, -1 / 6, -1 / 6], 386s [-1 / 6, 1 / 6, 0.0, 0.0], 386s [-1 / 6, 0.0, 1 / 6, 0.0], 386s [-1 / 6, 0.0, 0.0, 1 / 6], 386s ], 386s dtype=np.float64, 386s ), 386s ), 386s ( 386s "complex128", 386s np.array( 386s [ 386s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 386s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 386s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 386s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 386s ], 386s dtype=np.complex128, 386s ), 386s ), 386s ], 386s ) 386s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 386s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:253: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_acbd4fe647cb9483177f0b03e5e5e0e9f6... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_f6e077c51bd05b00388b28fa11e9c28dbde2c444'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ____________________________ test_form_coefficient _____________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_form_coefficient(compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TestFunction(space), ufl.TrialFunction(space) 386s g = ufl.Coefficient(space) 386s a = g * ufl.inner(u, v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:292: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_a4c56870e607ce46587829333a216c04a0344...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_032bc46743c18af2a5dc8b9fe3a389747d8055f6'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _______________________________ test_subdomains ________________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_subdomains(compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a0 = ufl.inner(u, v) * ufl.dx + ufl.inner(u, v) * ufl.dx(2) 386s a1 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx 386s a2 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx(1) 386s a3 = ufl.inner(u, v) * ufl.ds(210) + ufl.inner(u, v) * ufl.ds(0) 386s forms = [a0, a1, a2, a3] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:334: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_ddbde2951198ee8007031e7bfdb60cbcb3370...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9fd96f6b1f8a98f8091fbeab8395908e969e590b'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ____________________ test_interior_facet_integral[float64] _____________________ 386s 386s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 386s def test_interior_facet_integral(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 386s forms = [a0] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:373: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_3a6de3e984457d4bead69d5da9dbc6c991f84...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1bea8993825d73d6a939601ca756d48bef08c3b9'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________________ test_interior_facet_integral[complex128] ___________________ 386s 386s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 386s def test_interior_facet_integral(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 386s forms = [a0] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:373: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_bf4feef785d31cfa9091215ebfd8f469d6682...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ae03af9adbb77db8c97e71f3cf583f5fd9ec0570'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s __________________________ test_conditional[float64] ___________________________ 386s 386s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float64", 386s "complex128", 386s ], 386s ) 386s def test_conditional(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s x = ufl.SpatialCoordinate(domain) 386s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 386s c1 = ufl.conditional(condition, 2.0, 1.0) 386s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 386s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 386s b = c2 * ufl.conj(v) * ufl.dx 386s 386s forms = [a, b] 386s 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:439: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2bc6b371653cda8c44f1d52d94cea137ea36b...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b33eaa182fa37f08e0eb52adbbffb6ea61f4db71'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _________________________ test_conditional[complex128] _________________________ 386s 386s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float64", 386s "complex128", 386s ], 386s ) 386s def test_conditional(dtype, compile_args): 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s x = ufl.SpatialCoordinate(domain) 386s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 386s c1 = ufl.conditional(condition, 2.0, 1.0) 386s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 386s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 386s b = c2 * ufl.conj(v) * ufl.dx 386s 386s forms = [a, b] 386s 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:439: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_fc3426da4e9519906b9a0f38e6c98d9dce2cd...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_bca455c264c04cb96755f3fb631ccf7e9be73e7c'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ____________________________ test_custom_quadrature ____________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_custom_quadrature(compile_args): 386s ve = basix.ufl.element("P", "triangle", 1, shape=(2,)) 386s mesh = ufl.Mesh(ve) 386s 386s e = basix.ufl.element("P", mesh.ufl_cell().cellname(), 2) 386s V = ufl.FunctionSpace(mesh, e) 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s 386s 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]] 386s weights = [1 / 12] * 6 386s a = ( 386s u 386s * v 386s * ufl.dx( 386s metadata={ 386s "quadrature_rule": "custom", 386s "quadrature_points": points, 386s "quadrature_weights": weights, 386s } 386s ) 386s ) 386s 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:513: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_fa0d9ff2bb83c62da3cb23df2d6cb1cbdeac5...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_17ff8fad0022347b8528fe9bd4fa5c4faa304375'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ________________________________ test_curl_curl ________________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_curl_curl(compile_args): 386s V = basix.ufl.element("N1curl", "triangle", 2) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, V) 386s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 386s a = ufl.inner(ufl.curl(u), ufl.curl(v)) * ufl.dx 386s 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:549: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_eeaed692d6b296258f23390378b7559fb1ba2...ix element (N1E, triangle, 2, legendre, unset, False, float64, []): 'element_eea7dd35b362b474e439f75439ee4fd738173215'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_lagrange_triangle[1--0-float64] _____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 386s sym_fun = at 0xef62f168> 386s ufl_fun = at 0xef62f1b8> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "triangle", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:620: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_c9c31519db8f7277183bd7f62573910720ee3...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ed6f0d084f5221705b2226bb63e3b3f349d1e94e'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_lagrange_triangle[1--1-float64] _____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 386s sym_fun = at 0xef62f208> 386s ufl_fun = at 0xef62f258> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "triangle", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:620: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_41d8b5b9f91c3e288fda87a24cb4913ebb648...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9cb9fe6fdd44711eeeb3be4d6149d82922c4b428'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_lagrange_triangle[1--2-float64] _____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 386s sym_fun = at 0xef62f2a8> 386s ufl_fun = at 0xef62f2f8> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "triangle", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:620: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_3ec856518be2532f603c06ab970c6e28c34e7...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_ea3fc9b2df2b8a5c4ccb01f93bd44452e416021f'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_lagrange_triangle[2--0-float64] _____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 386s sym_fun = at 0xef62f168> 386s ufl_fun = at 0xef62f1b8> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "triangle", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:620: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_29f6a8ce6df99d501f6ca9c43a4fbeb9f28d5...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_e368c653d6c4ddbe4aa5c72e3438e8bc1dc5b6d7'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_lagrange_triangle[2--1-float64] _____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 386s sym_fun = at 0xef62f208> 386s ufl_fun = at 0xef62f258> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "triangle", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:620: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_480995979eff7feeaba91e1c318c420b66565...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_28c614fe7d5c909f3edd1202cbb402c7bf22bf85'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_lagrange_triangle[2--2-float64] _____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 386s sym_fun = at 0xef62f2a8> 386s ufl_fun = at 0xef62f2f8> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "triangle", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:620: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_237207eddd0971411002b5e516e445933e45d...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_640c5bc4573de6490c78e6b236616d05f657ec96'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_lagrange_triangle[3--0-float64] _____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 386s sym_fun = at 0xef62f168> 386s ufl_fun = at 0xef62f1b8> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "triangle", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:620: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_742bafe7cdeec9f10a1bb716cde9b97de8dc7...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_1f019ecfbdbedfd95b2782e9ccf718762394ab4d'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_lagrange_triangle[3--1-float64] _____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 386s sym_fun = at 0xef62f208> 386s ufl_fun = at 0xef62f258> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "triangle", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:620: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b0465dcc72332cf80937eff58c088f88e4429...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_3bc3f392b368f377a0b00e0d842aada89a15ed48'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_lagrange_triangle[3--2-float64] _____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 386s sym_fun = at 0xef62f2a8> 386s ufl_fun = at 0xef62f2f8> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "triangle", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:620: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_203588277b8af2ae07d88243b86e54a96ebbc...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_44b13ac11d9524330fb0f7a127cee3c0b4d56663'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_lagrange_tetrahedron[1--0-float64] ____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 386s sym_fun = at 0xef62f438> 386s ufl_fun = at 0xef62f488> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "tetrahedron", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:745: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_d83d55bf89f7ff972a2fcd08531658a296... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_82cb452d957d1574f1415455e7e295dbdebc7389'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_lagrange_tetrahedron[1--1-float64] ____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 386s sym_fun = at 0xef62f4d8> 386s ufl_fun = at 0xef62f528> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "tetrahedron", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:745: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_cbe3c3ad4b83de34c4eeb747485833b7bc... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_6da952bc2196ab422639ece915fd2987b9ce083e'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_lagrange_tetrahedron[1--2-float64] ____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 386s sym_fun = at 0xef62f578> 386s ufl_fun = at 0xef62f5c8> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "tetrahedron", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:745: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_c912fd3f29151e680786e9fb04bc427149... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_3f86d7c83456c465e539e66f5704e22c70162dae'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_lagrange_tetrahedron[2--0-float64] ____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 386s sym_fun = at 0xef62f438> 386s ufl_fun = at 0xef62f488> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "tetrahedron", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:745: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_6346bcc4b17f2857ab8cb43cdf8039c4a4...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_47b6d49e0ac34c96752dc636965ddc4cb4d29622'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_lagrange_tetrahedron[2--1-float64] ____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 386s sym_fun = at 0xef62f4d8> 386s ufl_fun = at 0xef62f528> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "tetrahedron", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:745: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_992d7b3b8ea104b048705852b805b54e6e...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_0d8977e1cddbbf041cce08088b8f7a8e39d77a81'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_lagrange_tetrahedron[2--2-float64] ____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 386s sym_fun = at 0xef62f578> 386s ufl_fun = at 0xef62f5c8> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "tetrahedron", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:745: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_ee8be77e6a691ed11a7b8ed72f3c27f386...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_1b1c5d171837367cfd33fb14f74d8568e473c3b0'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_lagrange_tetrahedron[3--0-float64] ____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 386s sym_fun = at 0xef62f438> 386s ufl_fun = at 0xef62f488> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "tetrahedron", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:745: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 2} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_21a40c23f51fab47ae25054786ec1aa507...element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_8cbdf21f681058391c8cd63708cc1ccf7d14b6da'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_lagrange_tetrahedron[3--1-float64] ____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 386s sym_fun = at 0xef62f4d8> 386s ufl_fun = at 0xef62f528> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "tetrahedron", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:745: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 2} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_b53ce35657f44cc6791508c1a07715548f...element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_873674c822e84753db0553c311f17b35335463b8'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________ test_lagrange_tetrahedron[3--2-float64] ____________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 386s sym_fun = at 0xef62f578> 386s ufl_fun = at 0xef62f5c8> 386s 386s @pytest.mark.parametrize("dtype", ["float64"]) 386s @pytest.mark.parametrize( 386s "sym_fun,ufl_fun", 386s [ 386s (lambda i: i, lambda i: i), 386s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 386s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 386s ], 386s ) 386s @pytest.mark.parametrize("order", [1, 2, 3]) 386s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 386s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 386s element = basix.ufl.element("Lagrange", "tetrahedron", order) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s 386s a = ufl_fun(v) * ufl.dx 386s forms = [a] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:745: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 386s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 2} 386s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_0b085f3dd241c11eb93ad34905e59b981a...element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_557caf151d746ab9f33d7955af71e67a4a3cc057'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s __________________________________ test_prism __________________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_prism(compile_args): 386s element = basix.ufl.element("Lagrange", "prism", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "prism", 1, shape=(3,))) 386s space = ufl.FunctionSpace(domain, element) 386s v = ufl.TestFunction(space) 386s L = v * ufl.dx 386s forms = [L] 386s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:784: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, prism, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, prism, 1, gll_warped, unset, False, float64, []): 'element_bd32f268864630ba08f0b0d9fbb1b3596a2f08ef...lement (P, prism, 1, gll_warped, unset, False, float64, []), (3,)): 'element_6d83210fb01e7af0675bdce56930f0eca3ae9c3c'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ___________________________ test_complex_operations ____________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_complex_operations(compile_args): 386s dtype = "complex128" 386s cell = "triangle" 386s c_element = basix.ufl.element("Lagrange", cell, 1, shape=(2,)) 386s mesh = ufl.Mesh(c_element) 386s element = basix.ufl.element("DG", cell, 0, shape=(2,)) 386s V = ufl.FunctionSpace(mesh, element) 386s u = ufl.Coefficient(V) 386s J1 = ufl.real(u)[0] * ufl.imag(u)[1] * ufl.conj(u)[0] * ufl.dx 386s J2 = ufl.real(u[0]) * ufl.imag(u[1]) * ufl.conj(u[0]) * ufl.dx 386s forms = [J1, J2] 386s 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:823: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...True, float64, []): 2, blocked element (Basix element (P, triangle, 0, gll_warped, unset, True, float64, []), (2,)): 3} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_f65e641d1a4a1936640714cdf9330c66fff39...ment (P, triangle, 0, gll_warped, unset, True, float64, []), (2,)): 'element_4404c4b9f7208d6885cb4751372d379a06259a37'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s __________________________ test_invalid_function_name __________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_invalid_function_name(compile_args): 386s # Monkey patch to force invalid name 386s old_str = ufl.Coefficient.__str__ 386s ufl.Coefficient.__str__ = lambda self: "invalid function name" 386s 386s V = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, V) 386s u = ufl.Coefficient(space) 386s a = ufl.inner(u, u) * ufl.dx 386s forms = [a] 386s try: 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:888: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6d8ca439f17e9a7f6181bb4973c89f21f70f6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_e606136488b791d0b486d8eab1d576d479236c64'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s 386s During handling of the above exception, another exception occurred: 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_invalid_function_name(compile_args): 386s # Monkey patch to force invalid name 386s old_str = ufl.Coefficient.__str__ 386s ufl.Coefficient.__str__ = lambda self: "invalid function name" 386s 386s V = basix.ufl.element("Lagrange", "triangle", 1) 386s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s space = ufl.FunctionSpace(domain, V) 386s u = ufl.Coefficient(space) 386s a = ufl.inner(u, u) * ufl.dx 386s forms = [a] 386s try: 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, cffi_extra_compile_args=compile_args 386s ) 386s except ValueError: 386s pass 386s except Exception: 386s > raise RuntimeError("Compilation should fail with ValueError.") 386s E RuntimeError: Compilation should fail with ValueError. 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:894: RuntimeError 386s _______________________ test_interval_vertex_quadrature ________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_interval_vertex_quadrature(compile_args): 386s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(1,)) 386s mesh = ufl.Mesh(c_el) 386s 386s x = ufl.SpatialCoordinate(mesh) 386s dx = ufl.Measure("dx", metadata={"quadrature_rule": "vertex"}) 386s b = x[0] * dx 386s 386s forms = [b] 386s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s forms, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:909: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_cf63f865abfc9e63a33efbc4d08b2c8fe1e95...ent (P, interval, 1, gll_warped, unset, False, float64, []), (1,)): 'element_74442a22e8ef02020d9e818255e729b43b861d99'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _________________________ test_facet_vertex_quadrature _________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_facet_vertex_quadrature(compile_args): 386s """Test facet vertex quadrature""" 386s c_el = basix.ufl.element("Lagrange", "quadrilateral", 1, shape=(2,)) 386s mesh = ufl.Mesh(c_el) 386s 386s x = ufl.SpatialCoordinate(mesh) 386s ds = ufl.Measure("ds", metadata={"quadrature_rule": "vertex"}) 386s expr = x[0] + ufl.cos(x[1]) 386s b1 = expr * ds 386s ds_c = ufl.Measure( 386s "ds", 386s metadata={ 386s "quadrature_rule": "custom", 386s "quadrature_points": np.array([[0.0], [1.0]]), 386s "quadrature_weights": np.array([1.0 / 2.0, 1.0 / 2.0]), 386s }, 386s ) 386s b2 = expr * ds_c 386s forms = [b1, b2] 386s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 386s forms, cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:954: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []): 'element_3e4a477d378e4dbd8ed959ecb28f798c...P, quadrilateral, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9b81c916f972f597598f003a1d900665d6c6c036'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s __________________________ test_manifold_derivatives ___________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_manifold_derivatives(compile_args): 386s """Test higher order derivatives on manifolds""" 386s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(2,)) 386s mesh = ufl.Mesh(c_el) 386s 386s x = ufl.SpatialCoordinate(mesh) 386s dx = ufl.Measure("dx", domain=mesh) 386s order = 4 386s el = basix.ufl.element("Lagrange", "interval", order) 386s V = ufl.FunctionSpace(mesh, el) 386s 386s u = ufl.Coefficient(V) 386s d = 5.3 386s f_ex = d * order * (order - 1) * x[1] ** (order - 2) 386s expr = u.dx(1).dx(1) - f_ex 386s J = expr * expr * dx 386s 386s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 386s [J], cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:1012: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, interval, 4, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, interval, 4, gll_warped, unset, False, float64, []): 'element_1d3b9778d6e6de2cc5f657407d6e0c909ed8e...ent (P, interval, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c22a341234fa85a1aa13dfa5bd9a04a299fa5467'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ____________________________ test_integral_grouping ____________________________ 386s 386s compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s def test_integral_grouping(compile_args): 386s """We group integrals with common integrands to avoid duplicated 386s integration kernels. This means that `inner(u, v)*dx((1,2,3)) + 386s inner(grad(u), grad(v))*dx(2) + inner(u,v)*dx` is grouped as 386s 1. `inner(u,v)*dx(("everywhere", 1, 3))` 386s 2. `(inner(grad(u), grad(v)) + inner(u, v))*dx(2)` 386s Each of the forms has one generated `tabulate_tensor_*` function, 386s which is referred to multiple times in `integrals_` and 386s `integral_ids_` 386s 386s """ 386s mesh = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 386s V = ufl.FunctionSpace(mesh, basix.ufl.element("Lagrange", "triangle", 1)) 386s u = ufl.TrialFunction(V) 386s v = ufl.TestFunction(V) 386s a = ( 386s ufl.inner(u, v) * ufl.dx((1, 2, 3)) 386s + ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx(2) 386s + ufl.inner(u, v) * ufl.dx 386s ) 386s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 386s [a], cffi_extra_compile_args=compile_args 386s ) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_jit_forms.py:1060: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_f6547958b6bce701a8eb0c2434cf7e8661ea6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_cbde31db8f9f8a1723b88a7ff7fb3e95246ede31'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ______________________ test_multiple_mesh_codim0[float64] ______________________ 386s 386s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float64", 386s "complex128", 386s ], 386s ) 386s def test_multiple_mesh_codim0(dtype, compile_args): 386s # Define coordinate element and element used in parent and sub-mesh 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 386s 386s domain = ufl.Mesh(coordinate_element) 386s space = ufl.FunctionSpace(domain, element) 386s u_parent = ufl.TrialFunction(space) 386s 386s # Create submesh and functionspace on submesh 386s sub_domain = ufl.Mesh(coordinate_element) 386s subspace = ufl.FunctionSpace(sub_domain, element) 386s v_sub = ufl.TestFunction(subspace) 386s 386s # 386s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 386s 386s > A = compute_tensor([a], dtype, compile_args) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_submesh.py:78: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_submesh.py:20: in compute_tensor 386s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_58f6a8d73bc9f3c29b693bcbe5fd476495885...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1df5df99132bf9b49573829041050f7c2cacfcb9'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ____________________ test_multiple_mesh_codim0[complex128] _____________________ 386s 386s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 386s 386s @pytest.mark.parametrize( 386s "dtype", 386s [ 386s "float64", 386s "complex128", 386s ], 386s ) 386s def test_multiple_mesh_codim0(dtype, compile_args): 386s # Define coordinate element and element used in parent and sub-mesh 386s element = basix.ufl.element("Lagrange", "triangle", 1) 386s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 386s 386s domain = ufl.Mesh(coordinate_element) 386s space = ufl.FunctionSpace(domain, element) 386s u_parent = ufl.TrialFunction(space) 386s 386s # Create submesh and functionspace on submesh 386s sub_domain = ufl.Mesh(coordinate_element) 386s subspace = ufl.FunctionSpace(sub_domain, element) 386s v_sub = ufl.TestFunction(subspace) 386s 386s # 386s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 386s 386s > A = compute_tensor([a], dtype, compile_args) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_submesh.py:78: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_submesh.py:20: in compute_tensor 386s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 386s 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} 386s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e969b94287a8f0b47bc68697876ebd4fe5745...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f892a305e3e7f0cac162dfe97b142573423bba14'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_bilinear_form[CellType.quadrilateral-1-float32] _____________ 386s 386s dtype = 'float32', P = 1, cell_type = CellType.quadrilateral 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 386s 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} 386s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_e7bb9e666b93f01d679eef...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_f2f8e674f350dd2df3f24d328ae2df258181cac4'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_bilinear_form[CellType.quadrilateral-1-float64] _____________ 386s 386s dtype = 'float64', P = 1, cell_type = CellType.quadrilateral 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 386s 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} 386s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_761da0a37f14c7de9061cf...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_9dec238957d8cb4c67ba71b081cab647c33df476'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_bilinear_form[CellType.quadrilateral-2-float32] _____________ 386s 386s dtype = 'float32', P = 2, cell_type = CellType.quadrilateral 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 386s 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} 386s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_f790bd761c6ccf8ca9aa91...2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_69afc1dbfb3405ca701fd7ecfea517a3840ad580'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_bilinear_form[CellType.quadrilateral-2-float64] _____________ 386s 386s dtype = 'float64', P = 2, cell_type = CellType.quadrilateral 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 386s 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} 386s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_c6c3b87c645194ad988e28...2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_8878e2c9c8e92dae5f7a91de9f903fa33c50cabb'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_bilinear_form[CellType.quadrilateral-3-float32] _____________ 386s 386s dtype = 'float32', P = 3, cell_type = CellType.quadrilateral 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]) 386s element_numbers = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...]): 1, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 2} 386s finite_element_names = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_9458be8f1680ca59d1115029ad4113fdf3a5eb25'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s _____________ test_bilinear_form[CellType.quadrilateral-3-float64] _____________ 386s 386s dtype = 'float64', P = 3, cell_type = CellType.quadrilateral 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]) 386s element_numbers = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...]): 1, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 2} 386s finite_element_names = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_b34d836c1333a6dc9361b44ec81339f3cbb3eea9'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ______________ test_bilinear_form[CellType.hexahedron-1-float32] _______________ 386s 386s dtype = 'float32', P = 1, cell_type = CellType.hexahedron 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 386s 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} 386s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_9aa38d55a57cd...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_166212693a0e4c02523c43bb102ac69695ac745d'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ______________ test_bilinear_form[CellType.hexahedron-1-float64] _______________ 386s 386s dtype = 'float64', P = 1, cell_type = CellType.hexahedron 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 386s 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} 386s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_2275780d9c4cb...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_e0b2c35676c6129d23a01af33203572ac6086bcd'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ______________ test_bilinear_form[CellType.hexahedron-2-float32] _______________ 386s 386s dtype = 'float32', P = 2, cell_type = CellType.hexahedron 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s 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]) 386s 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} 386s 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_ab2f2150de01c03826bd528cf0ac569d6156339f'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ______________ test_bilinear_form[CellType.hexahedron-2-float64] _______________ 386s 386s dtype = 'float64', P = 2, cell_type = CellType.hexahedron 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s 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]) 386s 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} 386s 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_6f3f5713774ce27fa89bf2fe37179261d2ee8024'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ______________ test_bilinear_form[CellType.hexahedron-3-float32] _______________ 386s 386s dtype = 'float32', P = 3, cell_type = CellType.hexahedron 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 386s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Ba...0, 34, 50, 35, 51, 10, 14, 11, 15, 26, 30, 27, 31, 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]): 2} 386s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_527523713f137..., 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]): 'element_afe3fc58a1b1fc8c6151a224edb373bb9cf02bd4'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s ______________ test_bilinear_form[CellType.hexahedron-3-float64] _______________ 386s 386s dtype = 'float64', P = 3, cell_type = CellType.hexahedron 386s 386s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 386s @pytest.mark.parametrize("P", [1, 2, 3]) 386s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 386s def test_bilinear_form(dtype, P, cell_type): 386s gdim = cell_to_gdim(cell_type) 386s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 386s coords = create_tensor_product_element( 386s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 386s ) 386s mesh = ufl.Mesh(coords) 386s V = ufl.FunctionSpace(mesh, element) 386s 386s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 386s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 386s 386s ndofs = element.dim 386s 386s A = np.zeros((ndofs, ndofs), dtype=dtype) 386s w = np.array([], dtype=dtype) 386s c = np.array([], dtype=dtype) 386s 386s xdtype = dtype_to_scalar_dtype(dtype) 386s if cell_type == basix.CellType.quadrilateral: 386s coords = np.array( 386s [[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 386s ) 386s elif cell_type == basix.CellType.hexahedron: 386s coords = np.array( 386s [ 386s [0.0, 0.0, 0.0], 386s [1.0, 0.0, 0.0], 386s [0.0, 1.0, 0.0], 386s [1.0, 1.0, 0.0], 386s [0.0, 0.0, 1.0], 386s [1.0, 0.0, 1.0], 386s [0.0, 1.0, 1.0], 386s [1.0, 1.0, 1.0], 386s ], 386s dtype=xdtype, 386s ) 386s 386s c_type = dtype_to_c_type(dtype) 386s c_xtype = dtype_to_c_type(xdtype) 386s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:104: 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /tmp/autopkgtest.mecMNi/build.GHz/src/test/test_tensor_product.py:43: in generate_kernel 386s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:276: in compile_forms 386s raise e 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:256: in compile_forms 386s impl = _compile_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/codegeneration/jit.py:383: in _compile_objects 386s _, code_body = ffcx.compiler.compile_ufl_objects( 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/compiler.py:113: in compile_ufl_objects 386s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:215: in compute_ir 386s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s 386s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 386s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Ba...0, 34, 50, 35, 51, 10, 14, 11, 15, 26, 30, 27, 31, 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]): 2} 386s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_8970404e6b902..., 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]): 'element_925e6528be11a0845f80f3b07afa859c575028f2'} 386s 386s def _compute_element_ir(element, element_numbers, finite_element_names): 386s """Compute intermediate representation of element.""" 386s logger.info(f"Computing IR for element {element}") 386s 386s # Create basix elements 386s cell = element.cell 386s 386s # Store id 386s ir = {"id": element_numbers[element]} 386s ir["name"] = finite_element_names[element] 386s 386s # Compute data for each function 386s ir["signature"] = repr(element) 386s ir["cell_shape"] = element.cell_type.name 386s ir["topological_dimension"] = cell.topological_dimension() 386s ir["space_dimension"] = element.dim + element.num_global_support_dofs 386s > ir["element_type"] = element.ufcx_element_type 386s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 386s 386s /tmp/autopkgtest.mecMNi/build.GHz/src/ffcx/ir/representation.py:293: AttributeError 386s =============================== warnings summary =============================== 386s test/test_jit_forms.py::test_facet_vertex_quadrature 386s /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. 386s warnings.warn( 386s 386s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 386s =========================== short test summary info ============================ 386s SKIPPED [4] test/test_signatures.py:41: Numba not installed 386s FAILED test/test_add_mode.py::test_additive_facet_integral[float32] - Attribu... 386s FAILED test/test_add_mode.py::test_additive_facet_integral[float64] - Attribu... 386s FAILED test/test_add_mode.py::test_additive_facet_integral[complex64] - Attri... 386s FAILED test/test_add_mode.py::test_additive_facet_integral[complex128] - Attr... 386s FAILED test/test_add_mode.py::test_additive_cell_integral[float32] - Attribut... 386s FAILED test/test_add_mode.py::test_additive_cell_integral[float64] - Attribut... 386s FAILED test/test_add_mode.py::test_additive_cell_integral[complex64] - Attrib... 386s FAILED test/test_add_mode.py::test_additive_cell_integral[complex128] - Attri... 386s FAILED test/test_blocked_elements.py::test_finite_element - AttributeError: '... 386s FAILED test/test_blocked_elements.py::test_vector_element - AttributeError: '... 386s FAILED test/test_blocked_elements.py::test_tensor_element - AttributeError: '... 386s FAILED test/test_blocked_elements.py::test_vector_quadrature_element - Attrib... 386s FAILED test/test_cache.py::test_cache_modes - AttributeError: '_BasixElement'... 386s FAILED test/test_cmdline.py::test_visualise - AssertionError: assert False 386s FAILED test/test_jit_expression.py::test_matvec - AttributeError: '_BasixElem... 386s FAILED test/test_jit_expression.py::test_rank1 - AttributeError: '_BasixEleme... 386s FAILED test/test_jit_expression.py::test_elimiate_zero_tables_tensor - Attrib... 386s FAILED test/test_jit_expression.py::test_facet_expression - AttributeError: m... 386s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] 386s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] 386s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] 386s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] 386s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] 386s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] 386s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] 386s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] 386s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] 386s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] 386s FAILED test/test_jit_forms.py::test_form_coefficient - AttributeError: '_Basi... 386s FAILED test/test_jit_forms.py::test_subdomains - AttributeError: '_BasixEleme... 386s FAILED test/test_jit_forms.py::test_interior_facet_integral[float64] - Attrib... 386s FAILED test/test_jit_forms.py::test_interior_facet_integral[complex128] - Att... 386s FAILED test/test_jit_forms.py::test_conditional[float64] - AttributeError: '_... 386s FAILED test/test_jit_forms.py::test_conditional[complex128] - AttributeError:... 386s FAILED test/test_jit_forms.py::test_custom_quadrature - AttributeError: '_Bas... 386s FAILED test/test_jit_forms.py::test_curl_curl - AttributeError: '_BasixElemen... 386s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] 386s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] 386s FAILED test/test_jit_forms.py::test_prism - AttributeError: '_BasixElement' o... 386s FAILED test/test_jit_forms.py::test_complex_operations - AttributeError: '_Ba... 386s FAILED test/test_jit_forms.py::test_invalid_function_name - RuntimeError: Com... 386s FAILED test/test_jit_forms.py::test_interval_vertex_quadrature - AttributeErr... 386s FAILED test/test_jit_forms.py::test_facet_vertex_quadrature - AttributeError:... 386s FAILED test/test_jit_forms.py::test_manifold_derivatives - AttributeError: '_... 386s FAILED test/test_jit_forms.py::test_integral_grouping - AttributeError: '_Bas... 386s FAILED test/test_submesh.py::test_multiple_mesh_codim0[float64] - AttributeEr... 386s FAILED test/test_submesh.py::test_multiple_mesh_codim0[complex128] - Attribut... 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] 386s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] 386s ============= 75 failed, 8 passed, 4 skipped, 1 warning in 53.14s ============== 387s autopkgtest [20:38:14]: test command1: -----------------------] 391s autopkgtest [20:38:18]: test command1: - - - - - - - - - - results - - - - - - - - - - 391s command1 FAIL non-zero exit status 1 394s autopkgtest [20:38:21]: @@@@@@@@@@@@@@@@@@@@ summary 394s command1 FAIL non-zero exit status 1