0s autopkgtest [07:33:59]: starting date and time: 2024-11-15 07:33:59+0000 0s autopkgtest [07:33:59]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [07:33:59]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.gpk7bdt1/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:fenics-basix --apt-upgrade fenics-ffcx --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=fenics-basix/0.9.0-2build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-43.secgroup --name adt-plucky-arm64-fenics-ffcx-20241115-073359-juju-7f2275-prod-proposed-migration-environment-20-3398a5d6-3025-4b2d-b06d-52ef1ea6b0dc --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 69s autopkgtest [07:35:08]: testbed dpkg architecture: arm64 69s autopkgtest [07:35:08]: testbed apt version: 2.9.8 69s autopkgtest [07:35:08]: @@@@@@@@@@@@@@@@@@@@ test bed setup 70s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 70s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1061 kB] 71s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 71s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.1 kB] 71s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [95.8 kB] 71s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [170 kB] 71s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 71s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [801 kB] 71s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [6680 B] 71s Fetched 2281 kB in 1s (2671 kB/s) 71s Reading package lists... 73s Reading package lists... 74s Building dependency tree... 74s Reading state information... 74s Calculating upgrade... 75s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 75s Reading package lists... 75s Building dependency tree... 75s Reading state information... 76s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 76s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 76s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 76s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 76s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 77s Reading package lists... 78s Reading package lists... 78s Building dependency tree... 78s Reading state information... 78s Calculating upgrade... 79s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 80s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s autopkgtest [07:35:22]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 83s autopkgtest [07:35:22]: @@@@@@@@@@@@@@@@@@@@ apt-source fenics-ffcx 85s Get:1 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (dsc) [2533 B] 85s Get:2 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (tar) [134 kB] 85s Get:3 http://ftpmaster.internal/ubuntu plucky/universe fenics-ffcx 1:0.8.0-1 (diff) [9740 B] 85s gpgv: Signature made Thu Apr 25 09:26:51 2024 UTC 85s gpgv: using RSA key 1B5D04B1E507BBF03669E2B801F35FC33E73AF8C 85s gpgv: Can't check signature: No public key 85s dpkg-source: warning: cannot verify inline signature for ./fenics-ffcx_0.8.0-1.dsc: no acceptable signature found 85s autopkgtest [07:35:24]: testing package fenics-ffcx version 1:0.8.0-1 85s autopkgtest [07:35:24]: build not needed 86s autopkgtest [07:35:25]: test command1: preparing testbed 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 89s Starting pkgProblemResolver with broken count: 0 89s Starting 2 pkgProblemResolver with broken count: 0 89s Done 90s The following additional packages will be installed: 90s autoconf automake autopoint autotools-dev build-essential cmake cmake-data 90s cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper 90s debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common 90s dwz fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 90s fonts-font-awesome fonts-lato g++ g++-14 g++-14-aarch64-linux-gnu 90s g++-aarch64-linux-gnu gcc gcc-14 gcc-14-aarch64-linux-gnu 90s gcc-aarch64-linux-gnu gettext graphviz intltool-debian libann0 libaom3 90s libarchive-zip-perl libasan8 libbasix-dev libbasix0.9 libblas3 90s libboost-math-dev libboost-math1.83-dev libboost-math1.83.0 libboost1.83-dev 90s libcairo2 libcc1-0 libcdt5 libcgraph6 libdatrie1 libde265-0 90s libdebhelper-perl libdeflate0 libeigen3-dev libexpat1-dev 90s libfile-stripnondeterminism-perl libfontconfig1 libgcc-14-dev libgd3 90s libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 90s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 90s libhwasan0 libice6 libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 90s libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl 90s libjsoncpp25 liblab-gamut1 liblapack3 liblerc4 liblsan0 libltdl7 libmpc3 90s libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 90s libpixman-1-0 libpkgconf3 libpython3-all-dev libpython3-dev 90s libpython3.12-dev libraqm0 librhash0 libsharpyuv0 libsm6 libstdc++-14-dev 90s libthai-data libthai0 libtiff6 libtool libtsan2 libubsan1 libwebp7 libxaw7 90s libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 90s pkg-config pkgconf pkgconf-bin po-debconf pybuild-plugin-pyproject 90s python3-alabaster python3-all python3-all-dev python3-basix python3-build 90s python3-cffi python3-defusedxml python3-dev python3-docutils python3-ffcx 90s python3-imagesize python3-iniconfig python3-installer python3-mpmath 90s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 90s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 90s python3-roman python3-snowballstemmer python3-sphinx 90s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 90s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 90s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 90s Suggested packages: 90s autoconf-archive gnu-standards autoconf-doc cmake-doc cmake-format 90s elpa-cmake-mode ninja-build cpp-doc gcc-14-locales cpp-14-doc dh-make flit 90s gcc-14-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 90s gdb-aarch64-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev gsfonts 90s graphviz-doc basix-doc libboost1.83-doc libboost-atomic1.83-dev 90s libboost-chrono1.83-dev libboost-container1.83-dev libboost-context1.83-dev 90s libboost-contract1.83-dev libboost-coroutine1.83-dev 90s libboost-date-time1.83-dev libboost-exception1.83-dev libboost-fiber1.83-dev 90s libboost-filesystem1.83-dev libboost-graph-parallel1.83-dev 90s libboost-graph1.83-dev libboost-iostreams1.83-dev libboost-json1.83-dev 90s libboost-locale1.83-dev libboost-log1.83-dev libboost-mpi-python1.83-dev 90s libboost-mpi1.83-dev libboost-nowide1.83-dev libboost-numpy1.83-dev 90s libboost-program-options1.83-dev libboost-python1.83-dev 90s libboost-random1.83-dev libboost-regex1.83-dev 90s libboost-serialization1.83-dev libboost-stacktrace1.83-dev 90s libboost-system1.83-dev libboost-test1.83-dev libboost-thread1.83-dev 90s libboost-timer1.83-dev libboost-type-erasure1.83-dev libboost-url1.83-dev 90s libboost-wave1.83-dev libboost1.83-tools-dev libmpfrc++-dev libntl-dev 90s libeigen3-doc libgd-tools libheif-plugin-x265 libheif-plugin-ffmpegdec 90s libheif-plugin-jpegdec libheif-plugin-jpegenc libheif-plugin-j2kdec 90s libheif-plugin-j2kenc libheif-plugin-kvazaar libheif-plugin-rav1e 90s libheif-plugin-svtenc libstdc++-14-doc libtool-doc gfortran 90s | fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-venv 90s python-build-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine 90s texlive-lang-french texlive-latex-base texlive-latex-recommended 90s python-installer-doc python-mpmath-doc python3-gmpy2 python3-matplotlib 90s gfortran python-numpy-doc python-ply-doc python-pygraphviz-doc 90s python3-stemmer dvipng dvisvgm fonts-freefont-otf imagemagick-6.q16 latexmk 90s libjs-mathjax sphinx-doc tex-gyre texlive-fonts-extra 90s texlive-fonts-recommended texlive-latex-extra texlive-plain-generic 90s python-sympy-doc python-ufl-doc sgml-base-doc 90s Recommended packages: 90s fonts-liberation libarchive-cpio-perl libgts-bin libheif-plugin-aomenc 90s javascript-common libjson-xs-perl libltdl-dev libmail-sendmail-perl 90s libpaper-utils python3-pil isympy-common 90s The following NEW packages will be installed: 90s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 90s cmake cmake-data cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 90s debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism 90s docutils-common dwz fontconfig fontconfig-config fonts-dejavu-core 90s fonts-dejavu-mono fonts-font-awesome fonts-lato g++ g++-14 90s g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 90s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext graphviz 90s intltool-debian libann0 libaom3 libarchive-zip-perl libasan8 libbasix-dev 90s libbasix0.9 libblas3 libboost-math-dev libboost-math1.83-dev 90s libboost-math1.83.0 libboost1.83-dev libcairo2 libcc1-0 libcdt5 libcgraph6 90s libdatrie1 libde265-0 libdebhelper-perl libdeflate0 libeigen3-dev 90s libexpat1-dev libfile-stripnondeterminism-perl libfontconfig1 libgcc-14-dev 90s libgd3 libgfortran5 libgomp1 libgraphite2-3 libgts-0.7-5t64 libgvc6 libgvpr2 90s libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 libheif1 90s libhwasan0 libice6 libimagequant0 libisl23 libitm1 libjbig0 libjpeg-turbo8 90s libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl 90s libjsoncpp25 liblab-gamut1 liblapack3 liblerc4 liblsan0 libltdl7 libmpc3 90s libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpathplan4 90s libpixman-1-0 libpkgconf3 libpython3-all-dev libpython3-dev 90s libpython3.12-dev libraqm0 librhash0 libsharpyuv0 libsm6 libstdc++-14-dev 90s libthai-data libthai0 libtiff6 libtool libtsan2 libubsan1 libwebp7 libxaw7 90s libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxt6t64 m4 90s pkg-config pkgconf pkgconf-bin po-debconf pybuild-plugin-pyproject 90s python3-alabaster python3-all python3-all-dev python3-basix python3-build 90s python3-cffi python3-defusedxml python3-dev python3-docutils python3-ffcx 90s python3-imagesize python3-iniconfig python3-installer python3-mpmath 90s python3-numpy python3-packaging python3-pip python3-pluggy python3-ply 90s python3-pycparser python3-pygraphviz python3-pyproject-hooks python3-pytest 90s python3-roman python3-snowballstemmer python3-sphinx 90s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sympy 90s python3-toml python3-ufl python3-wheel python3.12-dev sgml-base 90s sphinx-common sphinx-rtd-theme-common x11-common xml-core zlib1g-dev 90s 0 upgraded, 163 newly installed, 0 to remove and 0 not upgraded. 90s Need to get 130 MB/130 MB of archives. 90s After this operation, 610 MB of additional disk space will be used. 90s Get:1 /tmp/autopkgtest.XGtMcn/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [888 B] 90s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-lato all 2.015-1 [2781 kB] 91s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 sgml-base all 1.31 [11.4 kB] 91s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 m4 arm64 1.4.19-4build1 [240 kB] 91s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 autoconf all 2.72-3 [382 kB] 91s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 autotools-dev all 20220109.1 [44.9 kB] 91s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 91s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 autopoint all 0.22.5-2 [616 kB] 91s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 91s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 91s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [10.6 MB] 91s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-8ubuntu1 [1028 B] 91s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 91s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 91s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-8ubuntu1 [49.7 kB] 91s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-8ubuntu1 [145 kB] 91s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-8ubuntu1 [27.8 kB] 91s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-8ubuntu1 [2893 kB] 91s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-8ubuntu1 [1283 kB] 92s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-8ubuntu1 [2686 kB] 92s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-8ubuntu1 [1151 kB] 92s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-8ubuntu1 [1598 kB] 92s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-8ubuntu1 [2594 kB] 92s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [20.9 MB] 92s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-8ubuntu1 [518 kB] 92s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 92s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 92s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-8ubuntu1 [2476 kB] 92s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [12.1 MB] 93s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-8ubuntu1 [19.9 kB] 93s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 93s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 93s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 93s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libjsoncpp25 arm64 1.9.5-6build1 [78.2 kB] 93s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 librhash0 arm64 1.4.3-3build1 [126 kB] 93s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 cmake-data all 3.30.3-1 [2246 kB] 93s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 cmake arm64 3.30.3-1 [10.9 MB] 93s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 93s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libtool all 2.4.7-7build1 [166 kB] 93s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-autoreconf all 20 [16.1 kB] 93s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 93s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 93s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 93s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 debugedit arm64 1:5.1-1 [45.9 kB] 93s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 dwz arm64 0.15-1build6 [113 kB] 93s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 gettext arm64 0.22.5-2 [930 kB] 93s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 93s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 93s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 debhelper all 13.20ubuntu1 [893 kB] 93s Get:50 http://ftpmaster.internal/ubuntu plucky/universe arm64 dh-python all 6.20241024 [112 kB] 93s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 xml-core all 0.19 [20.3 kB] 93s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 docutils-common all 0.21.2+dfsg-2 [131 kB] 93s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB] 93s Get:54 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-dejavu-core all 2.37-8 [835 kB] 93s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 fontconfig-config arm64 2.15.0-1.1ubuntu2 [37.4 kB] 93s Get:56 http://ftpmaster.internal/ubuntu plucky/main arm64 libfontconfig1 arm64 2.15.0-1.1ubuntu2 [142 kB] 93s Get:57 http://ftpmaster.internal/ubuntu plucky/main arm64 fontconfig arm64 2.15.0-1.1ubuntu2 [190 kB] 93s Get:58 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 93s Get:59 http://ftpmaster.internal/ubuntu plucky/universe arm64 libann0 arm64 1.1.2+doc-9build1 [25.7 kB] 93s Get:60 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcdt5 arm64 2.42.4-2build3 [21.3 kB] 93s Get:61 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcgraph6 arm64 2.42.4-2build3 [45.1 kB] 93s Get:62 http://ftpmaster.internal/ubuntu plucky/main arm64 libsharpyuv0 arm64 1.4.0-0.1 [16.3 kB] 93s Get:63 http://ftpmaster.internal/ubuntu plucky/main arm64 libaom3 arm64 3.11.0~rc1-1 [1837 kB] 93s Get:64 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif-plugin-aomdec arm64 1.19.3-1 [11.3 kB] 93s Get:65 http://ftpmaster.internal/ubuntu plucky/main arm64 libde265-0 arm64 1.0.15-1build4 [146 kB] 93s Get:66 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif-plugin-libde265 arm64 1.19.3-1 [8722 B] 93s Get:67 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif1 arm64 1.19.3-1 [362 kB] 93s Get:68 http://ftpmaster.internal/ubuntu plucky/main arm64 libimagequant0 arm64 2.18.0-1build1 [37.1 kB] 93s Get:69 http://ftpmaster.internal/ubuntu plucky/main arm64 libjpeg-turbo8 arm64 2.1.5-2ubuntu2 [163 kB] 93s Get:70 http://ftpmaster.internal/ubuntu plucky/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B] 93s Get:71 http://ftpmaster.internal/ubuntu plucky/main arm64 libgraphite2-3 arm64 1.3.14-2ubuntu1 [70.6 kB] 93s Get:72 http://ftpmaster.internal/ubuntu plucky/main arm64 libharfbuzz0b arm64 10.0.1-1 [487 kB] 93s Get:73 http://ftpmaster.internal/ubuntu plucky/main arm64 libraqm0 arm64 0.10.1-1build1 [14.7 kB] 93s Get:74 http://ftpmaster.internal/ubuntu plucky/main arm64 libdeflate0 arm64 1.22-1 [46.2 kB] 93s Get:75 http://ftpmaster.internal/ubuntu plucky/main arm64 libjbig0 arm64 2.1-6.1ubuntu2 [29.3 kB] 93s Get:76 http://ftpmaster.internal/ubuntu plucky/main arm64 liblerc4 arm64 4.0.0+ds-4ubuntu2 [154 kB] 93s Get:77 http://ftpmaster.internal/ubuntu plucky/main arm64 libwebp7 arm64 1.4.0-0.1 [192 kB] 93s Get:78 http://ftpmaster.internal/ubuntu plucky/main arm64 libtiff6 arm64 4.5.1+git230720-4ubuntu4 [193 kB] 93s Get:79 http://ftpmaster.internal/ubuntu plucky/main arm64 libxpm4 arm64 1:3.5.17-1build2 [35.1 kB] 93s Get:80 http://ftpmaster.internal/ubuntu plucky/main arm64 libgd3 arm64 2.3.3-12ubuntu3 [122 kB] 93s Get:81 http://ftpmaster.internal/ubuntu plucky/universe arm64 libgts-0.7-5t64 arm64 0.7.6+darcs121130-5.2build1 [154 kB] 93s Get:82 http://ftpmaster.internal/ubuntu plucky/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 93s Get:83 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-render0 arm64 1.17.0-2 [16.6 kB] 93s Get:84 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 93s Get:85 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 93s Get:86 http://ftpmaster.internal/ubuntu plucky/main arm64 libcairo2 arm64 1.18.2-2 [560 kB] 93s Get:87 http://ftpmaster.internal/ubuntu plucky/main arm64 libltdl7 arm64 2.4.7-7build1 [40.4 kB] 93s Get:88 http://ftpmaster.internal/ubuntu plucky/main arm64 libthai-data all 0.1.29-2build1 [158 kB] 93s Get:89 http://ftpmaster.internal/ubuntu plucky/main arm64 libdatrie1 arm64 0.2.13-3build1 [19.2 kB] 93s Get:90 http://ftpmaster.internal/ubuntu plucky/main arm64 libthai0 arm64 0.1.29-2build1 [18.2 kB] 93s Get:91 http://ftpmaster.internal/ubuntu plucky/main arm64 libpango-1.0-0 arm64 1.54.0+ds-3 [234 kB] 93s Get:92 http://ftpmaster.internal/ubuntu plucky/main arm64 libpangoft2-1.0-0 arm64 1.54.0+ds-3 [48.9 kB] 93s Get:93 http://ftpmaster.internal/ubuntu plucky/main arm64 libpangocairo-1.0-0 arm64 1.54.0+ds-3 [27.5 kB] 94s Get:94 http://ftpmaster.internal/ubuntu plucky/universe arm64 libpathplan4 arm64 2.42.4-2build3 [23.4 kB] 94s Get:95 http://ftpmaster.internal/ubuntu plucky/universe arm64 libgvc6 arm64 2.42.4-2build3 [706 kB] 94s Get:96 http://ftpmaster.internal/ubuntu plucky/universe arm64 libgvpr2 arm64 2.42.4-2build3 [187 kB] 94s Get:97 http://ftpmaster.internal/ubuntu plucky/universe arm64 liblab-gamut1 arm64 2.42.4-2build3 [1840 kB] 94s Get:98 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 94s Get:99 http://ftpmaster.internal/ubuntu plucky/main arm64 libice6 arm64 2:1.1.1-1 [42.3 kB] 94s Get:100 http://ftpmaster.internal/ubuntu plucky/main arm64 libsm6 arm64 2:1.2.4-1 [16.4 kB] 94s Get:101 http://ftpmaster.internal/ubuntu plucky/main arm64 libxt6t64 arm64 1:1.2.1-1.2build1 [168 kB] 94s Get:102 http://ftpmaster.internal/ubuntu plucky/main arm64 libxmu6 arm64 2:1.1.3-3build2 [47.5 kB] 94s Get:103 http://ftpmaster.internal/ubuntu plucky/main arm64 libxaw7 arm64 2:1.0.16-1 [184 kB] 94s Get:104 http://ftpmaster.internal/ubuntu plucky/universe arm64 graphviz arm64 2.42.4-2build3 [619 kB] 94s Get:105 http://ftpmaster.internal/ubuntu plucky/main arm64 libblas3 arm64 3.12.0-3build2 [152 kB] 94s Get:106 http://ftpmaster.internal/ubuntu plucky/main arm64 libgfortran5 arm64 14.2.0-8ubuntu1 [438 kB] 94s Get:107 http://ftpmaster.internal/ubuntu plucky/main arm64 liblapack3 arm64 3.12.0-3build2 [2293 kB] 94s Get:108 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 libbasix0.9 arm64 0.9.0-2build1 [388 kB] 94s Get:109 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 94s Get:110 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 94s Get:111 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 94s Get:112 http://ftpmaster.internal/ubuntu plucky/main arm64 pkg-config arm64 1.8.1-4 [7362 B] 94s Get:113 http://ftpmaster.internal/ubuntu plucky/universe arm64 libeigen3-dev all 3.4.0-4build1 [1055 kB] 95s Get:114 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 libbasix-dev arm64 0.9.0-2build1 [62.2 kB] 95s Get:115 http://ftpmaster.internal/ubuntu plucky/main arm64 libboost1.83-dev arm64 1.83.0-3.2ubuntu2 [10.7 MB] 95s Get:116 http://ftpmaster.internal/ubuntu plucky/universe arm64 libboost-math1.83.0 arm64 1.83.0-3.2ubuntu2 [444 kB] 95s Get:117 http://ftpmaster.internal/ubuntu plucky/universe arm64 libboost-math1.83-dev arm64 1.83.0-3.2ubuntu2 [590 kB] 95s Get:118 http://ftpmaster.internal/ubuntu plucky/universe arm64 libboost-math-dev arm64 1.83.0.2ubuntu1 [4434 B] 95s Get:119 http://ftpmaster.internal/ubuntu plucky/main arm64 libexpat1-dev arm64 2.6.4-1 [129 kB] 95s Get:120 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 95s Get:121 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 95s Get:122 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 7.4.7-4 [158 kB] 95s Get:123 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 95s Get:124 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 95s Get:125 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12-dev arm64 3.12.7-3 [5565 kB] 96s Get:126 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3-dev arm64 3.12.6-0ubuntu1 [10.2 kB] 96s Get:127 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3-all-dev arm64 3.12.6-0ubuntu1 [916 B] 96s Get:128 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 96s Get:129 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 96s Get:130 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-toml all 0.10.2-1 [16.5 kB] 96s Get:131 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-wheel all 0.44.0-1 [54.2 kB] 96s Get:132 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-build all 1.2.2-1 [31.0 kB] 96s Get:133 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 96s Get:134 http://ftpmaster.internal/ubuntu plucky/universe arm64 pybuild-plugin-pyproject all 6.20241024 [1728 B] 96s Get:135 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.12.6-0ubuntu1 [886 B] 96s Get:136 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-dev arm64 3.12.7-3 [505 kB] 96s Get:137 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dev arm64 3.12.6-0ubuntu1 [26.7 kB] 96s Get:138 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all-dev arm64 3.12.6-0ubuntu1 [908 B] 96s Get:139 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-numpy arm64 1:1.26.4+ds-11build1 [3654 kB] 96s Get:140 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-ufl all 2024.2.0-2 [145 kB] 96s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-basix arm64 0.9.0-2build1 [129 kB] 96s Get:142 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-ply all 3.11-7 [45.4 kB] 96s Get:143 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-pycparser all 2.22-2 [76.5 kB] 96s Get:144 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-cffi all 1.17.1-2 [74.8 kB] 96s Get:145 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-defusedxml all 0.7.1-2 [42.0 kB] 96s Get:146 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-roman all 4.2-1 [10.0 kB] 96s Get:147 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 96s Get:148 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-ffcx all 1:0.8.0-1 [92.9 kB] 96s Get:149 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-imagesize all 1.4.1-1 [6844 B] 96s Get:150 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 96s Get:151 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mpmath all 1.3.0-1 [425 kB] 96s Get:152 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pip all 24.2+dfsg-1 [1398 kB] 96s Get:153 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 96s Get:154 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pygraphviz arm64 1.14-1build1 [82.9 kB] 96s Get:155 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 96s Get:156 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 96s Get:157 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-common all 7.4.7-4 [775 kB] 96s Get:158 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 96s Get:159 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-sphinx all 7.4.7-4 [593 kB] 96s Get:160 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-rtd-theme-common all 3.0.1+dfsg-1 [1012 kB] 96s Get:161 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 96s Get:162 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinx-rtd-theme all 3.0.1+dfsg-1 [23.5 kB] 96s Get:163 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sympy all 1.13.3-1 [4228 kB] 97s Fetched 130 MB in 6s (21.1 MB/s) 97s Selecting previously unselected package fonts-lato. 97s (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 ... 79957 files and directories currently installed.) 97s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 97s Unpacking fonts-lato (2.015-1) ... 98s Selecting previously unselected package sgml-base. 98s Preparing to unpack .../001-sgml-base_1.31_all.deb ... 98s Unpacking sgml-base (1.31) ... 98s Selecting previously unselected package m4. 98s Preparing to unpack .../002-m4_1.4.19-4build1_arm64.deb ... 98s Unpacking m4 (1.4.19-4build1) ... 98s Selecting previously unselected package autoconf. 98s Preparing to unpack .../003-autoconf_2.72-3_all.deb ... 98s Unpacking autoconf (2.72-3) ... 98s Selecting previously unselected package autotools-dev. 98s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 98s Unpacking autotools-dev (20220109.1) ... 98s Selecting previously unselected package automake. 98s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 98s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 98s Selecting previously unselected package autopoint. 98s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 98s Unpacking autopoint (0.22.5-2) ... 98s Selecting previously unselected package libisl23:arm64. 98s Preparing to unpack .../007-libisl23_0.27-1_arm64.deb ... 98s Unpacking libisl23:arm64 (0.27-1) ... 98s Selecting previously unselected package libmpc3:arm64. 98s Preparing to unpack .../008-libmpc3_1.3.1-1build2_arm64.deb ... 98s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 98s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 98s Preparing to unpack .../009-cpp-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 98s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 98s Selecting previously unselected package cpp-14. 98s Preparing to unpack .../010-cpp-14_14.2.0-8ubuntu1_arm64.deb ... 98s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 98s Selecting previously unselected package cpp-aarch64-linux-gnu. 98s Preparing to unpack .../011-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 98s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 98s Selecting previously unselected package cpp. 98s Preparing to unpack .../012-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 98s Unpacking cpp (4:14.1.0-2ubuntu1) ... 98s Selecting previously unselected package libcc1-0:arm64. 98s Preparing to unpack .../013-libcc1-0_14.2.0-8ubuntu1_arm64.deb ... 98s Unpacking libcc1-0:arm64 (14.2.0-8ubuntu1) ... 98s Selecting previously unselected package libgomp1:arm64. 98s Preparing to unpack .../014-libgomp1_14.2.0-8ubuntu1_arm64.deb ... 98s Unpacking libgomp1:arm64 (14.2.0-8ubuntu1) ... 98s Selecting previously unselected package libitm1:arm64. 98s Preparing to unpack .../015-libitm1_14.2.0-8ubuntu1_arm64.deb ... 98s Unpacking libitm1:arm64 (14.2.0-8ubuntu1) ... 98s Selecting previously unselected package libasan8:arm64. 98s Preparing to unpack .../016-libasan8_14.2.0-8ubuntu1_arm64.deb ... 98s Unpacking libasan8:arm64 (14.2.0-8ubuntu1) ... 99s Selecting previously unselected package liblsan0:arm64. 99s Preparing to unpack .../017-liblsan0_14.2.0-8ubuntu1_arm64.deb ... 99s Unpacking liblsan0:arm64 (14.2.0-8ubuntu1) ... 99s Selecting previously unselected package libtsan2:arm64. 99s Preparing to unpack .../018-libtsan2_14.2.0-8ubuntu1_arm64.deb ... 99s Unpacking libtsan2:arm64 (14.2.0-8ubuntu1) ... 99s Selecting previously unselected package libubsan1:arm64. 99s Preparing to unpack .../019-libubsan1_14.2.0-8ubuntu1_arm64.deb ... 99s Unpacking libubsan1:arm64 (14.2.0-8ubuntu1) ... 99s Selecting previously unselected package libhwasan0:arm64. 99s Preparing to unpack .../020-libhwasan0_14.2.0-8ubuntu1_arm64.deb ... 99s Unpacking libhwasan0:arm64 (14.2.0-8ubuntu1) ... 99s Selecting previously unselected package libgcc-14-dev:arm64. 99s Preparing to unpack .../021-libgcc-14-dev_14.2.0-8ubuntu1_arm64.deb ... 99s Unpacking libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 99s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 99s Preparing to unpack .../022-gcc-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 99s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 99s Selecting previously unselected package gcc-14. 99s Preparing to unpack .../023-gcc-14_14.2.0-8ubuntu1_arm64.deb ... 99s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 99s Selecting previously unselected package gcc-aarch64-linux-gnu. 99s Preparing to unpack .../024-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 99s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 100s Selecting previously unselected package gcc. 100s Preparing to unpack .../025-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 100s Unpacking gcc (4:14.1.0-2ubuntu1) ... 100s Selecting previously unselected package libstdc++-14-dev:arm64. 100s Preparing to unpack .../026-libstdc++-14-dev_14.2.0-8ubuntu1_arm64.deb ... 100s Unpacking libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 100s Selecting previously unselected package g++-14-aarch64-linux-gnu. 100s Preparing to unpack .../027-g++-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 100s Unpacking g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 100s Selecting previously unselected package g++-14. 100s Preparing to unpack .../028-g++-14_14.2.0-8ubuntu1_arm64.deb ... 100s Unpacking g++-14 (14.2.0-8ubuntu1) ... 100s Selecting previously unselected package g++-aarch64-linux-gnu. 100s Preparing to unpack .../029-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 100s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 100s Selecting previously unselected package g++. 100s Preparing to unpack .../030-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 100s Unpacking g++ (4:14.1.0-2ubuntu1) ... 100s Selecting previously unselected package build-essential. 100s Preparing to unpack .../031-build-essential_12.10ubuntu1_arm64.deb ... 100s Unpacking build-essential (12.10ubuntu1) ... 100s Selecting previously unselected package libjsoncpp25:arm64. 100s Preparing to unpack .../032-libjsoncpp25_1.9.5-6build1_arm64.deb ... 100s Unpacking libjsoncpp25:arm64 (1.9.5-6build1) ... 100s Selecting previously unselected package librhash0:arm64. 100s Preparing to unpack .../033-librhash0_1.4.3-3build1_arm64.deb ... 100s Unpacking librhash0:arm64 (1.4.3-3build1) ... 100s Selecting previously unselected package cmake-data. 100s Preparing to unpack .../034-cmake-data_3.30.3-1_all.deb ... 100s Unpacking cmake-data (3.30.3-1) ... 101s Selecting previously unselected package cmake. 101s Preparing to unpack .../035-cmake_3.30.3-1_arm64.deb ... 101s Unpacking cmake (3.30.3-1) ... 101s Selecting previously unselected package libdebhelper-perl. 101s Preparing to unpack .../036-libdebhelper-perl_13.20ubuntu1_all.deb ... 101s Unpacking libdebhelper-perl (13.20ubuntu1) ... 101s Selecting previously unselected package libtool. 101s Preparing to unpack .../037-libtool_2.4.7-7build1_all.deb ... 101s Unpacking libtool (2.4.7-7build1) ... 101s Selecting previously unselected package dh-autoreconf. 101s Preparing to unpack .../038-dh-autoreconf_20_all.deb ... 101s Unpacking dh-autoreconf (20) ... 101s Selecting previously unselected package libarchive-zip-perl. 101s Preparing to unpack .../039-libarchive-zip-perl_1.68-1_all.deb ... 101s Unpacking libarchive-zip-perl (1.68-1) ... 101s Selecting previously unselected package libfile-stripnondeterminism-perl. 101s Preparing to unpack .../040-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 101s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 101s Selecting previously unselected package dh-strip-nondeterminism. 101s Preparing to unpack .../041-dh-strip-nondeterminism_1.14.0-1_all.deb ... 101s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 101s Selecting previously unselected package debugedit. 101s Preparing to unpack .../042-debugedit_1%3a5.1-1_arm64.deb ... 101s Unpacking debugedit (1:5.1-1) ... 101s Selecting previously unselected package dwz. 101s Preparing to unpack .../043-dwz_0.15-1build6_arm64.deb ... 101s Unpacking dwz (0.15-1build6) ... 101s Selecting previously unselected package gettext. 101s Preparing to unpack .../044-gettext_0.22.5-2_arm64.deb ... 101s Unpacking gettext (0.22.5-2) ... 101s Selecting previously unselected package intltool-debian. 101s Preparing to unpack .../045-intltool-debian_0.35.0+20060710.6_all.deb ... 101s Unpacking intltool-debian (0.35.0+20060710.6) ... 101s Selecting previously unselected package po-debconf. 101s Preparing to unpack .../046-po-debconf_1.0.21+nmu1_all.deb ... 101s Unpacking po-debconf (1.0.21+nmu1) ... 101s Selecting previously unselected package debhelper. 101s Preparing to unpack .../047-debhelper_13.20ubuntu1_all.deb ... 101s Unpacking debhelper (13.20ubuntu1) ... 102s Selecting previously unselected package dh-python. 102s Preparing to unpack .../048-dh-python_6.20241024_all.deb ... 102s Unpacking dh-python (6.20241024) ... 102s Selecting previously unselected package xml-core. 102s Preparing to unpack .../049-xml-core_0.19_all.deb ... 102s Unpacking xml-core (0.19) ... 102s Selecting previously unselected package docutils-common. 102s Preparing to unpack .../050-docutils-common_0.21.2+dfsg-2_all.deb ... 102s Unpacking docutils-common (0.21.2+dfsg-2) ... 102s Selecting previously unselected package fonts-dejavu-mono. 102s Preparing to unpack .../051-fonts-dejavu-mono_2.37-8_all.deb ... 102s Unpacking fonts-dejavu-mono (2.37-8) ... 102s Selecting previously unselected package fonts-dejavu-core. 102s Preparing to unpack .../052-fonts-dejavu-core_2.37-8_all.deb ... 102s Unpacking fonts-dejavu-core (2.37-8) ... 102s Selecting previously unselected package fontconfig-config. 102s Preparing to unpack .../053-fontconfig-config_2.15.0-1.1ubuntu2_arm64.deb ... 102s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 102s Selecting previously unselected package libfontconfig1:arm64. 102s Preparing to unpack .../054-libfontconfig1_2.15.0-1.1ubuntu2_arm64.deb ... 102s Unpacking libfontconfig1:arm64 (2.15.0-1.1ubuntu2) ... 102s Selecting previously unselected package fontconfig. 102s Preparing to unpack .../055-fontconfig_2.15.0-1.1ubuntu2_arm64.deb ... 102s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 102s Selecting previously unselected package fonts-font-awesome. 102s Preparing to unpack .../056-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 102s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 102s Selecting previously unselected package libann0. 102s Preparing to unpack .../057-libann0_1.1.2+doc-9build1_arm64.deb ... 102s Unpacking libann0 (1.1.2+doc-9build1) ... 102s Selecting previously unselected package libcdt5:arm64. 102s Preparing to unpack .../058-libcdt5_2.42.4-2build3_arm64.deb ... 102s Unpacking libcdt5:arm64 (2.42.4-2build3) ... 102s Selecting previously unselected package libcgraph6:arm64. 102s Preparing to unpack .../059-libcgraph6_2.42.4-2build3_arm64.deb ... 102s Unpacking libcgraph6:arm64 (2.42.4-2build3) ... 102s Selecting previously unselected package libsharpyuv0:arm64. 102s Preparing to unpack .../060-libsharpyuv0_1.4.0-0.1_arm64.deb ... 102s Unpacking libsharpyuv0:arm64 (1.4.0-0.1) ... 102s Selecting previously unselected package libaom3:arm64. 102s Preparing to unpack .../061-libaom3_3.11.0~rc1-1_arm64.deb ... 102s Unpacking libaom3:arm64 (3.11.0~rc1-1) ... 102s Selecting previously unselected package libheif-plugin-aomdec:arm64. 102s Preparing to unpack .../062-libheif-plugin-aomdec_1.19.3-1_arm64.deb ... 102s Unpacking libheif-plugin-aomdec:arm64 (1.19.3-1) ... 103s Selecting previously unselected package libde265-0:arm64. 103s Preparing to unpack .../063-libde265-0_1.0.15-1build4_arm64.deb ... 103s Unpacking libde265-0:arm64 (1.0.15-1build4) ... 103s Selecting previously unselected package libheif-plugin-libde265:arm64. 103s Preparing to unpack .../064-libheif-plugin-libde265_1.19.3-1_arm64.deb ... 103s Unpacking libheif-plugin-libde265:arm64 (1.19.3-1) ... 103s Selecting previously unselected package libheif1:arm64. 103s Preparing to unpack .../065-libheif1_1.19.3-1_arm64.deb ... 103s Unpacking libheif1:arm64 (1.19.3-1) ... 103s Selecting previously unselected package libimagequant0:arm64. 103s Preparing to unpack .../066-libimagequant0_2.18.0-1build1_arm64.deb ... 103s Unpacking libimagequant0:arm64 (2.18.0-1build1) ... 103s Selecting previously unselected package libjpeg-turbo8:arm64. 103s Preparing to unpack .../067-libjpeg-turbo8_2.1.5-2ubuntu2_arm64.deb ... 103s Unpacking libjpeg-turbo8:arm64 (2.1.5-2ubuntu2) ... 103s Selecting previously unselected package libjpeg8:arm64. 103s Preparing to unpack .../068-libjpeg8_8c-2ubuntu11_arm64.deb ... 103s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ... 103s Selecting previously unselected package libgraphite2-3:arm64. 103s Preparing to unpack .../069-libgraphite2-3_1.3.14-2ubuntu1_arm64.deb ... 103s Unpacking libgraphite2-3:arm64 (1.3.14-2ubuntu1) ... 103s Selecting previously unselected package libharfbuzz0b:arm64. 103s Preparing to unpack .../070-libharfbuzz0b_10.0.1-1_arm64.deb ... 103s Unpacking libharfbuzz0b:arm64 (10.0.1-1) ... 103s Selecting previously unselected package libraqm0:arm64. 103s Preparing to unpack .../071-libraqm0_0.10.1-1build1_arm64.deb ... 103s Unpacking libraqm0:arm64 (0.10.1-1build1) ... 103s Selecting previously unselected package libdeflate0:arm64. 103s Preparing to unpack .../072-libdeflate0_1.22-1_arm64.deb ... 103s Unpacking libdeflate0:arm64 (1.22-1) ... 103s Selecting previously unselected package libjbig0:arm64. 103s Preparing to unpack .../073-libjbig0_2.1-6.1ubuntu2_arm64.deb ... 103s Unpacking libjbig0:arm64 (2.1-6.1ubuntu2) ... 103s Selecting previously unselected package liblerc4:arm64. 103s Preparing to unpack .../074-liblerc4_4.0.0+ds-4ubuntu2_arm64.deb ... 103s Unpacking liblerc4:arm64 (4.0.0+ds-4ubuntu2) ... 103s Selecting previously unselected package libwebp7:arm64. 103s Preparing to unpack .../075-libwebp7_1.4.0-0.1_arm64.deb ... 103s Unpacking libwebp7:arm64 (1.4.0-0.1) ... 103s Selecting previously unselected package libtiff6:arm64. 103s Preparing to unpack .../076-libtiff6_4.5.1+git230720-4ubuntu4_arm64.deb ... 103s Unpacking libtiff6:arm64 (4.5.1+git230720-4ubuntu4) ... 103s Selecting previously unselected package libxpm4:arm64. 103s Preparing to unpack .../077-libxpm4_1%3a3.5.17-1build2_arm64.deb ... 103s Unpacking libxpm4:arm64 (1:3.5.17-1build2) ... 103s Selecting previously unselected package libgd3:arm64. 103s Preparing to unpack .../078-libgd3_2.3.3-12ubuntu3_arm64.deb ... 103s Unpacking libgd3:arm64 (2.3.3-12ubuntu3) ... 103s Selecting previously unselected package libgts-0.7-5t64:arm64. 103s Preparing to unpack .../079-libgts-0.7-5t64_0.7.6+darcs121130-5.2build1_arm64.deb ... 103s Unpacking libgts-0.7-5t64:arm64 (0.7.6+darcs121130-5.2build1) ... 103s Selecting previously unselected package libpixman-1-0:arm64. 103s Preparing to unpack .../080-libpixman-1-0_0.44.0-3_arm64.deb ... 103s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 103s Selecting previously unselected package libxcb-render0:arm64. 103s Preparing to unpack .../081-libxcb-render0_1.17.0-2_arm64.deb ... 103s Unpacking libxcb-render0:arm64 (1.17.0-2) ... 103s Selecting previously unselected package libxcb-shm0:arm64. 103s Preparing to unpack .../082-libxcb-shm0_1.17.0-2_arm64.deb ... 103s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 103s Selecting previously unselected package libxrender1:arm64. 103s Preparing to unpack .../083-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 103s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 103s Selecting previously unselected package libcairo2:arm64. 103s Preparing to unpack .../084-libcairo2_1.18.2-2_arm64.deb ... 103s Unpacking libcairo2:arm64 (1.18.2-2) ... 103s Selecting previously unselected package libltdl7:arm64. 103s Preparing to unpack .../085-libltdl7_2.4.7-7build1_arm64.deb ... 103s Unpacking libltdl7:arm64 (2.4.7-7build1) ... 103s Selecting previously unselected package libthai-data. 103s Preparing to unpack .../086-libthai-data_0.1.29-2build1_all.deb ... 103s Unpacking libthai-data (0.1.29-2build1) ... 103s Selecting previously unselected package libdatrie1:arm64. 104s Preparing to unpack .../087-libdatrie1_0.2.13-3build1_arm64.deb ... 104s Unpacking libdatrie1:arm64 (0.2.13-3build1) ... 104s Selecting previously unselected package libthai0:arm64. 104s Preparing to unpack .../088-libthai0_0.1.29-2build1_arm64.deb ... 104s Unpacking libthai0:arm64 (0.1.29-2build1) ... 104s Selecting previously unselected package libpango-1.0-0:arm64. 104s Preparing to unpack .../089-libpango-1.0-0_1.54.0+ds-3_arm64.deb ... 104s Unpacking libpango-1.0-0:arm64 (1.54.0+ds-3) ... 104s Selecting previously unselected package libpangoft2-1.0-0:arm64. 104s Preparing to unpack .../090-libpangoft2-1.0-0_1.54.0+ds-3_arm64.deb ... 104s Unpacking libpangoft2-1.0-0:arm64 (1.54.0+ds-3) ... 104s Selecting previously unselected package libpangocairo-1.0-0:arm64. 104s Preparing to unpack .../091-libpangocairo-1.0-0_1.54.0+ds-3_arm64.deb ... 104s Unpacking libpangocairo-1.0-0:arm64 (1.54.0+ds-3) ... 104s Selecting previously unselected package libpathplan4:arm64. 104s Preparing to unpack .../092-libpathplan4_2.42.4-2build3_arm64.deb ... 104s Unpacking libpathplan4:arm64 (2.42.4-2build3) ... 104s Selecting previously unselected package libgvc6. 104s Preparing to unpack .../093-libgvc6_2.42.4-2build3_arm64.deb ... 104s Unpacking libgvc6 (2.42.4-2build3) ... 104s Selecting previously unselected package libgvpr2:arm64. 104s Preparing to unpack .../094-libgvpr2_2.42.4-2build3_arm64.deb ... 104s Unpacking libgvpr2:arm64 (2.42.4-2build3) ... 104s Selecting previously unselected package liblab-gamut1:arm64. 104s Preparing to unpack .../095-liblab-gamut1_2.42.4-2build3_arm64.deb ... 104s Unpacking liblab-gamut1:arm64 (2.42.4-2build3) ... 104s Selecting previously unselected package x11-common. 104s Preparing to unpack .../096-x11-common_1%3a7.7+23ubuntu3_all.deb ... 104s Unpacking x11-common (1:7.7+23ubuntu3) ... 104s Selecting previously unselected package libice6:arm64. 104s Preparing to unpack .../097-libice6_2%3a1.1.1-1_arm64.deb ... 104s Unpacking libice6:arm64 (2:1.1.1-1) ... 104s Selecting previously unselected package libsm6:arm64. 104s Preparing to unpack .../098-libsm6_2%3a1.2.4-1_arm64.deb ... 104s Unpacking libsm6:arm64 (2:1.2.4-1) ... 104s Selecting previously unselected package libxt6t64:arm64. 104s Preparing to unpack .../099-libxt6t64_1%3a1.2.1-1.2build1_arm64.deb ... 104s Unpacking libxt6t64:arm64 (1:1.2.1-1.2build1) ... 104s Selecting previously unselected package libxmu6:arm64. 104s Preparing to unpack .../100-libxmu6_2%3a1.1.3-3build2_arm64.deb ... 104s Unpacking libxmu6:arm64 (2:1.1.3-3build2) ... 104s Selecting previously unselected package libxaw7:arm64. 104s Preparing to unpack .../101-libxaw7_2%3a1.0.16-1_arm64.deb ... 104s Unpacking libxaw7:arm64 (2:1.0.16-1) ... 104s Selecting previously unselected package graphviz. 104s Preparing to unpack .../102-graphviz_2.42.4-2build3_arm64.deb ... 104s Unpacking graphviz (2.42.4-2build3) ... 104s Selecting previously unselected package libblas3:arm64. 104s Preparing to unpack .../103-libblas3_3.12.0-3build2_arm64.deb ... 104s Unpacking libblas3:arm64 (3.12.0-3build2) ... 104s Selecting previously unselected package libgfortran5:arm64. 104s Preparing to unpack .../104-libgfortran5_14.2.0-8ubuntu1_arm64.deb ... 104s Unpacking libgfortran5:arm64 (14.2.0-8ubuntu1) ... 104s Selecting previously unselected package liblapack3:arm64. 104s Preparing to unpack .../105-liblapack3_3.12.0-3build2_arm64.deb ... 104s Unpacking liblapack3:arm64 (3.12.0-3build2) ... 104s Selecting previously unselected package libbasix0.9:arm64. 104s Preparing to unpack .../106-libbasix0.9_0.9.0-2build1_arm64.deb ... 104s Unpacking libbasix0.9:arm64 (0.9.0-2build1) ... 104s Selecting previously unselected package libpkgconf3:arm64. 104s Preparing to unpack .../107-libpkgconf3_1.8.1-4_arm64.deb ... 104s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 104s Selecting previously unselected package pkgconf-bin. 104s Preparing to unpack .../108-pkgconf-bin_1.8.1-4_arm64.deb ... 104s Unpacking pkgconf-bin (1.8.1-4) ... 105s Selecting previously unselected package pkgconf:arm64. 105s Preparing to unpack .../109-pkgconf_1.8.1-4_arm64.deb ... 105s Unpacking pkgconf:arm64 (1.8.1-4) ... 105s Selecting previously unselected package pkg-config:arm64. 105s Preparing to unpack .../110-pkg-config_1.8.1-4_arm64.deb ... 105s Unpacking pkg-config:arm64 (1.8.1-4) ... 105s Selecting previously unselected package libeigen3-dev. 105s Preparing to unpack .../111-libeigen3-dev_3.4.0-4build1_all.deb ... 105s Unpacking libeigen3-dev (3.4.0-4build1) ... 105s Selecting previously unselected package libbasix-dev:arm64. 105s Preparing to unpack .../112-libbasix-dev_0.9.0-2build1_arm64.deb ... 105s Unpacking libbasix-dev:arm64 (0.9.0-2build1) ... 105s Selecting previously unselected package libboost1.83-dev:arm64. 105s Preparing to unpack .../113-libboost1.83-dev_1.83.0-3.2ubuntu2_arm64.deb ... 105s Unpacking libboost1.83-dev:arm64 (1.83.0-3.2ubuntu2) ... 107s Selecting previously unselected package libboost-math1.83.0:arm64. 107s Preparing to unpack .../114-libboost-math1.83.0_1.83.0-3.2ubuntu2_arm64.deb ... 107s Unpacking libboost-math1.83.0:arm64 (1.83.0-3.2ubuntu2) ... 107s Selecting previously unselected package libboost-math1.83-dev:arm64. 107s Preparing to unpack .../115-libboost-math1.83-dev_1.83.0-3.2ubuntu2_arm64.deb ... 107s Unpacking libboost-math1.83-dev:arm64 (1.83.0-3.2ubuntu2) ... 107s Selecting previously unselected package libboost-math-dev:arm64. 107s Preparing to unpack .../116-libboost-math-dev_1.83.0.2ubuntu1_arm64.deb ... 107s Unpacking libboost-math-dev:arm64 (1.83.0.2ubuntu1) ... 107s Selecting previously unselected package libexpat1-dev:arm64. 107s Preparing to unpack .../117-libexpat1-dev_2.6.4-1_arm64.deb ... 107s Unpacking libexpat1-dev:arm64 (2.6.4-1) ... 107s Selecting previously unselected package libjs-jquery. 107s Preparing to unpack .../118-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 107s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 107s Selecting previously unselected package libjs-underscore. 107s Preparing to unpack .../119-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 107s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 107s Selecting previously unselected package libjs-sphinxdoc. 107s Preparing to unpack .../120-libjs-sphinxdoc_7.4.7-4_all.deb ... 107s Unpacking libjs-sphinxdoc (7.4.7-4) ... 107s Selecting previously unselected package libjson-perl. 107s Preparing to unpack .../121-libjson-perl_4.10000-1_all.deb ... 107s Unpacking libjson-perl (4.10000-1) ... 107s Selecting previously unselected package zlib1g-dev:arm64. 107s Preparing to unpack .../122-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 107s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 107s Selecting previously unselected package libpython3.12-dev:arm64. 107s Preparing to unpack .../123-libpython3.12-dev_3.12.7-3_arm64.deb ... 107s Unpacking libpython3.12-dev:arm64 (3.12.7-3) ... 107s Selecting previously unselected package libpython3-dev:arm64. 108s Preparing to unpack .../124-libpython3-dev_3.12.6-0ubuntu1_arm64.deb ... 108s Unpacking libpython3-dev:arm64 (3.12.6-0ubuntu1) ... 108s Selecting previously unselected package libpython3-all-dev:arm64. 108s Preparing to unpack .../125-libpython3-all-dev_3.12.6-0ubuntu1_arm64.deb ... 108s Unpacking libpython3-all-dev:arm64 (3.12.6-0ubuntu1) ... 108s Selecting previously unselected package python3-packaging. 108s Preparing to unpack .../126-python3-packaging_24.1-1_all.deb ... 108s Unpacking python3-packaging (24.1-1) ... 108s Selecting previously unselected package python3-pyproject-hooks. 108s Preparing to unpack .../127-python3-pyproject-hooks_1.2.0-1_all.deb ... 108s Unpacking python3-pyproject-hooks (1.2.0-1) ... 108s Selecting previously unselected package python3-toml. 108s Preparing to unpack .../128-python3-toml_0.10.2-1_all.deb ... 108s Unpacking python3-toml (0.10.2-1) ... 108s Selecting previously unselected package python3-wheel. 108s Preparing to unpack .../129-python3-wheel_0.44.0-1_all.deb ... 108s Unpacking python3-wheel (0.44.0-1) ... 108s Selecting previously unselected package python3-build. 108s Preparing to unpack .../130-python3-build_1.2.2-1_all.deb ... 108s Unpacking python3-build (1.2.2-1) ... 108s Selecting previously unselected package python3-installer. 108s Preparing to unpack .../131-python3-installer_0.7.0+dfsg1-3_all.deb ... 108s Unpacking python3-installer (0.7.0+dfsg1-3) ... 108s Selecting previously unselected package pybuild-plugin-pyproject. 108s Preparing to unpack .../132-pybuild-plugin-pyproject_6.20241024_all.deb ... 108s Unpacking pybuild-plugin-pyproject (6.20241024) ... 108s Selecting previously unselected package python3-all. 108s Preparing to unpack .../133-python3-all_3.12.6-0ubuntu1_arm64.deb ... 108s Unpacking python3-all (3.12.6-0ubuntu1) ... 108s Selecting previously unselected package python3.12-dev. 108s Preparing to unpack .../134-python3.12-dev_3.12.7-3_arm64.deb ... 108s Unpacking python3.12-dev (3.12.7-3) ... 108s Selecting previously unselected package python3-dev. 108s Preparing to unpack .../135-python3-dev_3.12.6-0ubuntu1_arm64.deb ... 108s Unpacking python3-dev (3.12.6-0ubuntu1) ... 108s Selecting previously unselected package python3-all-dev. 108s Preparing to unpack .../136-python3-all-dev_3.12.6-0ubuntu1_arm64.deb ... 108s Unpacking python3-all-dev (3.12.6-0ubuntu1) ... 108s Selecting previously unselected package python3-numpy. 108s Preparing to unpack .../137-python3-numpy_1%3a1.26.4+ds-11build1_arm64.deb ... 108s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 109s Selecting previously unselected package python3-ufl. 109s Preparing to unpack .../138-python3-ufl_2024.2.0-2_all.deb ... 109s Unpacking python3-ufl (2024.2.0-2) ... 109s Selecting previously unselected package python3-basix. 109s Preparing to unpack .../139-python3-basix_0.9.0-2build1_arm64.deb ... 109s Unpacking python3-basix (0.9.0-2build1) ... 109s Selecting previously unselected package python3-ply. 109s Preparing to unpack .../140-python3-ply_3.11-7_all.deb ... 109s Unpacking python3-ply (3.11-7) ... 109s Selecting previously unselected package python3-pycparser. 109s Preparing to unpack .../141-python3-pycparser_2.22-2_all.deb ... 109s Unpacking python3-pycparser (2.22-2) ... 109s Selecting previously unselected package python3-cffi. 109s Preparing to unpack .../142-python3-cffi_1.17.1-2_all.deb ... 109s Unpacking python3-cffi (1.17.1-2) ... 109s Selecting previously unselected package python3-defusedxml. 109s Preparing to unpack .../143-python3-defusedxml_0.7.1-2_all.deb ... 109s Unpacking python3-defusedxml (0.7.1-2) ... 109s Selecting previously unselected package python3-roman. 109s Preparing to unpack .../144-python3-roman_4.2-1_all.deb ... 109s Unpacking python3-roman (4.2-1) ... 109s Selecting previously unselected package python3-docutils. 109s Preparing to unpack .../145-python3-docutils_0.21.2+dfsg-2_all.deb ... 109s Unpacking python3-docutils (0.21.2+dfsg-2) ... 109s Selecting previously unselected package python3-ffcx. 109s Preparing to unpack .../146-python3-ffcx_1%3a0.8.0-1_all.deb ... 109s Unpacking python3-ffcx (1:0.8.0-1) ... 109s Selecting previously unselected package python3-imagesize. 109s Preparing to unpack .../147-python3-imagesize_1.4.1-1_all.deb ... 109s Unpacking python3-imagesize (1.4.1-1) ... 109s Selecting previously unselected package python3-iniconfig. 109s Preparing to unpack .../148-python3-iniconfig_1.1.1-2_all.deb ... 109s Unpacking python3-iniconfig (1.1.1-2) ... 109s Selecting previously unselected package python3-mpmath. 109s Preparing to unpack .../149-python3-mpmath_1.3.0-1_all.deb ... 109s Unpacking python3-mpmath (1.3.0-1) ... 110s Selecting previously unselected package python3-pip. 110s Preparing to unpack .../150-python3-pip_24.2+dfsg-1_all.deb ... 110s Unpacking python3-pip (24.2+dfsg-1) ... 110s Selecting previously unselected package python3-pluggy. 110s Preparing to unpack .../151-python3-pluggy_1.5.0-1_all.deb ... 110s Unpacking python3-pluggy (1.5.0-1) ... 110s Selecting previously unselected package python3-pygraphviz. 110s Preparing to unpack .../152-python3-pygraphviz_1.14-1build1_arm64.deb ... 110s Unpacking python3-pygraphviz (1.14-1build1) ... 110s Selecting previously unselected package python3-pytest. 110s Preparing to unpack .../153-python3-pytest_8.3.3-1_all.deb ... 110s Unpacking python3-pytest (8.3.3-1) ... 110s Selecting previously unselected package python3-snowballstemmer. 110s Preparing to unpack .../154-python3-snowballstemmer_2.2.0-4build1_all.deb ... 110s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 110s Selecting previously unselected package sphinx-common. 110s Preparing to unpack .../155-sphinx-common_7.4.7-4_all.deb ... 110s Unpacking sphinx-common (7.4.7-4) ... 110s Selecting previously unselected package python3-alabaster. 110s Preparing to unpack .../156-python3-alabaster_0.7.16-0.1_all.deb ... 110s Unpacking python3-alabaster (0.7.16-0.1) ... 110s Selecting previously unselected package python3-sphinx. 110s Preparing to unpack .../157-python3-sphinx_7.4.7-4_all.deb ... 110s Unpacking python3-sphinx (7.4.7-4) ... 110s Selecting previously unselected package sphinx-rtd-theme-common. 110s Preparing to unpack .../158-sphinx-rtd-theme-common_3.0.1+dfsg-1_all.deb ... 110s Unpacking sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 111s Selecting previously unselected package python3-sphinxcontrib.jquery. 111s Preparing to unpack .../159-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 111s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 111s Selecting previously unselected package python3-sphinx-rtd-theme. 111s Preparing to unpack .../160-python3-sphinx-rtd-theme_3.0.1+dfsg-1_all.deb ... 111s Unpacking python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 111s Selecting previously unselected package python3-sympy. 111s Preparing to unpack .../161-python3-sympy_1.13.3-1_all.deb ... 111s Unpacking python3-sympy (1.13.3-1) ... 111s Selecting previously unselected package autopkgtest-satdep. 111s Preparing to unpack .../162-1-autopkgtest-satdep.deb ... 111s Unpacking autopkgtest-satdep (0) ... 111s Setting up dh-python (6.20241024) ... 112s Setting up libgraphite2-3:arm64 (1.3.14-2ubuntu1) ... 112s Setting up python3-iniconfig (1.1.1-2) ... 112s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 112s Setting up libsharpyuv0:arm64 (1.4.0-0.1) ... 112s Setting up libaom3:arm64 (3.11.0~rc1-1) ... 112s Setting up fonts-lato (2.015-1) ... 112s Setting up liblerc4:arm64 (4.0.0+ds-4ubuntu2) ... 112s Setting up libxpm4:arm64 (1:3.5.17-1build2) ... 112s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 112s Setting up libdatrie1:arm64 (0.2.13-3build1) ... 112s Setting up libxcb-render0:arm64 (1.17.0-2) ... 112s Setting up python3-defusedxml (0.7.1-2) ... 112s Setting up libarchive-zip-perl (1.68-1) ... 112s Setting up python3-alabaster (0.7.16-0.1) ... 112s Setting up libdebhelper-perl (13.20ubuntu1) ... 112s Setting up python3-ply (3.11-7) ... 112s Setting up liblab-gamut1:arm64 (2.42.4-2build3) ... 112s Setting up x11-common (1:7.7+23ubuntu3) ... 113s Setting up libdeflate0:arm64 (1.22-1) ... 113s Setting up m4 (1.4.19-4build1) ... 113s Setting up python3-all (3.12.6-0ubuntu1) ... 113s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 113s Setting up libgomp1:arm64 (14.2.0-8ubuntu1) ... 113s Setting up python3-wheel (0.44.0-1) ... 113s Setting up libjbig0:arm64 (2.1-6.1ubuntu2) ... 113s Setting up python3-pycparser (2.22-2) ... 113s Setting up python3-roman (4.2-1) ... 114s Setting up autotools-dev (20220109.1) ... 114s Setting up libblas3:arm64 (3.12.0-3build2) ... 114s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 114s Setting up python3-packaging (24.1-1) ... 114s Setting up libpkgconf3:arm64 (1.8.1-4) ... 114s Setting up libexpat1-dev:arm64 (2.6.4-1) ... 114s Setting up python3-pyproject-hooks (1.2.0-1) ... 114s Setting up python3-snowballstemmer (2.2.0-4build1) ... 114s Setting up libpathplan4:arm64 (2.42.4-2build3) ... 114s Setting up libann0 (1.1.2+doc-9build1) ... 114s Setting up libimagequant0:arm64 (2.18.0-1build1) ... 114s Setting up fonts-dejavu-mono (2.37-8) ... 114s Setting up libmpc3:arm64 (1.3.1-1build2) ... 114s Setting up autopoint (0.22.5-2) ... 114s Setting up libjsoncpp25:arm64 (1.9.5-6build1) ... 114s Setting up fonts-dejavu-core (2.37-8) ... 114s Setting up pkgconf-bin (1.8.1-4) ... 114s Setting up python3-pip (24.2+dfsg-1) ... 116s Setting up libjpeg-turbo8:arm64 (2.1.5-2ubuntu2) ... 116s Setting up libltdl7:arm64 (2.4.7-7build1) ... 116s Setting up python3-toml (0.10.2-1) ... 116s Setting up python3-installer (0.7.0+dfsg1-3) ... 116s Setting up libgfortran5:arm64 (14.2.0-8ubuntu1) ... 116s Setting up autoconf (2.72-3) ... 116s Setting up python3-pluggy (1.5.0-1) ... 116s Setting up libwebp7:arm64 (1.4.0-0.1) ... 116s Setting up libubsan1:arm64 (14.2.0-8ubuntu1) ... 116s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 116s Setting up dwz (0.15-1build6) ... 116s Setting up libhwasan0:arm64 (14.2.0-8ubuntu1) ... 116s Setting up librhash0:arm64 (1.4.3-3build1) ... 116s Setting up libasan8:arm64 (14.2.0-8ubuntu1) ... 116s Setting up libjson-perl (4.10000-1) ... 116s Setting up debugedit (1:5.1-1) ... 116s Setting up libharfbuzz0b:arm64 (10.0.1-1) ... 116s Setting up libthai-data (0.1.29-2build1) ... 116s Setting up libgts-0.7-5t64:arm64 (0.7.6+darcs121130-5.2build1) ... 116s Setting up sgml-base (1.31) ... 116s Setting up cmake-data (3.30.3-1) ... 116s Setting up libcdt5:arm64 (2.42.4-2build3) ... 116s Setting up libcgraph6:arm64 (2.42.4-2build3) ... 116s Setting up libboost-math1.83.0:arm64 (1.83.0-3.2ubuntu2) ... 116s Setting up libtsan2:arm64 (14.2.0-8ubuntu1) ... 116s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 116s Setting up python3-mpmath (1.3.0-1) ... 117s Setting up libisl23:arm64 (0.27-1) ... 117s Setting up python3-build (1.2.2-1) ... 117s Setting up libde265-0:arm64 (1.0.15-1build4) ... 117s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 117s Setting up sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 117s Setting up libcc1-0:arm64 (14.2.0-8ubuntu1) ... 117s Setting up liblsan0:arm64 (14.2.0-8ubuntu1) ... 117s Setting up libitm1:arm64 (14.2.0-8ubuntu1) ... 117s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 117s Setting up python3-imagesize (1.4.1-1) ... 117s Setting up libjpeg8:arm64 (8c-2ubuntu11) ... 117s Setting up automake (1:1.16.5-1.3ubuntu1) ... 117s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 117s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 117s Setting up python3-sympy (1.13.3-1) ... 125s Setting up libice6:arm64 (2:1.1.1-1) ... 125s Setting up liblapack3:arm64 (3.12.0-3build2) ... 125s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 125s Setting up gettext (0.22.5-2) ... 125s Setting up pybuild-plugin-pyproject (6.20241024) ... 125s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 125s Setting up python3-pytest (8.3.3-1) ... 126s Setting up python3-cffi (1.17.1-2) ... 126s Setting up libpython3.12-dev:arm64 (3.12.7-3) ... 126s Setting up pkgconf:arm64 (1.8.1-4) ... 126s Setting up intltool-debian (0.35.0+20060710.6) ... 126s Setting up libthai0:arm64 (0.1.29-2build1) ... 126s Setting up libraqm0:arm64 (0.10.1-1build1) ... 126s Setting up libeigen3-dev (3.4.0-4build1) ... 126s Setting up python3.12-dev (3.12.7-3) ... 126s Setting up pkg-config:arm64 (1.8.1-4) ... 126s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 128s Setting up libjs-sphinxdoc (7.4.7-4) ... 128s Setting up dh-strip-nondeterminism (1.14.0-1) ... 128s Setting up libgvpr2:arm64 (2.42.4-2build3) ... 128s Setting up libbasix0.9:arm64 (0.9.0-2build1) ... 128s Setting up cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 128s Setting up libtiff6:arm64 (4.5.1+git230720-4ubuntu4) ... 128s Setting up xml-core (0.19) ... 128s Setting up cmake (3.30.3-1) ... 128s Setting up libfontconfig1:arm64 (2.15.0-1.1ubuntu2) ... 128s Setting up libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 128s Setting up libbasix-dev:arm64 (0.9.0-2build1) ... 128s Setting up libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 128s Setting up libsm6:arm64 (2:1.2.4-1) ... 128s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 130s Regenerating fonts cache... done. 130s Setting up libboost1.83-dev:arm64 (1.83.0-3.2ubuntu2) ... 130s Setting up libpython3-dev:arm64 (3.12.6-0ubuntu1) ... 130s Setting up python3-ufl (2024.2.0-2) ... 131s Setting up libboost-math1.83-dev:arm64 (1.83.0-3.2ubuntu2) ... 131s Setting up libboost-math-dev:arm64 (1.83.0.2ubuntu1) ... 131s Setting up po-debconf (1.0.21+nmu1) ... 131s Setting up libpango-1.0-0:arm64 (1.54.0+ds-3) ... 131s Setting up libcairo2:arm64 (1.18.2-2) ... 131s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 131s Setting up libpython3-all-dev:arm64 (3.12.6-0ubuntu1) ... 131s Setting up sphinx-common (7.4.7-4) ... 131s Setting up python3-dev (3.12.6-0ubuntu1) ... 131s Setting up libxt6t64:arm64 (1:1.2.1-1.2build1) ... 131s Setting up cpp-14 (14.2.0-8ubuntu1) ... 131s Setting up cpp (4:14.1.0-2ubuntu1) ... 131s Setting up gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 131s Setting up libpangoft2-1.0-0:arm64 (1.54.0+ds-3) ... 131s Setting up libpangocairo-1.0-0:arm64 (1.54.0+ds-3) ... 131s Setting up python3-basix (0.9.0-2build1) ... 131s Setting up python3-all-dev (3.12.6-0ubuntu1) ... 131s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 131s Setting up libxmu6:arm64 (2:1.1.3-3build2) ... 131s Setting up g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 131s Setting up libxaw7:arm64 (2:1.0.16-1) ... 131s Setting up gcc-14 (14.2.0-8ubuntu1) ... 131s Setting up python3-ffcx (1:0.8.0-1) ... 131s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 131s Setting up g++-14 (14.2.0-8ubuntu1) ... 131s Setting up libtool (2.4.7-7build1) ... 131s Setting up gcc (4:14.1.0-2ubuntu1) ... 131s Setting up dh-autoreconf (20) ... 131s Setting up g++ (4:14.1.0-2ubuntu1) ... 131s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 131s Setting up build-essential (12.10ubuntu1) ... 131s Setting up debhelper (13.20ubuntu1) ... 131s Setting up libheif-plugin-aomdec:arm64 (1.19.3-1) ... 131s Setting up libheif-plugin-libde265:arm64 (1.19.3-1) ... 131s Setting up libheif1:arm64 (1.19.3-1) ... 131s Setting up libgd3:arm64 (2.3.3-12ubuntu3) ... 131s Setting up libgvc6 (2.42.4-2build3) ... 131s Setting up graphviz (2.42.4-2build3) ... 131s Setting up python3-pygraphviz (1.14-1build1) ... 132s Processing triggers for install-info (7.1.1-1) ... 132s Processing triggers for libc-bin (2.40-1ubuntu3) ... 132s Processing triggers for man-db (2.13.0-1) ... 134s Processing triggers for sgml-base (1.31) ... 134s Setting up docutils-common (0.21.2+dfsg-2) ... 134s Processing triggers for sgml-base (1.31) ... 134s Setting up python3-docutils (0.21.2+dfsg-2) ... 135s Setting up python3-sphinx (7.4.7-4) ... 135s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 136s Setting up python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 136s Setting up autopkgtest-satdep (0) ... 143s (Reading database ... 110097 files and directories currently installed.) 143s Removing autopkgtest-satdep (0) ... 144s autopkgtest [07:36:23]: test command1: for pyver in `py3versions -sv`; do python$pyver -m pytest test; done 144s autopkgtest [07:36:23]: test command1: [----------------------- 145s ============================= test session starts ============================== 145s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 145s rootdir: /tmp/autopkgtest.XGtMcn/build.qof/src 145s configfile: pyproject.toml 145s plugins: typeguard-4.4.1 145s collected 87 items 145s 146s test/test_add_mode.py::test_additive_facet_integral[float32] FAILED [ 1%] 146s test/test_add_mode.py::test_additive_facet_integral[float64] FAILED [ 2%] 146s test/test_add_mode.py::test_additive_facet_integral[complex64] FAILED [ 3%] 146s test/test_add_mode.py::test_additive_facet_integral[complex128] FAILED [ 4%] 146s test/test_add_mode.py::test_additive_cell_integral[float32] FAILED [ 5%] 146s test/test_add_mode.py::test_additive_cell_integral[float64] FAILED [ 6%] 146s test/test_add_mode.py::test_additive_cell_integral[complex64] FAILED [ 8%] 146s test/test_add_mode.py::test_additive_cell_integral[complex128] FAILED [ 9%] 146s test/test_blocked_elements.py::test_finite_element FAILED [ 10%] 146s test/test_blocked_elements.py::test_vector_element FAILED [ 11%] 146s test/test_blocked_elements.py::test_tensor_element FAILED [ 12%] 146s test/test_blocked_elements.py::test_vector_quadrature_element FAILED [ 13%] 146s test/test_cache.py::test_cache_modes FAILED [ 14%] 150s test/test_cmdline.py::test_cmdline_simple PASSED [ 16%] 153s test/test_cmdline.py::test_visualise FAILED [ 17%] 154s test/test_jit_expression.py::test_matvec FAILED [ 18%] 154s test/test_jit_expression.py::test_rank1 FAILED [ 19%] 154s test/test_jit_expression.py::test_elimiate_zero_tables_tensor FAILED [ 20%] 154s test/test_jit_expression.py::test_grad_constant PASSED [ 21%] 154s test/test_jit_expression.py::test_facet_expression FAILED [ 22%] 154s test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] FAILED [ 24%] 154s test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] FAILED [ 25%] 154s test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] FAILED [ 26%] 155s test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] FAILED [ 27%] 155s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] FAILED [ 28%] 155s test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] FAILED [ 29%] 155s test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] FAILED [ 31%] 155s test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] FAILED [ 32%] 155s test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] FAILED [ 33%] 155s test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] FAILED [ 34%] 155s test/test_jit_forms.py::test_form_coefficient FAILED [ 35%] 155s test/test_jit_forms.py::test_subdomains FAILED [ 36%] 155s test/test_jit_forms.py::test_interior_facet_integral[float64] FAILED [ 37%] 155s test/test_jit_forms.py::test_interior_facet_integral[complex128] FAILED [ 39%] 156s test/test_jit_forms.py::test_conditional[float64] FAILED [ 40%] 156s test/test_jit_forms.py::test_conditional[complex128] FAILED [ 41%] 156s test/test_jit_forms.py::test_custom_quadrature FAILED [ 42%] 156s test/test_jit_forms.py::test_curl_curl FAILED [ 43%] 156s test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] FAILED [ 44%] 156s test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] FAILED [ 45%] 156s test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] FAILED [ 47%] 157s test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] FAILED [ 48%] 157s test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] FAILED [ 49%] 157s test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] FAILED [ 50%] 160s test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] FAILED [ 51%] 161s test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] FAILED [ 52%] 163s test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] FAILED [ 54%] 164s test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] FAILED [ 55%] 164s test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] FAILED [ 56%] 164s test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] FAILED [ 57%] 164s test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] FAILED [ 58%] 165s test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] FAILED [ 59%] 165s test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] FAILED [ 60%] 180s test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] FAILED [ 62%] 189s test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] FAILED [ 63%] 200s test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] FAILED [ 64%] 200s test/test_jit_forms.py::test_prism FAILED [ 65%] 200s test/test_jit_forms.py::test_complex_operations FAILED [ 66%] 200s test/test_jit_forms.py::test_invalid_function_name FAILED [ 67%] 201s test/test_jit_forms.py::test_interval_vertex_quadrature FAILED [ 68%] 201s test/test_jit_forms.py::test_facet_vertex_quadrature FAILED [ 70%] 201s test/test_jit_forms.py::test_manifold_derivatives FAILED [ 71%] 201s test/test_jit_forms.py::test_integral_grouping FAILED [ 72%] 201s test/test_lnodes.py::test_gemm[float32] 201s -------------------------------- live log call --------------------------------- 201s INFO root:dist.py:970 running build_ext 201s INFO root:build_ext.py:530 building '_gemm_float' extension 201s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_float.c -o ./_gemm_float.o 201s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_float.o -L/usr/lib/aarch64-linux-gnu -o ./_gemm_float.cpython-312-aarch64-linux-gnu.so 201s PASSED [ 73%] 201s test/test_lnodes.py::test_gemm[float64] 201s -------------------------------- live log call --------------------------------- 201s INFO root:dist.py:970 running build_ext 201s INFO root:build_ext.py:530 building '_gemm_double' extension 201s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_double.c -o ./_gemm_double.o 201s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_double.o -L/usr/lib/aarch64-linux-gnu -o ./_gemm_double.cpython-312-aarch64-linux-gnu.so 201s PASSED [ 74%] 201s test/test_lnodes.py::test_gemm[intc] 201s -------------------------------- live log call --------------------------------- 201s INFO root:dist.py:970 running build_ext 201s INFO root:build_ext.py:530 building '_gemm_int' extension 201s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemm_int.c -o ./_gemm_int.o 201s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemm_int.o -L/usr/lib/aarch64-linux-gnu -o ./_gemm_int.cpython-312-aarch64-linux-gnu.so 201s PASSED [ 75%] 201s test/test_lnodes.py::test_gemv[float32] 201s -------------------------------- live log call --------------------------------- 201s INFO root:dist.py:970 running build_ext 201s INFO root:build_ext.py:530 building '_gemv_float' extension 201s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_float.c -o ./_gemv_float.o 202s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_float.o -L/usr/lib/aarch64-linux-gnu -o ./_gemv_float.cpython-312-aarch64-linux-gnu.so 202s PASSED [ 77%] 202s test/test_lnodes.py::test_gemv[float64] 202s -------------------------------- live log call --------------------------------- 202s INFO root:dist.py:970 running build_ext 202s INFO root:build_ext.py:530 building '_gemv_double' extension 202s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_double.c -o ./_gemv_double.o 202s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_double.o -L/usr/lib/aarch64-linux-gnu -o ./_gemv_double.cpython-312-aarch64-linux-gnu.so 202s PASSED [ 78%] 202s test/test_lnodes.py::test_gemv[intc] 202s -------------------------------- live log call --------------------------------- 202s INFO root:dist.py:970 running build_ext 202s INFO root:build_ext.py:530 building '_gemv_int' extension 202s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/usr/include/python3.12 -c _gemv_int.c -o ./_gemv_int.o 202s INFO root:spawn.py:60 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 ./_gemv_int.o -L/usr/lib/aarch64-linux-gnu -o ./_gemv_int.cpython-312-aarch64-linux-gnu.so 202s PASSED [ 79%] 202s test/test_signatures.py::test_numba_kernel_signature[float32] SKIPPED [ 80%] 202s test/test_signatures.py::test_numba_kernel_signature[float64] SKIPPED [ 81%] 202s test/test_signatures.py::test_numba_kernel_signature[complex64] SKIPPED [ 82%] 202s test/test_signatures.py::test_numba_kernel_signature[complex128] SKIPPED [ 83%] 202s test/test_submesh.py::test_multiple_mesh_codim0[float64] FAILED [ 85%] 202s test/test_submesh.py::test_multiple_mesh_codim0[complex128] FAILED [ 86%] 202s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] FAILED [ 87%] 202s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] FAILED [ 88%] 202s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] FAILED [ 89%] 202s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] FAILED [ 90%] 202s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] FAILED [ 91%] 203s test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] FAILED [ 93%] 203s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] FAILED [ 94%] 203s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] FAILED [ 95%] 203s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] FAILED [ 96%] 203s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] FAILED [ 97%] 203s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] FAILED [ 98%] 203s test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] FAILED [100%] 203s 203s =================================== FAILURES =================================== 203s ____________________ test_additive_facet_integral[float32] _____________________ 203s 203s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float32", 203s "float64", 203s "complex64", 203s "complex128", 203s ], 203s ) 203s def test_additive_facet_integral(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(u, v) * ufl.ds 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_add_mode.py:32: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_04005e23d7710c98d5b0c5af3f82ed6db6dbd...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_583f22c603f3faf889cc487bf34257f8d68948b5'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s ____________________ test_additive_facet_integral[float64] _____________________ 203s 203s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float32", 203s "float64", 203s "complex64", 203s "complex128", 203s ], 203s ) 203s def test_additive_facet_integral(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(u, v) * ufl.ds 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_add_mode.py:32: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e1ce216a409571c08fd55ca6ca328dc97de76...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f0fd0b3691a075c0397bbc583f4c0c067ec0cef6'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s ___________________ test_additive_facet_integral[complex64] ____________________ 203s 203s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float32", 203s "float64", 203s "complex64", 203s "complex128", 203s ], 203s ) 203s def test_additive_facet_integral(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(u, v) * ufl.ds 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_add_mode.py:32: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_72b21bb5bffad8ca9e00f3a60082da681d5e6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_84aff3e9040a035b27c17cd5848fa5ca9a9dd4e7'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s ___________________ test_additive_facet_integral[complex128] ___________________ 203s 203s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float32", 203s "float64", 203s "complex64", 203s "complex128", 203s ], 203s ) 203s def test_additive_facet_integral(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(u, v) * ufl.ds 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_add_mode.py:32: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_97ce5b43860734ae69be715b400a08cf6d462...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_d98ce644736dd7003d5b168fbd4471afe53c2fa4'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s _____________________ test_additive_cell_integral[float32] _____________________ 203s 203s dtype = 'float32', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float32", 203s "float64", 203s "complex64", 203s "complex128", 203s ], 203s ) 203s def test_additive_cell_integral(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_add_mode.py:93: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_c3c3246b9c0f73c47d78cfceaa1b9367fa684...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_89f18049b74eb1dc9cc36920aee0606dce845f87'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s _____________________ test_additive_cell_integral[float64] _____________________ 203s 203s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float32", 203s "float64", 203s "complex64", 203s "complex128", 203s ], 203s ) 203s def test_additive_cell_integral(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_add_mode.py:93: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b1e2ee4f821e5a6bf5efb434b3c23fb4de5a6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_79b45e86ad17cc848a1778ad3d0a649cec61c3ba'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s ____________________ test_additive_cell_integral[complex64] ____________________ 203s 203s dtype = 'complex64', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float32", 203s "float64", 203s "complex64", 203s "complex128", 203s ], 203s ) 203s def test_additive_cell_integral(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_add_mode.py:93: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b44dbacaf9ca791f408e1d6ce3953f2815d7b...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f613a0b3139548c5139d73119ef6dc49e79563ad'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s ___________________ test_additive_cell_integral[complex128] ____________________ 203s 203s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float32", 203s "float64", 203s "complex64", 203s "complex128", 203s ], 203s ) 203s def test_additive_cell_integral(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_add_mode.py:93: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cb23033a67ed08558f22e1fcb34ac4cb448fb...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_a10d3a0296ff5ae6620f23d95bab9ad72b98e6a5'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s _____________________________ test_finite_element ______________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_finite_element(compile_args): 203s ufl_element = basix.ufl.element("Lagrange", "triangle", 1) 203s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 203s [ufl_element], cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_blocked_elements.py:16: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:205: in compile_elements 203s raise e 203s ffcx/codegeneration/jit.py:185: in compile_elements 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_36279f90ad6ccfdc139835972f81ae080152e071'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s _____________________________ test_vector_element ______________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_vector_element(compile_args): 203s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 203s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 203s [ufl_element], cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_blocked_elements.py:42: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:205: in compile_elements 203s raise e 203s ffcx/codegeneration/jit.py:185: in compile_elements 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cd2edc8c82263850d2ea0059a34fe0e1d7132...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2de18afb8a8e29a05779c3083c18a24f62d66e1d'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s _____________________________ test_tensor_element ______________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_tensor_element(compile_args): 203s ufl_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2, 2)) 203s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 203s [ufl_element], cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_blocked_elements.py:69: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:205: in compile_elements 203s raise e 203s ffcx/codegeneration/jit.py:185: in compile_elements 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e17d7fa244fc069a4dc7db2c79ecd0a4e519b...t (P, triangle, 1, gll_warped, unset, False, float64, []), (2, 2)): 'element_d3bd1d121fa75c3fe7c1eafeb95245aed7943c99'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s ________________________ test_vector_quadrature_element ________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_vector_quadrature_element(compile_args): 203s ufl_element = basix.ufl.blocked_element( 203s basix.ufl.quadrature_element("tetrahedron", degree=2, scheme="default"), shape=(3,) 203s ) 203s > jit_compiled_elements, module, code = ffcx.codegeneration.jit.compile_elements( 203s [ufl_element], cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_blocked_elements.py:99: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:205: in compile_elements 203s raise e 203s ffcx/codegeneration/jit.py:185: in compile_elements 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s 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()) 203s 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} 203s finite_element_names = {QuadratureElement(tetrahedron, array([[0.5854102, 0.1381966, 0.1381966], [0.1381966, 0.5854102, 0.1381966], ..., 0.04166667, 0.04166667, 0.04166667]), IdentityPullback()), (3,)): 'element_218571c7839474b19088db99d61294f6253c8189'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_QuadratureElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s _______________________________ test_cache_modes _______________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_cache_modes(compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s forms = [a] 203s 203s # Load form from /tmp 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, cffi_extra_compile_args=compile_args 203s ) 203s 203s test/test_cache.py:24: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b1e2ee4f821e5a6bf5efb434b3c23fb4de5a6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_79b45e86ad17cc848a1778ad3d0a649cec61c3ba'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s ffcx/ir/representation.py:293: AttributeError 203s ________________________________ test_visualise ________________________________ 203s 203s def test_visualise(): 203s os.chdir(os.path.dirname(__file__)) 203s subprocess.run(["ffcx", "--visualise", "Poisson.py"]) 203s > assert os.path.isfile("S.pdf") 203s E AssertionError: assert False 203s E + where False = ('S.pdf') 203s E + where = .isfile 203s E + where = os.path 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_cmdline.py:20: AssertionError 203s ----------------------------- Captured stderr call ----------------------------- 203s Traceback (most recent call last): 203s File "/usr/bin/ffcx", line 8, in 203s sys.exit(__main__.main()) 203s ^^^^^^^^^^^^^^^ 203s File "/usr/lib/python3/dist-packages/ffcx/main.py", line 75, in main 203s code_h, code_c = compiler.compile_ufl_objects( 203s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 203s File "/usr/lib/python3/dist-packages/ffcx/compiler.py", line 113, in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 203s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 215, in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s File "/usr/lib/python3/dist-packages/ffcx/ir/representation.py", line 293, in _compute_element_ir 203s ir["element_type"] = element.ufcx_element_type 203s ^^^^^^^^^^^^^^^^^^^^^^^^^ 203s AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s _________________________________ test_matvec __________________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_matvec(compile_args): 203s """Test evaluation of linear rank-0 form. 203s 203s Evaluates expression c * A_ij * f_j where c is a Constant, 203s A_ij is a user specified constant matrix and f_j is j-th component 203s of user specified vector-valued finite element function (in P1 space). 203s 203s """ 203s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 203s mesh = ufl.Mesh(e) 203s V = ufl.FunctionSpace(mesh, e) 203s f = ufl.Coefficient(V) 203s 203s a_mat = np.array([[1.0, 2.0], [1.0, 1.0]]) 203s a = ufl.as_matrix(a_mat) 203s expr = ufl.Constant(mesh) * ufl.dot(a, f) 203s 203s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 203s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 203s [(expr, points)], cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_expression.py:35: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:358: in compile_expressions 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:338: in compile_expressions 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_90aa55ae36fbb6a87bd59e8483b825dc7de2a...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_370cad0a041817e50e1b9b5fefeb950bb4d91630'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s __________________________________ test_rank1 __________________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_rank1(compile_args): 203s """Tests evaluation of rank-1 form. 203s 203s Builds a linear operator which takes vector-valued functions in P1 space 203s and evaluates expression [u_y, u_x] + grad(u_x) at specified points. 203s 203s """ 203s e = basix.ufl.element("P", "triangle", 1, shape=(2,)) 203s mesh = ufl.Mesh(e) 203s 203s V = ufl.FunctionSpace(mesh, e) 203s u = ufl.TrialFunction(V) 203s 203s expr = ufl.as_vector([u[1], u[0]]) + ufl.grad(u[0]) 203s 203s points = np.array([[0.0, 0.0], [1.0, 0.0], [0.0, 1.0]]) 203s > obj, module, code = ffcx.codegeneration.jit.compile_expressions( 203s [(expr, points)], cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_expression.py:101: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:358: in compile_expressions 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:338: in compile_expressions 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2459fdcf73568353ff52620d8c8a06604a565...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_541d6023e862e59e9255cdf1daab1deb0726ff83'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _______________________ test_elimiate_zero_tables_tensor _______________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_elimiate_zero_tables_tensor(compile_args): 203s """Test elimination of tensor-valued expressions with zero tables""" 203s cell = "tetrahedron" 203s c_el = basix.ufl.element("P", cell, 1, shape=(3,)) 203s mesh = ufl.Mesh(c_el) 203s 203s e = basix.ufl.element("P", cell, 1) 203s V = ufl.FunctionSpace(mesh, e) 203s u = ufl.Coefficient(V) 203s expr = ufl.sym(ufl.as_tensor([[u, u.dx(0).dx(0), 0], [u.dx(1), u.dx(1), 0], [0, 0, 0]])) 203s 203s # Get vertices of cell 203s # Coords storage XYZXYZXYZ 203s basix_c_e = basix.create_element( 203s > basix.ElementFamily.P, basix.cell.string_to_type(cell), 1, discontinuous=False 203s ) 203s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_expression.py:169: AttributeError 203s ____________________________ test_facet_expression _____________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_facet_expression(compile_args): 203s """Test facet expression containing a facet normal on a manifold.""" 203s c_el = basix.ufl.element("Lagrange", "triangle", 1, shape=(3,)) 203s mesh = ufl.Mesh(c_el) 203s 203s n = ufl.FacetNormal(mesh) 203s expr = n 203s 203s dtype = np.float64 203s points = np.array([[0.5]], dtype=dtype) 203s 203s > obj, _, _ = ffcx.codegeneration.jit.compile_expressions( 203s [(expr, points)], cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_expression.py:281: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:358: in compile_expressions 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:338: in compile_expressions 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:254: in compute_ir 203s _compute_expression_ir( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:857: in _compute_expression_ir 203s expression_ir = compute_integral_ir( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/integral.py:85: in compute_integral_ir 203s mt_table_reference = build_optimized_tables( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/elementtables.py:415: in build_optimized_tables 203s t = get_ffcx_table_values( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/elementtables.py:138: in get_ffcx_table_values 203s entity_points = map_integral_points(points, integral_type, cell, entity) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representationutils.py:119: in map_integral_points 203s return np.asarray(map_facet_points(points, entity, cell.cellname())) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s points = array([[0.5]]), facet = 0, cellname = 'triangle' 203s 203s def map_facet_points( 203s points: npt.NDArray[np.float64], facet: int, cellname: str 203s ) -> npt.NDArray[np.float64]: 203s """Map points from a reference facet to a physical facet.""" 203s > geom = basix.geometry(basix.cell.string_to_type(cellname)) 203s E AttributeError: module 'basix.cell' has no attribute 'string_to_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/element_interface.py:44: AttributeError 203s ___________ test_laplace_bilinear_form_2d[float64-expected_result0] ____________ 203s 203s dtype = 'float64' 203s expected_result = array([[ 1. , -0.5, -0.5], 203s [-0.5, 0.5, 0. ], 203s [-0.5, 0. , 0.5]]) 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype,expected_result", 203s [ 203s ( 203s "float64", 203s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 203s ), 203s ( 203s "complex128", 203s np.array( 203s [ 203s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 203s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 203s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 203s ], 203s dtype=np.complex128, 203s ), 203s ), 203s ], 203s ) 203s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s kappa = ufl.Constant(domain, shape=(2, 2)) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s 203s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:47: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_46f900b7f821de8731a4c90115584396c0f7e...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_3b5681d77baeaa46206dcd01cc189e70499b9c74'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s __________ test_laplace_bilinear_form_2d[complex128-expected_result1] __________ 203s 203s dtype = 'complex128' 203s expected_result = array([[ 1. +0.j, -0.5+0.j, -0.5+0.j], 203s [-0.5+0.j, 0.5+0.j, 0. +0.j], 203s [-0.5+0.j, 0. +0.j, 0.5+0.j]]) 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype,expected_result", 203s [ 203s ( 203s "float64", 203s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64), 203s ), 203s ( 203s "complex128", 203s np.array( 203s [ 203s [1.0 + 0j, -0.5 + 0j, -0.5 + 0j], 203s [-0.5 + 0j, 0.5 + 0j, 0.0 + 0j], 203s [-0.5 + 0j, 0.0 + 0j, 0.5 + 0j], 203s ], 203s dtype=np.complex128, 203s ), 203s ), 203s ], 203s ) 203s def test_laplace_bilinear_form_2d(dtype, expected_result, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s kappa = ufl.Constant(domain, shape=(2, 2)) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s 203s a = ufl.tr(kappa) * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:47: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_33861fc3663a725f67dff31439b450c7660a7...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_54668fa7257c4f1419a1dec52cabe4598ab860be'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_mass_bilinear_form_2d[float32-expected_result0] _____________ 203s 203s dtype = 'float32' 203s expected_result = array([[0.08333334, 0.04166667, 0.04166667], 203s [0.04166667, 0.08333334, 0.04166667], 203s [0.04166667, 0.04166667, 0.08333334]], dtype=float32) 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype,expected_result", 203s [ 203s ( 203s "float32", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.float32, 203s ), 203s ), 203s # ("longdouble", 203s # np.array( 203s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 203s # dtype=np.longdouble)), 203s ( 203s "float64", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.float64, 203s ), 203s ), 203s ( 203s "complex128", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.complex128, 203s ), 203s ), 203s ( 203s "complex64", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.complex64, 203s ), 203s ), 203s ], 203s ) 203s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(u, v) * ufl.dx 203s L = ufl.conj(v) * ufl.dx 203s forms = [a, L] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:150: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_215748652f417999937cfc91e7bd6960ff66d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_58cdbae5b594faf9443a5819fdf0e498c9dc3d97'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_mass_bilinear_form_2d[float64-expected_result1] _____________ 203s 203s dtype = 'float64' 203s expected_result = array([[0.08333333, 0.04166667, 0.04166667], 203s [0.04166667, 0.08333333, 0.04166667], 203s [0.04166667, 0.04166667, 0.08333333]]) 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype,expected_result", 203s [ 203s ( 203s "float32", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.float32, 203s ), 203s ), 203s # ("longdouble", 203s # np.array( 203s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 203s # dtype=np.longdouble)), 203s ( 203s "float64", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.float64, 203s ), 203s ), 203s ( 203s "complex128", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.complex128, 203s ), 203s ), 203s ( 203s "complex64", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.complex64, 203s ), 203s ), 203s ], 203s ) 203s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(u, v) * ufl.dx 203s L = ufl.conj(v) * ufl.dx 203s forms = [a, L] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:150: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_89d8fd5a9bd8d624db3630e64a0ff5e47b076...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_0b1b27db4f5b504a40ae8f13cfeff8a95facfcc4'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_mass_bilinear_form_2d[complex128-expected_result2] ____________ 203s 203s dtype = 'complex128' 203s expected_result = array([[0.08333333+0.j, 0.04166667+0.j, 0.04166667+0.j], 203s [0.04166667+0.j, 0.08333333+0.j, 0.04166667+0.j], 203s [0.04166667+0.j, 0.04166667+0.j, 0.08333333+0.j]]) 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype,expected_result", 203s [ 203s ( 203s "float32", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.float32, 203s ), 203s ), 203s # ("longdouble", 203s # np.array( 203s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 203s # dtype=np.longdouble)), 203s ( 203s "float64", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.float64, 203s ), 203s ), 203s ( 203s "complex128", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.complex128, 203s ), 203s ), 203s ( 203s "complex64", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.complex64, 203s ), 203s ), 203s ], 203s ) 203s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(u, v) * ufl.dx 203s L = ufl.conj(v) * ufl.dx 203s forms = [a, L] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:150: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6512688a04c83411a0c1118606fdf81d2b61d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_453f00cb9251e3713fb7a316c01a3b349a12b0aa'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ____________ test_mass_bilinear_form_2d[complex64-expected_result3] ____________ 203s 203s dtype = 'complex64' 203s expected_result = array([[0.08333334+0.j, 0.04166667+0.j, 0.04166667+0.j], 203s [0.04166667+0.j, 0.08333334+0.j, 0.04166667+0.j], 203s [0.04166667+0.j, 0.04166667+0.j, 0.08333334+0.j]], dtype=complex64) 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype,expected_result", 203s [ 203s ( 203s "float32", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.float32, 203s ), 203s ), 203s # ("longdouble", 203s # np.array( 203s # [[1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s # [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0]], 203s # dtype=np.longdouble)), 203s ( 203s "float64", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.float64, 203s ), 203s ), 203s ( 203s "complex128", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.complex128, 203s ), 203s ), 203s ( 203s "complex64", 203s np.array( 203s [ 203s [1.0 / 12.0, 1.0 / 24.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 12.0, 1.0 / 24.0], 203s [1.0 / 24.0, 1.0 / 24.0, 1.0 / 12.0], 203s ], 203s dtype=np.complex64, 203s ), 203s ), 203s ], 203s ) 203s def test_mass_bilinear_form_2d(dtype, expected_result, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(u, v) * ufl.dx 203s L = ufl.conj(v) * ufl.dx 203s forms = [a, L] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:150: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_63b4a2f79a9899904b75ec34139801ecb6925...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_a832ba077a644409c9afe87c9eb5f31ef58e6c13'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _______________ test_helmholtz_form_2d[float64-expected_result0] _______________ 203s 203s dtype = 'float64' 203s expected_result = array([[ 0.91666667, -0.54166667, -0.54166667], 203s [-0.54166667, 0.41666667, -0.04166667], 203s [-0.54166667, -0.04166667, 0.41666667]]) 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype,expected_result", 203s [ 203s ( 203s "float64", 203s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 203s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 203s ), 203s ( 203s "complex128", 203s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 203s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 203s ), 203s ], 203s ) 203s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s if np.issubdtype(dtype, np.complexfloating): 203s k = ufl.constantvalue.ComplexValue(1j) 203s elif np.issubdtype(dtype, np.floating): 203s k = 1.0 203s else: 203s raise RuntimeError( 203s "Unknown mode type", 203s ) 203s 203s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:186: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7357a25b434dec9fc0cfd777775d9548d4a91...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f21614cd6ba1bfcb34443d5c8190d4665bdbc3f9'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_helmholtz_form_2d[complex128-expected_result1] ______________ 203s 203s dtype = 'complex128' 203s expected_result = array([[ 1. -0.08333333j, -0.5-0.04166667j, -0.5-0.04166667j], 203s [-0.5-0.04166667j, 0.5-0.08333333j, 0. -0.04166667j], 203s [-0.5-0.04166667j, 0. -0.04166667j, 0.5-0.08333333j]]) 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype,expected_result", 203s [ 203s ( 203s "float64", 203s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.float64) 203s - (1.0 / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.float64), 203s ), 203s ( 203s "complex128", 203s np.array([[1.0, -0.5, -0.5], [-0.5, 0.5, 0.0], [-0.5, 0.0, 0.5]], dtype=np.complex128) 203s - (1.0j / 24.0) * np.array([[2, 1, 1], [1, 2, 1], [1, 1, 2]], dtype=np.complex128), 203s ), 203s ], 203s ) 203s def test_helmholtz_form_2d(dtype, expected_result, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s if np.issubdtype(dtype, np.complexfloating): 203s k = ufl.constantvalue.ComplexValue(1j) 203s elif np.issubdtype(dtype, np.floating): 203s k = 1.0 203s else: 203s raise RuntimeError( 203s "Unknown mode type", 203s ) 203s 203s a = (ufl.inner(ufl.grad(u), ufl.grad(v)) - ufl.inner(k * u, v)) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:186: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e716b3cf49b5211cb40522d69804b04586248...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_e22a51675d6ba5eeeb53d1189ec4d836c3d5f403'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_laplace_bilinear_form_3d[float64-expected_result0] ____________ 203s 203s dtype = 'float64' 203s expected_result = array([[ 0.5 , -0.16666667, -0.16666667, -0.16666667], 203s [-0.16666667, 0.16666667, 0. , 0. ... [-0.16666667, 0. , 0.16666667, 0. ], 203s [-0.16666667, 0. , 0. , 0.16666667]]) 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype,expected_result", 203s [ 203s ( 203s "float64", 203s np.array( 203s [ 203s [0.5, -1 / 6, -1 / 6, -1 / 6], 203s [-1 / 6, 1 / 6, 0.0, 0.0], 203s [-1 / 6, 0.0, 1 / 6, 0.0], 203s [-1 / 6, 0.0, 0.0, 1 / 6], 203s ], 203s dtype=np.float64, 203s ), 203s ), 203s ( 203s "complex128", 203s np.array( 203s [ 203s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 203s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 203s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 203s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 203s ], 203s dtype=np.complex128, 203s ), 203s ), 203s ], 203s ) 203s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 203s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:253: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_e5e0c850f0036a72d5e679c5957fc7dcca... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_925d3636a57c755748f97af4138a3ff3d9d0f42f'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s __________ test_laplace_bilinear_form_3d[complex128-expected_result1] __________ 203s 203s dtype = 'complex128' 203s expected_result = array([[ 0.5 +0.j, -0.16666667+0.j, -0.16666667+0.j, 203s -0.16666667+0.j], 203s [-0.16666667+0.j, 0.16666...67+0.j, 203s 0. +0.j], 203s [-0.16666667+0.j, 0. +0.j, 0. +0.j, 203s 0.16666667+0.j]]) 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype,expected_result", 203s [ 203s ( 203s "float64", 203s np.array( 203s [ 203s [0.5, -1 / 6, -1 / 6, -1 / 6], 203s [-1 / 6, 1 / 6, 0.0, 0.0], 203s [-1 / 6, 0.0, 1 / 6, 0.0], 203s [-1 / 6, 0.0, 0.0, 1 / 6], 203s ], 203s dtype=np.float64, 203s ), 203s ), 203s ( 203s "complex128", 203s np.array( 203s [ 203s [0.5 + 0j, -1 / 6 + 0j, -1 / 6 + 0j, -1 / 6 + 0j], 203s [-1 / 6 + 0j, 1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j], 203s [-1 / 6 + 0j, 0.0 + 0j, 1 / 6 + 0j, 0.0 + 0j], 203s [-1 / 6 + 0j, 0.0 + 0j, 0.0 + 0j, 1 / 6 + 0j], 203s ], 203s dtype=np.complex128, 203s ), 203s ), 203s ], 203s ) 203s def test_laplace_bilinear_form_3d(dtype, expected_result, compile_args): 203s element = basix.ufl.element("Lagrange", "tetrahedron", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:253: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_696cd6e282ac2488b1aae14a2591a78d4d... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_0dd43da7503474cbdf42ddd9a1eff564a666a372'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ____________________________ test_form_coefficient _____________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_form_coefficient(compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TestFunction(space), ufl.TrialFunction(space) 203s g = ufl.Coefficient(space) 203s a = g * ufl.inner(u, v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:292: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_6300dffd71ea3456195f525f41482e37b3258...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_23c359be4df00fcb9e12331249352dfcecb4676c'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _______________________________ test_subdomains ________________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_subdomains(compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a0 = ufl.inner(u, v) * ufl.dx + ufl.inner(u, v) * ufl.dx(2) 203s a1 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx 203s a2 = ufl.inner(u, v) * ufl.dx(2) + ufl.inner(u, v) * ufl.dx(1) 203s a3 = ufl.inner(u, v) * ufl.ds(210) + ufl.inner(u, v) * ufl.ds(0) 203s forms = [a0, a1, a2, a3] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:334: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_f4d7740ecb811f1abea93f63914771a43a8ff...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_4ca86d44029b213b3273fec41329c2635a9fce77'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ____________________ test_interior_facet_integral[float64] _____________________ 203s 203s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 203s def test_interior_facet_integral(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 203s forms = [a0] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:373: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1af176c2f2ea599e5336640cc26835f622e5c...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_3afe5f4ec9f44940b5c2f5cd7cc2e03b133ee493'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________________ test_interior_facet_integral[complex128] ___________________ 203s 203s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize("dtype", ["float64", "complex128"]) 203s def test_interior_facet_integral(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a0 = ufl.inner(ufl.jump(ufl.grad(u)), ufl.jump(ufl.grad(v))) * ufl.dS 203s forms = [a0] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:373: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_ef89833bfa3903cd6b66cc00c09f75cd504f6...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_f729765eb5c574617ec9a4e1d44f8b0a8616d1df'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s __________________________ test_conditional[float64] ___________________________ 203s 203s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float64", 203s "complex128", 203s ], 203s ) 203s def test_conditional(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s x = ufl.SpatialCoordinate(domain) 203s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 203s c1 = ufl.conditional(condition, 2.0, 1.0) 203s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 203s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 203s b = c2 * ufl.conj(v) * ufl.dx 203s 203s forms = [a, b] 203s 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:439: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_d7163114079b7007113586969bec054c07a05...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_188e70be8386e0c4e4d412cd49d9b9e80ebd4fd9'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _________________________ test_conditional[complex128] _________________________ 203s 203s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float64", 203s "complex128", 203s ], 203s ) 203s def test_conditional(dtype, compile_args): 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s x = ufl.SpatialCoordinate(domain) 203s condition = ufl.Or(ufl.ge(ufl.real(x[0] + x[1]), 0.1), ufl.ge(ufl.real(x[1] + x[1] ** 2), 0.1)) 203s c1 = ufl.conditional(condition, 2.0, 1.0) 203s a = c1 * ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s x1x2 = ufl.real(x[0] + ufl.as_ufl(2) * x[1]) 203s c2 = ufl.conditional(ufl.ge(x1x2, 0), 6.0, 0.0) 203s b = c2 * ufl.conj(v) * ufl.dx 203s 203s forms = [a, b] 203s 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:439: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_595e688f4f6f9ffaf21c1c250f7cd810894c3...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_c5090834d1764677c973ece50a004294d3c2caa7'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ____________________________ test_custom_quadrature ____________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_custom_quadrature(compile_args): 203s ve = basix.ufl.element("P", "triangle", 1, shape=(2,)) 203s mesh = ufl.Mesh(ve) 203s 203s e = basix.ufl.element("P", mesh.ufl_cell().cellname(), 2) 203s V = ufl.FunctionSpace(mesh, e) 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s 203s 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]] 203s weights = [1 / 12] * 6 203s a = ( 203s u 203s * v 203s * ufl.dx( 203s metadata={ 203s "quadrature_rule": "custom", 203s "quadrature_points": points, 203s "quadrature_weights": weights, 203s } 203s ) 203s ) 203s 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:513: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 2} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_32da1c245076c5704fe68eda766b954507d83...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_e9706c325ec2d3bd83dd8216796886d0cb25614f'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ________________________________ test_curl_curl ________________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_curl_curl(compile_args): 203s V = basix.ufl.element("N1curl", "triangle", 2) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, V) 203s u, v = ufl.TrialFunction(space), ufl.TestFunction(space) 203s a = ufl.inner(ufl.curl(u), ufl.curl(v)) * ufl.dx 203s 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:549: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (N1E, triangle, 2, legendre, unset, False, float64, []) 203s element_numbers = {Basix element (N1E, triangle, 2, legendre, unset, False, float64, []): 0, Basix element (P, triangle, 1, gll_warped, ...lse, float64, []): 1, blocked element (Basix element (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 2} 203s finite_element_names = {Basix element (N1E, triangle, 2, legendre, unset, False, float64, []): 'element_db58d68f2c42b6cf55914bbd1522d01389b76...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_25eeca4fe56bfc25e736d71abe7720d7cc8e5d67'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_lagrange_triangle[1--0-float64] _____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0e480> 203s ufl_fun = at 0xe4ee08f0e520> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "triangle", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:620: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_42ca9307b28a5b3e8f61da1f1a706dc1c25a7...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_6a29679ae74df08b4c9c5015f9d3fd7d00a1c73b'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_lagrange_triangle[1--1-float64] _____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0e5c0> 203s ufl_fun = at 0xe4ee08f0e660> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "triangle", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:620: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_4074a719ae98fd47ce1fb5ae3f6cf61693ee5...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_b4cd6b00829e0ad6e6e115fdf0f4f0edd2b38fbe'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_lagrange_triangle[1--2-float64] _____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0e700> 203s ufl_fun = at 0xe4ee08f0e7a0> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "triangle", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:620: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_e640790514f6173cd42c454d360c5e09e0202...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_cd438249f61cec9b91fd843ab2f94ca2dcaf1553'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_lagrange_triangle[2--0-float64] _____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0e480> 203s ufl_fun = at 0xe4ee08f0e520> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "triangle", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:620: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 2} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_0b10fcb819338c89fa8ab83aa02dd373fbe97...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_69ff65aec9133b70015f4b88dad9256b0bc4b41c'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_lagrange_triangle[2--1-float64] _____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0e5c0> 203s ufl_fun = at 0xe4ee08f0e660> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "triangle", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:620: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 2} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_b93ccabf1a99d8211f84ade8bbc45916fa034...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_0bd3622b9c65337523d5894695a8b0489fb361e1'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_lagrange_triangle[2--2-float64] _____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0e700> 203s ufl_fun = at 0xe4ee08f0e7a0> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "triangle", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:620: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 2, gll_warped, unset, False, float64, []): 2} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_d47a04b33b7e638b82cd9b2b378cfb3f927ff...ix element (P, triangle, 2, gll_warped, unset, False, float64, []): 'element_9e560209d506794f47952b8b30f8ee9962a82ac6'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_lagrange_triangle[3--0-float64] _____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0e480> 203s ufl_fun = at 0xe4ee08f0e520> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "triangle", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:620: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 2} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_40280c4fc0434cf2cd473ee32dd288ff12b87...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_6ac29b35c0a143950c90e1dc1c5dc3fd30838389'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_lagrange_triangle[3--1-float64] _____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0e5c0> 203s ufl_fun = at 0xe4ee08f0e660> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "triangle", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:620: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 2} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_1474d787ae00eade5ce1954ef365a76920446...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_49d95e96a011cd277eac17726270f179cad02edb'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_lagrange_triangle[3--2-float64] _____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0e700> 203s ufl_fun = at 0xe4ee08f0e7a0> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_triangle(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_triangle_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "triangle", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:620: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, triangle...warped, unset, False, float64, []), (2,)): 1, Basix element (P, triangle, 3, gll_warped, unset, False, float64, []): 2} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7336cc99d4a976c0f1ed9c8abc84da584cc9a...ix element (P, triangle, 3, gll_warped, unset, False, float64, []): 'element_800cf112167ea1b4bd179dad3cffe60b274cdfe7'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_lagrange_tetrahedron[1--0-float64] ____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0ea20> 203s ufl_fun = at 0xe4ee08f0eac0> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "tetrahedron", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:745: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_c917af90babafc719533417ebd0e7c699b... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_b23885f225f8da1a5eb0fe42a60e58922e97d709'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_lagrange_tetrahedron[1--1-float64] ____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0eb60> 203s ufl_fun = at 0xe4ee08f0ec00> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "tetrahedron", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:745: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_90f86d1a5b2930b89c1d59c1064c69668d... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_5e6e679e3ebad214a75459f5bd53f13975cf674b'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_lagrange_tetrahedron[1--2-float64] ____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 1, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0eca0> 203s ufl_fun = at 0xe4ee08f0ed40> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "tetrahedron", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:745: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_52aae6d4c134e45e0693f3cbdfd5c82f1c... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_ea220ab8779f30b57245a5110fab3e1007ce64be'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_lagrange_tetrahedron[2--0-float64] ____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0ea20> 203s ufl_fun = at 0xe4ee08f0eac0> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "tetrahedron", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:745: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 2} 203s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_26cc9c8f0d159e9a6102423630ca6897dc...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_e553692b3e643938b17eba9093ec572316ad3272'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_lagrange_tetrahedron[2--1-float64] ____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0eb60> 203s ufl_fun = at 0xe4ee08f0ec00> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "tetrahedron", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:745: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 2} 203s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_8bb338d1983ccf51a53829bfaf822a6b6e...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_055634534d6569754b1fca4111bd96fcba8b8f64'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_lagrange_tetrahedron[2--2-float64] ____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 2, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0eca0> 203s ufl_fun = at 0xe4ee08f0ed40> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "tetrahedron", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:745: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []) 203s element_numbers = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 0, blocked element (Basix element (P, tetra...ped, unset, False, float64, []), (3,)): 1, Basix element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 2} 203s finite_element_names = {Basix element (P, tetrahedron, 1, gll_warped, unset, False, float64, []): 'element_11e0574f5047f89ed428322f654d143775...element (P, tetrahedron, 2, gll_warped, unset, False, float64, []): 'element_cc4b4244d18466af6bdfd282ffbefc5170df6dc3'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_lagrange_tetrahedron[3--0-float64] ____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0ea20> 203s ufl_fun = at 0xe4ee08f0eac0> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "tetrahedron", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:745: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_bcf08e67377f499a21afeac79a35cd9fd7... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_82461ec4593eb69554a6cf3f521f3962bf41ec56'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_lagrange_tetrahedron[3--1-float64] ____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0eb60> 203s ufl_fun = at 0xe4ee08f0ec00> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "tetrahedron", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:745: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_d62f6eeea20958874eb2b3efc2dd931b3e... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_ccc1d6afdbb7e59fd7d8e8a848af87bf0ac0c5e0'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________ test_lagrange_tetrahedron[3--2-float64] ____________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'], order = 3, dtype = 'float64' 203s sym_fun = at 0xe4ee08f0eca0> 203s ufl_fun = at 0xe4ee08f0ed40> 203s 203s @pytest.mark.parametrize("dtype", ["float64"]) 203s @pytest.mark.parametrize( 203s "sym_fun,ufl_fun", 203s [ 203s (lambda i: i, lambda i: i), 203s (lambda i: i.diff(x), lambda i: ufl.grad(i)[0]), 203s (lambda i: i.diff(y), lambda i: ufl.grad(i)[1]), 203s ], 203s ) 203s @pytest.mark.parametrize("order", [1, 2, 3]) 203s def test_lagrange_tetrahedron(compile_args, order, dtype, sym_fun, ufl_fun): 203s sym = lagrange_tetrahedron_symbolic(order, fun=sym_fun) 203s element = basix.ufl.element("Lagrange", "tetrahedron", order) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s 203s a = ufl_fun(v) * ufl.dx 203s forms = [a] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:745: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, tetrahedron, 3, gll_warped, unset, False, float64, []): 'element_61a0dd834c4b73c898bbe1a0185cc1f2eb... (P, tetrahedron, 1, gll_warped, unset, False, float64, []), (3,)): 'element_39e275b75e2a7b77ad9ee515fdc1b8badce59806'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s __________________________________ test_prism __________________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_prism(compile_args): 203s element = basix.ufl.element("Lagrange", "prism", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "prism", 1, shape=(3,))) 203s space = ufl.FunctionSpace(domain, element) 203s v = ufl.TestFunction(space) 203s L = v * ufl.dx 203s forms = [L] 203s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": "float64"}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:784: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, prism, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, prism, 1, gll_warped, unset, False, float64, []): 'element_5e64f76f6022ad759dd61de57f387d68e14ec1f0...lement (P, prism, 1, gll_warped, unset, False, float64, []), (3,)): 'element_4cb77e9e8bd3e32f1c4dc1e6269aacae3d7bf191'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ___________________________ test_complex_operations ____________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_complex_operations(compile_args): 203s dtype = "complex128" 203s cell = "triangle" 203s c_element = basix.ufl.element("Lagrange", cell, 1, shape=(2,)) 203s mesh = ufl.Mesh(c_element) 203s element = basix.ufl.element("DG", cell, 0, shape=(2,)) 203s V = ufl.FunctionSpace(mesh, element) 203s u = ufl.Coefficient(V) 203s J1 = ufl.real(u)[0] * ufl.imag(u)[1] * ufl.conj(u)[0] * ufl.dx 203s J2 = ufl.real(u[0]) * ufl.imag(u[1]) * ufl.conj(u[0]) * ufl.dx 203s forms = [J1, J2] 203s 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, options={"scalar_type": dtype}, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:823: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_7f0063649965a951acb57539e87e78f85f1c4...ment (P, triangle, 0, gll_warped, unset, True, float64, []), (2,)): 'element_5d97956437bcc04e1d325e1cf2f0841ae30d0719'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s __________________________ test_invalid_function_name __________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_invalid_function_name(compile_args): 203s # Monkey patch to force invalid name 203s old_str = ufl.Coefficient.__str__ 203s ufl.Coefficient.__str__ = lambda self: "invalid function name" 203s 203s V = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, V) 203s u = ufl.Coefficient(space) 203s a = ufl.inner(u, u) * ufl.dx 203s forms = [a] 203s try: 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:888: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_cf2e207f2aba88bd9dfe4f2979c891ca9b28d...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_797b96df37153e3a01b2bde48bdd35a688f2c16c'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s 203s During handling of the above exception, another exception occurred: 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_invalid_function_name(compile_args): 203s # Monkey patch to force invalid name 203s old_str = ufl.Coefficient.__str__ 203s ufl.Coefficient.__str__ = lambda self: "invalid function name" 203s 203s V = basix.ufl.element("Lagrange", "triangle", 1) 203s domain = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s space = ufl.FunctionSpace(domain, V) 203s u = ufl.Coefficient(space) 203s a = ufl.inner(u, u) * ufl.dx 203s forms = [a] 203s try: 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, cffi_extra_compile_args=compile_args 203s ) 203s except ValueError: 203s pass 203s except Exception: 203s > raise RuntimeError("Compilation should fail with ValueError.") 203s E RuntimeError: Compilation should fail with ValueError. 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:894: RuntimeError 203s _______________________ test_interval_vertex_quadrature ________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_interval_vertex_quadrature(compile_args): 203s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(1,)) 203s mesh = ufl.Mesh(c_el) 203s 203s x = ufl.SpatialCoordinate(mesh) 203s dx = ufl.Measure("dx", metadata={"quadrature_rule": "vertex"}) 203s b = x[0] * dx 203s 203s forms = [b] 203s > compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s forms, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:909: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, interval, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, interval, 1, gll_warped, unset, False, float64, []): 'element_17ada03dec6eac00628574a59a29fd6741e11...ent (P, interval, 1, gll_warped, unset, False, float64, []), (1,)): 'element_2c34bbf8dc822b604119acc30e21eb0cade14225'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _________________________ test_facet_vertex_quadrature _________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_facet_vertex_quadrature(compile_args): 203s """Test facet vertex quadrature""" 203s c_el = basix.ufl.element("Lagrange", "quadrilateral", 1, shape=(2,)) 203s mesh = ufl.Mesh(c_el) 203s 203s x = ufl.SpatialCoordinate(mesh) 203s ds = ufl.Measure("ds", metadata={"quadrature_rule": "vertex"}) 203s expr = x[0] + ufl.cos(x[1]) 203s b1 = expr * ds 203s ds_c = ufl.Measure( 203s "ds", 203s metadata={ 203s "quadrature_rule": "custom", 203s "quadrature_points": np.array([[0.0], [1.0]]), 203s "quadrature_weights": np.array([1.0 / 2.0, 1.0 / 2.0]), 203s }, 203s ) 203s b2 = expr * ds_c 203s forms = [b1, b2] 203s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 203s forms, cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:954: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, []): 'element_cc8a267ab968eac0e35c31519f399f28...P, quadrilateral, 1, gll_warped, unset, False, float64, []), (2,)): 'element_2f6109712854e7c4345c72e1fd4a75af33cb9e48'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s __________________________ test_manifold_derivatives ___________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_manifold_derivatives(compile_args): 203s """Test higher order derivatives on manifolds""" 203s c_el = basix.ufl.element("Lagrange", "interval", 1, shape=(2,)) 203s mesh = ufl.Mesh(c_el) 203s 203s x = ufl.SpatialCoordinate(mesh) 203s dx = ufl.Measure("dx", domain=mesh) 203s order = 4 203s el = basix.ufl.element("Lagrange", "interval", order) 203s V = ufl.FunctionSpace(mesh, el) 203s 203s u = ufl.Coefficient(V) 203s d = 5.3 203s f_ex = d * order * (order - 1) * x[1] ** (order - 2) 203s expr = u.dx(1).dx(1) - f_ex 203s J = expr * expr * dx 203s 203s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 203s [J], cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:1012: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, interval, 4, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, interval, 4, gll_warped, unset, False, float64, []): 'element_9f80e901d837418ee28b915d9fe5f3b99cc8a...ent (P, interval, 1, gll_warped, unset, False, float64, []), (2,)): 'element_7cd48894e462204a99645fd838572f21383cfaea'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ____________________________ test_integral_grouping ____________________________ 203s 203s compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s def test_integral_grouping(compile_args): 203s """We group integrals with common integrands to avoid duplicated 203s integration kernels. This means that `inner(u, v)*dx((1,2,3)) + 203s inner(grad(u), grad(v))*dx(2) + inner(u,v)*dx` is grouped as 203s 1. `inner(u,v)*dx(("everywhere", 1, 3))` 203s 2. `(inner(grad(u), grad(v)) + inner(u, v))*dx(2)` 203s Each of the forms has one generated `tabulate_tensor_*` function, 203s which is referred to multiple times in `integrals_` and 203s `integral_ids_` 203s 203s """ 203s mesh = ufl.Mesh(basix.ufl.element("Lagrange", "triangle", 1, shape=(2,))) 203s V = ufl.FunctionSpace(mesh, basix.ufl.element("Lagrange", "triangle", 1)) 203s u = ufl.TrialFunction(V) 203s v = ufl.TestFunction(V) 203s a = ( 203s ufl.inner(u, v) * ufl.dx((1, 2, 3)) 203s + ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx(2) 203s + ufl.inner(u, v) * ufl.dx 203s ) 203s > compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 203s [a], cffi_extra_compile_args=compile_args 203s ) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_jit_forms.py:1060: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_8ae5f4e253ebbe0d2319e836d8113263b0b4c...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1f4591eff05b6abc8ead006228227129a054e1ee'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ______________________ test_multiple_mesh_codim0[float64] ______________________ 203s 203s dtype = 'float64', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float64", 203s "complex128", 203s ], 203s ) 203s def test_multiple_mesh_codim0(dtype, compile_args): 203s # Define coordinate element and element used in parent and sub-mesh 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 203s 203s domain = ufl.Mesh(coordinate_element) 203s space = ufl.FunctionSpace(domain, element) 203s u_parent = ufl.TrialFunction(space) 203s 203s # Create submesh and functionspace on submesh 203s sub_domain = ufl.Mesh(coordinate_element) 203s subspace = ufl.FunctionSpace(sub_domain, element) 203s v_sub = ufl.TestFunction(subspace) 203s 203s # 203s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 203s 203s > A = compute_tensor([a], dtype, compile_args) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_submesh.py:78: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_submesh.py:20: in compute_tensor 203s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_ca3f4e198f0b69900a6e921871a0c59f1c106...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_8e934f2549da5b38ebdc0322143476ceb913eb1a'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ____________________ test_multiple_mesh_codim0[complex128] _____________________ 203s 203s dtype = 'complex128', compile_args = ['-O1', '-Wall', '-Werror'] 203s 203s @pytest.mark.parametrize( 203s "dtype", 203s [ 203s "float64", 203s "complex128", 203s ], 203s ) 203s def test_multiple_mesh_codim0(dtype, compile_args): 203s # Define coordinate element and element used in parent and sub-mesh 203s element = basix.ufl.element("Lagrange", "triangle", 1) 203s coordinate_element = basix.ufl.element("Lagrange", "triangle", 1, shape=(2,)) 203s 203s domain = ufl.Mesh(coordinate_element) 203s space = ufl.FunctionSpace(domain, element) 203s u_parent = ufl.TrialFunction(space) 203s 203s # Create submesh and functionspace on submesh 203s sub_domain = ufl.Mesh(coordinate_element) 203s subspace = ufl.FunctionSpace(sub_domain, element) 203s v_sub = ufl.TestFunction(subspace) 203s 203s # 203s a = ufl.inner(u_parent.dx(0), v_sub.dx(0)) * ufl.dx(domain=domain) 203s 203s > A = compute_tensor([a], dtype, compile_args) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_submesh.py:78: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_submesh.py:20: in compute_tensor 203s compiled_forms, module, _ = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, triangle, 1, gll_warped, unset, False, float64, []) 203s 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} 203s finite_element_names = {Basix element (P, triangle, 1, gll_warped, unset, False, float64, []): 'element_2755168cf0bc7bafc20db35c7c1f262e55971...ent (P, triangle, 1, gll_warped, unset, False, float64, []), (2,)): 'element_1fc4b54404e1d37111319309e5ada96857909581'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_bilinear_form[CellType.quadrilateral-1-float32] _____________ 203s 203s dtype = 'float32', P = 1, cell_type = CellType.quadrilateral 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 203s 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} 203s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_4fe2232e95a5be733bbf19...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_5fa7243ca41c71c293a7aab038d7300f6a6cb4ae'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_bilinear_form[CellType.quadrilateral-1-float64] _____________ 203s 203s dtype = 'float64', P = 1, cell_type = CellType.quadrilateral 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 203s 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} 203s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_0b89fc7f72bc0baba33387...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_8b6086a2c996739b122ec36782277365d2b289e3'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_bilinear_form[CellType.quadrilateral-2-float32] _____________ 203s 203s dtype = 'float32', P = 2, cell_type = CellType.quadrilateral 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 203s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 0, blocked element (Basix eleme... 3]), (2,)): 1, Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 2} 203s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_b7b08d7b60e04cb86dcca6...2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_7b66ccd9c2c0a32aa92ca8375154718d0e0984ee'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_bilinear_form[CellType.quadrilateral-2-float64] _____________ 203s 203s dtype = 'float64', P = 2, cell_type = CellType.quadrilateral 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]) 203s element_numbers = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 0, blocked element (Basix eleme... 3]), (2,)): 1, Basix element (P, quadrilateral, 2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 2} 203s finite_element_names = {Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]): 'element_832c954b8c28eb9e1176e3...2, gll_warped, unset, False, float64, [0, 3, 1, 4, 6, 2, 5, 7, 8]): 'element_c1bc8e39f30a4f4bd7d5b8c261b4bae9630eb3c1'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_bilinear_form[CellType.quadrilateral-3-float32] _____________ 203s 203s dtype = 'float32', P = 3, cell_type = CellType.quadrilateral 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]) 203s element_numbers = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...]): 1, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 2} 203s finite_element_names = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_3fe8ea602ba4d397c51ec6c39d7ad03581e2ef4b'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s _____________ test_bilinear_form[CellType.quadrilateral-3-float64] _____________ 203s 203s dtype = 'float64', P = 3, cell_type = CellType.quadrilateral 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14, 11, 15]) 203s element_numbers = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...]): 1, blocked element (Basix element (P, quadrilateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 2} 203s finite_element_names = {Basix element (P, quadrilateral, 3, gll_warped, unset, False, float64, [0, 4, 1, 5, 8, 12, 2, 3, 6, 7, 9, 13, 10, 14,...ateral, 1, gll_warped, unset, False, float64, [0, 2, 1, 3]), (2,)): 'element_b39dbb048b0d91c9bf9307be26094ddc8cd85fdc'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ______________ test_bilinear_form[CellType.hexahedron-1-float32] _______________ 203s 203s dtype = 'float32', P = 1, cell_type = CellType.hexahedron 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 203s 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} 203s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_4b0a24636fe74...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_77b9fb434d93c7023e38299f88c7e215d42ae174'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ______________ test_bilinear_form[CellType.hexahedron-1-float64] _______________ 203s 203s dtype = 'float64', P = 1, cell_type = CellType.hexahedron 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]) 203s 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} 203s finite_element_names = {Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]): 'element_024f14755b994...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_4ee51ab1c58e8ad894d54f1ada7dd856b8457498'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ______________ test_bilinear_form[CellType.hexahedron-2-float32] _______________ 203s 203s dtype = 'float32', P = 2, cell_type = CellType.hexahedron 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]) 203s element_numbers = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 203s finite_element_names = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_df469d431891b001d1fe09c244d89378334a45e0'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ______________ test_bilinear_form[CellType.hexahedron-2-float64] _______________ 203s 203s dtype = 'float64', P = 2, cell_type = CellType.hexahedron 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21, 5, 14, 19, 7, 16, 22, 24, 20, 8, 17, 23, 25, 26]) 203s element_numbers = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 203s finite_element_names = {Basix element (P, hexahedron, 2, gll_warped, unset, False, float64, [0, 9, 3, 12, 1, 10, 4, 13, 18, 6, 2, 15, 11, 21,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_c23367725b10640f4ed9428c5e1c4617fc2fc3f6'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ______________ test_bilinear_form[CellType.hexahedron-3-float32] _______________ 203s 203s dtype = 'float32', P = 3, cell_type = CellType.hexahedron 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3, ...4, 60, 34, 50, 35, 51, 10, 14, 11, 15, 26, 30, 27, 31, 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]) 203s element_numbers = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 203s finite_element_names = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_a410401184bf19b72b1a8a65cc7ca63f31de1aa4'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s ______________ test_bilinear_form[CellType.hexahedron-3-float64] _______________ 203s 203s dtype = 'float64', P = 3, cell_type = CellType.hexahedron 203s 203s @pytest.mark.parametrize("dtype", ["float32", "float64"]) 203s @pytest.mark.parametrize("P", [1, 2, 3]) 203s @pytest.mark.parametrize("cell_type", [basix.CellType.quadrilateral, basix.CellType.hexahedron]) 203s def test_bilinear_form(dtype, P, cell_type): 203s gdim = cell_to_gdim(cell_type) 203s element = create_tensor_product_element(cell_type, P, basix.LagrangeVariant.gll_warped) 203s coords = create_tensor_product_element( 203s cell_type, 1, basix.LagrangeVariant.gll_warped, shape=(gdim,) 203s ) 203s mesh = ufl.Mesh(coords) 203s V = ufl.FunctionSpace(mesh, element) 203s 203s u, v = ufl.TrialFunction(V), ufl.TestFunction(V) 203s a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx 203s 203s ndofs = element.dim 203s 203s A = np.zeros((ndofs, ndofs), dtype=dtype) 203s w = np.array([], dtype=dtype) 203s c = np.array([], dtype=dtype) 203s 203s xdtype = dtype_to_scalar_dtype(dtype) 203s if cell_type == basix.CellType.quadrilateral: 203s coords = np.array( 203s [[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 203s ) 203s elif cell_type == basix.CellType.hexahedron: 203s coords = np.array( 203s [ 203s [0.0, 0.0, 0.0], 203s [1.0, 0.0, 0.0], 203s [0.0, 1.0, 0.0], 203s [1.0, 1.0, 0.0], 203s [0.0, 0.0, 1.0], 203s [1.0, 0.0, 1.0], 203s [0.0, 1.0, 1.0], 203s [1.0, 1.0, 1.0], 203s ], 203s dtype=xdtype, 203s ) 203s 203s c_type = dtype_to_c_type(dtype) 203s c_xtype = dtype_to_c_type(xdtype) 203s > kernel, code, module = generate_kernel([a], dtype, options={"scalar_type": dtype}) 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:104: 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s /tmp/autopkgtest.XGtMcn/build.qof/src/test/test_tensor_product.py:43: in generate_kernel 203s compiled_forms, module, code = ffcx.codegeneration.jit.compile_forms( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:276: in compile_forms 203s raise e 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:256: in compile_forms 203s impl = _compile_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/codegeneration/jit.py:383: in _compile_objects 203s _, code_body = ffcx.compiler.compile_ufl_objects( 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/compiler.py:113: in compile_ufl_objects 203s ir = compute_ir(analysis, _object_names, _prefix, options, visualise) 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:215: in compute_ir 203s _compute_element_ir(e, analysis.element_numbers, finite_element_names) 203s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 203s 203s element = Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3, ...4, 60, 34, 50, 35, 51, 10, 14, 11, 15, 26, 30, 27, 31, 38, 54, 39, 55, 41, 57, 45, 61, 42, 58, 46, 62, 43, 59, 47, 63]) 203s element_numbers = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ocked element (Basix element (P, hexahedron, 1, gll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 2} 203s finite_element_names = {Basix element (P, hexahedron, 3, gll_warped, unset, False, float64, [0, 16, 4, 20, 1, 17, 5, 21, 32, 48, 8, 12, 2, 3,...ll_warped, unset, False, float64, [0, 4, 2, 6, 1, 5, 3, 7]), (3,)): 'element_eebe99271b26d239f81d2731552c1f8a3e0d14d5'} 203s 203s def _compute_element_ir(element, element_numbers, finite_element_names): 203s """Compute intermediate representation of element.""" 203s logger.info(f"Computing IR for element {element}") 203s 203s # Create basix elements 203s cell = element.cell 203s 203s # Store id 203s ir = {"id": element_numbers[element]} 203s ir["name"] = finite_element_names[element] 203s 203s # Compute data for each function 203s ir["signature"] = repr(element) 203s ir["cell_shape"] = element.cell_type.name 203s ir["topological_dimension"] = cell.topological_dimension() 203s ir["space_dimension"] = element.dim + element.num_global_support_dofs 203s > ir["element_type"] = element.ufcx_element_type 203s E AttributeError: '_BasixElement' object has no attribute 'ufcx_element_type' 203s 203s /tmp/autopkgtest.XGtMcn/build.qof/src/ffcx/ir/representation.py:293: AttributeError 203s =============================== warnings summary =============================== 203s test/test_jit_forms.py::test_facet_vertex_quadrature 203s /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. 203s warnings.warn( 203s 203s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 203s =========================== short test summary info ============================ 203s SKIPPED [4] test/test_signatures.py:41: Numba not installed 203s FAILED test/test_add_mode.py::test_additive_facet_integral[float32] - Attribu... 203s FAILED test/test_add_mode.py::test_additive_facet_integral[float64] - Attribu... 203s FAILED test/test_add_mode.py::test_additive_facet_integral[complex64] - Attri... 203s FAILED test/test_add_mode.py::test_additive_facet_integral[complex128] - Attr... 203s FAILED test/test_add_mode.py::test_additive_cell_integral[float32] - Attribut... 203s FAILED test/test_add_mode.py::test_additive_cell_integral[float64] - Attribut... 203s FAILED test/test_add_mode.py::test_additive_cell_integral[complex64] - Attrib... 203s FAILED test/test_add_mode.py::test_additive_cell_integral[complex128] - Attri... 203s FAILED test/test_blocked_elements.py::test_finite_element - AttributeError: '... 203s FAILED test/test_blocked_elements.py::test_vector_element - AttributeError: '... 203s FAILED test/test_blocked_elements.py::test_tensor_element - AttributeError: '... 203s FAILED test/test_blocked_elements.py::test_vector_quadrature_element - Attrib... 203s FAILED test/test_cache.py::test_cache_modes - AttributeError: '_BasixElement'... 203s FAILED test/test_cmdline.py::test_visualise - AssertionError: assert False 203s FAILED test/test_jit_expression.py::test_matvec - AttributeError: '_BasixElem... 203s FAILED test/test_jit_expression.py::test_rank1 - AttributeError: '_BasixEleme... 203s FAILED test/test_jit_expression.py::test_elimiate_zero_tables_tensor - Attrib... 203s FAILED test/test_jit_expression.py::test_facet_expression - AttributeError: m... 203s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[float64-expected_result0] 203s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_2d[complex128-expected_result1] 203s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float32-expected_result0] 203s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[float64-expected_result1] 203s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex128-expected_result2] 203s FAILED test/test_jit_forms.py::test_mass_bilinear_form_2d[complex64-expected_result3] 203s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[float64-expected_result0] 203s FAILED test/test_jit_forms.py::test_helmholtz_form_2d[complex128-expected_result1] 203s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[float64-expected_result0] 203s FAILED test/test_jit_forms.py::test_laplace_bilinear_form_3d[complex128-expected_result1] 203s FAILED test/test_jit_forms.py::test_form_coefficient - AttributeError: '_Basi... 203s FAILED test/test_jit_forms.py::test_subdomains - AttributeError: '_BasixEleme... 203s FAILED test/test_jit_forms.py::test_interior_facet_integral[float64] - Attrib... 203s FAILED test/test_jit_forms.py::test_interior_facet_integral[complex128] - Att... 203s FAILED test/test_jit_forms.py::test_conditional[float64] - AttributeError: '_... 203s FAILED test/test_jit_forms.py::test_conditional[complex128] - AttributeError:... 203s FAILED test/test_jit_forms.py::test_custom_quadrature - AttributeError: '_Bas... 203s FAILED test/test_jit_forms.py::test_curl_curl - AttributeError: '_BasixElemen... 203s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--0-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--1-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_triangle[1--2-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--0-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--1-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_triangle[2--2-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--0-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--1-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_triangle[3--2-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--0-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--1-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[1--2-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--0-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--1-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[2--2-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--0-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--1-float64] 203s FAILED test/test_jit_forms.py::test_lagrange_tetrahedron[3--2-float64] 203s FAILED test/test_jit_forms.py::test_prism - AttributeError: '_BasixElement' o... 203s FAILED test/test_jit_forms.py::test_complex_operations - AttributeError: '_Ba... 203s FAILED test/test_jit_forms.py::test_invalid_function_name - RuntimeError: Com... 203s FAILED test/test_jit_forms.py::test_interval_vertex_quadrature - AttributeErr... 203s FAILED test/test_jit_forms.py::test_facet_vertex_quadrature - AttributeError:... 203s FAILED test/test_jit_forms.py::test_manifold_derivatives - AttributeError: '_... 203s FAILED test/test_jit_forms.py::test_integral_grouping - AttributeError: '_Bas... 203s FAILED test/test_submesh.py::test_multiple_mesh_codim0[float64] - AttributeEr... 203s FAILED test/test_submesh.py::test_multiple_mesh_codim0[complex128] - Attribut... 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float32] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-1-float64] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float32] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-2-float64] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float32] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.quadrilateral-3-float64] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float32] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-1-float64] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float32] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-2-float64] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float32] 203s FAILED test/test_tensor_product.py::test_bilinear_form[CellType.hexahedron-3-float64] 203s ============= 75 failed, 8 passed, 4 skipped, 1 warning in 58.46s ============== 204s autopkgtest [07:37:23]: test command1: -----------------------] 204s command1 FAIL non-zero exit status 1 204s autopkgtest [07:37:23]: test command1: - - - - - - - - - - results - - - - - - - - - - 205s autopkgtest [07:37:24]: @@@@@@@@@@@@@@@@@@@@ summary 205s command1 FAIL non-zero exit status 1 217s nova [W] Skipping flock in bos03-arm64 217s Creating nova instance adt-plucky-arm64-fenics-ffcx-20241115-073359-juju-7f2275-prod-proposed-migration-environment-20-3398a5d6-3025-4b2d-b06d-52ef1ea6b0dc from image adt/ubuntu-plucky-arm64-server-20241115.img (UUID bf337bb2-b8c9-4fc7-87ba-f6e99408dba6)...