0s autopkgtest [06:22:30]: starting date and time: 2024-11-15 06:22:30+0000 0s autopkgtest [06:22:30]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [06:22:30]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.konr__x7/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:fenics-basix --apt-upgrade fenics-ffcx --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=fenics-basix/0.9.0-2build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-s390x-13.secgroup --name adt-plucky-s390x-fenics-ffcx-20241115-062230-juju-7f2275-prod-proposed-migration-environment-20-bffcd8d1-e308-4dcd-bb04-039670fb1ff7 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 85s autopkgtest [06:23:55]: testbed dpkg architecture: s390x 85s autopkgtest [06:23:55]: testbed apt version: 2.9.8 85s autopkgtest [06:23:55]: @@@@@@@@@@@@@@@@@@@@ test bed setup 86s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 86s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1055 kB] 86s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 86s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [97.2 kB] 86s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 86s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [173 kB] 86s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [746 kB] 86s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4648 B] 86s Fetched 2172 kB in 1s (2858 kB/s) 86s Reading package lists... 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 90s Calculating upgrade... 90s The following packages will be upgraded: 90s libcap-ng0 libexpat1 lxd-installer man-db pastebinit python3-systemd 90s xfsprogs 90s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 90s Need to get 2461 kB of archives. 90s After this operation, 166 kB of additional disk space will be used. 90s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libcap-ng0 s390x 0.8.5-3build1 [15.9 kB] 90s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libexpat1 s390x 2.6.4-1 [93.3 kB] 90s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x man-db s390x 2.13.0-1 [1337 kB] 90s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x lxd-installer all 9 [5084 B] 90s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x pastebinit all 1.7.1-1 [14.9 kB] 90s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x python3-systemd s390x 235-1build5 [46.9 kB] 90s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x xfsprogs s390x 6.8.0-2.2ubuntu2 [948 kB] 91s Preconfiguring packages ... 91s Fetched 2461 kB in 1s (3702 kB/s) 91s (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 ... 55511 files and directories currently installed.) 91s Preparing to unpack .../libcap-ng0_0.8.5-3build1_s390x.deb ... 91s Unpacking libcap-ng0:s390x (0.8.5-3build1) over (0.8.5-1) ... 91s Setting up libcap-ng0:s390x (0.8.5-3build1) ... 91s (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 ... 55511 files and directories currently installed.) 91s Preparing to unpack .../0-libexpat1_2.6.4-1_s390x.deb ... 91s Unpacking libexpat1:s390x (2.6.4-1) over (2.6.2-2) ... 91s Preparing to unpack .../1-man-db_2.13.0-1_s390x.deb ... 91s Unpacking man-db (2.13.0-1) over (2.12.1-3) ... 91s Preparing to unpack .../2-lxd-installer_9_all.deb ... 91s Unpacking lxd-installer (9) over (8) ... 91s Preparing to unpack .../3-pastebinit_1.7.1-1_all.deb ... 91s Unpacking pastebinit (1.7.1-1) over (1.7.0-1) ... 91s Preparing to unpack .../4-python3-systemd_235-1build5_s390x.deb ... 91s Unpacking python3-systemd (235-1build5) over (235-1build4) ... 91s Preparing to unpack .../5-xfsprogs_6.8.0-2.2ubuntu2_s390x.deb ... 91s Unpacking xfsprogs (6.8.0-2.2ubuntu2) over (6.8.0-2.2ubuntu1) ... 91s Setting up libexpat1:s390x (2.6.4-1) ... 91s Setting up pastebinit (1.7.1-1) ... 91s Setting up man-db (2.13.0-1) ... 91s Updating database of manual pages ... 92s man-db.service is a disabled or a static unit not running, not starting it. 92s Setting up xfsprogs (6.8.0-2.2ubuntu2) ... 93s update-initramfs: deferring update (trigger activated) 93s Setting up lxd-installer (9) ... 93s Setting up python3-systemd (235-1build5) ... 93s Processing triggers for libc-bin (2.40-1ubuntu3) ... 93s Processing triggers for initramfs-tools (0.142ubuntu34) ... 93s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 93s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 95s Using config file '/etc/zipl.conf' 95s Building bootmap in '/boot' 95s Adding IPL section 'ubuntu' (default) 95s Preparing boot device for LD-IPL: vda (0000). 95s Done. 96s Reading package lists... 96s Building dependency tree... 96s Reading state information... 96s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 96s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 96s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 96s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 96s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 97s Reading package lists... 97s Reading package lists... 97s Building dependency tree... 97s Reading state information... 97s Calculating upgrade... 97s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 97s Reading package lists... 97s Building dependency tree... 97s Reading state information... 97s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 98s autopkgtest [06:24:08]: rebooting testbed after setup commands that affected boot 116s autopkgtest [06:24:26]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 118s autopkgtest [06:24:28]: @@@@@@@@@@@@@@@@@@@@ apt-source fenics-ffcx 120s Get:1 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (dsc) [2533 B] 120s Get:2 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (tar) [134 kB] 120s Get:3 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (diff) [9740 B] 120s gpgv: Signature made Thu Apr 25 09:26:51 2024 UTC 120s gpgv: using RSA key 1B5D04B1E507BBF03669E2B801F35FC33E73AF8C 120s gpgv: Can't check signature: No public key 120s dpkg-source: warning: cannot verify inline signature for ./fenics-ffcx_0.8.0-1.dsc: no acceptable signature found 120s autopkgtest [06:24:30]: testing package fenics-ffcx version 1:0.8.0-1 121s autopkgtest [06:24:31]: build not needed 121s autopkgtest [06:24:31]: test command1: preparing testbed 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 123s Starting pkgProblemResolver with broken count: 0 123s Starting 2 pkgProblemResolver with broken count: 0 123s Done 123s The following additional packages will be installed: 123s autoconf automake autopoint autotools-dev build-essential cmake cmake-data 123s cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit 123s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz 123s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 123s fonts-font-awesome fonts-lato g++ g++-14 g++-14-s390x-linux-gnu 123s g++-s390x-linux-gnu gcc gcc-14 gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu 123s gettext graphviz intltool-debian libann0 libaom3 libarchive-zip-perl 123s libasan8 libbasix-dev libbasix0.9 libblas3 libboost-math-dev 123s libboost-math1.83-dev libboost-math1.83.0 libboost1.83-dev libcairo2 123s libcc1-0 libcdt5 libcgraph6 libdatrie1 libde265-0 libdebhelper-perl 123s libdeflate0 libeigen3-dev libexpat1-dev libfile-stripnondeterminism-perl 123s libfontconfig1 libfreetype6 libgcc-14-dev libgd3 libgfortran5 libgomp1 123s libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 libharfbuzz0b 123s libheif-plugin-aomdec libheif-plugin-libde265 libheif1 libice6 123s libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 123s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 123s liblab-gamut1 liblapack3 libltdl7 libmpc3 libpango-1.0-0 libpangocairo-1.0-0 123s libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 libpython3-all-dev 123s libpython3-dev libpython3.12-dev libraqm0 librhash0 libsharpyuv0 libsm6 123s libstdc++-14-dev libthai-data libthai0 libtiff6 libtool libubsan1 libwebp7 123s libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 123s pkg-config pkgconf pkgconf-bin po-debconf pybuild-plugin-pyproject 123s python3-alabaster python3-all python3-all-dev python3-basix python3-build 123s python3-cffi python3-defusedxml python3-dev python3-docutils python3-ffcx 123s python3-imagesize python3-iniconfig python3-installer python3-mpmath 123s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 123s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 123s python3-roman python3-snowballstemmer python3-sphinx 123s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 123s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 123s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 123s Suggested packages: 123s autoconf-archive gnu-standards autoconf-doc cmake-doc cmake-format 123s elpa-cmake-mode ninja-build cpp-doc gcc-14-locales cpp-14-doc dh-make flit 123s gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 123s gdb-s390x-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev gsfonts 123s graphviz-doc basix-doc libboost1.83-doc libboost-atomic1.83-dev 123s libboost-chrono1.83-dev libboost-container1.83-dev libboost-context1.83-dev 123s libboost-contract1.83-dev libboost-coroutine1.83-dev 123s libboost-date-time1.83-dev libboost-exception1.83-dev libboost-fiber1.83-dev 123s libboost-filesystem1.83-dev libboost-graph-parallel1.83-dev 123s libboost-graph1.83-dev libboost-iostreams1.83-dev libboost-json1.83-dev 123s libboost-locale1.83-dev libboost-log1.83-dev libboost-mpi-python1.83-dev 123s libboost-mpi1.83-dev libboost-nowide1.83-dev libboost-numpy1.83-dev 123s libboost-program-options1.83-dev libboost-python1.83-dev 123s libboost-random1.83-dev libboost-regex1.83-dev 123s libboost-serialization1.83-dev libboost-stacktrace1.83-dev 123s libboost-system1.83-dev libboost-test1.83-dev libboost-thread1.83-dev 123s libboost-timer1.83-dev libboost-type-erasure1.83-dev libboost-url1.83-dev 123s libboost-wave1.83-dev libboost1.83-tools-dev libmpfrc++-dev libntl-dev 123s libeigen3-doc libgd-tools libheif-plugin-x265 libheif-plugin-ffmpegdec 123s libheif-plugin-jpegdec libheif-plugin-jpegenc libheif-plugin-j2kdec 123s libheif-plugin-j2kenc libheif-plugin-kvazaar libheif-plugin-rav1e 123s libheif-plugin-svtenc libstdc++-14-doc libtool-doc gfortran 123s | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-venv 123s python-build-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine 123s texlive-lang-french texlive-latex-base texlive-latex-recommended 123s python-installer-doc python-mpmath-doc python3-gmpy2 python3-matplotlib 123s gfortran python-numpy-doc python-ply-doc python-pygraphviz-doc 123s python3-stemmer dvipng dvisvgm fonts-freefont-otf imagemagick-6.q16 latexmk 123s libjs-mathjax sphinx-doc tex-gyre texlive-fonts-extra 123s texlive-fonts-recommended texlive-latex-extra texlive-plain-generic 123s python-sympy-doc python-ufl-doc sgml-base-doc 123s Recommended packages: 123s fonts-liberation libarchive-cpio-perl libgts-bin libheif-plugin-aomenc 123s javascript-common libjson-xs-perl libltdl-dev libmail-sendmail-perl 123s libpaper-utils python3-pil isympy-common 123s The following NEW packages will be installed: 123s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 123s cmake cmake-data cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu 123s debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism 123s docutils-common dwz fontconfig fontconfig-config fonts-dejavu-core 123s fonts-dejavu-mono fonts-font-awesome fonts-lato g++ g++-14 123s g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 gcc-14-s390x-linux-gnu 123s gcc-s390x-linux-gnu gettext graphviz intltool-debian libann0 libaom3 123s libarchive-zip-perl libasan8 libbasix-dev libbasix0.9 libblas3 123s libboost-math-dev libboost-math1.83-dev libboost-math1.83.0 libboost1.83-dev 123s libcairo2 libcc1-0 libcdt5 libcgraph6 libdatrie1 libde265-0 123s libdebhelper-perl libdeflate0 libeigen3-dev libexpat1-dev 123s libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libgcc-14-dev 123s libgd3 libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 123s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 libice6 123s libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 123s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjsoncpp25 123s liblab-gamut1 liblapack3 libltdl7 libmpc3 libpango-1.0-0 libpangocairo-1.0-0 123s libpangoft2-1.0-0 libpathplan4 libpixman-1-0 libpkgconf3 libpython3-all-dev 123s libpython3-dev libpython3.12-dev libraqm0 librhash0 libsharpyuv0 libsm6 123s libstdc++-14-dev libthai-data libthai0 libtiff6 libtool libubsan1 libwebp7 123s libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 123s pkg-config pkgconf pkgconf-bin po-debconf pybuild-plugin-pyproject 123s python3-alabaster python3-all python3-all-dev python3-basix python3-build 123s python3-cffi python3-defusedxml python3-dev python3-docutils python3-ffcx 123s python3-imagesize python3-iniconfig python3-installer python3-mpmath 123s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 123s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 123s python3-roman python3-snowballstemmer python3-sphinx 123s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 123s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 123s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 123s 0 upgraded, 160 newly installed, 0 to remove and 0 not upgraded. 123s Need to get 123 MB/123 MB of archives. 123s After this operation, 566 MB of additional disk space will be used. 123s Get:1 /tmp/autopkgtest.lCmWDT/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [888 B] 123s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-lato all 2.015-1 [2781 kB] 124s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x sgml-base all 1.31 [11.4 kB] 124s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x m4 s390x 1.4.19-4build1 [256 kB] 124s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x autoconf all 2.72-3 [382 kB] 124s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x autotools-dev all 20220109.1 [44.9 kB] 124s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x automake all 1:1.16.5-1.3ubuntu1 [558 kB] 124s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x autopoint all 0.22.5-2 [616 kB] 124s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 124s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 124s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [9570 kB] 124s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-8ubuntu1 [1026 B] 124s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 124s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 124s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-8ubuntu1 [50.6 kB] 124s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-8ubuntu1 [151 kB] 124s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-8ubuntu1 [30.9 kB] 124s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-8ubuntu1 [2963 kB] 124s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-8ubuntu1 [1184 kB] 124s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-8ubuntu1 [1037 kB] 124s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [18.7 MB] 124s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-8ubuntu1 [518 kB] 124s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 124s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 124s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-8ubuntu1 [2608 kB] 124s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [11.0 MB] 125s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-8ubuntu1 [19.9 kB] 125s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 125s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 125s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 125s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libjsoncpp25 s390x 1.9.5-6build1 [82.5 kB] 125s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x librhash0 s390x 1.4.3-3build1 [133 kB] 125s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x cmake-data all 3.30.3-1 [2246 kB] 125s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x cmake s390x 3.30.3-1 [12.3 MB] 125s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 125s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libtool all 2.4.7-7build1 [166 kB] 125s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x dh-autoreconf all 20 [16.1 kB] 125s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] 125s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 125s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x dh-strip-nondeterminism all 1.14.0-1 [5058 B] 125s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x debugedit s390x 1:5.1-1 [49.9 kB] 125s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x dwz s390x 0.15-1build6 [122 kB] 125s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x gettext s390x 0.22.5-2 [996 kB] 125s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] 125s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x po-debconf all 1.0.21+nmu1 [233 kB] 125s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x debhelper all 13.20ubuntu1 [893 kB] 125s Get:47 http://ftpmaster.internal/ubuntu plucky/universe s390x dh-python all 6.20241024 [112 kB] 125s Get:48 http://ftpmaster.internal/ubuntu plucky/main s390x xml-core all 0.19 [20.3 kB] 125s Get:49 http://ftpmaster.internal/ubuntu plucky/main s390x docutils-common all 0.21.2+dfsg-2 [131 kB] 125s Get:50 http://ftpmaster.internal/ubuntu plucky/main s390x libfreetype6 s390x 2.13.3+dfsg-1 [431 kB] 125s Get:51 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-dejavu-mono all 2.37-8 [502 kB] 125s Get:52 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-dejavu-core all 2.37-8 [835 kB] 125s Get:53 http://ftpmaster.internal/ubuntu plucky/main s390x fontconfig-config s390x 2.15.0-1.1ubuntu2 [37.4 kB] 125s Get:54 http://ftpmaster.internal/ubuntu plucky/main s390x libfontconfig1 s390x 2.15.0-1.1ubuntu2 [150 kB] 125s Get:55 http://ftpmaster.internal/ubuntu plucky/main s390x fontconfig s390x 2.15.0-1.1ubuntu2 [191 kB] 125s Get:56 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 125s Get:57 http://ftpmaster.internal/ubuntu plucky/universe s390x libann0 s390x 1.1.2+doc-9build1 [28.8 kB] 125s Get:58 http://ftpmaster.internal/ubuntu plucky/universe s390x libcdt5 s390x 2.42.4-2build3 [23.2 kB] 125s Get:59 http://ftpmaster.internal/ubuntu plucky/universe s390x libcgraph6 s390x 2.42.4-2build3 [46.9 kB] 125s Get:60 http://ftpmaster.internal/ubuntu plucky/main s390x libsharpyuv0 s390x 1.4.0-0.1 [16.2 kB] 125s Get:61 http://ftpmaster.internal/ubuntu plucky/main s390x libaom3 s390x 3.11.0~rc1-1 [1492 kB] 125s Get:62 http://ftpmaster.internal/ubuntu plucky/main s390x libheif-plugin-aomdec s390x 1.19.3-1 [11.5 kB] 125s Get:63 http://ftpmaster.internal/ubuntu plucky/main s390x libde265-0 s390x 1.0.15-1build4 [175 kB] 126s Get:64 http://ftpmaster.internal/ubuntu plucky/main s390x libheif-plugin-libde265 s390x 1.19.3-1 [8974 B] 126s Get:65 http://ftpmaster.internal/ubuntu plucky/main s390x libheif1 s390x 1.19.3-1 [402 kB] 126s Get:66 http://ftpmaster.internal/ubuntu plucky/main s390x libimagequant0 s390x 2.18.0-1build1 [43.3 kB] 126s Get:67 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg-turbo8 s390x 2.1.5-2ubuntu2 [150 kB] 126s Get:68 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] 126s Get:69 http://ftpmaster.internal/ubuntu plucky/main s390x libgraphite2-3 s390x 1.3.14-2ubuntu1 [79.8 kB] 126s Get:70 http://ftpmaster.internal/ubuntu plucky/main s390x libharfbuzz0b s390x 10.0.1-1 [536 kB] 126s Get:71 http://ftpmaster.internal/ubuntu plucky/main s390x libraqm0 s390x 0.10.1-1build1 [16.2 kB] 126s Get:72 http://ftpmaster.internal/ubuntu plucky/main s390x libdeflate0 s390x 1.22-1 [46.1 kB] 126s Get:73 http://ftpmaster.internal/ubuntu plucky/main s390x libjbig0 s390x 2.1-6.1ubuntu2 [33.1 kB] 126s Get:74 http://ftpmaster.internal/ubuntu plucky/main s390x libwebp7 s390x 1.4.0-0.1 [204 kB] 126s Get:75 http://ftpmaster.internal/ubuntu plucky/main s390x libtiff6 s390x 4.5.1+git230720-4ubuntu4 [217 kB] 126s Get:76 http://ftpmaster.internal/ubuntu plucky/main s390x libxpm4 s390x 1:3.5.17-1build2 [41.2 kB] 126s Get:77 http://ftpmaster.internal/ubuntu plucky/main s390x libgd3 s390x 2.3.3-12ubuntu3 [141 kB] 126s Get:78 http://ftpmaster.internal/ubuntu plucky/universe s390x libgts-0.7-5t64 s390x 0.7.6+darcs121130-5.2build1 [164 kB] 126s Get:79 http://ftpmaster.internal/ubuntu plucky/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB] 126s Get:80 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-render0 s390x 1.17.0-2 [17.0 kB] 126s Get:81 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-shm0 s390x 1.17.0-2 [5862 B] 126s Get:82 http://ftpmaster.internal/ubuntu plucky/main s390x libxrender1 s390x 1:0.9.10-1.1build1 [20.4 kB] 126s Get:83 http://ftpmaster.internal/ubuntu plucky/main s390x libcairo2 s390x 1.18.2-2 [580 kB] 126s Get:84 http://ftpmaster.internal/ubuntu plucky/main s390x libltdl7 s390x 2.4.7-7build1 [41.8 kB] 126s Get:85 http://ftpmaster.internal/ubuntu plucky/main s390x libthai-data all 0.1.29-2build1 [158 kB] 126s Get:86 http://ftpmaster.internal/ubuntu plucky/main s390x libdatrie1 s390x 0.2.13-3build1 [20.6 kB] 126s Get:87 http://ftpmaster.internal/ubuntu plucky/main s390x libthai0 s390x 0.1.29-2build1 [20.7 kB] 126s Get:88 http://ftpmaster.internal/ubuntu plucky/main s390x libpango-1.0-0 s390x 1.54.0+ds-3 [249 kB] 126s Get:89 http://ftpmaster.internal/ubuntu plucky/main s390x libpangoft2-1.0-0 s390x 1.54.0+ds-3 [49.5 kB] 126s Get:90 http://ftpmaster.internal/ubuntu plucky/main s390x libpangocairo-1.0-0 s390x 1.54.0+ds-3 [28.0 kB] 126s Get:91 http://ftpmaster.internal/ubuntu plucky/universe s390x libpathplan4 s390x 2.42.4-2build3 [26.5 kB] 126s Get:92 http://ftpmaster.internal/ubuntu plucky/universe s390x libgvc6 s390x 2.42.4-2build3 [789 kB] 126s Get:93 http://ftpmaster.internal/ubuntu plucky/universe s390x libgvpr2 s390x 2.42.4-2build3 [194 kB] 126s Get:94 http://ftpmaster.internal/ubuntu plucky/universe s390x liblab-gamut1 s390x 2.42.4-2build3 [1834 kB] 126s Get:95 http://ftpmaster.internal/ubuntu plucky/main s390x x11-common all 1:7.7+23ubuntu3 [21.7 kB] 126s Get:96 http://ftpmaster.internal/ubuntu plucky/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB] 126s Get:97 http://ftpmaster.internal/ubuntu plucky/main s390x libsm6 s390x 2:1.2.4-1 [18.4 kB] 126s Get:98 http://ftpmaster.internal/ubuntu plucky/main s390x libxt6t64 s390x 1:1.2.1-1.2build1 [184 kB] 126s Get:99 http://ftpmaster.internal/ubuntu plucky/main s390x libxmu6 s390x 2:1.1.3-3build2 [53.0 kB] 126s Get:100 http://ftpmaster.internal/ubuntu plucky/main s390x libxaw7 s390x 2:1.0.16-1 [201 kB] 126s Get:101 http://ftpmaster.internal/ubuntu plucky/universe s390x graphviz s390x 2.42.4-2build3 [698 kB] 126s Get:102 http://ftpmaster.internal/ubuntu plucky/main s390x libblas3 s390x 3.12.0-3build2 [238 kB] 126s Get:103 http://ftpmaster.internal/ubuntu plucky/main s390x libgfortran5 s390x 14.2.0-8ubuntu1 [587 kB] 126s Get:104 http://ftpmaster.internal/ubuntu plucky/main s390x liblapack3 s390x 3.12.0-3build2 [2953 kB] 127s Get:105 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x libbasix0.9 s390x 0.9.0-2build1 [537 kB] 127s Get:106 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB] 127s Get:107 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB] 127s Get:108 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB] 127s Get:109 http://ftpmaster.internal/ubuntu plucky/main s390x pkg-config s390x 1.8.1-4 [7362 B] 127s Get:110 http://ftpmaster.internal/ubuntu plucky/universe s390x libeigen3-dev all 3.4.0-4build1 [1055 kB] 127s Get:111 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x libbasix-dev s390x 0.9.0-2build1 [62.2 kB] 127s Get:112 http://ftpmaster.internal/ubuntu plucky/main s390x libboost1.83-dev s390x 1.83.0-3.2ubuntu2 [10.7 MB] 127s Get:113 http://ftpmaster.internal/ubuntu plucky/universe s390x libboost-math1.83.0 s390x 1.83.0-3.2ubuntu2 [459 kB] 127s Get:114 http://ftpmaster.internal/ubuntu plucky/universe s390x libboost-math1.83-dev s390x 1.83.0-3.2ubuntu2 [556 kB] 127s Get:115 http://ftpmaster.internal/ubuntu plucky/universe s390x libboost-math-dev s390x 1.83.0.2ubuntu1 [4434 B] 127s Get:116 http://ftpmaster.internal/ubuntu plucky/main s390x libexpat1-dev s390x 2.6.4-1 [146 kB] 127s Get:117 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 127s Get:118 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 127s Get:119 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-sphinxdoc all 7.4.7-4 [158 kB] 127s Get:120 http://ftpmaster.internal/ubuntu plucky/main s390x libjson-perl all 4.10000-1 [81.9 kB] 127s Get:121 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB] 127s Get:122 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.12-dev s390x 3.12.7-3 [5838 kB] 128s Get:123 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3-dev s390x 3.12.6-0ubuntu1 [10.2 kB] 128s Get:124 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3-all-dev s390x 3.12.6-0ubuntu1 [918 B] 128s Get:125 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.1-1 [41.4 kB] 128s Get:126 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 128s Get:127 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-toml all 0.10.2-1 [16.5 kB] 128s Get:128 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-wheel all 0.44.0-1 [54.2 kB] 128s Get:129 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-build all 1.2.2-1 [31.0 kB] 128s Get:130 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 128s Get:131 http://ftpmaster.internal/ubuntu plucky/universe s390x pybuild-plugin-pyproject all 6.20241024 [1728 B] 128s Get:132 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.12.6-0ubuntu1 [890 B] 128s Get:133 http://ftpmaster.internal/ubuntu plucky/main s390x python3.12-dev s390x 3.12.7-3 [505 kB] 128s Get:134 http://ftpmaster.internal/ubuntu plucky/main s390x python3-dev s390x 3.12.6-0ubuntu1 [26.7 kB] 128s Get:135 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all-dev s390x 3.12.6-0ubuntu1 [912 B] 128s Get:136 http://ftpmaster.internal/ubuntu plucky/main s390x python3-numpy s390x 1:1.26.4+ds-11build1 [4113 kB] 128s Get:137 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-ufl all 2024.2.0-2 [145 kB] 128s Get:138 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-basix s390x 0.9.0-2build1 [136 kB] 128s Get:139 http://ftpmaster.internal/ubuntu plucky/main s390x python3-ply all 3.11-7 [45.4 kB] 128s Get:140 http://ftpmaster.internal/ubuntu plucky/main s390x python3-pycparser all 2.22-2 [76.5 kB] 128s Get:141 http://ftpmaster.internal/ubuntu plucky/main s390x python3-cffi all 1.17.1-2 [74.8 kB] 128s Get:142 http://ftpmaster.internal/ubuntu plucky/main s390x python3-defusedxml all 0.7.1-2 [42.0 kB] 128s Get:143 http://ftpmaster.internal/ubuntu plucky/main s390x python3-roman all 4.2-1 [10.0 kB] 128s Get:144 http://ftpmaster.internal/ubuntu plucky/main s390x python3-docutils all 0.21.2+dfsg-2 [409 kB] 128s Get:145 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-ffcx all 1:0.8.0-1 [92.9 kB] 128s Get:146 http://ftpmaster.internal/ubuntu plucky/main s390x python3-imagesize all 1.4.1-1 [6844 B] 128s Get:147 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 128s Get:148 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-mpmath all 1.3.0-1 [425 kB] 128s Get:149 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pip all 24.2+dfsg-1 [1398 kB] 128s Get:150 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 128s Get:151 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pygraphviz s390x 1.14-1build1 [81.2 kB] 128s Get:152 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.3-1 [251 kB] 128s Get:153 http://ftpmaster.internal/ubuntu plucky/main s390x python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 128s Get:154 http://ftpmaster.internal/ubuntu plucky/main s390x sphinx-common all 7.4.7-4 [775 kB] 128s Get:155 http://ftpmaster.internal/ubuntu plucky/main s390x python3-alabaster all 0.7.16-0.1 [18.5 kB] 128s Get:156 http://ftpmaster.internal/ubuntu plucky/main s390x python3-sphinx all 7.4.7-4 [593 kB] 128s Get:157 http://ftpmaster.internal/ubuntu plucky/main s390x sphinx-rtd-theme-common all 3.0.1+dfsg-1 [1012 kB] 128s Get:158 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 128s Get:159 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-sphinx-rtd-theme all 3.0.1+dfsg-1 [23.5 kB] 128s Get:160 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-sympy all 1.13.3-1 [4228 kB] 129s Fetched 123 MB in 6s (22.3 MB/s) 129s Selecting previously unselected package fonts-lato. 129s (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 ... 55517 files and directories currently installed.) 129s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 129s Unpacking fonts-lato (2.015-1) ... 129s Selecting previously unselected package sgml-base. 129s Preparing to unpack .../001-sgml-base_1.31_all.deb ... 129s Unpacking sgml-base (1.31) ... 129s Selecting previously unselected package m4. 129s Preparing to unpack .../002-m4_1.4.19-4build1_s390x.deb ... 129s Unpacking m4 (1.4.19-4build1) ... 129s Selecting previously unselected package autoconf. 129s Preparing to unpack .../003-autoconf_2.72-3_all.deb ... 129s Unpacking autoconf (2.72-3) ... 129s Selecting previously unselected package autotools-dev. 129s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 129s Unpacking autotools-dev (20220109.1) ... 129s Selecting previously unselected package automake. 129s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 129s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 129s Selecting previously unselected package autopoint. 129s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 129s Unpacking autopoint (0.22.5-2) ... 129s Selecting previously unselected package libisl23:s390x. 129s Preparing to unpack .../007-libisl23_0.27-1_s390x.deb ... 129s Unpacking libisl23:s390x (0.27-1) ... 129s Selecting previously unselected package libmpc3:s390x. 129s Preparing to unpack .../008-libmpc3_1.3.1-1build2_s390x.deb ... 129s Unpacking libmpc3:s390x (1.3.1-1build2) ... 129s Selecting previously unselected package cpp-14-s390x-linux-gnu. 129s Preparing to unpack .../009-cpp-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 129s Unpacking cpp-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 129s Selecting previously unselected package cpp-14. 129s Preparing to unpack .../010-cpp-14_14.2.0-8ubuntu1_s390x.deb ... 129s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 129s Selecting previously unselected package cpp-s390x-linux-gnu. 129s Preparing to unpack .../011-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 129s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 129s Selecting previously unselected package cpp. 129s Preparing to unpack .../012-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 129s Unpacking cpp (4:14.1.0-2ubuntu1) ... 129s Selecting previously unselected package libcc1-0:s390x. 129s Preparing to unpack .../013-libcc1-0_14.2.0-8ubuntu1_s390x.deb ... 129s Unpacking libcc1-0:s390x (14.2.0-8ubuntu1) ... 129s Selecting previously unselected package libgomp1:s390x. 129s Preparing to unpack .../014-libgomp1_14.2.0-8ubuntu1_s390x.deb ... 129s Unpacking libgomp1:s390x (14.2.0-8ubuntu1) ... 129s Selecting previously unselected package libitm1:s390x. 129s Preparing to unpack .../015-libitm1_14.2.0-8ubuntu1_s390x.deb ... 129s Unpacking libitm1:s390x (14.2.0-8ubuntu1) ... 129s Selecting previously unselected package libasan8:s390x. 129s Preparing to unpack .../016-libasan8_14.2.0-8ubuntu1_s390x.deb ... 129s Unpacking libasan8:s390x (14.2.0-8ubuntu1) ... 129s Selecting previously unselected package libubsan1:s390x. 129s Preparing to unpack .../017-libubsan1_14.2.0-8ubuntu1_s390x.deb ... 129s Unpacking libubsan1:s390x (14.2.0-8ubuntu1) ... 129s Selecting previously unselected package libgcc-14-dev:s390x. 129s Preparing to unpack .../018-libgcc-14-dev_14.2.0-8ubuntu1_s390x.deb ... 129s Unpacking libgcc-14-dev:s390x (14.2.0-8ubuntu1) ... 130s Selecting previously unselected package gcc-14-s390x-linux-gnu. 130s Preparing to unpack .../019-gcc-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 130s Unpacking gcc-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 130s Selecting previously unselected package gcc-14. 130s Preparing to unpack .../020-gcc-14_14.2.0-8ubuntu1_s390x.deb ... 130s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 130s Selecting previously unselected package gcc-s390x-linux-gnu. 130s Preparing to unpack .../021-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 130s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 130s Selecting previously unselected package gcc. 130s Preparing to unpack .../022-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 130s Unpacking gcc (4:14.1.0-2ubuntu1) ... 130s Selecting previously unselected package libstdc++-14-dev:s390x. 130s Preparing to unpack .../023-libstdc++-14-dev_14.2.0-8ubuntu1_s390x.deb ... 130s Unpacking libstdc++-14-dev:s390x (14.2.0-8ubuntu1) ... 130s Selecting previously unselected package g++-14-s390x-linux-gnu. 130s Preparing to unpack .../024-g++-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 130s Unpacking g++-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 130s Selecting previously unselected package g++-14. 130s Preparing to unpack .../025-g++-14_14.2.0-8ubuntu1_s390x.deb ... 130s Unpacking g++-14 (14.2.0-8ubuntu1) ... 130s Selecting previously unselected package g++-s390x-linux-gnu. 130s Preparing to unpack .../026-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 130s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 130s Selecting previously unselected package g++. 130s Preparing to unpack .../027-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 130s Unpacking g++ (4:14.1.0-2ubuntu1) ... 130s Selecting previously unselected package build-essential. 130s Preparing to unpack .../028-build-essential_12.10ubuntu1_s390x.deb ... 130s Unpacking build-essential (12.10ubuntu1) ... 130s Selecting previously unselected package libjsoncpp25:s390x. 130s Preparing to unpack .../029-libjsoncpp25_1.9.5-6build1_s390x.deb ... 130s Unpacking libjsoncpp25:s390x (1.9.5-6build1) ... 130s Selecting previously unselected package librhash0:s390x. 130s Preparing to unpack .../030-librhash0_1.4.3-3build1_s390x.deb ... 130s Unpacking librhash0:s390x (1.4.3-3build1) ... 130s Selecting previously unselected package cmake-data. 130s Preparing to unpack .../031-cmake-data_3.30.3-1_all.deb ... 130s Unpacking cmake-data (3.30.3-1) ... 130s Selecting previously unselected package cmake. 130s Preparing to unpack .../032-cmake_3.30.3-1_s390x.deb ... 130s Unpacking cmake (3.30.3-1) ... 130s Selecting previously unselected package libdebhelper-perl. 130s Preparing to unpack .../033-libdebhelper-perl_13.20ubuntu1_all.deb ... 130s Unpacking libdebhelper-perl (13.20ubuntu1) ... 130s Selecting previously unselected package libtool. 130s Preparing to unpack .../034-libtool_2.4.7-7build1_all.deb ... 130s Unpacking libtool (2.4.7-7build1) ... 130s Selecting previously unselected package dh-autoreconf. 130s Preparing to unpack .../035-dh-autoreconf_20_all.deb ... 130s Unpacking dh-autoreconf (20) ... 130s Selecting previously unselected package libarchive-zip-perl. 130s Preparing to unpack .../036-libarchive-zip-perl_1.68-1_all.deb ... 130s Unpacking libarchive-zip-perl (1.68-1) ... 130s Selecting previously unselected package libfile-stripnondeterminism-perl. 130s Preparing to unpack .../037-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 130s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 130s Selecting previously unselected package dh-strip-nondeterminism. 130s Preparing to unpack .../038-dh-strip-nondeterminism_1.14.0-1_all.deb ... 130s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 130s Selecting previously unselected package debugedit. 130s Preparing to unpack .../039-debugedit_1%3a5.1-1_s390x.deb ... 130s Unpacking debugedit (1:5.1-1) ... 130s Selecting previously unselected package dwz. 130s Preparing to unpack .../040-dwz_0.15-1build6_s390x.deb ... 130s Unpacking dwz (0.15-1build6) ... 130s Selecting previously unselected package gettext. 130s Preparing to unpack .../041-gettext_0.22.5-2_s390x.deb ... 130s Unpacking gettext (0.22.5-2) ... 131s Selecting previously unselected package intltool-debian. 131s Preparing to unpack .../042-intltool-debian_0.35.0+20060710.6_all.deb ... 131s Unpacking intltool-debian (0.35.0+20060710.6) ... 131s Selecting previously unselected package po-debconf. 131s Preparing to unpack .../043-po-debconf_1.0.21+nmu1_all.deb ... 131s Unpacking po-debconf (1.0.21+nmu1) ... 131s Selecting previously unselected package debhelper. 131s Preparing to unpack .../044-debhelper_13.20ubuntu1_all.deb ... 131s Unpacking debhelper (13.20ubuntu1) ... 131s Selecting previously unselected package dh-python. 131s Preparing to unpack .../045-dh-python_6.20241024_all.deb ... 131s Unpacking dh-python (6.20241024) ... 131s Selecting previously unselected package xml-core. 131s Preparing to unpack .../046-xml-core_0.19_all.deb ... 131s Unpacking xml-core (0.19) ... 131s Selecting previously unselected package docutils-common. 131s Preparing to unpack .../047-docutils-common_0.21.2+dfsg-2_all.deb ... 131s Unpacking docutils-common (0.21.2+dfsg-2) ... 131s Selecting previously unselected package libfreetype6:s390x. 131s Preparing to unpack .../048-libfreetype6_2.13.3+dfsg-1_s390x.deb ... 131s Unpacking libfreetype6:s390x (2.13.3+dfsg-1) ... 131s Selecting previously unselected package fonts-dejavu-mono. 131s Preparing to unpack .../049-fonts-dejavu-mono_2.37-8_all.deb ... 131s Unpacking fonts-dejavu-mono (2.37-8) ... 131s Selecting previously unselected package fonts-dejavu-core. 131s Preparing to unpack .../050-fonts-dejavu-core_2.37-8_all.deb ... 131s Unpacking fonts-dejavu-core (2.37-8) ... 131s Selecting previously unselected package fontconfig-config. 131s Preparing to unpack .../051-fontconfig-config_2.15.0-1.1ubuntu2_s390x.deb ... 131s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 131s Selecting previously unselected package libfontconfig1:s390x. 131s Preparing to unpack .../052-libfontconfig1_2.15.0-1.1ubuntu2_s390x.deb ... 131s Unpacking libfontconfig1:s390x (2.15.0-1.1ubuntu2) ... 131s Selecting previously unselected package fontconfig. 131s Preparing to unpack .../053-fontconfig_2.15.0-1.1ubuntu2_s390x.deb ... 131s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 131s Selecting previously unselected package fonts-font-awesome. 131s Preparing to unpack .../054-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 131s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 131s Selecting previously unselected package libann0. 131s Preparing to unpack .../055-libann0_1.1.2+doc-9build1_s390x.deb ... 131s Unpacking libann0 (1.1.2+doc-9build1) ... 131s Selecting previously unselected package libcdt5:s390x. 131s Preparing to unpack .../056-libcdt5_2.42.4-2build3_s390x.deb ... 131s Unpacking libcdt5:s390x (2.42.4-2build3) ... 131s Selecting previously unselected package libcgraph6:s390x. 131s Preparing to unpack .../057-libcgraph6_2.42.4-2build3_s390x.deb ... 131s Unpacking libcgraph6:s390x (2.42.4-2build3) ... 131s Selecting previously unselected package libsharpyuv0:s390x. 131s Preparing to unpack .../058-libsharpyuv0_1.4.0-0.1_s390x.deb ... 131s Unpacking libsharpyuv0:s390x (1.4.0-0.1) ... 131s Selecting previously unselected package libaom3:s390x. 131s Preparing to unpack .../059-libaom3_3.11.0~rc1-1_s390x.deb ... 131s Unpacking libaom3:s390x (3.11.0~rc1-1) ... 131s Selecting previously unselected package libheif-plugin-aomdec:s390x. 131s Preparing to unpack .../060-libheif-plugin-aomdec_1.19.3-1_s390x.deb ... 131s Unpacking libheif-plugin-aomdec:s390x (1.19.3-1) ... 131s Selecting previously unselected package libde265-0:s390x. 131s Preparing to unpack .../061-libde265-0_1.0.15-1build4_s390x.deb ... 131s Unpacking libde265-0:s390x (1.0.15-1build4) ... 131s Selecting previously unselected package libheif-plugin-libde265:s390x. 131s Preparing to unpack .../062-libheif-plugin-libde265_1.19.3-1_s390x.deb ... 131s Unpacking libheif-plugin-libde265:s390x (1.19.3-1) ... 131s Selecting previously unselected package libheif1:s390x. 131s Preparing to unpack .../063-libheif1_1.19.3-1_s390x.deb ... 131s Unpacking libheif1:s390x (1.19.3-1) ... 131s Selecting previously unselected package libimagequant0:s390x. 131s Preparing to unpack .../064-libimagequant0_2.18.0-1build1_s390x.deb ... 131s Unpacking libimagequant0:s390x (2.18.0-1build1) ... 131s Selecting previously unselected package libjpeg-turbo8:s390x. 131s Preparing to unpack .../065-libjpeg-turbo8_2.1.5-2ubuntu2_s390x.deb ... 131s Unpacking libjpeg-turbo8:s390x (2.1.5-2ubuntu2) ... 131s Selecting previously unselected package libjpeg8:s390x. 131s Preparing to unpack .../066-libjpeg8_8c-2ubuntu11_s390x.deb ... 131s Unpacking libjpeg8:s390x (8c-2ubuntu11) ... 131s Selecting previously unselected package libgraphite2-3:s390x. 131s Preparing to unpack .../067-libgraphite2-3_1.3.14-2ubuntu1_s390x.deb ... 131s Unpacking libgraphite2-3:s390x (1.3.14-2ubuntu1) ... 131s Selecting previously unselected package libharfbuzz0b:s390x. 131s Preparing to unpack .../068-libharfbuzz0b_10.0.1-1_s390x.deb ... 131s Unpacking libharfbuzz0b:s390x (10.0.1-1) ... 131s Selecting previously unselected package libraqm0:s390x. 131s Preparing to unpack .../069-libraqm0_0.10.1-1build1_s390x.deb ... 131s Unpacking libraqm0:s390x (0.10.1-1build1) ... 131s Selecting previously unselected package libdeflate0:s390x. 131s Preparing to unpack .../070-libdeflate0_1.22-1_s390x.deb ... 131s Unpacking libdeflate0:s390x (1.22-1) ... 131s Selecting previously unselected package libjbig0:s390x. 131s Preparing to unpack .../071-libjbig0_2.1-6.1ubuntu2_s390x.deb ... 131s Unpacking libjbig0:s390x (2.1-6.1ubuntu2) ... 131s Selecting previously unselected package libwebp7:s390x. 131s Preparing to unpack .../072-libwebp7_1.4.0-0.1_s390x.deb ... 131s Unpacking libwebp7:s390x (1.4.0-0.1) ... 131s Selecting previously unselected package libtiff6:s390x. 131s Preparing to unpack .../073-libtiff6_4.5.1+git230720-4ubuntu4_s390x.deb ... 131s Unpacking libtiff6:s390x (4.5.1+git230720-4ubuntu4) ... 131s Selecting previously unselected package libxpm4:s390x. 131s Preparing to unpack .../074-libxpm4_1%3a3.5.17-1build2_s390x.deb ... 131s Unpacking libxpm4:s390x (1:3.5.17-1build2) ... 131s Selecting previously unselected package libgd3:s390x. 131s Preparing to unpack .../075-libgd3_2.3.3-12ubuntu3_s390x.deb ... 131s Unpacking libgd3:s390x (2.3.3-12ubuntu3) ... 131s Selecting previously unselected package libgts-0.7-5t64:s390x. 131s Preparing to unpack .../076-libgts-0.7-5t64_0.7.6+darcs121130-5.2build1_s390x.deb ... 131s Unpacking libgts-0.7-5t64:s390x (0.7.6+darcs121130-5.2build1) ... 131s Selecting previously unselected package libpixman-1-0:s390x. 131s Preparing to unpack .../077-libpixman-1-0_0.44.0-3_s390x.deb ... 131s Unpacking libpixman-1-0:s390x (0.44.0-3) ... 131s Selecting previously unselected package libxcb-render0:s390x. 131s Preparing to unpack .../078-libxcb-render0_1.17.0-2_s390x.deb ... 131s Unpacking libxcb-render0:s390x (1.17.0-2) ... 131s Selecting previously unselected package libxcb-shm0:s390x. 131s Preparing to unpack .../079-libxcb-shm0_1.17.0-2_s390x.deb ... 131s Unpacking libxcb-shm0:s390x (1.17.0-2) ... 131s Selecting previously unselected package libxrender1:s390x. 131s Preparing to unpack .../080-libxrender1_1%3a0.9.10-1.1build1_s390x.deb ... 131s Unpacking libxrender1:s390x (1:0.9.10-1.1build1) ... 131s Selecting previously unselected package libcairo2:s390x. 131s Preparing to unpack .../081-libcairo2_1.18.2-2_s390x.deb ... 131s Unpacking libcairo2:s390x (1.18.2-2) ... 131s Selecting previously unselected package libltdl7:s390x. 131s Preparing to unpack .../082-libltdl7_2.4.7-7build1_s390x.deb ... 131s Unpacking libltdl7:s390x (2.4.7-7build1) ... 131s Selecting previously unselected package libthai-data. 131s Preparing to unpack .../083-libthai-data_0.1.29-2build1_all.deb ... 131s Unpacking libthai-data (0.1.29-2build1) ... 131s Selecting previously unselected package libdatrie1:s390x. 131s Preparing to unpack .../084-libdatrie1_0.2.13-3build1_s390x.deb ... 131s Unpacking libdatrie1:s390x (0.2.13-3build1) ... 131s Selecting previously unselected package libthai0:s390x. 131s Preparing to unpack .../085-libthai0_0.1.29-2build1_s390x.deb ... 131s Unpacking libthai0:s390x (0.1.29-2build1) ... 131s Selecting previously unselected package libpango-1.0-0:s390x. 131s Preparing to unpack .../086-libpango-1.0-0_1.54.0+ds-3_s390x.deb ... 131s Unpacking libpango-1.0-0:s390x (1.54.0+ds-3) ... 131s Selecting previously unselected package libpangoft2-1.0-0:s390x. 131s Preparing to unpack .../087-libpangoft2-1.0-0_1.54.0+ds-3_s390x.deb ... 131s Unpacking libpangoft2-1.0-0:s390x (1.54.0+ds-3) ... 131s Selecting previously unselected package libpangocairo-1.0-0:s390x. 131s Preparing to unpack .../088-libpangocairo-1.0-0_1.54.0+ds-3_s390x.deb ... 131s Unpacking libpangocairo-1.0-0:s390x (1.54.0+ds-3) ... 131s Selecting previously unselected package libpathplan4:s390x. 131s Preparing to unpack .../089-libpathplan4_2.42.4-2build3_s390x.deb ... 131s Unpacking libpathplan4:s390x (2.42.4-2build3) ... 131s Selecting previously unselected package libgvc6. 131s Preparing to unpack .../090-libgvc6_2.42.4-2build3_s390x.deb ... 131s Unpacking libgvc6 (2.42.4-2build3) ... 131s Selecting previously unselected package libgvpr2:s390x. 131s Preparing to unpack .../091-libgvpr2_2.42.4-2build3_s390x.deb ... 131s Unpacking libgvpr2:s390x (2.42.4-2build3) ... 131s Selecting previously unselected package liblab-gamut1:s390x. 131s Preparing to unpack .../092-liblab-gamut1_2.42.4-2build3_s390x.deb ... 131s Unpacking liblab-gamut1:s390x (2.42.4-2build3) ... 131s Selecting previously unselected package x11-common. 131s Preparing to unpack .../093-x11-common_1%3a7.7+23ubuntu3_all.deb ... 131s Unpacking x11-common (1:7.7+23ubuntu3) ... 131s Selecting previously unselected package libice6:s390x. 131s Preparing to unpack .../094-libice6_2%3a1.1.1-1_s390x.deb ... 131s Unpacking libice6:s390x (2:1.1.1-1) ... 131s Selecting previously unselected package libsm6:s390x. 131s Preparing to unpack .../095-libsm6_2%3a1.2.4-1_s390x.deb ... 131s Unpacking libsm6:s390x (2:1.2.4-1) ... 131s Selecting previously unselected package libxt6t64:s390x. 131s Preparing to unpack .../096-libxt6t64_1%3a1.2.1-1.2build1_s390x.deb ... 131s Unpacking libxt6t64:s390x (1:1.2.1-1.2build1) ... 131s Selecting previously unselected package libxmu6:s390x. 131s Preparing to unpack .../097-libxmu6_2%3a1.1.3-3build2_s390x.deb ... 131s Unpacking libxmu6:s390x (2:1.1.3-3build2) ... 131s Selecting previously unselected package libxaw7:s390x. 131s Preparing to unpack .../098-libxaw7_2%3a1.0.16-1_s390x.deb ... 131s Unpacking libxaw7:s390x (2:1.0.16-1) ... 131s Selecting previously unselected package graphviz. 131s Preparing to unpack .../099-graphviz_2.42.4-2build3_s390x.deb ... 131s Unpacking graphviz (2.42.4-2build3) ... 131s Selecting previously unselected package libblas3:s390x. 131s Preparing to unpack .../100-libblas3_3.12.0-3build2_s390x.deb ... 131s Unpacking libblas3:s390x (3.12.0-3build2) ... 131s Selecting previously unselected package libgfortran5:s390x. 131s Preparing to unpack .../101-libgfortran5_14.2.0-8ubuntu1_s390x.deb ... 131s Unpacking libgfortran5:s390x (14.2.0-8ubuntu1) ... 131s Selecting previously unselected package liblapack3:s390x. 131s Preparing to unpack .../102-liblapack3_3.12.0-3build2_s390x.deb ... 131s Unpacking liblapack3:s390x (3.12.0-3build2) ... 131s Selecting previously unselected package libbasix0.9:s390x. 131s Preparing to unpack .../103-libbasix0.9_0.9.0-2build1_s390x.deb ... 131s Unpacking libbasix0.9:s390x (0.9.0-2build1) ... 131s Selecting previously unselected package libpkgconf3:s390x. 131s Preparing to unpack .../104-libpkgconf3_1.8.1-4_s390x.deb ... 131s Unpacking libpkgconf3:s390x (1.8.1-4) ... 131s Selecting previously unselected package pkgconf-bin. 131s Preparing to unpack .../105-pkgconf-bin_1.8.1-4_s390x.deb ... 131s Unpacking pkgconf-bin (1.8.1-4) ... 131s Selecting previously unselected package pkgconf:s390x. 131s Preparing to unpack .../106-pkgconf_1.8.1-4_s390x.deb ... 131s Unpacking pkgconf:s390x (1.8.1-4) ... 131s Selecting previously unselected package pkg-config:s390x. 131s Preparing to unpack .../107-pkg-config_1.8.1-4_s390x.deb ... 131s Unpacking pkg-config:s390x (1.8.1-4) ... 131s Selecting previously unselected package libeigen3-dev. 131s Preparing to unpack .../108-libeigen3-dev_3.4.0-4build1_all.deb ... 131s Unpacking libeigen3-dev (3.4.0-4build1) ... 132s Selecting previously unselected package libbasix-dev:s390x. 132s Preparing to unpack .../109-libbasix-dev_0.9.0-2build1_s390x.deb ... 132s Unpacking libbasix-dev:s390x (0.9.0-2build1) ... 132s Selecting previously unselected package libboost1.83-dev:s390x. 132s Preparing to unpack .../110-libboost1.83-dev_1.83.0-3.2ubuntu2_s390x.deb ... 132s Unpacking libboost1.83-dev:s390x (1.83.0-3.2ubuntu2) ... 133s Selecting previously unselected package libboost-math1.83.0:s390x. 133s Preparing to unpack .../111-libboost-math1.83.0_1.83.0-3.2ubuntu2_s390x.deb ... 133s Unpacking libboost-math1.83.0:s390x (1.83.0-3.2ubuntu2) ... 133s Selecting previously unselected package libboost-math1.83-dev:s390x. 133s Preparing to unpack .../112-libboost-math1.83-dev_1.83.0-3.2ubuntu2_s390x.deb ... 133s Unpacking libboost-math1.83-dev:s390x (1.83.0-3.2ubuntu2) ... 133s Selecting previously unselected package libboost-math-dev:s390x. 133s Preparing to unpack .../113-libboost-math-dev_1.83.0.2ubuntu1_s390x.deb ... 133s Unpacking libboost-math-dev:s390x (1.83.0.2ubuntu1) ... 133s Selecting previously unselected package libexpat1-dev:s390x. 133s Preparing to unpack .../114-libexpat1-dev_2.6.4-1_s390x.deb ... 133s Unpacking libexpat1-dev:s390x (2.6.4-1) ... 133s Selecting previously unselected package libjs-jquery. 133s Preparing to unpack .../115-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 133s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 133s Selecting previously unselected package libjs-underscore. 133s Preparing to unpack .../116-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 133s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 133s Selecting previously unselected package libjs-sphinxdoc. 133s Preparing to unpack .../117-libjs-sphinxdoc_7.4.7-4_all.deb ... 133s Unpacking libjs-sphinxdoc (7.4.7-4) ... 133s Selecting previously unselected package libjson-perl. 133s Preparing to unpack .../118-libjson-perl_4.10000-1_all.deb ... 133s Unpacking libjson-perl (4.10000-1) ... 133s Selecting previously unselected package zlib1g-dev:s390x. 133s Preparing to unpack .../119-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ... 133s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 133s Selecting previously unselected package libpython3.12-dev:s390x. 133s Preparing to unpack .../120-libpython3.12-dev_3.12.7-3_s390x.deb ... 133s Unpacking libpython3.12-dev:s390x (3.12.7-3) ... 133s Selecting previously unselected package libpython3-dev:s390x. 133s Preparing to unpack .../121-libpython3-dev_3.12.6-0ubuntu1_s390x.deb ... 133s Unpacking libpython3-dev:s390x (3.12.6-0ubuntu1) ... 133s Selecting previously unselected package libpython3-all-dev:s390x. 133s Preparing to unpack .../122-libpython3-all-dev_3.12.6-0ubuntu1_s390x.deb ... 133s Unpacking libpython3-all-dev:s390x (3.12.6-0ubuntu1) ... 133s Selecting previously unselected package python3-packaging. 133s Preparing to unpack .../123-python3-packaging_24.1-1_all.deb ... 133s Unpacking python3-packaging (24.1-1) ... 133s Selecting previously unselected package python3-pyproject-hooks. 133s Preparing to unpack .../124-python3-pyproject-hooks_1.2.0-1_all.deb ... 133s Unpacking python3-pyproject-hooks (1.2.0-1) ... 133s Selecting previously unselected package python3-toml. 133s Preparing to unpack .../125-python3-toml_0.10.2-1_all.deb ... 133s Unpacking python3-toml (0.10.2-1) ... 133s Selecting previously unselected package python3-wheel. 133s Preparing to unpack .../126-python3-wheel_0.44.0-1_all.deb ... 133s Unpacking python3-wheel (0.44.0-1) ... 133s Selecting previously unselected package python3-build. 133s Preparing to unpack .../127-python3-build_1.2.2-1_all.deb ... 133s Unpacking python3-build (1.2.2-1) ... 133s Selecting previously unselected package python3-installer. 133s Preparing to unpack .../128-python3-installer_0.7.0+dfsg1-3_all.deb ... 133s Unpacking python3-installer (0.7.0+dfsg1-3) ... 133s Selecting previously unselected package pybuild-plugin-pyproject. 133s Preparing to unpack .../129-pybuild-plugin-pyproject_6.20241024_all.deb ... 133s Unpacking pybuild-plugin-pyproject (6.20241024) ... 133s Selecting previously unselected package python3-all. 133s Preparing to unpack .../130-python3-all_3.12.6-0ubuntu1_s390x.deb ... 133s Unpacking python3-all (3.12.6-0ubuntu1) ... 133s Selecting previously unselected package python3.12-dev. 133s Preparing to unpack .../131-python3.12-dev_3.12.7-3_s390x.deb ... 133s Unpacking python3.12-dev (3.12.7-3) ... 133s Selecting previously unselected package python3-dev. 133s Preparing to unpack .../132-python3-dev_3.12.6-0ubuntu1_s390x.deb ... 133s Unpacking python3-dev (3.12.6-0ubuntu1) ... 133s Selecting previously unselected package python3-all-dev. 133s Preparing to unpack .../133-python3-all-dev_3.12.6-0ubuntu1_s390x.deb ... 133s Unpacking python3-all-dev (3.12.6-0ubuntu1) ... 133s Selecting previously unselected package python3-numpy. 133s Preparing to unpack .../134-python3-numpy_1%3a1.26.4+ds-11build1_s390x.deb ... 133s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 133s Selecting previously unselected package python3-ufl. 133s Preparing to unpack .../135-python3-ufl_2024.2.0-2_all.deb ... 133s Unpacking python3-ufl (2024.2.0-2) ... 133s Selecting previously unselected package python3-basix. 133s Preparing to unpack .../136-python3-basix_0.9.0-2build1_s390x.deb ... 133s Unpacking python3-basix (0.9.0-2build1) ... 133s Selecting previously unselected package python3-ply. 133s Preparing to unpack .../137-python3-ply_3.11-7_all.deb ... 133s Unpacking python3-ply (3.11-7) ... 133s Selecting previously unselected package python3-pycparser. 133s Preparing to unpack .../138-python3-pycparser_2.22-2_all.deb ... 133s Unpacking python3-pycparser (2.22-2) ... 133s Selecting previously unselected package python3-cffi. 133s Preparing to unpack .../139-python3-cffi_1.17.1-2_all.deb ... 133s Unpacking python3-cffi (1.17.1-2) ... 133s Selecting previously unselected package python3-defusedxml. 133s Preparing to unpack .../140-python3-defusedxml_0.7.1-2_all.deb ... 133s Unpacking python3-defusedxml (0.7.1-2) ... 133s Selecting previously unselected package python3-roman. 133s Preparing to unpack .../141-python3-roman_4.2-1_all.deb ... 133s Unpacking python3-roman (4.2-1) ... 133s Selecting previously unselected package python3-docutils. 133s Preparing to unpack .../142-python3-docutils_0.21.2+dfsg-2_all.deb ... 133s Unpacking python3-docutils (0.21.2+dfsg-2) ... 133s Selecting previously unselected package python3-ffcx. 133s Preparing to unpack .../143-python3-ffcx_1%3a0.8.0-1_all.deb ... 133s Unpacking python3-ffcx (1:0.8.0-1) ... 133s Selecting previously unselected package python3-imagesize. 133s Preparing to unpack .../144-python3-imagesize_1.4.1-1_all.deb ... 133s Unpacking python3-imagesize (1.4.1-1) ... 133s Selecting previously unselected package python3-iniconfig. 133s Preparing to unpack .../145-python3-iniconfig_1.1.1-2_all.deb ... 133s Unpacking python3-iniconfig (1.1.1-2) ... 133s Selecting previously unselected package python3-mpmath. 133s Preparing to unpack .../146-python3-mpmath_1.3.0-1_all.deb ... 133s Unpacking python3-mpmath (1.3.0-1) ... 133s Selecting previously unselected package python3-pip. 133s Preparing to unpack .../147-python3-pip_24.2+dfsg-1_all.deb ... 133s Unpacking python3-pip (24.2+dfsg-1) ... 134s Selecting previously unselected package python3-pluggy. 134s Preparing to unpack .../148-python3-pluggy_1.5.0-1_all.deb ... 134s Unpacking python3-pluggy (1.5.0-1) ... 134s Selecting previously unselected package python3-pygraphviz. 134s Preparing to unpack .../149-python3-pygraphviz_1.14-1build1_s390x.deb ... 134s Unpacking python3-pygraphviz (1.14-1build1) ... 134s Selecting previously unselected package python3-pytest. 134s Preparing to unpack .../150-python3-pytest_8.3.3-1_all.deb ... 134s Unpacking python3-pytest (8.3.3-1) ... 134s Selecting previously unselected package python3-snowballstemmer. 134s Preparing to unpack .../151-python3-snowballstemmer_2.2.0-4build1_all.deb ... 134s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 134s Selecting previously unselected package sphinx-common. 134s Preparing to unpack .../152-sphinx-common_7.4.7-4_all.deb ... 134s Unpacking sphinx-common (7.4.7-4) ... 134s Selecting previously unselected package python3-alabaster. 134s Preparing to unpack .../153-python3-alabaster_0.7.16-0.1_all.deb ... 134s Unpacking python3-alabaster (0.7.16-0.1) ... 134s Selecting previously unselected package python3-sphinx. 134s Preparing to unpack .../154-python3-sphinx_7.4.7-4_all.deb ... 134s Unpacking python3-sphinx (7.4.7-4) ... 134s Selecting previously unselected package sphinx-rtd-theme-common. 134s Preparing to unpack .../155-sphinx-rtd-theme-common_3.0.1+dfsg-1_all.deb ... 134s Unpacking sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 134s Selecting previously unselected package python3-sphinxcontrib.jquery. 134s Preparing to unpack .../156-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 134s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 134s Selecting previously unselected package python3-sphinx-rtd-theme. 134s Preparing to unpack .../157-python3-sphinx-rtd-theme_3.0.1+dfsg-1_all.deb ... 134s Unpacking python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 134s Selecting previously unselected package python3-sympy. 134s Preparing to unpack .../158-python3-sympy_1.13.3-1_all.deb ... 134s Unpacking python3-sympy (1.13.3-1) ... 134s Selecting previously unselected package autopkgtest-satdep. 134s Preparing to unpack .../159-1-autopkgtest-satdep.deb ... 134s Unpacking autopkgtest-satdep (0) ... 134s Setting up dh-python (6.20241024) ... 134s Setting up libgraphite2-3:s390x (1.3.14-2ubuntu1) ... 134s Setting up python3-iniconfig (1.1.1-2) ... 134s Setting up libpixman-1-0:s390x (0.44.0-3) ... 134s Setting up libsharpyuv0:s390x (1.4.0-0.1) ... 134s Setting up libaom3:s390x (3.11.0~rc1-1) ... 134s Setting up fonts-lato (2.015-1) ... 134s Setting up libxpm4:s390x (1:3.5.17-1build2) ... 134s Setting up libxrender1:s390x (1:0.9.10-1.1build1) ... 134s Setting up libdatrie1:s390x (0.2.13-3build1) ... 134s Setting up libxcb-render0:s390x (1.17.0-2) ... 134s Setting up python3-defusedxml (0.7.1-2) ... 134s Setting up libarchive-zip-perl (1.68-1) ... 134s Setting up python3-alabaster (0.7.16-0.1) ... 134s Setting up libdebhelper-perl (13.20ubuntu1) ... 134s Setting up python3-ply (3.11-7) ... 134s Setting up liblab-gamut1:s390x (2.42.4-2build3) ... 134s Setting up x11-common (1:7.7+23ubuntu3) ... 135s Setting up libdeflate0:s390x (1.22-1) ... 135s Setting up m4 (1.4.19-4build1) ... 135s Setting up python3-all (3.12.6-0ubuntu1) ... 135s Setting up libxcb-shm0:s390x (1.17.0-2) ... 135s Setting up libgomp1:s390x (14.2.0-8ubuntu1) ... 135s Setting up python3-wheel (0.44.0-1) ... 135s Setting up libjbig0:s390x (2.1-6.1ubuntu2) ... 135s Setting up python3-pycparser (2.22-2) ... 135s Setting up python3-roman (4.2-1) ... 135s Setting up autotools-dev (20220109.1) ... 135s Setting up libblas3:s390x (3.12.0-3build2) ... 135s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 135s Setting up python3-packaging (24.1-1) ... 135s Setting up libpkgconf3:s390x (1.8.1-4) ... 135s Setting up libexpat1-dev:s390x (2.6.4-1) ... 135s Setting up python3-pyproject-hooks (1.2.0-1) ... 135s Setting up libfreetype6:s390x (2.13.3+dfsg-1) ... 135s Setting up python3-snowballstemmer (2.2.0-4build1) ... 135s Setting up libpathplan4:s390x (2.42.4-2build3) ... 135s Setting up libann0 (1.1.2+doc-9build1) ... 135s Setting up libimagequant0:s390x (2.18.0-1build1) ... 135s Setting up fonts-dejavu-mono (2.37-8) ... 135s Setting up libmpc3:s390x (1.3.1-1build2) ... 135s Setting up autopoint (0.22.5-2) ... 135s Setting up libjsoncpp25:s390x (1.9.5-6build1) ... 135s Setting up fonts-dejavu-core (2.37-8) ... 135s Setting up pkgconf-bin (1.8.1-4) ... 135s Setting up python3-pip (24.2+dfsg-1) ... 136s Setting up libjpeg-turbo8:s390x (2.1.5-2ubuntu2) ... 136s Setting up libltdl7:s390x (2.4.7-7build1) ... 136s Setting up python3-toml (0.10.2-1) ... 136s Setting up python3-installer (0.7.0+dfsg1-3) ... 137s Setting up libgfortran5:s390x (14.2.0-8ubuntu1) ... 137s Setting up autoconf (2.72-3) ... 137s Setting up python3-pluggy (1.5.0-1) ... 137s Setting up libwebp7:s390x (1.4.0-0.1) ... 137s Setting up libubsan1:s390x (14.2.0-8ubuntu1) ... 137s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 137s Setting up dwz (0.15-1build6) ... 137s Setting up librhash0:s390x (1.4.3-3build1) ... 137s Setting up libasan8:s390x (14.2.0-8ubuntu1) ... 137s Setting up libjson-perl (4.10000-1) ... 137s Setting up debugedit (1:5.1-1) ... 137s Setting up libharfbuzz0b:s390x (10.0.1-1) ... 137s Setting up libthai-data (0.1.29-2build1) ... 137s Setting up libgts-0.7-5t64:s390x (0.7.6+darcs121130-5.2build1) ... 137s Setting up sgml-base (1.31) ... 137s Setting up cmake-data (3.30.3-1) ... 137s Setting up libcdt5:s390x (2.42.4-2build3) ... 137s Setting up libcgraph6:s390x (2.42.4-2build3) ... 137s Setting up libboost-math1.83.0:s390x (1.83.0-3.2ubuntu2) ... 137s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 137s Setting up python3-mpmath (1.3.0-1) ... 137s Setting up libisl23:s390x (0.27-1) ... 137s Setting up python3-build (1.2.2-1) ... 137s Setting up libde265-0:s390x (1.0.15-1build4) ... 137s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 137s Setting up sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 137s Setting up libcc1-0:s390x (14.2.0-8ubuntu1) ... 137s Setting up libitm1:s390x (14.2.0-8ubuntu1) ... 137s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 137s Setting up python3-imagesize (1.4.1-1) ... 137s Setting up libjpeg8:s390x (8c-2ubuntu11) ... 137s Setting up automake (1:1.16.5-1.3ubuntu1) ... 137s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 137s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 137s Setting up python3-sympy (1.13.3-1) ... 143s Setting up libice6:s390x (2:1.1.1-1) ... 143s Setting up liblapack3:s390x (3.12.0-3build2) ... 143s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 144s Setting up gettext (0.22.5-2) ... 144s Setting up pybuild-plugin-pyproject (6.20241024) ... 144s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 144s Setting up python3-pytest (8.3.3-1) ... 144s Setting up python3-cffi (1.17.1-2) ... 144s Setting up libpython3.12-dev:s390x (3.12.7-3) ... 144s Setting up pkgconf:s390x (1.8.1-4) ... 144s Setting up intltool-debian (0.35.0+20060710.6) ... 144s Setting up libthai0:s390x (0.1.29-2build1) ... 144s Setting up libraqm0:s390x (0.10.1-1build1) ... 144s Setting up libeigen3-dev (3.4.0-4build1) ... 144s Setting up python3.12-dev (3.12.7-3) ... 144s Setting up pkg-config:s390x (1.8.1-4) ... 144s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 146s Setting up libjs-sphinxdoc (7.4.7-4) ... 146s Setting up cpp-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 146s Setting up cpp-14 (14.2.0-8ubuntu1) ... 146s Setting up dh-strip-nondeterminism (1.14.0-1) ... 146s Setting up libgvpr2:s390x (2.42.4-2build3) ... 146s Setting up libbasix0.9:s390x (0.9.0-2build1) ... 146s Setting up libtiff6:s390x (4.5.1+git230720-4ubuntu4) ... 146s Setting up xml-core (0.19) ... 146s Setting up cmake (3.30.3-1) ... 146s Setting up libfontconfig1:s390x (2.15.0-1.1ubuntu2) ... 146s Setting up libgcc-14-dev:s390x (14.2.0-8ubuntu1) ... 146s Setting up libbasix-dev:s390x (0.9.0-2build1) ... 146s Setting up libstdc++-14-dev:s390x (14.2.0-8ubuntu1) ... 146s Setting up libsm6:s390x (2:1.2.4-1) ... 146s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 148s Regenerating fonts cache... done. 148s Setting up libboost1.83-dev:s390x (1.83.0-3.2ubuntu2) ... 148s Setting up libpython3-dev:s390x (3.12.6-0ubuntu1) ... 148s Setting up python3-ufl (2024.2.0-2) ... 148s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 148s Setting up libboost-math1.83-dev:s390x (1.83.0-3.2ubuntu2) ... 148s Setting up libboost-math-dev:s390x (1.83.0.2ubuntu1) ... 148s Setting up po-debconf (1.0.21+nmu1) ... 148s Setting up libpango-1.0-0:s390x (1.54.0+ds-3) ... 148s Setting up libcairo2:s390x (1.18.2-2) ... 148s Setting up gcc-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 148s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 148s Setting up libpython3-all-dev:s390x (3.12.6-0ubuntu1) ... 148s Setting up sphinx-common (7.4.7-4) ... 148s Setting up python3-dev (3.12.6-0ubuntu1) ... 148s Setting up libxt6t64:s390x (1:1.2.1-1.2build1) ... 148s Setting up g++-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 148s Setting up cpp (4:14.1.0-2ubuntu1) ... 148s Setting up libpangoft2-1.0-0:s390x (1.54.0+ds-3) ... 148s Setting up libpangocairo-1.0-0:s390x (1.54.0+ds-3) ... 148s Setting up python3-basix (0.9.0-2build1) ... 148s Setting up python3-all-dev (3.12.6-0ubuntu1) ... 148s Setting up libxmu6:s390x (2:1.1.3-3build2) ... 148s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 148s Setting up libxaw7:s390x (2:1.0.16-1) ... 148s Setting up gcc-14 (14.2.0-8ubuntu1) ... 148s Setting up python3-ffcx (1:0.8.0-1) ... 148s Setting up g++-14 (14.2.0-8ubuntu1) ... 148s Setting up libtool (2.4.7-7build1) ... 148s Setting up gcc (4:14.1.0-2ubuntu1) ... 148s Setting up dh-autoreconf (20) ... 148s Setting up g++ (4:14.1.0-2ubuntu1) ... 148s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 148s Setting up build-essential (12.10ubuntu1) ... 148s Setting up debhelper (13.20ubuntu1) ... 148s Setting up libheif-plugin-aomdec:s390x (1.19.3-1) ... 148s Setting up libheif-plugin-libde265:s390x (1.19.3-1) ... 148s Setting up libheif1:s390x (1.19.3-1) ... 148s Setting up libgd3:s390x (2.3.3-12ubuntu3) ... 148s Setting up libgvc6 (2.42.4-2build3) ... 148s Setting up graphviz (2.42.4-2build3) ... 148s Setting up python3-pygraphviz (1.14-1build1) ... 149s Processing triggers for install-info (7.1.1-1) ... 149s Processing triggers for libc-bin (2.40-1ubuntu3) ... 149s Processing triggers for man-db (2.13.0-1) ... 149s Processing triggers for sgml-base (1.31) ... 149s Setting up docutils-common (0.21.2+dfsg-2) ... 149s Processing triggers for sgml-base (1.31) ... 150s Setting up python3-docutils (0.21.2+dfsg-2) ... 150s Setting up python3-sphinx (7.4.7-4) ... 151s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 151s Setting up python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 151s Setting up autopkgtest-satdep (0) ... 154s (Reading database ... 85648 files and directories currently installed.) 154s Removing autopkgtest-satdep (0) ... 155s autopkgtest [06:25:05]: test command1: for pyver in `py3versions -sv`; do python$pyver -m pytest test; done 155s autopkgtest [06:25:05]: test command1: [----------------------- 155s ============================= test session starts ============================== 155s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 155s rootdir: /tmp/autopkgtest.lCmWDT/build.zYe/src 155s configfile: pyproject.toml 155s plugins: typeguard-4.4.1 155s collected 87 items 155s 156s test/test_add_mode.py::test_additive_facet_integral[float32] FAILED [ 1%] 156s test/test_add_mode.py::test_additive_facet_integral[float64] FAILED [ 2%] 156s test/test_add_mode.py::test_additive_facet_integral[complex64] FAILED [ 3%] 156s test/test_add_mode.py::test_additive_facet_integral[complex128] FAILED [ 4%] 156s test/test_add_mode.py::test_additive_cell_integral[float32] FAILED [ 5%] 156s test/test_add_mode.py::test_additive_cell_integral[float64] FAILED [ 6%] 156s test/test_add_mode.py::test_additive_cell_integral[complex64] FAILED [ 8%] 156s test/test_add_mode.py::test_additive_cell_integral[complex128] FAILED [ 9%] 156s test/test_blocked_elements.py::test_finite_element FAILED [ 10%] 156s test/test_blocked_elements.py::test_vector_element FAILED [ 11%] 156s test/test_blocked_elements.py::test_tensor_element FAILED [ 12%] 156s test/test_blocked_elements.py::test_vector_quadrature_element FAILED [ 13%] 156s test/test_cache.py::test_cache_modes FAILED [ 14%] 157s test/test_cmdline.py::test_cmdline_simple PASSED [ 16%] 158s test/test_cmdline.py::test_visualise FAILED [ 17%] 158s test/test_jit_expression.py::test_matvec FAILED [ 18%] 158s test/test_jit_expression.py::test_rank1 FAILED [ 19%] 158s test/test_jit_expression.py::test_elimiate_zero_tables_tensor FAILED [ 20%] 158s test/test_jit_expression.py::test_grad_constant PASSED [ 21%] 158s test/test_jit_expression.py::test_facet_expression FAILED [ 22%] 158s test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] FAILED [ 24%] 158s test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] FAILED [ 25%] 158s test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] FAILED [ 26%] 158s test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] FAILED [ 27%] 159s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] FAILED [ 28%] 159s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] FAILED [ 29%] 159s test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] FAILED [ 31%] 159s test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] FAILED [ 32%] 159s test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] FAILED [ 33%] 159s test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] FAILED [ 34%] 159s test/test_jit_forms.py::test_form_coefficient FAILED [ 35%] 159s test/test_jit_forms.py::test_subdomains FAILED [ 36%] 159s test/test_jit_forms.py::test_interior_facet_integral[float64] FAILED [ 37%] 159s test/test_jit_forms.py::test_interior_facet_integral[complex128] FAILED [ 39%] 159s test/test_jit_forms.py::test_conditional[float64] FAILED [ 40%] 159s test/test_jit_forms.py::test_conditional[complex128] FAILED [ 41%] 159s test/test_jit_forms.py::test_custom_quadrature FAILED [ 42%] 159s test/test_jit_forms.py::test_curl_curl FAILED [ 43%] 159s test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] FAILED [ 44%] 160s test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] FAILED [ 45%] 160s test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] FAILED [ 47%] 160s test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] FAILED [ 48%] 160s test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] FAILED [ 49%] 160s test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] FAILED [ 50%] 163s test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] FAILED [ 51%] 164s test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] FAILED [ 52%] 165s test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] FAILED [ 54%] 166s test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] FAILED [ 55%] 166s test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] FAILED [ 56%] 166s test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] FAILED [ 57%] 166s test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] FAILED [ 58%] 167s test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] FAILED [ 59%] 167s test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] FAILED [ 60%] 179s test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] FAILED [ 62%] 186s test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] FAILED [ 63%] 195s test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] FAILED [ 64%] 195s test/test_jit_forms.py::test_prism FAILED [ 65%] 195s test/test_jit_forms.py::test_complex_operations FAILED [ 66%] 195s test/test_jit_forms.py::test_invalid_function_name FAILED [ 67%] 195s test/test_jit_forms.py::test_interval_vertex_quadrature FAILED [ 68%] 195s test/test_jit_forms.py::test_facet_vertex_quadrature FAILED [ 70%] 196s test/test_jit_forms.py::test_manifold_derivatives FAILED [ 71%] 196s test/test_jit_forms.py::test_integral_grouping FAILED [ 72%] 196s test/test_lnodes.py::test_gemm[float32] 196s -------------------------------- live log call --------------------------------- 196s INFO root:dist.py:970 running build_ext 196s INFO root:build_ext.py:530 building '_gemm_float' extension 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_float.c -o ./_gemm_float.o 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_float.o -L/usr/lib/s390x-linux-gnu -o ./_gemm_float.cpython-312-s390x-linux-gnu.so 196s PASSED [ 73%] 196s test/test_lnodes.py::test_gemm[float64] 196s -------------------------------- live log call --------------------------------- 196s INFO root:dist.py:970 running build_ext 196s INFO root:build_ext.py:530 building '_gemm_double' extension 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_double.c -o ./_gemm_double.o 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_double.o -L/usr/lib/s390x-linux-gnu -o ./_gemm_double.cpython-312-s390x-linux-gnu.so 196s PASSED [ 74%] 196s test/test_lnodes.py::test_gemm[intc] 196s -------------------------------- live log call --------------------------------- 196s INFO root:dist.py:970 running build_ext 196s INFO root:build_ext.py:530 building '_gemm_int' extension 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_int.c -o ./_gemm_int.o 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_int.o -L/usr/lib/s390x-linux-gnu -o ./_gemm_int.cpython-312-s390x-linux-gnu.so 196s PASSED [ 75%] 196s test/test_lnodes.py::test_gemv[float32] 196s -------------------------------- live log call --------------------------------- 196s INFO root:dist.py:970 running build_ext 196s INFO root:build_ext.py:530 building '_gemv_float' extension 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_float.c -o ./_gemv_float.o 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_float.o -L/usr/lib/s390x-linux-gnu -o ./_gemv_float.cpython-312-s390x-linux-gnu.so 196s PASSED [ 77%] 196s test/test_lnodes.py::test_gemv[float64] 196s -------------------------------- live log call --------------------------------- 196s INFO root:dist.py:970 running build_ext 196s INFO root:build_ext.py:530 building '_gemv_double' extension 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_double.c -o ./_gemv_double.o 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_double.o -L/usr/lib/s390x-linux-gnu -o ./_gemv_double.cpython-312-s390x-linux-gnu.so 196s PASSED [ 78%] 196s test/test_lnodes.py::test_gemv[intc] 196s -------------------------------- live log call --------------------------------- 196s INFO root:dist.py:970 running build_ext 196s INFO root:build_ext.py:530 building '_gemv_int' extension 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_int.c -o ./_gemv_int.o 196s INFO root:spawn.py:60 s390x-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_int.o -L/usr/lib/s390x-linux-gnu -o ./_gemv_int.cpython-312-s390x-linux-gnu.so 196s PASSED [ 79%] 196s test/test_signatures.py::test_numba_kernel_signature[float32] SKIPPED [ 80%] 196s test/test_signatures.py::test_numba_kernel_signature[float64] SKIPPED [ 81%] 196s test/test_signatures.py::test_numba_kernel_signature[complex64] SKIPPED [ 82%] 196s test/test_signatures.py::test_numba_kernel_signature[complex128] SKIPPED [ 83%] 196s test/test_submesh.py::test_multiple_mesh_codim0[float64] FAILED [ 85%] 197s test/test_submesh.py::test_multiple_mesh_codim0[complex128] FAILED [ 86%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] FAILED [ 87%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] FAILED [ 88%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] FAILED [ 89%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] FAILED [ 90%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] FAILED [ 91%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] FAILED [ 93%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] FAILED [ 94%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] FAILED [ 95%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] FAILED [ 96%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] FAILED [ 97%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] FAILED [ 98%] 197s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] FAILED [100%] 197s 197s =================================== FAILURES =================================== 197s ____________________ test_additive_facet_integral[float32] _____________________ 197s 197s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float32", 197s "float64", 197s "complex64", 197s "complex128", 197s ], 197s ) 197s def test_additive_facet_integral(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(u, v) * ufl.ds 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_add_mode.py:32: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_c49c34d1f50361f643a8fa3262fb0cb365212...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_9ac7901a8ae548a56b4e5062db20e2d523e48ba1'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s ____________________ test_additive_facet_integral[float64] _____________________ 197s 197s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float32", 197s "float64", 197s "complex64", 197s "complex128", 197s ], 197s ) 197s def test_additive_facet_integral(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(u, v) * ufl.ds 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_add_mode.py:32: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_90577c5e1846df346b7419a93a84a5394787f...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5c932663e4c66c20d1c054a8a6c49e9b6f3eaadb'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s ___________________ test_additive_facet_integral[complex64] ____________________ 197s 197s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float32", 197s "float64", 197s "complex64", 197s "complex128", 197s ], 197s ) 197s def test_additive_facet_integral(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(u, v) * ufl.ds 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_add_mode.py:32: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_71be7c7448e0872435225a9bfe0d41a7bfbe4...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_e47d0537ffe0fe1a135c6f299dbd859ab889d832'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s ___________________ test_additive_facet_integral[complex128] ___________________ 197s 197s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float32", 197s "float64", 197s "complex64", 197s "complex128", 197s ], 197s ) 197s def test_additive_facet_integral(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(u, v) * ufl.ds 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_add_mode.py:32: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2e489d76a1bf51cb484a8d02a72b92a5509ab...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_39363741204f96e893159e5fa69c87ca1d6275df'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s _____________________ test_additive_cell_integral[float32] _____________________ 197s 197s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float32", 197s "float64", 197s "complex64", 197s "complex128", 197s ], 197s ) 197s def test_additive_cell_integral(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_add_mode.py:93: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7288431234a36a38725d9e9dd4690629a8d99...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_3b92785491ae7e28ecfa525af16751dcc7cab1ef'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s _____________________ test_additive_cell_integral[float64] _____________________ 197s 197s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float32", 197s "float64", 197s "complex64", 197s "complex128", 197s ], 197s ) 197s def test_additive_cell_integral(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_add_mode.py:93: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6d36cff8b5e7876d0437dc4936e5c8db3af94...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_31170dc38db16a20a6323c19cf1629daa2ca51fa'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s ____________________ test_additive_cell_integral[complex64] ____________________ 197s 197s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float32", 197s "float64", 197s "complex64", 197s "complex128", 197s ], 197s ) 197s def test_additive_cell_integral(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_add_mode.py:93: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e4f7d6e84c5369adf2dba4811c7f177099bb3...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_33bacda477c0afc62a4fa9487757906f73281a0e'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s ___________________ test_additive_cell_integral[complex128] ____________________ 197s 197s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float32", 197s "float64", 197s "complex64", 197s "complex128", 197s ], 197s ) 197s def test_additive_cell_integral(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_add_mode.py:93: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1c0e181e019aa2e73e4803874fbdb9dd73493...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_aa807c0dbf925a7d8d3f0bde80bac7c24bfdcdaf'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s _____________________________ test_finite_element ______________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_finite_element(compile_args): 197s ufl_element = basix.ufl.element("Lagrange", "triangle", 1) 197s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 197s [ufl_element], cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_blocked_elements.py:16: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:205: in compile_elements 197s raise e 197s ffcx/codegeneration/jit.py:185: in compile_elements 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_809bd798a14c8c727a2ad360da1f9fcc9fb81ad6'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s _____________________________ test_vector_element ______________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_vector_element(compile_args): 197s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 197s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 197s [ufl_element], cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_blocked_elements.py:42: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:205: in compile_elements 197s raise e 197s ffcx/codegeneration/jit.py:185: in compile_elements 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_62592c69251ce423efb7c4030862f51839719...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f2bccaff155751aaa7593945d243c98ce6ea4df8'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s _____________________________ test_tensor_element ______________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_tensor_element(compile_args): 197s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2, 2)) 197s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 197s [ufl_element], cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_blocked_elements.py:69: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:205: in compile_elements 197s raise e 197s ffcx/codegeneration/jit.py:185: in compile_elements 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_91f7ff43431b8e1864b97879a3e3a7c216a97...t (P, triangle, 1, gll_warped, unset, False, float64, []), (2, 2)): 'element_268174d0c2389ec66a4808c632dd28a004394076'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s ________________________ test_vector_quadrature_element ________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_vector_quadrature_element(compile_args): 197s ufl_element = basix.ufl.blocked_element( 197s basix.ufl.quadrature_element("tetrahedron", degree=2, scheme="default"), shape=(3,) 197s ) 197s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 197s [ufl_element], cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_blocked_elements.py:99: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:205: in compile_elements 197s raise e 197s ffcx/codegeneration/jit.py:185: in compile_elements 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s 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()) 197s 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} 197s finite_element_names = {QuadratureElement(tetrahedron, array([[0.5854102, 0.1381966, 0.1381966], [0.1381966, 0.5854102, 0.1381966], ..., 0.04166667, 0.04166667, 0.04166667]), IdentityPullback()), (3,)): 'element_c50941e02990eb710aa32005edfaec1781dfa695'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_QuadratureElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s _______________________________ test_cache_modes _______________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_cache_modes(compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s forms = [a] 197s 197s # Load form from /tmp 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, cffi_extra_compile_args=compile_args 197s ) 197s 197s test/test_cache.py:24: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6d36cff8b5e7876d0437dc4936e5c8db3af94...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_31170dc38db16a20a6323c19cf1629daa2ca51fa'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s ffcx/ir/representation.py:293: AttributeError 197s ________________________________ test_visualise ________________________________ 197s 197s def test_visualise(): 197s os.chdir(os.path.dirname(__file__)) 197s subprocess.run(["ffcx", "--visualise", "Poisson.py"]) 197s > assert os.path.isfile("S.pdf") 197s E AssertionError: assert False 197s E + where False = ('S.pdf') 197s E + where = .isfile 197s E + where = os.path 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_cmdline.py:20: AssertionError 197s ----------------------------- Captured stderr call ----------------------------- 197s Traceback (most recent call last): 197s File "/usr/bin/ffcx", line 8, in 197s sys.exit(__main__.main()) 197s ^^^^^^^^^^^^^^^ 197s File "/usr/lib/python3/dist-packages/ffcx/main.py", line 75, in main 197s code_h, code_c = compiler.compile_ufl_objects( 197s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 197s File "/usr/lib/python3/dist-packages/ffcx/compiler.py", line 113, in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 197s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 215, in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 293, in _compute_element_ir 197s ir["element_type"] = element.ufcx_element_type 197s ^^^^^^^^^^^^^^^^^^^^^^^^^ 197s AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s _________________________________ test_matvec __________________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_matvec(compile_args): 197s """Test evaluation of linear rank-0 form. 197s 197s Evaluates expression c * A_ij * f_j where c is a Constant, 197s A_ij is a user specified constant matrix and f_j is j-th component 197s of user specified vector-valued finite element function (in P1 space). 197s 197s """ 197s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 197s mesh = ufl.Mesh(e) 197s V = ufl.FunctionSpace(mesh, e) 197s f = ufl.Coefficient(V) 197s 197s a_mat = np.array([[1.0, 2.0], [1.0, 1.0]]) 197s a = ufl.as_matrix(a_mat) 197s expr = ufl.Constant(mesh) * ufl.dot(a, f) 197s 197s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 197s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 197s [(expr, points)], cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_expression.py:35: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:358: in compile_expressions 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:338: in compile_expressions 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7850a61faf8c78263fe881428a55ed19c960b...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1125b9d0b5d64e124329a95dd7de6d90f08e961b'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s __________________________________ test_rank1 __________________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_rank1(compile_args): 197s """Tests evaluation of rank-1 form. 197s 197s Builds a linear operator which takes vector-valued functions in P1 space 197s and evaluates expression [u_y, u_x] + grad(u_x) at specified points. 197s 197s """ 197s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 197s mesh = ufl.Mesh(e) 197s 197s V = ufl.FunctionSpace(mesh, e) 197s u = ufl.TrialFunction(V) 197s 197s expr = ufl.as_vector([u[1], u[0]]) + ufl.grad(u[0]) 197s 197s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 197s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 197s [(expr, points)], cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_expression.py:101: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:358: in compile_expressions 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:338: in compile_expressions 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_0372053d0f83ce9dd4f8975e7affaf8a4666b...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1107338ebf768f9dfcdd66a2bf1b41016cc5b247'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _______________________ test_elimiate_zero_tables_tensor _______________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_elimiate_zero_tables_tensor(compile_args): 197s """Test elimination of tensor-valued expressions with zero tables""" 197s cell = "tetrahedron" 197s c_el = basix.ufl.element("P", cell, 1, shape=(3,)) 197s mesh = ufl.Mesh(c_el) 197s 197s e = basix.ufl.element("P", cell, 1) 197s V = ufl.FunctionSpace(mesh, e) 197s u = ufl.Coefficient(V) 197s expr = ufl.sym(ufl.as_tensor([[u, u.dx(0).dx(0), 0], [u.dx(1), u.dx(1), 0], [0, 0, 0]])) 197s 197s # Get vertices of cell 197s # Coords storage XYZXYZXYZ 197s basix_c_e = basix.create_element( 197s > basix.ElementFamily.P, basix.cell.string_to_type(cell), 1, discontinuous=False 197s ) 197s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_expression.py:169: AttributeError 197s ____________________________ test_facet_expression _____________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_facet_expression(compile_args): 197s """Test facet expression containing a facet normal on a manifold.""" 197s c_el = basix.ufl.element("Lagrange", "triangle", 1, shape=(3,)) 197s mesh = ufl.Mesh(c_el) 197s 197s n = ufl.FacetNormal(mesh) 197s expr = n 197s 197s dtype = np.float64 197s points = np.array([[0.5]], dtype=dtype) 197s 197s > obj, _, _ = ffcx.codegeneration.jit.compile_expressions( 197s [(expr, points)], cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_expression.py:281: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:358: in compile_expressions 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:338: in compile_expressions 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:254: in compute_ir 197s _compute_expression_ir( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:857: in _compute_expression_ir 197s expression_ir = compute_integral_ir( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/integral.py:85: in compute_integral_ir 197s mt_table_reference = build_optimized_tables( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/elementtables.py:415: in build_optimized_tables 197s t = get_ffcx_table_values( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/elementtables.py:138: in get_ffcx_table_values 197s entity_points = map_integral_points(points, integral_type, cell, entity) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representationutils.py:119: in map_integral_points 197s return np.asarray(map_facet_points(points, entity, cell.cellname())) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s points = array([[0.5]]), facet = 0, cellname = 'triangle' 197s 197s def map_facet_points( 197s points: npt.NDArray[np.float64], facet: int, cellname: str 197s ) -> npt.NDArray[np.float64]: 197s """Map points from a reference facet to a physical facet.""" 197s > geom = basix.geometry(basix.cell.string_to_type(cellname)) 197s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/element_interface.py:44: AttributeError 197s ___________ test_laplace_bilinear_form_2d[float64-expected_result0] ____________ 197s 197s dtype = 'float64' 197s expected_result = array([[ 1. , -0.5, -0.5], 197s [-0.5, 0.5, 0. ], 197s [-0.5, 0. , 0.5]]) 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype,expected_result", 197s [ 197s ( 197s "float64", 197s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 197s ), 197s ( 197s "complex128", 197s np.array( 197s [ 197s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 197s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 197s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 197s ], 197s dtype=np.complex128, 197s ), 197s ), 197s ], 197s ) 197s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s kappa = ufl.Constant(domain, shape=(2, 2)) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s 197s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:47: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2fd389abe4623ea6684be76d27aaba2a5efa6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c11fb15d6789fe6da219e14dbf872ec1af838a73'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s __________ test_laplace_bilinear_form_2d[complex128-expected_result1] __________ 197s 197s dtype = 'complex128' 197s expected_result = array([[ 1. +0.j, -0.5+0.j, -0.5+0.j], 197s [-0.5+0.j, 0.5+0.j, 0. +0.j], 197s [-0.5+0.j, 0. +0.j, 0.5+0.j]]) 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype,expected_result", 197s [ 197s ( 197s "float64", 197s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 197s ), 197s ( 197s "complex128", 197s np.array( 197s [ 197s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 197s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 197s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 197s ], 197s dtype=np.complex128, 197s ), 197s ), 197s ], 197s ) 197s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s kappa = ufl.Constant(domain, shape=(2, 2)) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s 197s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:47: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_422b359056014aa0f1a959260f3d76da45ffe...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_275852bbf33d2acd4aa15b359782bd784e87e626'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_mass_bilinear_form_2d[float32-expected_result0] _____________ 197s 197s dtype = 'float32' 197s expected_result = array([[0.08333334, 0.04166667, 0.04166667], 197s [0.04166667, 0.08333334, 0.04166667], 197s [0.04166667, 0.04166667, 0.08333334]], dtype=float32) 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype,expected_result", 197s [ 197s ( 197s "float32", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.float32, 197s ), 197s ), 197s # ("longdouble", 197s # np.array( 197s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 197s # dtype=np.longdouble)), 197s ( 197s "float64", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.float64, 197s ), 197s ), 197s ( 197s "complex128", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.complex128, 197s ), 197s ), 197s ( 197s "complex64", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.complex64, 197s ), 197s ), 197s ], 197s ) 197s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(u, v) * ufl.dx 197s L = ufl.conj(v) * ufl.dx 197s forms = [a, L] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:150: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_8b59d573ddcd8b9e7f90247159c4be321f397...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6fd7a2c645aefd9bb88b38b9980ba42967182c71'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_mass_bilinear_form_2d[float64-expected_result1] _____________ 197s 197s dtype = 'float64' 197s expected_result = array([[0.08333333, 0.04166667, 0.04166667], 197s [0.04166667, 0.08333333, 0.04166667], 197s [0.04166667, 0.04166667, 0.08333333]]) 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype,expected_result", 197s [ 197s ( 197s "float32", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.float32, 197s ), 197s ), 197s # ("longdouble", 197s # np.array( 197s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 197s # dtype=np.longdouble)), 197s ( 197s "float64", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.float64, 197s ), 197s ), 197s ( 197s "complex128", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.complex128, 197s ), 197s ), 197s ( 197s "complex64", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.complex64, 197s ), 197s ), 197s ], 197s ) 197s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(u, v) * ufl.dx 197s L = ufl.conj(v) * ufl.dx 197s forms = [a, L] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:150: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_34b1316ed9d6952034209184ea0fab6153bdf...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_dfb4acbce7681ef78016171dcb59df45b5df3930'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_mass_bilinear_form_2d[complex128-expected_result2] ____________ 197s 197s dtype = 'complex128' 197s expected_result = array([[0.08333333+0.j, 0.04166667+0.j, 0.04166667+0.j], 197s [0.04166667+0.j, 0.08333333+0.j, 0.04166667+0.j], 197s [0.04166667+0.j, 0.04166667+0.j, 0.08333333+0.j]]) 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype,expected_result", 197s [ 197s ( 197s "float32", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.float32, 197s ), 197s ), 197s # ("longdouble", 197s # np.array( 197s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 197s # dtype=np.longdouble)), 197s ( 197s "float64", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.float64, 197s ), 197s ), 197s ( 197s "complex128", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.complex128, 197s ), 197s ), 197s ( 197s "complex64", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.complex64, 197s ), 197s ), 197s ], 197s ) 197s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(u, v) * ufl.dx 197s L = ufl.conj(v) * ufl.dx 197s forms = [a, L] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:150: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_68afc57515f83c0420a7db2d41166be6c64cf...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b184dd099ee054e5457458ccb16e83121f88ed35'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ____________ test_mass_bilinear_form_2d[complex64-expected_result3] ____________ 197s 197s dtype = 'complex64' 197s expected_result = array([[0.08333334+0.j, 0.04166667+0.j, 0.04166667+0.j], 197s [0.04166667+0.j, 0.08333334+0.j, 0.04166667+0.j], 197s [0.04166667+0.j, 0.04166667+0.j, 0.08333334+0.j]], dtype=complex64) 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype,expected_result", 197s [ 197s ( 197s "float32", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.float32, 197s ), 197s ), 197s # ("longdouble", 197s # np.array( 197s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 197s # dtype=np.longdouble)), 197s ( 197s "float64", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.float64, 197s ), 197s ), 197s ( 197s "complex128", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.complex128, 197s ), 197s ), 197s ( 197s "complex64", 197s np.array( 197s [ 197s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 197s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 197s ], 197s dtype=np.complex64, 197s ), 197s ), 197s ], 197s ) 197s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(u, v) * ufl.dx 197s L = ufl.conj(v) * ufl.dx 197s forms = [a, L] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:150: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4a87e43d3204047475de01013a20f1f9b127f...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5b5ea770aa4d24de219593160c6d87e7d38be607'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _______________ test_helmholtz_form_2d[float64-expected_result0] _______________ 197s 197s dtype = 'float64' 197s expected_result = array([[ 0.91666667, -0.54166667, -0.54166667], 197s [-0.54166667, 0.41666667, -0.04166667], 197s [-0.54166667, -0.04166667, 0.41666667]]) 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype,expected_result", 197s [ 197s ( 197s "float64", 197s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 197s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 197s ), 197s ( 197s "complex128", 197s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 197s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 197s ), 197s ], 197s ) 197s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s if np.issubdtype(dtype, np.complexfloating): 197s k = ufl.constantvalue.ComplexValue(1j) 197s elif np.issubdtype(dtype, np.floating): 197s k = 1.0 197s else: 197s raise RuntimeError( 197s "Unknown mode type", 197s ) 197s 197s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:186: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6d9c63158a80e7e13d57972ea5294d02e115d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_514b9d5bd9b68fc6fa3876805469ac68bd0a0162'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_helmholtz_form_2d[complex128-expected_result1] ______________ 197s 197s dtype = 'complex128' 197s expected_result = array([[ 1. -0.08333333j, -0.5-0.04166667j, -0.5-0.04166667j], 197s [-0.5-0.04166667j, 0.5-0.08333333j, 0. -0.04166667j], 197s [-0.5-0.04166667j, 0. -0.04166667j, 0.5-0.08333333j]]) 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype,expected_result", 197s [ 197s ( 197s "float64", 197s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 197s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 197s ), 197s ( 197s "complex128", 197s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 197s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 197s ), 197s ], 197s ) 197s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s if np.issubdtype(dtype, np.complexfloating): 197s k = ufl.constantvalue.ComplexValue(1j) 197s elif np.issubdtype(dtype, np.floating): 197s k = 1.0 197s else: 197s raise RuntimeError( 197s "Unknown mode type", 197s ) 197s 197s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:186: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7635fcd7f598858d922b495ed84f270b520da...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_80b98e8b6596067b410c0b915a8c40d6e38ee2c6'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_laplace_bilinear_form_3d[float64-expected_result0] ____________ 197s 197s dtype = 'float64' 197s expected_result = array([[ 0.5 , -0.16666667, -0.16666667, -0.16666667], 197s [-0.16666667, 0.16666667, 0. , 0. ... [-0.16666667, 0. , 0.16666667, 0. ], 197s [-0.16666667, 0. , 0. , 0.16666667]]) 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype,expected_result", 197s [ 197s ( 197s "float64", 197s np.array( 197s [ 197s [0.5, -1 / 6, -1 / 6, -1 / 6], 197s [-1 / 6, 1 / 6, 0.0, 0.0], 197s [-1 / 6, 0.0, 1 / 6, 0.0], 197s [-1 / 6, 0.0, 0.0, 1 / 6], 197s ], 197s dtype=np.float64, 197s ), 197s ), 197s ( 197s "complex128", 197s np.array( 197s [ 197s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 197s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 197s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 197s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 197s ], 197s dtype=np.complex128, 197s ), 197s ), 197s ], 197s ) 197s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 197s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:253: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_41e643d9e1103ef959340180e524fb536b... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_69be1876a2be71d2f70e4a961f0d75969e1b42b2'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s __________ test_laplace_bilinear_form_3d[complex128-expected_result1] __________ 197s 197s dtype = 'complex128' 197s expected_result = array([[ 0.5 +0.j, -0.16666667+0.j, -0.16666667+0.j, 197s -0.16666667+0.j], 197s [-0.16666667+0.j, 0.16666...67+0.j, 197s 0. +0.j], 197s [-0.16666667+0.j, 0. +0.j, 0. +0.j, 197s 0.16666667+0.j]]) 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype,expected_result", 197s [ 197s ( 197s "float64", 197s np.array( 197s [ 197s [0.5, -1 / 6, -1 / 6, -1 / 6], 197s [-1 / 6, 1 / 6, 0.0, 0.0], 197s [-1 / 6, 0.0, 1 / 6, 0.0], 197s [-1 / 6, 0.0, 0.0, 1 / 6], 197s ], 197s dtype=np.float64, 197s ), 197s ), 197s ( 197s "complex128", 197s np.array( 197s [ 197s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 197s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 197s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 197s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 197s ], 197s dtype=np.complex128, 197s ), 197s ), 197s ], 197s ) 197s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 197s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:253: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_81b2c09bfbed13e33ef5f537b765f4f6f0... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_e2c4771c2fb1b5dc444fba06321a89865de83c72'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ____________________________ test_form_coefficient _____________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_form_coefficient(compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TestFunction(space), ufl.TrialFunction(space) 197s g = ufl.Coefficient(space) 197s a = g * ufl.inner(u, v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:292: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cdd35daabcecd982582b5a5a8e16d31ddadaa...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_07ba8ec8e281fb49c7e777b8c2eb49e5b3f8e675'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _______________________________ test_subdomains ________________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_subdomains(compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a0 = ufl.inner(u, v) * ufl.dx + ufl.inner(u, v) * ufl.dx(2) 197s a1 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx 197s a2 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx(1) 197s a3 = ufl.inner(u, v) * ufl.ds(210) + ufl.inner(u, v) * ufl.ds(0) 197s forms = [a0, a1, a2, a3] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:334: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_9b41af7a81930966cfc745b888f5c4092570d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f0a44635b334cd31aea603e26af7dae6e5d6cb28'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ____________________ test_interior_facet_integral[float64] _____________________ 197s 197s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 197s def test_interior_facet_integral(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 197s forms = [a0] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:373: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_d3f25b7c57ff4caa2a9ffad6daac4a8d77d97...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_e9566a95fe8378d602653472cb554fa8170e1a4d'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________________ test_interior_facet_integral[complex128] ___________________ 197s 197s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 197s def test_interior_facet_integral(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 197s forms = [a0] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:373: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2502d932e6a37875034c9364a3c4bb398b7f8...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_95af8f20af03a680547df18e7c9466b2aaad4ff6'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s __________________________ test_conditional[float64] ___________________________ 197s 197s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float64", 197s "complex128", 197s ], 197s ) 197s def test_conditional(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s x = ufl.SpatialCoordinate(domain) 197s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 197s c1 = ufl.conditional(condition, 2.0, 1.0) 197s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 197s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 197s b = c2 * ufl.conj(v) * ufl.dx 197s 197s forms = [a, b] 197s 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:439: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_bcff7363e752dcb245a198432e937313e73ef...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_59569c5fc73ddc71032ccc46094a557b0eee2704'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _________________________ test_conditional[complex128] _________________________ 197s 197s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float64", 197s "complex128", 197s ], 197s ) 197s def test_conditional(dtype, compile_args): 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s x = ufl.SpatialCoordinate(domain) 197s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 197s c1 = ufl.conditional(condition, 2.0, 1.0) 197s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 197s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 197s b = c2 * ufl.conj(v) * ufl.dx 197s 197s forms = [a, b] 197s 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:439: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_987d3968c2ca56bfe5044da00e3e0e01b38f9...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_00c3812e3d6844cd53ba3a84b2e4b9b8a95696ea'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ____________________________ test_custom_quadrature ____________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_custom_quadrature(compile_args): 197s ve = basix.ufl.element("P", "triangle", 1, shape=(2,)) 197s mesh = ufl.Mesh(ve) 197s 197s e = basix.ufl.element("P", mesh.ufl_cell().cellname(), 2) 197s V = ufl.FunctionSpace(mesh, e) 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s 197s 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]] 197s weights = [1 / 12] * 6 197s a = ( 197s u 197s * v 197s * ufl.dx( 197s metadata={ 197s "quadrature_rule": "custom", 197s "quadrature_points": points, 197s "quadrature_weights": weights, 197s } 197s ) 197s ) 197s 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:513: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 2, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 197s finite_element_names = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_42c980ce553e3d6598579aa97d83a0353f5fa...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c0ff187d13e5f10ba6a34325f02249beadc5242b'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ________________________________ test_curl_curl ________________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_curl_curl(compile_args): 197s V = basix.ufl.element("N1curl", "triangle", 2) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, V) 197s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 197s a = ufl.inner(ufl.curl(u), ufl.curl(v)) * ufl.dx 197s 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:549: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_8f307598b202578ceb4023cfb2ec0bd43dfb4...ix element (N1E, triangle, 2, legendre, unset, False, float64, []): 'element_814f25565fc5e68aead538c2acb150ed86009a59'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_lagrange_triangle[1--0-float64] _____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 197s sym_fun = at 0x3ff8495e480> 197s ufl_fun = at 0x3ff8495e520> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "triangle", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:620: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_046ab3d365b7f6bd6274ad5cd43e9cdc542d1...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_bea32ada4d334ac03ce4e0c9a14b2359534369bc'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_lagrange_triangle[1--1-float64] _____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 197s sym_fun = at 0x3ff8495e5c0> 197s ufl_fun = at 0x3ff8495e660> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "triangle", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:620: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2c256f7906b9daefd4545df94cfc91de9e027...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2d1c5789691959249bd681766fa02fc389971490'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_lagrange_triangle[1--2-float64] _____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 197s sym_fun = at 0x3ff8495e700> 197s ufl_fun = at 0x3ff8495e7a0> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "triangle", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:620: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4a5f6156185789baa4f0df4b84fad272ab221...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2d581924b275fca0b6c0d30625ef4fbfdd179e5a'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_lagrange_triangle[2--0-float64] _____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 197s sym_fun = at 0x3ff8495e480> 197s ufl_fun = at 0x3ff8495e520> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "triangle", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:620: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 2, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 197s finite_element_names = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_5ccfba4ccbd622e4568a8e58466ceef1f3762...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f47de805bd820cfbc114df0b5ee1354dfd379069'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_lagrange_triangle[2--1-float64] _____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 197s sym_fun = at 0x3ff8495e5c0> 197s ufl_fun = at 0x3ff8495e660> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "triangle", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:620: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 2, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 197s finite_element_names = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_d496c68c37924f64454134c5fd031f00c24a7...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_68cf0930358b9d888364f639ded7893b30d86bd9'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_lagrange_triangle[2--2-float64] _____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 197s sym_fun = at 0x3ff8495e700> 197s ufl_fun = at 0x3ff8495e7a0> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "triangle", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:620: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 2, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 197s finite_element_names = {Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_6b3cc112f4fa4c1631cb124f63b3c587ebdf8...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_5a00bf6a5bf7e7371e6b87e8023b9e536cee4fd6'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_lagrange_triangle[3--0-float64] _____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 197s sym_fun = at 0x3ff8495e480> 197s ufl_fun = at 0x3ff8495e520> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "triangle", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:620: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 3, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 197s finite_element_names = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_275ffed960e801d8c74dde2dba3f12fc27648...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f130ad84591e790a0c949b8872a5aeb271ffa3fc'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_lagrange_triangle[3--1-float64] _____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 197s sym_fun = at 0x3ff8495e5c0> 197s ufl_fun = at 0x3ff8495e660> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "triangle", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:620: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 3, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 197s finite_element_names = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_ae2b29c6813e406d4f0f08c216bfde7be3592...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_8bf7181ae3b08691352cd241a0a01227f80a4daa'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_lagrange_triangle[3--2-float64] _____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 197s sym_fun = at 0x3ff8495e700> 197s ufl_fun = at 0x3ff8495e7a0> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "triangle", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:620: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 3, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 197s finite_element_names = {Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_80d7a30ad7f8d78d3d82a32963de0ff97f89a...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_3da8496eb89ea811e5bbc6dbb7b7137008ea9cc4'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_lagrange_tetrahedron[1--0-float64] ____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 197s sym_fun = at 0x3ff8495ea20> 197s ufl_fun = at 0x3ff8495eac0> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "tetrahedron", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:745: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_e381a9f05a3d7724e27f1603d977fa3487... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_f1e2d1b7c464cb7aa3e554cf9e85ab3536f66e68'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_lagrange_tetrahedron[1--1-float64] ____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 197s sym_fun = at 0x3ff8495eb60> 197s ufl_fun = at 0x3ff8495ec00> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "tetrahedron", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:745: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_d9e94b1e2f1604294fb95d381b63613065... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_61cb339fb798fe8def0d9dfb07594f00c18d8474'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_lagrange_tetrahedron[1--2-float64] ____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 197s sym_fun = at 0x3ff8495eca0> 197s ufl_fun = at 0x3ff8495ed40> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "tetrahedron", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:745: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_6267114cbb0ab2c9d9196a478b3096dee8... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_ef94f6b3bb1165926d3bd6356567b67bb98134ee'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_lagrange_tetrahedron[2--0-float64] ____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 197s sym_fun = at 0x3ff8495ea20> 197s ufl_fun = at 0x3ff8495eac0> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "tetrahedron", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:745: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 197s finite_element_names = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_1025e54fa5642473c8715967d58231064e... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_c57f52ad517d91197f896868aba920f7e05fe0e9'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_lagrange_tetrahedron[2--1-float64] ____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 197s sym_fun = at 0x3ff8495eb60> 197s ufl_fun = at 0x3ff8495ec00> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "tetrahedron", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:745: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 197s finite_element_names = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_86babbe3d21f6cec88165fa48bb51b4f59... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_33a37c5f2b4007f25bef9b6d7ec81c3b3b611793'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_lagrange_tetrahedron[2--2-float64] ____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 197s sym_fun = at 0x3ff8495eca0> 197s ufl_fun = at 0x3ff8495ed40> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "tetrahedron", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:745: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 197s finite_element_names = {Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_63a5014a7ff3c04f7344d99abfae1ba4ab... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_c85782e9bbcdb2362764b3ff06c3418965a975be'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_lagrange_tetrahedron[3--0-float64] ____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 197s sym_fun = at 0x3ff8495ea20> 197s ufl_fun = at 0x3ff8495eac0> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "tetrahedron", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:745: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 197s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_e41030c58ee4b21898fc80a4b5c100b819... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_b8719231908ed83dc4712d0cf9cdfef8ff9b4418'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_lagrange_tetrahedron[3--1-float64] ____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 197s sym_fun = at 0x3ff8495eb60> 197s ufl_fun = at 0x3ff8495ec00> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "tetrahedron", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:745: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 197s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_0902593337ca1f89afe6c8cfcb651f5d60... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_f406b7c013b9b481aeb9c92d45f86ee5063eca30'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________ test_lagrange_tetrahedron[3--2-float64] ____________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 197s sym_fun = at 0x3ff8495eca0> 197s ufl_fun = at 0x3ff8495ed40> 197s 197s @pytest.mark.parametrize("dtype", ["float64"]) 197s @pytest.mark.parametrize( 197s "sym_fun,ufl_fun", 197s [ 197s (lambda i: i, lambda i: i), 197s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 197s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 197s ], 197s ) 197s @pytest.mark.parametrize("order", [1, 2, 3]) 197s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 197s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 197s element = basix.ufl.element("Lagrange", "tetrahedron", order) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s 197s a = ufl_fun(v) * ufl.dx 197s forms = [a] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:745: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 197s element_numbers = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 0, Basix element (P, tetrahedron, 1, gll_wa..., float64, []): 1, blocked element (Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 2} 197s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_ad56b82f9e1460ba34944f66e8e08cb969... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_78622b6a4871c5ba94c0466cd924bf41565e51cf'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s __________________________________ test_prism __________________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_prism(compile_args): 197s element = basix.ufl.element("Lagrange", "prism", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "prism", 1, shape=(3,))) 197s space = ufl.FunctionSpace(domain, element) 197s v = ufl.TestFunction(space) 197s L = v * ufl.dx 197s forms = [L] 197s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:784: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, prism, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, prism, 1, gll_warped, unset, False, float64, []): 'element_149120449d84b390ca3fb7a016347c7e472db53d...lement (P, prism, 1, gll_warped, unset, False, float64, []), (3,)): 'element_f40e710c192b30d8e98d7e1f811e67d965630218'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ___________________________ test_complex_operations ____________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_complex_operations(compile_args): 197s dtype = "complex128" 197s cell = "triangle" 197s c_element = basix.ufl.element("Lagrange", cell, 1, shape=(2,)) 197s mesh = ufl.Mesh(c_element) 197s element = basix.ufl.element("DG", cell, 0, shape=(2,)) 197s V = ufl.FunctionSpace(mesh, element) 197s u = ufl.Coefficient(V) 197s J1 = ufl.real(u)[0] * ufl.imag(u)[1] * ufl.conj(u)[0] * ufl.dx 197s J2 = ufl.real(u[0]) * ufl.imag(u[1]) * ufl.conj(u[0]) * ufl.dx 197s forms = [J1, J2] 197s 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:823: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_db2c343c3720a1ad94502e5b8d451249ab23f...ment (P, triangle, 0, gll_warped, unset, True, float64, []), (2,)): 'element_41d283002a776f606c6dbdbcb35dc48faac9d5dc'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s __________________________ test_invalid_function_name __________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_invalid_function_name(compile_args): 197s # Monkey patch to force invalid name 197s old_str = ufl.Coefficient.__str__ 197s ufl.Coefficient.__str__ = lambda self: "invalid function name" 197s 197s V = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, V) 197s u = ufl.Coefficient(space) 197s a = ufl.inner(u, u) * ufl.dx 197s forms = [a] 197s try: 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:888: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_394cf49ac74a43f66053f44e3476283969992...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6e4fb477e3c95e8f3a32948beacf92e5e7a48b19'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s 197s During handling of the above exception, another exception occurred: 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_invalid_function_name(compile_args): 197s # Monkey patch to force invalid name 197s old_str = ufl.Coefficient.__str__ 197s ufl.Coefficient.__str__ = lambda self: "invalid function name" 197s 197s V = basix.ufl.element("Lagrange", "triangle", 1) 197s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s space = ufl.FunctionSpace(domain, V) 197s u = ufl.Coefficient(space) 197s a = ufl.inner(u, u) * ufl.dx 197s forms = [a] 197s try: 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, cffi_extra_compile_args=compile_args 197s ) 197s except ValueError: 197s pass 197s except Exception: 197s > raise RuntimeError("Compilation should fail with ValueError.") 197s E RuntimeError: Compilation should fail with ValueError. 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:894: RuntimeError 197s _______________________ test_interval_vertex_quadrature ________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_interval_vertex_quadrature(compile_args): 197s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(1,)) 197s mesh = ufl.Mesh(c_el) 197s 197s x = ufl.SpatialCoordinate(mesh) 197s dx = ufl.Measure("dx", metadata={"quadrature_rule": "vertex"}) 197s b = x[0] * dx 197s 197s forms = [b] 197s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s forms, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:909: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_0e61c18efff2a1fd5ee3e81e88e440040fe1b...ent (P, interval, 1, gll_warped, unset, False, float64, []), (1,)): 'element_1a1af31a85ec8808877975bde333cc5635a4f1a5'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _________________________ test_facet_vertex_quadrature _________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_facet_vertex_quadrature(compile_args): 197s """Test facet vertex quadrature""" 197s c_el = basix.ufl.element("Lagrange", "quadrilateral", 1, shape=(2,)) 197s mesh = ufl.Mesh(c_el) 197s 197s x = ufl.SpatialCoordinate(mesh) 197s ds = ufl.Measure("ds", metadata={"quadrature_rule": "vertex"}) 197s expr = x[0] + ufl.cos(x[1]) 197s b1 = expr * ds 197s ds_c = ufl.Measure( 197s "ds", 197s metadata={ 197s "quadrature_rule": "custom", 197s "quadrature_points": np.array([[0.0], [1.0]]), 197s "quadrature_weights": np.array([1.0 / 2.0, 1.0 / 2.0]), 197s }, 197s ) 197s b2 = expr * ds_c 197s forms = [b1, b2] 197s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 197s forms, cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:954: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []): 'element_002b94252634860ff4391853108754fa...P, quadrilateral, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1b3c6a1140f1a41776b5bdce8f51fcd46ad11bfa'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s __________________________ test_manifold_derivatives ___________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_manifold_derivatives(compile_args): 197s """Test higher order derivatives on manifolds""" 197s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(2,)) 197s mesh = ufl.Mesh(c_el) 197s 197s x = ufl.SpatialCoordinate(mesh) 197s dx = ufl.Measure("dx", domain=mesh) 197s order = 4 197s el = basix.ufl.element("Lagrange", "interval", order) 197s V = ufl.FunctionSpace(mesh, el) 197s 197s u = ufl.Coefficient(V) 197s d = 5.3 197s f_ex = d * order * (order - 1) * x[1] ** (order - 2) 197s expr = u.dx(1).dx(1) - f_ex 197s J = expr * expr * dx 197s 197s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 197s [J], cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:1012: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, interval, 4, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, interval, 4, gll_warped, unset, False, float64, []): 'element_726c0bf6695506f36c152ed123645a7f01bf0...ent (P, interval, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b931398f87fdeedbc7d9b92fa8263570b3e82998'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ____________________________ test_integral_grouping ____________________________ 197s 197s compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s def test_integral_grouping(compile_args): 197s """We group integrals with common integrands to avoid duplicated 197s integration kernels. This means that `inner(u, v)*dx((1,2,3)) + 197s inner(grad(u), grad(v))*dx(2) + inner(u,v)*dx` is grouped as 197s 1. `inner(u,v)*dx(("everywhere", 1, 3))` 197s 2. `(inner(grad(u), grad(v)) + inner(u, v))*dx(2)` 197s Each of the forms has one generated `tabulate_tensor_*` function, 197s which is referred to multiple times in `integrals_` and 197s `integral_ids_` 197s 197s """ 197s mesh = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 197s V = ufl.FunctionSpace(mesh, basix.ufl.element("Lagrange", "triangle", 1)) 197s u = ufl.TrialFunction(V) 197s v = ufl.TestFunction(V) 197s a = ( 197s ufl.inner(u, v) * ufl.dx((1, 2, 3)) 197s + ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx(2) 197s + ufl.inner(u, v) * ufl.dx 197s ) 197s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 197s [a], cffi_extra_compile_args=compile_args 197s ) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_jit_forms.py:1060: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_8c67a7cc6348e77d79b8b4fcefc3af30a7c20...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_62012e04730b4063b45c3508c80eacba99fd296c'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ______________________ test_multiple_mesh_codim0[float64] ______________________ 197s 197s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float64", 197s "complex128", 197s ], 197s ) 197s def test_multiple_mesh_codim0(dtype, compile_args): 197s # Define coordinate element and element used in parent and sub-mesh 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 197s 197s domain = ufl.Mesh(coordinate_element) 197s space = ufl.FunctionSpace(domain, element) 197s u_parent = ufl.TrialFunction(space) 197s 197s # Create submesh and functionspace on submesh 197s sub_domain = ufl.Mesh(coordinate_element) 197s subspace = ufl.FunctionSpace(sub_domain, element) 197s v_sub = ufl.TestFunction(subspace) 197s 197s # 197s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 197s 197s > A = compute_tensor([a], dtype, compile_args) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_submesh.py:78: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_submesh.py:20: in compute_tensor 197s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4fa73d73aa50003010de207152dcdaa830b90...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_807ad8ca4238e24f1a90ce435ef0da44eef7c760'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ____________________ test_multiple_mesh_codim0[complex128] _____________________ 197s 197s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 197s 197s @pytest.mark.parametrize( 197s "dtype", 197s [ 197s "float64", 197s "complex128", 197s ], 197s ) 197s def test_multiple_mesh_codim0(dtype, compile_args): 197s # Define coordinate element and element used in parent and sub-mesh 197s element = basix.ufl.element("Lagrange", "triangle", 1) 197s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 197s 197s domain = ufl.Mesh(coordinate_element) 197s space = ufl.FunctionSpace(domain, element) 197s u_parent = ufl.TrialFunction(space) 197s 197s # Create submesh and functionspace on submesh 197s sub_domain = ufl.Mesh(coordinate_element) 197s subspace = ufl.FunctionSpace(sub_domain, element) 197s v_sub = ufl.TestFunction(subspace) 197s 197s # 197s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 197s 197s > A = compute_tensor([a], dtype, compile_args) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_submesh.py:78: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_submesh.py:20: in compute_tensor 197s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 197s 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} 197s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_8c3bd2b04574621348d4f1e806fab23939962...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_e7077f42fa8288a193692517d393d6d931076c8a'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_bilinear_form[CellType.quadrilateral-1-float32] _____________ 197s 197s dtype = 'float32', P = 1, cell_type = CellType.quadrilateral 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 197s 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} 197s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_f619157d57ddeb2321f920...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_c30b740025458810f82c173c98d05c939f3a2c7d'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_bilinear_form[CellType.quadrilateral-1-float64] _____________ 197s 197s dtype = 'float64', P = 1, cell_type = CellType.quadrilateral 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 197s 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} 197s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_1f69f996695e10c5dc205d...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_333adaba1abbc44ca95271b01a6deb18fdaf0b34'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_bilinear_form[CellType.quadrilateral-2-float32] _____________ 197s 197s dtype = 'float32', P = 2, cell_type = CellType.quadrilateral 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]) 197s element_numbers = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 0, Basix element...]): 1, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 2} 197s finite_element_names = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_3a85497...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_3fd28a25088a6e804414828da0ae52dc1349bc56'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_bilinear_form[CellType.quadrilateral-2-float64] _____________ 197s 197s dtype = 'float64', P = 2, cell_type = CellType.quadrilateral 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]) 197s element_numbers = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 0, Basix element...]): 1, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 2} 197s finite_element_names = {Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_fb4aba4...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_e4733b17e0c78b482d398a2c386513c74a8e8103'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_bilinear_form[CellType.quadrilateral-3-float32] _____________ 197s 197s dtype = 'float32', P = 3, cell_type = CellType.quadrilateral 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 197s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 0, blocked element (Basix eleme...nt (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 2} 197s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_05b96a6655b91cfda38214..., float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 'element_3121e7bb205f52b4787b4581c5b5b10b3dc26e58'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s _____________ test_bilinear_form[CellType.quadrilateral-3-float64] _____________ 197s 197s dtype = 'float64', P = 3, cell_type = CellType.quadrilateral 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 197s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 0, blocked element (Basix eleme...nt (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 2} 197s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_c14189b354632c3840c487..., float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]): 'element_f0207414ca23ef7a0e6bf4a6581f20aebbac65d6'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ______________ test_bilinear_form[CellType.hexahedron-1-float32] _______________ 197s 197s dtype = 'float32', P = 1, cell_type = CellType.hexahedron 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 197s 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} 197s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_a447bda2524a7...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_b675f6cb3165f9383f0d8b67a7af284896bcc9b9'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ______________ test_bilinear_form[CellType.hexahedron-1-float64] _______________ 197s 197s dtype = 'float64', P = 1, cell_type = CellType.hexahedron 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 197s 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} 197s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_0a7cf9d64adf4...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_c766084e498594aed5aa25e436f5a325defc49c9'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ______________ test_bilinear_form[CellType.hexahedron-2-float32] _______________ 197s 197s dtype = 'float32', P = 2, cell_type = CellType.hexahedron 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 197s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Ba...False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 2} 197s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_48c5cd18927e8..., 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 'element_5c1232e1e8681e3ad95a4f0780e15dec08ad6ea8'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ______________ test_bilinear_form[CellType.hexahedron-2-float64] _______________ 197s 197s dtype = 'float64', P = 2, cell_type = CellType.hexahedron 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 197s element_numbers = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 0, blocked element (Ba...False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 2} 197s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_43d1685c94b0a..., 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]): 'element_02c0351d340bf1587c9143c2d6a3b3725367405d'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ______________ test_bilinear_form[CellType.hexahedron-3-float32] _______________ 197s 197s dtype = 'float32', P = 3, cell_type = CellType.hexahedron 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 197s 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} 197s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_51d451f7da90a..., 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]): 'element_9dafdfbbf22ef28b29695e110aadf6461fcda62f'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s ______________ test_bilinear_form[CellType.hexahedron-3-float64] _______________ 197s 197s dtype = 'float64', P = 3, cell_type = CellType.hexahedron 197s 197s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 197s @pytest.mark.parametrize("P", [1, 2, 3]) 197s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 197s def test_bilinear_form(dtype, P, cell_type): 197s gdim = cell_to_gdim(cell_type) 197s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 197s coords = create_tensor_product_element( 197s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 197s ) 197s mesh = ufl.Mesh(coords) 197s V = ufl.FunctionSpace(mesh, element) 197s 197s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 197s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 197s 197s ndofs = element.dim 197s 197s A = np.zeros((ndofs, ndofs), dtype=dtype) 197s w = np.array([], dtype=dtype) 197s c = np.array([], dtype=dtype) 197s 197s xdtype = dtype_to_scalar_dtype(dtype) 197s if cell_type == basix.CellType.quadrilateral: 197s coords = np.array( 197s [[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 197s ) 197s elif cell_type == basix.CellType.hexahedron: 197s coords = np.array( 197s [ 197s [0.0, 0.0, 0.0], 197s [1.0, 0.0, 0.0], 197s [0.0, 1.0, 0.0], 197s [1.0, 1.0, 0.0], 197s [0.0, 0.0, 1.0], 197s [1.0, 0.0, 1.0], 197s [0.0, 1.0, 1.0], 197s [1.0, 1.0, 1.0], 197s ], 197s dtype=xdtype, 197s ) 197s 197s c_type = dtype_to_c_type(dtype) 197s c_xtype = dtype_to_c_type(xdtype) 197s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:104: 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/test/test_tensor_product.py:43: in generate_kernel 197s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:276: in compile_forms 197s raise e 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:256: in compile_forms 197s impl = _compile_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/codegeneration/jit.py:383: in _compile_objects 197s _, code_body = ffcx.compiler.compile_ufl_objects( 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/compiler.py:113: in compile_ufl_objects 197s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:215: in compute_ir 197s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 197s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 197s 197s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 197s 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} 197s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_588826481c4ab..., 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]): 'element_2c4cb37d8ce58c6f4b9d6b471c6a9bce04a87114'} 197s 197s def _compute_element_ir(element, element_numbers, finite_element_names): 197s """Compute intermediate representation of element.""" 197s logger.info(f"Computing IR for element {element}") 197s 197s # Create basix elements 197s cell = element.cell 197s 197s # Store id 197s ir = {"id": element_numbers[element]} 197s ir["name"] = finite_element_names[element] 197s 197s # Compute data for each function 197s ir["signature"] = repr(element) 197s ir["cell_shape"] = element.cell_type.name 197s ir["topological_dimension"] = cell.topological_dimension() 197s ir["space_dimension"] = element.dim + element.num_global_support_dofs 197s > ir["element_type"] = element.ufcx_element_type 197s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 197s 197s /tmp/autopkgtest.lCmWDT/build.zYe/src/ffcx/ir/representation.py:293: AttributeError 197s =============================== warnings summary =============================== 197s test/test_jit_forms.py::test_facet_vertex_quadrature 197s /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. 197s warnings.warn( 197s 197s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 197s =========================== short test summary info ============================ 197s SKIPPED [4] test/test_signatures.py:41: Numba not installed 197s FAILED test/test_add_mode.py::test_additive_facet_integral[float32] - Attribu... 197s FAILED test/test_add_mode.py::test_additive_facet_integral[float64] - Attribu... 197s FAILED test/test_add_mode.py::test_additive_facet_integral[complex64] - Attri... 197s FAILED test/test_add_mode.py::test_additive_facet_integral[complex128] - Attr... 197s FAILED test/test_add_mode.py::test_additive_cell_integral[float32] - Attribut... 197s FAILED test/test_add_mode.py::test_additive_cell_integral[float64] - Attribut... 197s FAILED test/test_add_mode.py::test_additive_cell_integral[complex64] - Attrib... 197s FAILED test/test_add_mode.py::test_additive_cell_integral[complex128] - Attri... 197s FAILED test/test_blocked_elements.py::test_finite_element - AttributeError: '... 197s FAILED test/test_blocked_elements.py::test_vector_element - AttributeError: '... 197s FAILED test/test_blocked_elements.py::test_tensor_element - AttributeError: '... 197s FAILED test/test_blocked_elements.py::test_vector_quadrature_element - Attrib... 197s FAILED test/test_cache.py::test_cache_modes - AttributeError: '_BasixElement'... 197s FAILED test/test_cmdline.py::test_visualise - AssertionError: assert False 197s FAILED test/test_jit_expression.py::test_matvec - AttributeError: '_BasixElem... 197s FAILED test/test_jit_expression.py::test_rank1 - AttributeError: '_BasixEleme... 197s FAILED test/test_jit_expression.py::test_elimiate_zero_tables_tensor - Attrib... 197s FAILED test/test_jit_expression.py::test_facet_expression - AttributeError: m... 197s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] 197s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] 197s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] 197s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] 197s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] 197s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] 197s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] 197s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] 197s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] 197s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] 197s FAILED test/test_jit_forms.py::test_form_coefficient - AttributeError: '_Basi... 197s FAILED test/test_jit_forms.py::test_subdomains - AttributeError: '_BasixEleme... 197s FAILED test/test_jit_forms.py::test_interior_facet_integral[float64] - Attrib... 197s FAILED test/test_jit_forms.py::test_interior_facet_integral[complex128] - Att... 197s FAILED test/test_jit_forms.py::test_conditional[float64] - AttributeError: '_... 197s FAILED test/test_jit_forms.py::test_conditional[complex128] - AttributeError:... 197s FAILED test/test_jit_forms.py::test_custom_quadrature - AttributeError: '_Bas... 197s FAILED test/test_jit_forms.py::test_curl_curl - AttributeError: '_BasixElemen... 197s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] 197s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] 197s FAILED test/test_jit_forms.py::test_prism - AttributeError: '_BasixElement' o... 197s FAILED test/test_jit_forms.py::test_complex_operations - AttributeError: '_Ba... 197s FAILED test/test_jit_forms.py::test_invalid_function_name - RuntimeError: Com... 197s FAILED test/test_jit_forms.py::test_interval_vertex_quadrature - AttributeErr... 197s FAILED test/test_jit_forms.py::test_facet_vertex_quadrature - AttributeError:... 197s FAILED test/test_jit_forms.py::test_manifold_derivatives - AttributeError: '_... 197s FAILED test/test_jit_forms.py::test_integral_grouping - AttributeError: '_Bas... 197s FAILED test/test_submesh.py::test_multiple_mesh_codim0[float64] - AttributeEr... 197s FAILED test/test_submesh.py::test_multiple_mesh_codim0[complex128] - Attribut... 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] 197s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] 197s ============= 75 failed, 8 passed, 4 skipped, 1 warning in 42.16s ============== 198s autopkgtest [06:25:48]: test command1: -----------------------] 198s command1 FAIL non-zero exit status 1 198s autopkgtest [06:25:48]: test command1: - - - - - - - - - - results - - - - - - - - - - 199s autopkgtest [06:25:49]: @@@@@@@@@@@@@@@@@@@@ summary 199s command1 FAIL non-zero exit status 1 210s nova [W] Using flock in prodstack6-s390x 210s Creating nova instance adt-plucky-s390x-fenics-ffcx-20241115-062230-juju-7f2275-prod-proposed-migration-environment-20-bffcd8d1-e308-4dcd-bb04-039670fb1ff7 from image adt/ubuntu-plucky-s390x-server-20241114.img (UUID 41a907ef-1f3c-4685-a0eb-228b0d61c6b5)...