0s autopkgtest [19:21:47]: starting date and time: 2024-03-16 19:21:47+0000 0s autopkgtest [19:21:47]: git checkout: b506e79c ssh-setup/nova: fix ARCH having two lines of data 0s autopkgtest [19:21:47]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.baabl56c/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:r-base,src:curl,src:glib2.0,src:libpng1.6,src:libpsl,src:libtirpc,src:libxt,src:openssl,src:orthanc-python,src:readline,src:wp2latex --apt-upgrade r-cran-nleqslv --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=r-base/4.3.3-2build1 curl/8.5.0-2ubuntu7 glib2.0/2.79.3-3ubuntu5 libpng1.6/1.6.43-3 libpsl/0.21.2-1.1 libtirpc/1.3.4+ds-1.1 libxt/1:1.2.1-1.2 openssl/3.0.13-0ubuntu1 orthanc-python/4.1+ds-2build3 readline/8.2-3.1 wp2latex/4.4~ds-1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos03-arm64-25.secgroup --name adt-noble-arm64-r-cran-nleqslv-20240316-192147-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 93s autopkgtest [19:23:20]: testbed dpkg architecture: arm64 93s autopkgtest [19:23:20]: testbed apt version: 2.7.12 93s autopkgtest [19:23:20]: @@@@@@@@@@@@@@@@@@@@ test bed setup 94s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 95s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [474 kB] 95s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB] 95s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 95s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3657 kB] 96s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [646 kB] 96s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 96s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [33.6 kB] 96s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 96s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4013 kB] 96s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 96s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [55.5 kB] 96s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 98s Fetched 9065 kB in 3s (3291 kB/s) 98s Reading package lists... 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 101s Calculating upgrade... 102s The following packages will be REMOVED: 102s libglib2.0-0 libssl3 102s The following NEW packages will be installed: 102s libglib2.0-0t64 libssl3t64 xdg-user-dirs 102s The following packages have been kept back: 102s curl 102s The following packages will be upgraded: 102s gir1.2-glib-2.0 libglib2.0-data libtirpc-common openssl readline-common 102s ubuntu-minimal ubuntu-standard 102s 7 upgraded, 3 newly installed, 2 to remove and 1 not upgraded. 102s Need to get 4613 kB of archives. 102s After this operation, 211 kB of additional disk space will be used. 102s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu5 [182 kB] 102s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu5 [1527 kB] 103s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu1 [983 kB] 103s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu1 [1770 kB] 103s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 103s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtirpc-common all 1.3.4+ds-1.1 [8018 B] 103s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 readline-common all 8.2-3.1 [56.4 kB] 103s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-minimal arm64 1.536 [10.7 kB] 103s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 103s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-standard arm64 1.536 [10.7 kB] 103s Fetched 4613 kB in 1s (4845 kB/s) 104s (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 ... 74758 files and directories currently installed.) 104s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_arm64.deb ... 104s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 104s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 104s udisks2 depends on libglib2.0-0 (>= 2.77.0). 104s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 104s python3-gi depends on libglib2.0-0 (>= 2.77.0). 104s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 104s netplan.io depends on libglib2.0-0 (>= 2.70.0). 104s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 104s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 104s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 104s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 104s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 104s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 104s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 104s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 104s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 104s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 104s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 104s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 104s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 104s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 104s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 104s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 104s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 104s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 104s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 104s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 104s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 104s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 104s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 104s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 104s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 104s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 104s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 104s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 104s fwupd depends on libglib2.0-0 (>= 2.79.0). 104s bolt depends on libglib2.0-0 (>= 2.56.0). 104s 104s (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 ... 74758 files and directories currently installed.) 104s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 104s Selecting previously unselected package libglib2.0-0t64:arm64. 104s (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 ... 74733 files and directories currently installed.) 104s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_arm64.deb ... 104s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:arm64.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 104s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 104s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 104s Preparing to unpack .../openssl_3.0.13-0ubuntu1_arm64.deb ... 104s Unpacking openssl (3.0.13-0ubuntu1) over (3.0.10-1ubuntu4) ... 104s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 104s wget depends on libssl3 (>= 3.0.0). 104s u-boot-tools depends on libssl3 (>= 3.0.0). 104s tnftp depends on libssl3 (>= 3.0.0). 104s tcpdump depends on libssl3 (>= 3.0.0). 104s systemd-resolved depends on libssl3 (>= 3.0.0). 104s systemd depends on libssl3 (>= 3.0.0). 104s sudo depends on libssl3 (>= 3.0.0). 104s sbsigntool depends on libssl3 (>= 3.0.0). 104s rsync depends on libssl3 (>= 3.0.0). 104s python3-cryptography depends on libssl3 (>= 3.0.0). 104s openssh-server depends on libssl3 (>= 3.0.10). 104s openssh-client depends on libssl3 (>= 3.0.10). 104s mtd-utils depends on libssl3 (>= 3.0.0). 104s mokutil depends on libssl3 (>= 3.0.0). 104s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 104s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 104s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 104s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 104s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 104s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 104s libnvme1 depends on libssl3 (>= 3.0.0). 104s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 104s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 104s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 104s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 104s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 104s kmod depends on libssl3 (>= 3.0.0). 104s dhcpcd-base depends on libssl3 (>= 3.0.0). 104s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 104s 104s (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 ... 74758 files and directories currently installed.) 104s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 104s Selecting previously unselected package libssl3t64:arm64. 104s (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 ... 74747 files and directories currently installed.) 104s Preparing to unpack .../0-libssl3t64_3.0.13-0ubuntu1_arm64.deb ... 104s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu1) ... 104s Preparing to unpack .../1-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 104s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 104s Preparing to unpack .../2-libtirpc-common_1.3.4+ds-1.1_all.deb ... 104s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 104s Preparing to unpack .../3-readline-common_8.2-3.1_all.deb ... 104s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 104s Preparing to unpack .../4-ubuntu-minimal_1.536_arm64.deb ... 104s Unpacking ubuntu-minimal (1.536) over (1.535) ... 104s Selecting previously unselected package xdg-user-dirs. 104s Preparing to unpack .../5-xdg-user-dirs_0.18-1_arm64.deb ... 104s Unpacking xdg-user-dirs (0.18-1) ... 104s Preparing to unpack .../6-ubuntu-standard_1.536_arm64.deb ... 104s Unpacking ubuntu-standard (1.536) over (1.535) ... 104s Setting up ubuntu-minimal (1.536) ... 104s Setting up xdg-user-dirs (0.18-1) ... 104s Setting up libssl3t64:arm64 (3.0.13-0ubuntu1) ... 104s Setting up libtirpc-common (1.3.4+ds-1.1) ... 104s Setting up ubuntu-standard (1.536) ... 104s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 104s No schema files found: doing nothing. 104s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 104s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 104s Setting up openssl (3.0.13-0ubuntu1) ... 104s Setting up readline-common (8.2-3.1) ... 104s Processing triggers for man-db (2.12.0-3) ... 105s Processing triggers for install-info (7.1-3) ... 105s Processing triggers for libc-bin (2.39-0ubuntu2) ... 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 106s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 107s sh: Attempting to set up Debian/Ubuntu apt sources automatically 107s sh: Distribution appears to be Ubuntu 108s Reading package lists... 108s Building dependency tree... 108s Reading state information... 108s eatmydata is already the newest version (131-1). 108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s dbus is already the newest version (1.14.10-4ubuntu1). 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s rng-tools-debian is already the newest version (2.4). 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s Reading package lists... 111s Building dependency tree... 111s Reading state information... 111s The following packages will be REMOVED: 111s cloud-init* python3-configobj* python3-debconf* 111s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 111s After this operation, 3252 kB disk space will be freed. 112s (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 ... 74774 files and directories currently installed.) 112s Removing cloud-init (24.1.1-0ubuntu1) ... 112s Removing python3-configobj (5.0.8-3) ... 112s Removing python3-debconf (1.5.86) ... 112s Processing triggers for man-db (2.12.0-3) ... 113s (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 ... 74385 files and directories currently installed.) 113s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 113s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 113s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 113s invoke-rc.d: policy-rc.d denied execution of try-restart. 114s Reading package lists... 114s Building dependency tree... 114s Reading state information... 114s linux-generic is already the newest version (6.8.0-11.11+1). 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 115s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 115s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 117s Reading package lists... 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s Calculating upgrade... 119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 120s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s autopkgtest [19:23:48]: rebooting testbed after setup commands that affected boot 147s autopkgtest [19:24:14]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 150s autopkgtest [19:24:17]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-nleqslv 153s Get:1 http://ftpmaster.internal/ubuntu noble/universe r-cran-nleqslv 3.3.5-1 (dsc) [2073 B] 153s Get:2 http://ftpmaster.internal/ubuntu noble/universe r-cran-nleqslv 3.3.5-1 (tar) [82.5 kB] 153s Get:3 http://ftpmaster.internal/ubuntu noble/universe r-cran-nleqslv 3.3.5-1 (diff) [2444 B] 154s gpgv: Signature made Mon Nov 27 19:33:07 2023 UTC 154s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 154s gpgv: issuer "tille@debian.org" 154s gpgv: Can't check signature: No public key 154s dpkg-source: warning: cannot verify inline signature for ./r-cran-nleqslv_3.3.5-1.dsc: no acceptable signature found 154s autopkgtest [19:24:21]: testing package r-cran-nleqslv version 3.3.5-1 154s autopkgtest [19:24:21]: build not needed 155s autopkgtest [19:24:22]: test generic: preparing testbed 156s Reading package lists... 157s Building dependency tree... 157s Reading state information... 157s Starting pkgProblemResolver with broken count: 0 157s Starting 2 pkgProblemResolver with broken count: 0 157s Done 157s The following additional packages will be installed: 157s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono libblas3 157s libcairo2 libdatrie1 libdeflate0 libfontconfig1 libgfortran5 libgomp1 157s libgraphite2-3 libharfbuzz0b libice6 libjbig0 libjpeg-turbo8 libjpeg8 157s liblapack3 liblerc4 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 157s libpaper-utils libpaper1 libpixman-1-0 libsharpyuv0 libsm6 libtcl8.6 157s libthai-data libthai0 libtiff6 libtk8.6 libwebp7 libxcb-render0 libxcb-shm0 157s libxft2 libxrender1 libxss1 libxt6 r-base-core r-cran-nleqslv unzip 157s x11-common xdg-utils zip 157s Suggested packages: 157s tcl8.6 tk8.6 elpa-ess r-doc-info | r-doc-pdf r-mathlib r-base-html 157s Recommended packages: 157s r-recommended r-base-dev r-doc-html libfile-mimeinfo-perl libnet-dbus-perl 157s libx11-protocol-perl x11-utils x11-xserver-utils 158s The following NEW packages will be installed: 158s autopkgtest-satdep fontconfig fontconfig-config fonts-dejavu-core 158s fonts-dejavu-mono libblas3 libcairo2 libdatrie1 libdeflate0 libfontconfig1 158s libgfortran5 libgomp1 libgraphite2-3 libharfbuzz0b libice6 libjbig0 158s libjpeg-turbo8 libjpeg8 liblapack3 liblerc4 libpango-1.0-0 158s libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpixman-1-0 158s libsharpyuv0 libsm6 libtcl8.6 libthai-data libthai0 libtiff6 libtk8.6 158s libwebp7 libxcb-render0 libxcb-shm0 libxft2 libxrender1 libxss1 libxt6 158s r-base-core r-cran-nleqslv unzip x11-common xdg-utils zip 158s 0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded. 158s Need to get 36.7 MB/36.7 MB of archives. 158s After this operation, 75.5 MB of additional disk space will be used. 158s Get:1 /tmp/autopkgtest.dzVsrA/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [712 B] 158s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB] 158s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-core all 2.37-8 [835 kB] 158s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 fontconfig-config arm64 2.15.0-1ubuntu1 [37.0 kB] 158s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libfontconfig1 arm64 2.15.0-1ubuntu1 [142 kB] 158s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 fontconfig arm64 2.15.0-1ubuntu1 [190 kB] 158s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libblas3 arm64 3.12.0-3 [143 kB] 158s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 158s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-render0 arm64 1.15-1 [16.1 kB] 158s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 158s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 158s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libcairo2 arm64 1.18.0-1 [550 kB] 158s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libdatrie1 arm64 0.2.13-3 [21.7 kB] 158s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libdeflate0 arm64 1.19-1 [43.4 kB] 158s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libgfortran5 arm64 14-20240303-1ubuntu1 [444 kB] 158s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB] 158s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libgraphite2-3 arm64 1.3.14-2 [81.5 kB] 158s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libharfbuzz0b arm64 8.3.0-2 [463 kB] 158s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 158s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] 158s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-turbo8 arm64 2.1.5-2ubuntu1 [160 kB] 158s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B] 158s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 liblapack3 arm64 3.12.0-3 [2241 kB] 159s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 liblerc4 arm64 4.0.0+ds-4ubuntu1 [153 kB] 159s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 libthai-data all 0.1.29-2 [158 kB] 159s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 libthai0 arm64 0.1.29-2 [18.1 kB] 159s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libpango-1.0-0 arm64 1.51.0+ds-4 [226 kB] 159s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libpangoft2-1.0-0 arm64 1.51.0+ds-4 [41.2 kB] 159s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libpangocairo-1.0-0 arm64 1.51.0+ds-4 [27.6 kB] 159s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libpaper1 arm64 1.1.29 [13.1 kB] 159s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libpaper-utils arm64 1.1.29 [8480 B] 159s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libsharpyuv0 arm64 1.3.2-0.4 [14.4 kB] 159s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] 159s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libtcl8.6 arm64 8.6.13+dfsg-2 [980 kB] 159s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libjbig0 arm64 2.1-6.1ubuntu1 [28.9 kB] 159s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libwebp7 arm64 1.3.2-0.4 [191 kB] 159s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libtiff6 arm64 4.5.1+git230720-3ubuntu1 [226 kB] 159s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libxft2 arm64 2.3.6-1 [43.3 kB] 159s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libxss1 arm64 1:1.2.3-1build2 [8252 B] 159s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libtk8.6 arm64 8.6.13-2 [760 kB] 159s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libxt6 arm64 1:1.2.1-1.1 [167 kB] 159s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 zip arm64 3.0-13 [172 kB] 159s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 unzip arm64 6.0-28ubuntu3 [171 kB] 159s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-utils all 1.1.3-4.1ubuntu3 [62.0 kB] 159s Get:45 http://ftpmaster.internal/ubuntu noble/universe arm64 r-base-core arm64 4.3.2-1build1 [26.8 MB] 160s Get:46 http://ftpmaster.internal/ubuntu noble/universe arm64 r-cran-nleqslv arm64 3.3.5-1 [101 kB] 160s Preconfiguring packages ... 161s Fetched 36.7 MB in 2s (16.7 MB/s) 161s Selecting previously unselected package fonts-dejavu-mono. 161s (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 ... 74330 files and directories currently installed.) 161s Preparing to unpack .../00-fonts-dejavu-mono_2.37-8_all.deb ... 161s Unpacking fonts-dejavu-mono (2.37-8) ... 161s Selecting previously unselected package fonts-dejavu-core. 161s Preparing to unpack .../01-fonts-dejavu-core_2.37-8_all.deb ... 161s Unpacking fonts-dejavu-core (2.37-8) ... 161s Selecting previously unselected package fontconfig-config. 161s Preparing to unpack .../02-fontconfig-config_2.15.0-1ubuntu1_arm64.deb ... 161s Unpacking fontconfig-config (2.15.0-1ubuntu1) ... 161s Selecting previously unselected package libfontconfig1:arm64. 161s Preparing to unpack .../03-libfontconfig1_2.15.0-1ubuntu1_arm64.deb ... 161s Unpacking libfontconfig1:arm64 (2.15.0-1ubuntu1) ... 161s Selecting previously unselected package fontconfig. 161s Preparing to unpack .../04-fontconfig_2.15.0-1ubuntu1_arm64.deb ... 161s Unpacking fontconfig (2.15.0-1ubuntu1) ... 162s Selecting previously unselected package libblas3:arm64. 162s Preparing to unpack .../05-libblas3_3.12.0-3_arm64.deb ... 162s Unpacking libblas3:arm64 (3.12.0-3) ... 162s Selecting previously unselected package libpixman-1-0:arm64. 162s Preparing to unpack .../06-libpixman-1-0_0.42.2-1_arm64.deb ... 162s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 162s Selecting previously unselected package libxcb-render0:arm64. 162s Preparing to unpack .../07-libxcb-render0_1.15-1_arm64.deb ... 162s Unpacking libxcb-render0:arm64 (1.15-1) ... 162s Selecting previously unselected package libxcb-shm0:arm64. 162s Preparing to unpack .../08-libxcb-shm0_1.15-1_arm64.deb ... 162s Unpacking libxcb-shm0:arm64 (1.15-1) ... 162s Selecting previously unselected package libxrender1:arm64. 162s Preparing to unpack .../09-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 162s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 162s Selecting previously unselected package libcairo2:arm64. 162s Preparing to unpack .../10-libcairo2_1.18.0-1_arm64.deb ... 162s Unpacking libcairo2:arm64 (1.18.0-1) ... 162s Selecting previously unselected package libdatrie1:arm64. 162s Preparing to unpack .../11-libdatrie1_0.2.13-3_arm64.deb ... 162s Unpacking libdatrie1:arm64 (0.2.13-3) ... 162s Selecting previously unselected package libdeflate0:arm64. 162s Preparing to unpack .../12-libdeflate0_1.19-1_arm64.deb ... 162s Unpacking libdeflate0:arm64 (1.19-1) ... 162s Selecting previously unselected package libgfortran5:arm64. 162s Preparing to unpack .../13-libgfortran5_14-20240303-1ubuntu1_arm64.deb ... 162s Unpacking libgfortran5:arm64 (14-20240303-1ubuntu1) ... 162s Selecting previously unselected package libgomp1:arm64. 162s Preparing to unpack .../14-libgomp1_14-20240303-1ubuntu1_arm64.deb ... 162s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ... 162s Selecting previously unselected package libgraphite2-3:arm64. 162s Preparing to unpack .../15-libgraphite2-3_1.3.14-2_arm64.deb ... 162s Unpacking libgraphite2-3:arm64 (1.3.14-2) ... 162s Selecting previously unselected package libharfbuzz0b:arm64. 162s Preparing to unpack .../16-libharfbuzz0b_8.3.0-2_arm64.deb ... 162s Unpacking libharfbuzz0b:arm64 (8.3.0-2) ... 162s Selecting previously unselected package x11-common. 162s Preparing to unpack .../17-x11-common_1%3a7.7+23ubuntu2_all.deb ... 162s Unpacking x11-common (1:7.7+23ubuntu2) ... 162s Selecting previously unselected package libice6:arm64. 162s Preparing to unpack .../18-libice6_2%3a1.0.10-1build2_arm64.deb ... 162s Unpacking libice6:arm64 (2:1.0.10-1build2) ... 162s Selecting previously unselected package libjpeg-turbo8:arm64. 162s Preparing to unpack .../19-libjpeg-turbo8_2.1.5-2ubuntu1_arm64.deb ... 162s Unpacking libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ... 162s Selecting previously unselected package libjpeg8:arm64. 162s Preparing to unpack .../20-libjpeg8_8c-2ubuntu11_arm64.deb ... 162s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ... 162s Selecting previously unselected package liblapack3:arm64. 162s Preparing to unpack .../21-liblapack3_3.12.0-3_arm64.deb ... 162s Unpacking liblapack3:arm64 (3.12.0-3) ... 162s Selecting previously unselected package liblerc4:arm64. 163s Preparing to unpack .../22-liblerc4_4.0.0+ds-4ubuntu1_arm64.deb ... 163s Unpacking liblerc4:arm64 (4.0.0+ds-4ubuntu1) ... 163s Selecting previously unselected package libthai-data. 163s Preparing to unpack .../23-libthai-data_0.1.29-2_all.deb ... 163s Unpacking libthai-data (0.1.29-2) ... 163s Selecting previously unselected package libthai0:arm64. 163s Preparing to unpack .../24-libthai0_0.1.29-2_arm64.deb ... 163s Unpacking libthai0:arm64 (0.1.29-2) ... 163s Selecting previously unselected package libpango-1.0-0:arm64. 163s Preparing to unpack .../25-libpango-1.0-0_1.51.0+ds-4_arm64.deb ... 163s Unpacking libpango-1.0-0:arm64 (1.51.0+ds-4) ... 163s Selecting previously unselected package libpangoft2-1.0-0:arm64. 163s Preparing to unpack .../26-libpangoft2-1.0-0_1.51.0+ds-4_arm64.deb ... 163s Unpacking libpangoft2-1.0-0:arm64 (1.51.0+ds-4) ... 163s Selecting previously unselected package libpangocairo-1.0-0:arm64. 163s Preparing to unpack .../27-libpangocairo-1.0-0_1.51.0+ds-4_arm64.deb ... 163s Unpacking libpangocairo-1.0-0:arm64 (1.51.0+ds-4) ... 164s Selecting previously unselected package libpaper1:arm64. 164s Preparing to unpack .../28-libpaper1_1.1.29_arm64.deb ... 164s Unpacking libpaper1:arm64 (1.1.29) ... 164s Selecting previously unselected package libpaper-utils. 164s Preparing to unpack .../29-libpaper-utils_1.1.29_arm64.deb ... 164s Unpacking libpaper-utils (1.1.29) ... 164s Selecting previously unselected package libsharpyuv0:arm64. 164s Preparing to unpack .../30-libsharpyuv0_1.3.2-0.4_arm64.deb ... 164s Unpacking libsharpyuv0:arm64 (1.3.2-0.4) ... 164s Selecting previously unselected package libsm6:arm64. 164s Preparing to unpack .../31-libsm6_2%3a1.2.3-1build2_arm64.deb ... 164s Unpacking libsm6:arm64 (2:1.2.3-1build2) ... 164s Selecting previously unselected package libtcl8.6:arm64. 164s Preparing to unpack .../32-libtcl8.6_8.6.13+dfsg-2_arm64.deb ... 164s Unpacking libtcl8.6:arm64 (8.6.13+dfsg-2) ... 164s Selecting previously unselected package libjbig0:arm64. 164s Preparing to unpack .../33-libjbig0_2.1-6.1ubuntu1_arm64.deb ... 164s Unpacking libjbig0:arm64 (2.1-6.1ubuntu1) ... 164s Selecting previously unselected package libwebp7:arm64. 164s Preparing to unpack .../34-libwebp7_1.3.2-0.4_arm64.deb ... 164s Unpacking libwebp7:arm64 (1.3.2-0.4) ... 164s Selecting previously unselected package libtiff6:arm64. 164s Preparing to unpack .../35-libtiff6_4.5.1+git230720-3ubuntu1_arm64.deb ... 164s Unpacking libtiff6:arm64 (4.5.1+git230720-3ubuntu1) ... 164s Selecting previously unselected package libxft2:arm64. 164s Preparing to unpack .../36-libxft2_2.3.6-1_arm64.deb ... 164s Unpacking libxft2:arm64 (2.3.6-1) ... 164s Selecting previously unselected package libxss1:arm64. 164s Preparing to unpack .../37-libxss1_1%3a1.2.3-1build2_arm64.deb ... 164s Unpacking libxss1:arm64 (1:1.2.3-1build2) ... 164s Selecting previously unselected package libtk8.6:arm64. 164s Preparing to unpack .../38-libtk8.6_8.6.13-2_arm64.deb ... 164s Unpacking libtk8.6:arm64 (8.6.13-2) ... 164s Selecting previously unselected package libxt6:arm64. 164s Preparing to unpack .../39-libxt6_1%3a1.2.1-1.1_arm64.deb ... 164s Unpacking libxt6:arm64 (1:1.2.1-1.1) ... 164s Selecting previously unselected package zip. 164s Preparing to unpack .../40-zip_3.0-13_arm64.deb ... 164s Unpacking zip (3.0-13) ... 164s Selecting previously unselected package unzip. 164s Preparing to unpack .../41-unzip_6.0-28ubuntu3_arm64.deb ... 164s Unpacking unzip (6.0-28ubuntu3) ... 164s Selecting previously unselected package xdg-utils. 164s Preparing to unpack .../42-xdg-utils_1.1.3-4.1ubuntu3_all.deb ... 164s Unpacking xdg-utils (1.1.3-4.1ubuntu3) ... 164s Selecting previously unselected package r-base-core. 165s Preparing to unpack .../43-r-base-core_4.3.2-1build1_arm64.deb ... 165s Unpacking r-base-core (4.3.2-1build1) ... 165s Selecting previously unselected package r-cran-nleqslv. 165s Preparing to unpack .../44-r-cran-nleqslv_3.3.5-1_arm64.deb ... 165s Unpacking r-cran-nleqslv (3.3.5-1) ... 165s Selecting previously unselected package autopkgtest-satdep. 165s Preparing to unpack .../45-1-autopkgtest-satdep.deb ... 165s Unpacking autopkgtest-satdep (0) ... 165s Setting up libgraphite2-3:arm64 (1.3.14-2) ... 165s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 165s Setting up libsharpyuv0:arm64 (1.3.2-0.4) ... 165s Setting up libpaper1:arm64 (1.1.29) ... 166s 166s Creating config file /etc/papersize with new version 166s Setting up liblerc4:arm64 (4.0.0+ds-4ubuntu1) ... 166s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 166s Setting up libdatrie1:arm64 (0.2.13-3) ... 166s Setting up libxcb-render0:arm64 (1.15-1) ... 166s Setting up unzip (6.0-28ubuntu3) ... 166s Setting up x11-common (1:7.7+23ubuntu2) ... 166s Setting up libdeflate0:arm64 (1.19-1) ... 166s Setting up libxcb-shm0:arm64 (1.15-1) ... 167s Setting up libpaper-utils (1.1.29) ... 167s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ... 167s Setting up libjbig0:arm64 (2.1-6.1ubuntu1) ... 167s Setting up zip (3.0-13) ... 167s Setting up libblas3:arm64 (3.12.0-3) ... 167s 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 167s Setting up fonts-dejavu-mono (2.37-8) ... 167s Setting up libtcl8.6:arm64 (8.6.13+dfsg-2) ... 167s Setting up fonts-dejavu-core (2.37-8) ... 167s Setting up libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ... 167s Setting up libgfortran5:arm64 (14-20240303-1ubuntu1) ... 167s Setting up libwebp7:arm64 (1.3.2-0.4) ... 167s Setting up libharfbuzz0b:arm64 (8.3.0-2) ... 167s Setting up libthai-data (0.1.29-2) ... 167s Setting up libxss1:arm64 (1:1.2.3-1build2) ... 167s Setting up xdg-utils (1.1.3-4.1ubuntu3) ... 167s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 167s Setting up libjpeg8:arm64 (8c-2ubuntu11) ... 167s Setting up libice6:arm64 (2:1.0.10-1build2) ... 167s Setting up liblapack3:arm64 (3.12.0-3) ... 167s 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 167s Setting up fontconfig-config (2.15.0-1ubuntu1) ... 167s Setting up libthai0:arm64 (0.1.29-2) ... 167s Setting up libtiff6:arm64 (4.5.1+git230720-3ubuntu1) ... 167s Setting up libfontconfig1:arm64 (2.15.0-1ubuntu1) ... 167s Setting up libsm6:arm64 (2:1.2.3-1build2) ... 167s Setting up fontconfig (2.15.0-1ubuntu1) ... 169s Regenerating fonts cache... done. 169s Setting up libxft2:arm64 (2.3.6-1) ... 169s Setting up libtk8.6:arm64 (8.6.13-2) ... 169s Setting up libpango-1.0-0:arm64 (1.51.0+ds-4) ... 169s Setting up libcairo2:arm64 (1.18.0-1) ... 169s Setting up libxt6:arm64 (1:1.2.1-1.1) ... 169s Setting up libpangoft2-1.0-0:arm64 (1.51.0+ds-4) ... 169s Setting up libpangocairo-1.0-0:arm64 (1.51.0+ds-4) ... 169s Setting up r-base-core (4.3.2-1build1) ... 169s 169s Creating config file /etc/R/Renviron with new version 169s Setting up r-cran-nleqslv (3.3.5-1) ... 169s Setting up autopkgtest-satdep (0) ... 169s Processing triggers for man-db (2.12.0-3) ... 170s Processing triggers for install-info (7.1-3) ... 171s Processing triggers for libc-bin (2.39-0ubuntu2) ... 175s (Reading database ... 76367 files and directories currently installed.) 175s Removing autopkgtest-satdep (0) ... 176s autopkgtest [19:24:43]: test generic: [----------------------- 176s BEGIN TEST tests/brdban.R 176s 176s R version 4.3.2 (2023-10-31) -- "Eye Holes" 176s Copyright (C) 2023 The R Foundation for Statistical Computing 176s Platform: aarch64-unknown-linux-gnu (64-bit) 176s 176s R is free software and comes with ABSOLUTELY NO WARRANTY. 176s You are welcome to redistribute it under certain conditions. 176s Type 'license()' or 'licence()' for distribution details. 176s 176s R is a collaborative project with many contributors. 176s Type 'contributors()' for more information and 176s 'citation()' on how to cite R or R packages in publications. 176s 176s Type 'demo()' for some demos, 'help()' for on-line help, or 176s 'help.start()' for an HTML browser interface to help. 176s Type 'q()' to quit R. 176s 176s > # Broyden banded function 176s > 176s > library("nleqslv") 176s > 176s > brdban <- function(x) { 176s + ml <- 5 176s + mu <- 1 176s + n <- length(x) 176s + y <- numeric(n) 176s + 176s + for( k in 1:n ) { 176s + 176s + k1 <- max(1, k - ml) 176s + k2 <- min(n, k + mu) 176s + 176s + temp = 0.0 176s + for(j in k1:k2) { 176s + if ( j != k ) { 176s + temp <- temp + x[j] * (1.0 + x[j]) 176s + } 176s + } 176s + 176s + y[k] <- x[k] * (2.0 + 5.0 * x[k]**2) + 1.0 - temp 176s + 176s + } 176s + y 176s + } 176s > 176s > n <- 10 176s > xstart <- -rep(1,n) 176s > 176s > xsol <- c( -0.42830, -0.47660, -0.51965, -0.55810, -0.59251, 176s + -0.62450, -0.62324, -0.62139, -0.62045, -0.58647 ) 176s > 176s > fsol <- brdban(xsol) 176s > 176s > znlq <- nleqslv(xstart, brdban, global="dbldog", method="Newton", 176s + control=list(trace=0,ftol=1e-8,xtol=1e-8,btol=1e-2,delta=-1.0)) 176s > znlq$termcd # should be 2 for x values within tolerance 176s [1] 1 176s > all(abs(znlq$fvec)<=1e-7) # may not have achieved ftol 176s [1] TRUE 176s > 176s > xstart <- -2*rep(1,n) 176s > znlq <- nleqslv(xstart, brdban, global="dbldog", method="Newton", 176s + control=list(trace=0,ftol=1e-8,xtol=1e-8,btol=1e-2,delta=-1.0)) 176s > znlq$termcd 176s [1] 1 176s > all(abs(znlq$fvec)<=1e-8) 176s [1] TRUE 176s > 176s > znlq <- nleqslv(xstart, brdban, global="dbldog", 176s + control=list(trace=0,ftol=1e-8,xtol=1e-8,btol=1e-2,delta=-1.0)) 176s > znlq$termcd # should be 2 for x values within tolerance 176s [1] 1 176s > all(abs(znlq$fvec)<=1e-7) # may not have achieved ftol 176s [1] TRUE 176s > 176s > xstart <- -2*rep(1,n) 176s > znlq <- nleqslv(xstart, brdban, global="dbldog", 176s + control=list(trace=0,ftol=1e-8,xtol=1e-8,btol=1e-2,delta=-1.0)) 176s > znlq$termcd 176s [1] 1 176s > all(abs(znlq$fvec)<=1e-8) 176s [1] TRUE 176s > 176s BEGIN TEST tests/brdbanded.R 176s 176s R version 4.3.2 (2023-10-31) -- "Eye Holes" 176s Copyright (C) 2023 The R Foundation for Statistical Computing 176s Platform: aarch64-unknown-linux-gnu (64-bit) 176s 176s R is free software and comes with ABSOLUTELY NO WARRANTY. 176s You are welcome to redistribute it under certain conditions. 176s Type 'license()' or 'licence()' for distribution details. 176s 176s R is a collaborative project with many contributors. 176s Type 'contributors()' for more information and 176s 'citation()' on how to cite R or R packages in publications. 176s 176s Type 'demo()' for some demos, 'help()' for on-line help, or 176s 'help.start()' for an HTML browser interface to help. 176s Type 'q()' to quit R. 176s 176s > # Broyden banded 176s > 176s > library("nleqslv") 176s > 176s > brdban <- function(x,ml=5,mu=1) { 176s + n <- length(x) 176s + y <- numeric(n) 176s + 176s + for( k in 1:n ) { 176s + 176s + k1 <- max(1, k - ml) 176s + k2 <- min(n, k + mu) 176s + 176s + temp <- 0.0 176s + for(j in k1:k2) { 176s + if ( j != k ) { 176s + temp <- temp + x[j] * (1.0 + x[j]) 176s + } 176s + } 176s + 176s + y[k] <- x[k] * (2.0 + 5.0 * x[k]**2) + 1.0 - temp 176s + 176s + } 176s + y 176s + } 176s > 176s > n <- 10 176s > xstart <- -rep(1,n) 176s > ztol <- 1000*.Machine$double.eps 176s > 176s > z1 <- nleqslv(xstart,brdban, method="Newton") 177s > z2 <- nleqslv(xstart,brdban, method="Newton", control=list(dsub=5,dsuper=1)) 177s > 177s > cat("z1 termcd=",z1$termcd, "jcnt,fcnt=",z1$njcnt,z1$nfcnt,"\n") 177s z1 termcd= 1 jcnt,fcnt= 5 5 177s > cat("z2 termcd=",z2$termcd, "jcnt,fcnt=",z2$njcnt,z2$nfcnt,"\n") 177s z2 termcd= 1 jcnt,fcnt= 5 5 177s > z1$message 177s [1] "Function criterion near zero" 177s > z2$message 177s [1] "Function criterion near zero" 177s > all.equal(z2$x,z1$x) 177s [1] TRUE 177s > all.equal(z2$x,z1$x, tolerance=ztol) 177s [1] TRUE 177s > 177s > z1 <- nleqslv(xstart,brdban, ml=2,mu=2, method="Newton") 177s > z2 <- nleqslv(xstart,brdban, ml=2,mu=2, method="Newton", control=list(dsub=2,dsuper=2)) 177s > 177s > cat("z1 termcd=",z1$termcd, "jcnt,fcnt=",z1$njcnt,z1$nfcnt,"\n") 177s z1 termcd= 1 jcnt,fcnt= 5 5 177s > cat("z2 termcd=",z2$termcd, "jcnt,fcnt=",z2$njcnt,z2$nfcnt,"\n") 177s z2 termcd= 1 jcnt,fcnt= 5 5 177s > z1$message 177s [1] "Function criterion near zero" 177s > z2$message 177s [1] "Function criterion near zero" 177s > all.equal(z2$x,z1$x, tolerance=ztol) 177s [1] TRUE 177s > 177s > z3 <- nleqslv(xstart,brdban, ml=2,mu=2, method="Broyden") 177s > z4 <- nleqslv(xstart,brdban, ml=2,mu=2, method="Broyden", control=list(dsub=2,dsuper=2)) 177s > 177s > cat("z3 termcd=",z1$termcd, "jcnt,fcnt=",z3$njcnt,z3$nfcnt,"\n") 177s z3 termcd= 1 jcnt,fcnt= 1 20 177s > cat("z4 termcd=",z2$termcd, "jcnt,fcnt=",z4$njcnt,z4$nfcnt,"\n") 177s z4 termcd= 1 jcnt,fcnt= 1 20 177s > z3$message 177s [1] "Function criterion near zero" 177s > z4$message 177s [1] "Function criterion near zero" 177s > all.equal(z3$x,z1$x) 177s [1] TRUE 177s > all.equal(z4$x,z1$x) 177s [1] TRUE 177s > all.equal(z4$x,z3$x, tolerance=ztol) 177s [1] TRUE 177s > 177s BEGIN TEST tests/brdtri.R 177s 177s R version 4.3.2 (2023-10-31) -- "Eye Holes" 177s Copyright (C) 2023 The R Foundation for Statistical Computing 177s Platform: aarch64-unknown-linux-gnu (64-bit) 177s 177s R is free software and comes with ABSOLUTELY NO WARRANTY. 177s You are welcome to redistribute it under certain conditions. 177s Type 'license()' or 'licence()' for distribution details. 177s 177s R is a collaborative project with many contributors. 177s Type 'contributors()' for more information and 177s 'citation()' on how to cite R or R packages in publications. 177s 177s Type 'demo()' for some demos, 'help()' for on-line help, or 177s 'help.start()' for an HTML browser interface to help. 177s Type 'q()' to quit R. 177s 177s > # Broyden tridiagonal 177s > 177s > library("nleqslv") 177s > 177s > brdtri <- function(x) { 177s + n <- length(x) 177s + y <- numeric(n) 177s + 177s + y[1] <- (3-2*x[1])*x[1] - 2*x[2] + 1 177s + y[n] <- (3-2*x[n])*x[n] - x[n-1] + 1 177s + 177s + k <- 2:(n-1) 177s + y[k] <- (3-2*x[k])*x[k] - x[k-1] - 2 * x[k+1] + 1 177s + 177s + y 177s + } 177s > 177s > n <- 100 177s > xstart <- -rep(1,n) 177s > ztol <- 1000*.Machine$double.eps 177s > 177s > z1 <- nleqslv(xstart,brdtri, method="Newton") 177s > z2 <- nleqslv(xstart,brdtri, method="Newton", control=list(dsub=1,dsuper=1)) 177s > 177s > cat("z1 termcd=",z1$termcd, "jcnt,fcnt=",z1$njcnt,z1$nfcnt,"\n") 177s z1 termcd= 1 jcnt,fcnt= 4 4 177s > cat("z2 termcd=",z2$termcd, "jcnt,fcnt=",z2$njcnt,z2$nfcnt,"\n") 177s z2 termcd= 1 jcnt,fcnt= 4 4 177s > z1$message 177s [1] "Function criterion near zero" 177s > z2$message 177s [1] "Function criterion near zero" 177s > all.equal(z2$x,z1$x) 177s [1] TRUE 177s > all.equal(z2$x,z1$x, tolerance=ztol) 177s [1] TRUE 177s > 177s > z1 <- nleqslv(xstart,brdtri, method="Newton") 177s > z2 <- nleqslv(xstart,brdtri, method="Newton", control=list(dsub=1,dsuper=1)) 177s > 177s > cat("z1 termcd=",z1$termcd, "jcnt,fcnt=",z1$njcnt,z1$nfcnt,"\n") 177s z1 termcd= 1 jcnt,fcnt= 4 4 177s > cat("z2 termcd=",z2$termcd, "jcnt,fcnt=",z2$njcnt,z2$nfcnt,"\n") 177s z2 termcd= 1 jcnt,fcnt= 4 4 177s > z1$message 177s [1] "Function criterion near zero" 177s > z2$message 177s [1] "Function criterion near zero" 177s > all.equal(z2$x,z1$x, tolerance=ztol) 177s [1] TRUE 177s > 177s > z3 <- nleqslv(xstart,brdtri, method="Broyden") 177s > z4 <- nleqslv(xstart,brdtri, method="Broyden", control=list(dsub=1,dsuper=1)) 177s > 177s > cat("z3 termcd=",z1$termcd, "jcnt,fcnt=",z3$njcnt,z3$nfcnt,"\n") 177s z3 termcd= 1 jcnt,fcnt= 1 10 177s > cat("z4 termcd=",z2$termcd, "jcnt,fcnt=",z4$njcnt,z4$nfcnt,"\n") 177s z4 termcd= 1 jcnt,fcnt= 1 10 177s > z3$message 177s [1] "x-values within tolerance 'xtol'" 177s > z4$message 177s [1] "x-values within tolerance 'xtol'" 177s > all.equal(z3$x,z1$x) 177s [1] TRUE 177s > all.equal(z4$x,z1$x) 177s [1] TRUE 177s > all.equal(z4$x,z3$x, tolerance=ztol) 177s [1] TRUE 177s > 177s BEGIN TEST tests/brdtrijac.R 177s 177s R version 4.3.2 (2023-10-31) -- "Eye Holes" 177s Copyright (C) 2023 The R Foundation for Statistical Computing 177s Platform: aarch64-unknown-linux-gnu (64-bit) 177s 177s R is free software and comes with ABSOLUTELY NO WARRANTY. 177s You are welcome to redistribute it under certain conditions. 177s Type 'license()' or 'licence()' for distribution details. 177s 177s R is a collaborative project with many contributors. 177s Type 'contributors()' for more information and 177s 'citation()' on how to cite R or R packages in publications. 177s 177s Type 'demo()' for some demos, 'help()' for on-line help, or 177s 'help.start()' for an HTML browser interface to help. 177s Type 'q()' to quit R. 177s 177s > # Broyden banded function 177s > 177s > library(nleqslv) 177s > 177s > brdtri <- function(x) { 177s + n <- length(x) 177s + y <- numeric(n) 177s + 177s + # y[1] <- (3-2*x[1])*x[1] - 2*x[2] + 1 177s + # y[n] <- (3-2*x[n])*x[n] - x[n-1] + 1 177s + # 177s + # k <- 2:(n-1) 177s + # y[k] <- (3-2*x[k])*x[k] - x[k-1] - 2 * x[k+1] + 1 177s + # 177s + y <- (3-2*x)*x - c(0,x[-n]) - 2*c(x[-1],0) + 1 177s + y 177s + } 177s > 177s > brdtrijac <- function(x) { 177s + n <- length(x) 177s + J <- diag(3-4*x,n,n) 177s + J[row(J)==col(J)+1] <- -1 177s + J[row(J)==col(J)-1] <- -2 177s + J 177s + } 177s > 177s > options(echo=TRUE) 177s > 177s > n <- 10 177s > xstart <- -rep(1,n) 177s > fstart <- brdtri(xstart) 177s > 177s > z0 <- nleqslv(xstart,brdtri, method="Newton", global="dbldog") 177s > z0$message 177s [1] "Function criterion near zero" 177s > 177s > z1 <- nleqslv(xstart,brdtri, brdtrijac, method="Newton", global="dbldog",control=list(trace=0)) 177s > z1$message 177s [1] "Function criterion near zero" 177s > all.equal(z1$x,z0$x) 177s [1] TRUE 177s > 177s > z2 <- nleqslv(xstart,brdtri, brdtrijac, method="Newton", global="dbldog",control=list(trace=0,chkjac=TRUE)) 177s > z2$message 177s [1] "Function criterion near zero" 177s > all.equal(z2$x,z0$x) 177s [1] TRUE 177s > 177s > z3 <- nleqslv(xstart,brdtri, brdtrijac, method="Newton", global="dbldog",control=list(trace=0,dsub=1,dsuper=1)) 177s > z3$message 177s [1] "Function criterion near zero" 177s > all.equal(z2$x,z0$x) 177s [1] TRUE 177s > 177s > z4 <- nleqslv(xstart,brdtri, brdtrijac, method="Newton", global="dbldog",control=list(trace=0,dsub=1,dsuper=1,chkjac=TRUE)) 177s > z4$message 177s [1] "Function criterion near zero" 177s > all.equal(z2$x,z0$x) 177s [1] TRUE 177s > 177s BEGIN TEST tests/chquad.R 177s 177s R version 4.3.2 (2023-10-31) -- "Eye Holes" 177s Copyright (C) 2023 The R Foundation for Statistical Computing 177s Platform: aarch64-unknown-linux-gnu (64-bit) 177s 177s R is free software and comes with ABSOLUTELY NO WARRANTY. 177s You are welcome to redistribute it under certain conditions. 177s Type 'license()' or 'licence()' for distribution details. 177s 177s R is a collaborative project with many contributors. 177s Type 'contributors()' for more information and 177s 'citation()' on how to cite R or R packages in publications. 177s 177s Type 'demo()' for some demos, 'help()' for on-line help, or 177s 'help.start()' for an HTML browser interface to help. 177s Type 'q()' to quit R. 177s 177s > 177s > # Chebyquad functions (no solution for n=8) 177s > 177s > library("nleqslv") 177s > 177s > chebyquad <- function(x) { 177s + n <- length(x) 177s + y <- numeric(n) 177s + 177s + for(j in 1:n) { 177s + t1 <- 1.0 177s + t2 <- 2.0*x[j] - 1.0 177s + tmp <- 2.0*t2 177s + 177s + for(i in 1:n) { 177s + y[i] <- y[i] + t2 177s + t3 <- tmp * t2 - t1 177s + t1 <- t2 177s + t2 <- t3 177s + } 177s + } 177s + 177s + y = y / n 177s + 177s + for(i in 1:n) { 177s + if ( i%%2 == 0 ) { 177s + y[i] = y[i] + 1.0 / (i * i - 1) 177s + } 177s + } 177s + 177s + y 177s + } 177s > 177s > chebyinit <- function(n) { 177s + x <- (1:n) / (n + 1) 177s + } 177s > 177s > for (n in c(1:7,9)) { # exclude n=8 since there is no solution 177s + xstart <- chebyinit(n) 177s + fstart <- chebyquad(xstart) 177s + 177s + zz <- nleqslv(xstart, chebyquad, global="dbldog", 177s + control=list(ftol=1e-8,xtol=1e-8,trace=0,btol=.01,delta=-2)) 177s + print(all(abs(zz$fvec)<=1e-8)) 177s + } 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s > 177s > for (n in c(1:7,9)) { # exclude n=8 since there is no solution 177s + xstart <- chebyinit(n) 177s + fstart <- chebyquad(xstart) 177s + 177s + zz <- nleqslv(xstart, chebyquad, global="dbldog", method="Newton", 177s + control=list(ftol=1e-8,xtol=1e-8,trace=0,btol=.01,delta=-2)) 177s + print(all(abs(zz$fvec)<=1e-8)) 177s + } 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s [1] TRUE 177s > 177s BEGIN TEST tests/control-try.R 177s 177s R version 4.3.2 (2023-10-31) -- "Eye Holes" 177s Copyright (C) 2023 The R Foundation for Statistical Computing 177s Platform: aarch64-unknown-linux-gnu (64-bit) 177s 177s R is free software and comes with ABSOLUTELY NO WARRANTY. 177s You are welcome to redistribute it under certain conditions. 177s Type 'license()' or 'licence()' for distribution details. 177s 177s R is a collaborative project with many contributors. 177s Type 'contributors()' for more information and 177s 'citation()' on how to cite R or R packages in publications. 177s 177s Type 'demo()' for some demos, 'help()' for on-line help, or 177s 'help.start()' for an HTML browser interface to help. 177s Type 'q()' to quit R. 177s 177s > 177s > library(nleqslv) 177s > 177s > # Dennis Schnabel example 6.5.1 page 149 177s > f <- function(x) { 177s + y <- numeric(2) 177s + y[1] <- x[1]^2 + x[2]^2 - 2 177s + y[2] <- exp(x[1]-1) + x[2]^3 - 2 177s + y 177s + } 177s > 177s > # check error handling in control argument 177s > try(nleqslv(f,control=list(1e-3))) 177s Error in nleqslv(f, control = list(0.001)) : 177s 'control' argument must be a named list 177s > try(nleqslv(f,control=list(f=1e-3))) 177s > try(nleqslv(f,control=list(f=1e-7,b=1e-3))) 177s Error in nleqslv(f, control = list(f = 0.001)) : 177s unknown names in control: 'f' 177s > 177s Error in nleqslv(f, control = list(f = 1e-07, b = 0.001)) : 177s unknown names in control: 'f', 'b' 177s BEGIN TEST tests/dslnex.R 177s 177s R version 4.3.2 (2023-10-31) -- "Eye Holes" 177s Copyright (C) 2023 The R Foundation for Statistical Computing 177s Platform: aarch64-unknown-linux-gnu (64-bit) 177s 177s R is free software and comes with ABSOLUTELY NO WARRANTY. 177s You are welcome to redistribute it under certain conditions. 177s Type 'license()' or 'licence()' for distribution details. 177s 177s R is a collaborative project with many contributors. 177s Type 'contributors()' for more information and 177s 'citation()' on how to cite R or R packages in publications. 177s 177s Type 'demo()' for some demos, 'help()' for on-line help, or 177s 'help.start()' for an HTML browser interface to help. 177s Type 'q()' to quit R. 177s 178s > 178s > library("nleqslv") 178s > 178s > # Dennis & Schnabel,1996,"Numerical methods for unconstrained optimization and nonlinear equations", SIAM 178s > # example 6.5.1 page 149 178s > 178s > dslnex <- function(x) { 178s + y <- numeric(2) 178s + y[1] <- x[1]^2 + x[2]^2 - 2 178s + y[2] <- exp(x[1]-1) + x[2]^3 - 2 178s + y 178s + } 178s > 178s > jacdsln <- function(x) { 178s + n <- length(x) 178s + Df <- matrix(numeric(n*n),n,n) 178s + Df[1,1] <- 2*x[1] 178s + Df[1,2] <- 2*x[2] 178s + Df[2,1] <- exp(x[1]-1) 178s + Df[2,2] <- 3*x[2]^2 178s + 178s + Df 178s + } 178s > 178s > xstart <- c(2,0.5) 178s > fstart <- dslnex(xstart) 178s > xstart 178s [1] 2.0 0.5 178s > fstart 178s [1] 2.2500000 0.8432818 178s > 178s > # a solution is c(1,1) 178s > 178s > do.print.xf <- FALSE 178s > 178s > print.result <- function(z) { 178s + if( do.print.xf ) { 178s + print(z$x) 178s + print(z$fvec) 178s + } 178s + print(z$message) 178s + print(all(abs(z$fvec)<=1e-8)) 178s + } 178s > 178s > # Broyden numerical Jacobian 178s > for( z in c("cline", "qline", "gline") ) { # cubic, quadratic, geometric linesearch 178s + znlq <- nleqslv(xstart, dslnex, global=z,control=list(btol=.01)) 178s + print.result(znlq) 178s + } 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > 178s > # Broyden numerical Jacobian 178s > for( z in c("dbldog","pwldog") ) { # double dogleg, Powell (single) dogleg 178s + for( delta in c(-1.0, -2.0) ) { # Cauchy step , Newton step 178s + znlq <- nleqslv(xstart, dslnex, global=z, control=list(btol=.01,delta=delta)) 178s + print.result(znlq) 178s + } 178s + } 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > 178s > # Broyden analytical jacobian 178s > for( z in c("dbldog","pwldog") ) { # double dogleg, Powell (single) dogleg 178s + for( delta in c(-1.0, -2.0) ) { # Cauchy step , Newton step 178s + znlq <- nleqslv(xstart, dslnex, jacdsln, global=z, control=list(btol=.01,delta=delta)) 178s + print.result(znlq) 178s + } 178s + } 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > 178s > # Newton analytical jacobian 178s > for( z in c("dbldog","pwldog") ) { # double dogleg, Powell (single) dogleg 178s + for( delta in c(-1.0, -2.0) ) { # Cauchy step , Newton step 178s + znlq <- nleqslv(xstart, dslnex, jacdsln, method="Newton", global=z, control=list(btol=.01,delta=delta)) 178s + print.result(znlq) 178s + } 178s + } 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > 178s BEGIN TEST tests/dslnexCN.R 178s 178s R version 4.3.2 (2023-10-31) -- "Eye Holes" 178s Copyright (C) 2023 The R Foundation for Statistical Computing 178s Platform: aarch64-unknown-linux-gnu (64-bit) 178s 178s R is free software and comes with ABSOLUTELY NO WARRANTY. 178s You are welcome to redistribute it under certain conditions. 178s Type 'license()' or 'licence()' for distribution details. 178s 178s R is a collaborative project with many contributors. 178s Type 'contributors()' for more information and 178s 'citation()' on how to cite R or R packages in publications. 178s 178s Type 'demo()' for some demos, 'help()' for on-line help, or 178s 'help.start()' for an HTML browser interface to help. 178s Type 'q()' to quit R. 178s 178s > 178s > library("nleqslv") 178s > 178s > # Dennis & Schnabel,1996,"Numerical methods for unconstrained optimization and nonlinear equations", SIAM 178s > # example 6.5.1 page 149 178s > 178s > dslnex <- function(x) { 178s + y <- numeric(2) 178s + y[1] <- x[1]^2 + x[2]^2 - 2 178s + y[2] <- exp(x[1]-1) + x[2]^3 - 2 178s + y 178s + } 178s > 178s > 178s > xstart <- c(2,0.5) 178s > fstart <- dslnex(xstart) 178s > xstart 178s [1] 2.0 0.5 178s > fstart 178s [1] 2.2500000 0.8432818 178s > 178s > do.print.xf <- TRUE 178s > 178s > print.result <- function(z) { 178s + if( do.print.xf ) { 178s + print(z$x) 178s + print(z$fvec) 178s + } 178s + print(z$message) 178s + print(all(abs(z$fvec)<=1e-8)) 178s + } 178s > 178s > sink("dslnexCN-num.txt") 178s > for( z in c("dbldog","pwldog") ) { # double dogleg, Powell (single) dogleg 178s + for( delta in c(-1.0, -2.0) ) { # Cauchy step , Newton step 178s + znlq <- nleqslv(xstart, dslnex, global=z, control=list(btol=.01,delta=delta, trace=1)) 178s + print.result(znlq) 178s + } 178s + } 178s > sink() 178s > 178s > sink("dslnexCN-char.txt") 178s > for( z in c("dbldog","pwldog") ) { # double dogleg, Powell (single) dogleg 178s + for( delta in c("cauchy", "newton") ) { # Cauchy step , Newton step 178s + znlq <- nleqslv(xstart, dslnex, global=z, control=list(btol=.01,delta=delta,trace=1)) 178s + print.result(znlq) 178s + } 178s + } 178s > sink() 178s > 178s > z1 <- readLines(con="dslnexCN-num.txt") 178s > z2 <- readLines(con="dslnexCN-char.txt") 178s > 178s > all.equal(z1,z2) 178s [1] TRUE 178s > 178s BEGIN TEST tests/dslnexHook.R 178s 178s R version 4.3.2 (2023-10-31) -- "Eye Holes" 178s Copyright (C) 2023 The R Foundation for Statistical Computing 178s Platform: aarch64-unknown-linux-gnu (64-bit) 178s 178s R is free software and comes with ABSOLUTELY NO WARRANTY. 178s You are welcome to redistribute it under certain conditions. 178s Type 'license()' or 'licence()' for distribution details. 178s 178s R is a collaborative project with many contributors. 178s Type 'contributors()' for more information and 178s 'citation()' on how to cite R or R packages in publications. 178s 178s Type 'demo()' for some demos, 'help()' for on-line help, or 178s 'help.start()' for an HTML browser interface to help. 178s Type 'q()' to quit R. 178s 178s > 178s > library(nleqslv) 178s > 178s > # Dennis & Schnabel,1996,"Numerical methods for unconstrained optimization and nonlinear equations", SIAM 178s > # example 6.5.1 page 149 178s > 178s > dslnex <- function(x) { 178s + y <- numeric(2) 178s + y[1] <- x[1]^2 + x[2]^2 - 2 178s + y[2] <- exp(x[1]-1) + x[2]^3 - 2 178s + y 178s + } 178s > 178s > 178s > do.print.xf <- FALSE 178s > do.trace <- 0 178s > print.result <- function(z) { 178s + if( do.print.xf ) { 178s + print(z$x) 178s + print(z$fvec) 178s + } 178s + print(z$message) 178s + print(all(abs(z$fvec)<=1e-8)) 178s + } 178s > 178s > xcmp.result <- function(z1,z2) all(abs(z1$x-z2$x) <= 1e-8) 178s > 178s > xstart <- c(2,0.5) 178s > hnlq1 <- nleqslv(xstart, dslnex, global="hook", control=list(btol=.01,delta="cauchy", trace=do.trace)) 178s > hnlq2 <- nleqslv(xstart, dslnex, global="hook", control=list(btol=.01,delta="newton", trace=do.trace)) 178s > print.result(hnlq1) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > print.result(hnlq2) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > xcmp.result(hnlq1,hnlq2) 178s [1] TRUE 178s > 178s > dnlq1 <- nleqslv(xstart, dslnex, global="dbldog", control=list(btol=.01,delta="cauchy", trace=do.trace)) 178s > dnlq2 <- nleqslv(xstart, dslnex, global="dbldog", control=list(btol=.01,delta="newton", trace=do.trace)) 178s > print.result(dnlq1) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > print.result(dnlq2) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > xcmp.result(dnlq1,dnlq2) 178s [1] TRUE 178s > xcmp.result(hnlq1,dnlq1) 178s [1] TRUE 178s > 178s > xstart <- c(1.1,1.1) 178s > hnlq1 <- nleqslv(xstart, dslnex, global="hook", control=list(btol=.01,delta="cauchy", trace=do.trace)) 178s > hnlq2 <- nleqslv(xstart, dslnex, global="hook", control=list(btol=.01,delta="newton", trace=do.trace)) 178s > print.result(hnlq1) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > print.result(hnlq2) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > xcmp.result(hnlq1,hnlq2) 178s [1] TRUE 178s > 178s > dnlq1 <- nleqslv(xstart, dslnex, global="dbldog", control=list(btol=.01,delta="cauchy", trace=do.trace)) 178s > dnlq2 <- nleqslv(xstart, dslnex, global="dbldog", control=list(btol=.01,delta="newton", trace=do.trace)) 178s > print.result(dnlq1) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > print.result(dnlq2) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > xcmp.result(dnlq1,dnlq2) 178s [1] TRUE 178s > xcmp.result(hnlq1,dnlq1) 178s [1] TRUE 178s > 178s BEGIN TEST tests/dslnexauto.R 178s 178s R version 4.3.2 (2023-10-31) -- "Eye Holes" 178s Copyright (C) 2023 The R Foundation for Statistical Computing 178s Platform: aarch64-unknown-linux-gnu (64-bit) 178s 178s R is free software and comes with ABSOLUTELY NO WARRANTY. 178s You are welcome to redistribute it under certain conditions. 178s Type 'license()' or 'licence()' for distribution details. 178s 178s R is a collaborative project with many contributors. 178s Type 'contributors()' for more information and 178s 'citation()' on how to cite R or R packages in publications. 178s 178s Type 'demo()' for some demos, 'help()' for on-line help, or 178s 'help.start()' for an HTML browser interface to help. 178s Type 'q()' to quit R. 178s 178s > # Dennis Schnabel example 178s > 178s > library("nleqslv") 178s > 178s > dslnex <- function(x) { 178s + y <- numeric(2) 178s + y[1] <- x[1]^2 + x[2]^2 - 2 178s + y[2] <- exp(x[1]-1) + x[2]^3 - 2 178s + y 178s + } 178s > 178s > jacdsln <- function(x) { 178s + n <- length(x) 178s + Df <- matrix(numeric(n*n),n,n) 178s + Df[1,1] <- 2*x[1] 178s + Df[1,2] <- 2*x[2] 178s + Df[2,1] <- exp(x[1]-1) 178s + Df[2,2] <- 3*x[2]^2 178s + 178s + Df 178s + } 178s > 178s > xstart <- c(2,0.5) 178s > fstart <- dslnex(xstart) 178s > xstart 178s [1] 2.0 0.5 178s > fstart 178s [1] 2.2500000 0.8432818 178s > 178s > # a solution is c(1,1) 178s > 178s > do.print.xf <- FALSE 178s > 178s > print.result <- function(z) { 178s + if( do.print.xf ) { 178s + print(z$x) 178s + print(z$fvec) 178s + } 178s + print(z$message) 178s + print(all(abs(z$fvec)<=1e-8)) 178s + } 178s > 178s > # Use automatic scaling of x-values. Dosn't always work. 178s > 178s > # Broyden numerical Jacobian 178s > for( z in c("qline", "gline") ) { # quadratic, geometric linesearch 178s + znlq <- nleqslv(xstart, dslnex, global=z,xscalm="auto",control=list(btol=.01)) 178s + print.result(znlq) 178s + } 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > 178s > # Broyden numerical Jacobian 178s > for( z in c("dbldog","pwldog") ) { # double dogleg, Powell (single) dogleg 178s + for( delta in c(-1.0, -2.0) ) { # Cauchy step , Newton step 178s + znlq <- nleqslv(xstart, dslnex, global=z,xscalm="auto", control=list(btol=.01,delta=delta)) 178s + print.result(znlq) 178s + } 178s + } 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "No better point found (algorithm has stalled)" 178s [1] FALSE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "No better point found (algorithm has stalled)" 178s [1] FALSE 178s > 178s > # Broyden analytical jacobian 178s > for( z in c("dbldog","pwldog") ) { # double dogleg, Powell (single) dogleg 178s + for( delta in c(-1.0, -2.0) ) { # Cauchy step , Newton step 178s + znlq <- nleqslv(xstart, dslnex, jacdsln, global=z,xscalm="auto", control=list(btol=.01,delta=delta)) 178s + print.result(znlq) 178s + } 178s + } 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "No better point found (algorithm has stalled)" 178s [1] FALSE 178s [1] "Function criterion near zero" 178s [1] TRUE 178s [1] "No better point found (algorithm has stalled)" 178s [1] FALSE 178s > 178s > # Newton analytical jacobian 178s > for( z in c("dbldog","pwldog") ) { # double dogleg, Powell (single) dogleg 178s + for( delta in c(-1.0, -2.0) ) { # Cauchy step , Newton step 178s + znlq <- nleqslv(xstart, dslnex, jacdsln, method="Newton", global=z,xscalm="auto", control=list(btol=.01,delta=delta)) 178s + print.result(znlq) 178s + } 178s + } 178s [1] "No better point found (algorithm has stalled)" 178s [1] FALSE 178s [1] "No better point found (algorithm has stalled)" 178s [1] FALSE 178s [1] "No better point found (algorithm has stalled)" 178s [1] FALSE 178s [1] "No better point found (algorithm has stalled)" 178s [1] FALSE 178s > 178s BEGIN TEST tests/dslnexjacout.R 178s 178s R version 4.3.2 (2023-10-31) -- "Eye Holes" 178s Copyright (C) 2023 The R Foundation for Statistical Computing 178s Platform: aarch64-unknown-linux-gnu (64-bit) 178s 178s R is free software and comes with ABSOLUTELY NO WARRANTY. 178s You are welcome to redistribute it under certain conditions. 178s Type 'license()' or 'licence()' for distribution details. 178s 178s R is a collaborative project with many contributors. 178s Type 'contributors()' for more information and 178s 'citation()' on how to cite R or R packages in publications. 178s 178s Type 'demo()' for some demos, 'help()' for on-line help, or 178s 'help.start()' for an HTML browser interface to help. 178s Type 'q()' to quit R. 178s 178s > # Dennis & Schnabel,1996,"Numerical methods for unconstrained optimization and nonlinear equations", SIAM 178s > # example 6.5.1 page 149 178s > 178s > library(nleqslv) 178s > 178s > dslnex <- function(x) { 178s + y <- numeric(2) 178s + y[1] <- x[1]^2 + x[2]^2 - 2 178s + y[2] <- exp(x[1]-1) + x[2]^3 - 2 178s + y 178s + } 178s > 178s > jacdsln <- function(x) { 178s + n <- length(x) 178s + Df <- matrix(numeric(n*n),n,n) 178s + Df[1,1] <- 2*x[1] 178s + Df[1,2] <- 2*x[2] 178s + Df[2,1] <- exp(x[1]-1) 178s + Df[2,2] <- 3*x[2]^2 178s + 178s + Df 178s + } 178s > 178s > do.print.xf <- FALSE 178s > do.trace <- 0 178s > 178s > print.result <- function(z) { 178s + if( do.print.xf ) { 178s + print(z$x) 178s + print(z$fvec) 178s + } 178s + print(z$message) 178s + print(all(abs(z$fvec)<=1e-8)) 178s + } 178s > 178s > xstart <- c(2,.5) 178s > 178s > z <- nleqslv(xstart,dslnex, jacobian=TRUE, control=list(trace=do.trace)) 178s > print.result(z) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > all.equal(z$jac,jacdsln(z$x), tolerance=0.05) 178s [1] TRUE 178s > 178s > z <- nleqslv(xstart,dslnex,jacdsln, jacobian=TRUE, control=list(trace=do.trace)) 178s > print.result(z) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > all.equal(z$jac,jacdsln(z$x), tolerance=0.05) 178s [1] TRUE 178s > 178s > z <- nleqslv(xstart,dslnex, method="Newton", jacobian=TRUE, control=list(trace=do.trace)) 178s > print.result(z) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > all.equal(z$jac,jacdsln(z$x), tolerance=10^3*.Machine$double.eps^0.5) 178s [1] TRUE 178s > 178s > z <- nleqslv(xstart,dslnex, jacdsln, method="Newton", jacobian=TRUE, control=list(trace=do.trace)) 178s > print.result(z) 178s [1] "Function criterion near zero" 178s [1] TRUE 178s > identical(z$jac,jacdsln(z$x)) 178s [1] TRUE 178s > 178s BEGIN TEST tests/dslnexscaled.R 179s 179s R version 4.3.2 (2023-10-31) -- "Eye Holes" 179s Copyright (C) 2023 The R Foundation for Statistical Computing 179s Platform: aarch64-unknown-linux-gnu (64-bit) 179s 179s R is free software and comes with ABSOLUTELY NO WARRANTY. 179s You are welcome to redistribute it under certain conditions. 179s Type 'license()' or 'licence()' for distribution details. 179s 179s R is a collaborative project with many contributors. 179s Type 'contributors()' for more information and 179s 'citation()' on how to cite R or R packages in publications. 179s 179s Type 'demo()' for some demos, 'help()' for on-line help, or 179s 'help.start()' for an HTML browser interface to help. 179s Type 'q()' to quit R. 179s 179s > # Dennis Schnabel example 179s > 179s > library("nleqslv") 179s > 179s > dslnex <- function(x) { 179s + y <- numeric(2) 179s + y[1] <- x[1]^2 + x[2]^2 - 2 179s + y[2] <- exp(x[1]-1) + x[2]^3 - 2 179s + y 179s + } 179s > 179s > jacdsln <- function(x) { 179s + n <- length(x) 179s + Df <- matrix(numeric(n*n),n,n) 179s + Df[1,1] <- 2*x[1] 179s + Df[1,2] <- 2*x[2] 179s + Df[2,1] <- exp(x[1]-1) 179s + Df[2,2] <- 3*x[2]^2 179s + 179s + Df 179s + } 179s > 179s > xstart <- c(2,0.5) 179s > fstart <- dslnex(xstart) 179s > xstart 179s [1] 2.0 0.5 179s > fstart 179s [1] 2.2500000 0.8432818 179s > 179s > # a solution is c(1,1) 179s > 179s > do.print.xf <- FALSE 179s > 179s > print.result <- function(z) { 179s + if( do.print.xf ) { 179s + print(z$x) 179s + print(z$fvec) 179s + } 179s + print(z$message) 179s + print(all(abs(z$fvec)<=1e-8)) 179s + } 179s > 179s > # Use our fixed scaling 179s > 179s > znlq <- nleqslv(xstart, dslnex, jacdsln, global="dbldog", control=list(btol=.01,delta=-1.0,chkjac=TRUE,scalex=c(2,3))) 179s > if(znlq$termcd == -10) stop("Internal error in check analytical jacobian") 179s > 179s > # Broyden analytical jacobian 179s > for( z in c("dbldog","pwldog") ) { # double dogleg, Powell (single) dogleg 179s + for( delta in c(-1.0, -2.0) ) { # Cauchy step , Newton step 179s + znlq <- nleqslv(xstart, dslnex, jacdsln, global=z, control=list(btol=.01,delta=delta,chkjac=TRUE,scalex=c(2,3))) 179s + print.result(znlq) 179s + } 179s + } 179s [1] "Function criterion near zero" 179s [1] TRUE 179s [1] "Function criterion near zero" 179s [1] TRUE 179s [1] "Function criterion near zero" 179s [1] TRUE 179s [1] "Function criterion near zero" 179s [1] TRUE 179s > 179s > # Newton analytical jacobian 179s > for( z in c("dbldog","pwldog") ) { # double dogleg, Powell (single) dogleg 179s + for( delta in c(-1.0, -2.0) ) { # Cauchy step , Newton step 179s + znlq <- nleqslv(xstart, dslnex, jacdsln, method="Newton", global=z, control=list(btol=.01,delta=delta,chkjac=TRUE,scalex=c(2,3))) 179s + print.result(znlq) 179s + } 179s + } 179s [1] "Function criterion near zero" 179s [1] TRUE 179s [1] "Function criterion near zero" 179s [1] TRUE 179s [1] "Function criterion near zero" 179s [1] TRUE 179s [1] "Function criterion near zero" 179s [1] TRUE 179s > 179s BEGIN TEST tests/singular1.R 179s 179s R version 4.3.2 (2023-10-31) -- "Eye Holes" 179s Copyright (C) 2023 The R Foundation for Statistical Computing 179s Platform: aarch64-unknown-linux-gnu (64-bit) 179s 179s R is free software and comes with ABSOLUTELY NO WARRANTY. 179s You are welcome to redistribute it under certain conditions. 179s Type 'license()' or 'licence()' for distribution details. 179s 179s R is a collaborative project with many contributors. 179s Type 'contributors()' for more information and 179s 'citation()' on how to cite R or R packages in publications. 179s 179s Type 'demo()' for some demos, 'help()' for on-line help, or 179s 'help.start()' for an HTML browser interface to help. 179s Type 'q()' to quit R. 179s 179s > 179s > library(nleqslv) 179s > 179s > # Brown almost linear function 179s > 179s > brown <- function(x) { 179s + n <- length(x) 179s + y <- numeric(n) 179s + 179s + y[1:(n-1)] <- x[1:(n-1)] + sum(x[1:n]) - (n + 1) 179s + y[n] <- prod(x[1:n]) - 1.0 179s + 179s + y 179s + } 179s > 179s > brownjac <- function(x) { 179s + n <- length(x) 179s + J <- matrix(1,nrow=n,ncol=n) 179s + diag(J) <- 2 179s + xprod <- prod(x) 179s + J[n,] <- xprod/x # exact 179s + J 179s + } 179s > 179s > print.result <- function(z, do.print.xf=FALSE) { 179s + if( do.print.xf ) { 179s + print(z$x) 179s + print(z$fvec) 179s + } 179s + print(z$message) 179s + print(all(abs(z$fvec)<=1e-8)) 179s + } 179s > 179s > for( m in c("Newton","Broyden") ) { 179s + for( n in c(50,100) ) { 179s + xstart <- rep(1,n)/2 179s + z <- nleqslv(xstart, brown, brownjac, method="Newton", 179s + control=list(trace=0,ftol=1e-10,delta="cauchy",allowSingular=TRUE)) 179s + print.result(z) 179s + } 179s + } 179s [1] "Function criterion near zero" 179s [1] TRUE 179s [1] "Function criterion near zero" 179s [1] TRUE 179s [1] "Function criterion near zero" 179s [1] TRUE 179s [1] "Function criterion near zero" 179s [1] TRUE 179s > 179s BEGIN TEST tests/singular2.R 179s 179s R version 4.3.2 (2023-10-31) -- "Eye Holes" 179s Copyright (C) 2023 The R Foundation for Statistical Computing 179s Platform: aarch64-unknown-linux-gnu (64-bit) 179s 179s R is free software and comes with ABSOLUTELY NO WARRANTY. 179s You are welcome to redistribute it under certain conditions. 179s Type 'license()' or 'licence()' for distribution details. 179s 179s R is a collaborative project with many contributors. 179s Type 'contributors()' for more information and 179s 'citation()' on how to cite R or R packages in publications. 179s 179s Type 'demo()' for some demos, 'help()' for on-line help, or 179s 'help.start()' for an HTML browser interface to help. 179s Type 'q()' to quit R. 179s 179s > # http://stackoverflow.com/questions/29134996/solving-nonlinear-equation-in-r 179s > 179s > # wants to know if system has closed form solution 179s > # I want to see how nleqslv behaves 179s > 179s > set.seed(29) 179s > 179s > library(nleqslv) 179s > 179s > print.result <- function(z, do.print.xf=FALSE) { 179s + if( do.print.xf ) { 179s + print(z$x) 179s + print(z$fvec) 179s + } 179s + print(z$message) 179s + print(all(abs(z$fvec)<=1e-8)) 179s + } 179s > 179s > f <- function(X, a, b, c1, c2, c3) { 179s + Y <- numeric(3) 179s + x <- X[1] 179s + y <- X[2] 179s + z <- X[3] 179s + Y[1] <- x + y - x*y - c1 179s + Y[2] <- x + z - x*z - c2 179s + Y[3] <- a*y + b*z - c3 179s + return(Y) 179s + } 179s > 179s > Jac <- function(X, a, b, c1, c2, c3) { 179s + J <- matrix(0,nrow=3,ncol=3) 179s + x <- X[1] 179s + y <- X[2] 179s + z <- X[3] 179s + 179s + J[1,1] <- 1-y 179s + J[2,1] <- 1-z 179s + J[3,1] <- 0 179s + J[1,2] <- 1-x 179s + J[2,2] <- 0 179s + J[3,2] <- a 179s + J[1,3] <- 0 179s + J[2,3] <- 1-x 179s + J[3,3] <- b 179s + J 179s + } 179s > 179s > a <- 1 179s > b <- 1 179s > c1 <- 2 179s > c2 <- 3 179s > c3 <- 4 179s > 179s > # exact solution 179s > x <- (a*c1+b*c2-c3)/(a+b-c3) 179s > y <- (b*c1-b*c2-c1*c3+c3)/(-a*c1+a-b*c2+b) 179s > z <- (a*(c1-c2)+(c2-1)*c3)/(a*(c1-1)+b*(c2-1)) 179s > xsol <- c(x,y,z) 179s > 179s > X.start <- c(1,2,3) 179s > z1 <- nleqslv(X.start,f,Jac,a=a,b=b,c1=c1,c2=c2,c3=c3, 179s + method="Newton",control=list(trace=0,allowSingular=TRUE)) 179s > 179s > z2 <- nleqslv(X.start,f,Jac,a=a,b=b,c1=c1,c2=c2,c3=c3, 179s + method="Broyden",control=list(trace=0,allowSingular=TRUE)) 179s > 179s > all.equal(z1$x,xsol) 179s [1] TRUE 179s > all.equal(z2$x,xsol) 179s [1] TRUE 179s > print.result(z1) 179s [1] "Function criterion near zero" 179s [1] TRUE 179s > print.result(z2) 179s [1] "Function criterion near zero" 179s [1] TRUE 179s > 179s BEGIN TEST tests/singular3.R 179s 179s R version 4.3.2 (2023-10-31) -- "Eye Holes" 179s Copyright (C) 2023 The R Foundation for Statistical Computing 179s Platform: aarch64-unknown-linux-gnu (64-bit) 179s 179s R is free software and comes with ABSOLUTELY NO WARRANTY. 179s You are welcome to redistribute it under certain conditions. 179s Type 'license()' or 'licence()' for distribution details. 179s 179s R is a collaborative project with many contributors. 179s Type 'contributors()' for more information and 179s 'citation()' on how to cite R or R packages in publications. 179s 179s Type 'demo()' for some demos, 'help()' for on-line help, or 179s 'help.start()' for an HTML browser interface to help. 179s Type 'q()' to quit R. 179s 179s > 179s > library(nleqslv) 179s > 179s > print.result <- function(z, do.print.xf=FALSE) { 179s + if( do.print.xf ) { 179s + print(z$x) 179s + print(z$fvec) 179s + } 179s + print(z$message) 179s + print(all(abs(z$fvec)<=1e-8)) 179s + } 179s > 179s > # Powell cautionary example 179s > # M.J.D. Powell, "A Hybrid Method for Nonlinear Equations", 179s > # in Numerical methods for Nonlinear Algebraic Equations, ed. P. Rabinowitz, 1970. 179s > 179s > 179s > f <- function(x) { 179s + y <- numeric(2) 179s + y[1] <- x[1] 179s + y[2] <- 10*x[1]/(x[1]+.1) + 2*x[2]^2 179s + 179s + y 179s + } 179s > 179s > jac <- function(x) { 179s + fjac <- matrix(0,nrow=2,ncol=2) 179s + 179s + fjac[1, 1] <- 1 179s + fjac[1, 2] <- 0 179s + fjac[2, 1] <- 1/(x[1]+0.1)^2 179s + fjac[2, 2] <- 4*x[2] 179s + 179s + fjac 179s + } 179s > 179s > xstart <- c(3,1) 179s > z1 <- nleqslv(xstart,f, method="Newton",control=list(trace=0,allowSingular=TRUE)) 179s > print.result(z1) 179s [1] "Function criterion near zero" 179s [1] TRUE 179s > xstart <- c(3,0) # singular start 179s > z2 <- nleqslv(xstart,f, method="Newton",control=list(trace=0,allowSingular=TRUE)) 179s > print.result(z2) 179s [1] "Function criterion near zero" 179s [1] TRUE 179s > 179s BEGIN TEST tests/trig.R 179s 179s R version 4.3.2 (2023-10-31) -- "Eye Holes" 179s Copyright (C) 2023 The R Foundation for Statistical Computing 179s Platform: aarch64-unknown-linux-gnu (64-bit) 179s 179s R is free software and comes with ABSOLUTELY NO WARRANTY. 179s You are welcome to redistribute it under certain conditions. 179s Type 'license()' or 'licence()' for distribution details. 179s 179s R is a collaborative project with many contributors. 179s Type 'contributors()' for more information and 179s 'citation()' on how to cite R or R packages in publications. 179s 179s Type 'demo()' for some demos, 'help()' for on-line help, or 179s 'help.start()' for an HTML browser interface to help. 179s Type 'q()' to quit R. 179s 179s > 179s > library("nleqslv") 179s > 179s > # Trigonometric function 179s > trig <- function(x) { 179s + n <- length(x) 179s + y <- cos(x) 179s + s <- sum(y) 179s + y <- n - s + c(1:n) * (1-y) - sin(x) 179s + 179s + y 179s + } 179s > 179s > trigjac <- function(x) { 179s + n <- length(x) 179s + J <- matrix(numeric(n*n),n,n) 179s + 179s + for (p in 1:n) { 179s + J[,p] <- sin(x[p]) 179s + J[p,p] <- (p+1) * sin(x[p]) - cos(x[p]) 179s + } 179s + 179s + J 179s + } 179s > 179s > do.print.xf <- FALSE 179s > 179s > print.result <- function(z) { 179s + if( do.print.xf ) { 179s + print(z$x) 179s + print(z$fvec) 179s + } 179s + print(z$message) 179s + print(all(abs(z$fvec)<=1e-8)) 179s + } 179s > 179s > n <- 10 179s > xstart <- rep(1,n)/n 179s > fstart <- trig(xstart) 179s > 179s > znlm <- nleqslv(xstart, trig, global="dbldog", control=list(trace=0)) 180s > print.result(znlm) 180s [1] "Function criterion near zero" 180s [1] TRUE 180s > 180s BEGIN TEST tests/tscalargrad.R 180s 180s R version 4.3.2 (2023-10-31) -- "Eye Holes" 180s Copyright (C) 2023 The R Foundation for Statistical Computing 180s Platform: aarch64-unknown-linux-gnu (64-bit) 180s 180s R is free software and comes with ABSOLUTELY NO WARRANTY. 180s You are welcome to redistribute it under certain conditions. 180s Type 'license()' or 'licence()' for distribution details. 180s 180s R is a collaborative project with many contributors. 180s Type 'contributors()' for more information and 180s 'citation()' on how to cite R or R packages in publications. 180s 180s Type 'demo()' for some demos, 'help()' for on-line help, or 180s 'help.start()' for an HTML browser interface to help. 180s Type 'q()' to quit R. 180s 180s > # http://r.789695.n4.nabble.com/newton-method-td2306111.html#a2306111 180s > # R-help, 29-07-2010: newton.method 180s > 180s > library(nleqslv) 180s > 180s > f <- function(x) 2.5*exp(-0.5*(2*0.045 - x)) + 2.5*exp(-0.045) + 2.5*exp(-1.5*x) - 100 180s > 180s > g1 <- function(x) 0.5*2.5*exp(-0.5*(2*0.045 - x)) - 1.5*2.5*exp(-1.5*x) 180s > g2 <- function(x) matrix(0.5*2.5*exp(-0.5*(2*0.045 - x)) - 1.5*2.5*exp(-1.5*x), nrow=1,ncol=1) 180s > 180s > xu.1 <- uniroot(f,c(-3,0), tol=1e-8)$root 180s > xu.2 <- uniroot(f,c( 6,8), tol=1e-8)$root 180s > 180s > xg1.1 <- nleqslv(-2,f,g1)$x 180s > xg2.1 <- nleqslv(-2,f,g2)$x 180s > 180s > xg1.2 <- nleqslv(8,f,g1)$x 180s > xg2.2 <- nleqslv(8,f,g2)$x 180s > 180s > all.equal(xg1.1, xu.1) 180s [1] TRUE 180s > all.equal(xg1.2, xu.2) 180s [1] TRUE 180s > all.equal(xg1.2, xg2.2) 180s [1] TRUE 180s > 180s > all.equal(xg2.1, xu.1) 180s [1] TRUE 180s > all.equal(xg2.2, xu.2) 180s [1] TRUE 180s > all.equal(xg1.2, xg2.2) 180s [1] TRUE 180s > 180s BEGIN TEST tests/xcutlip1p2.R 180s 180s R version 4.3.2 (2023-10-31) -- "Eye Holes" 180s Copyright (C) 2023 The R Foundation for Statistical Computing 180s Platform: aarch64-unknown-linux-gnu (64-bit) 180s 180s R is free software and comes with ABSOLUTELY NO WARRANTY. 180s You are welcome to redistribute it under certain conditions. 180s Type 'license()' or 'licence()' for distribution details. 180s 180s R is a collaborative project with many contributors. 180s Type 'contributors()' for more information and 180s 'citation()' on how to cite R or R packages in publications. 180s 180s Type 'demo()' for some demos, 'help()' for on-line help, or 180s 'help.start()' for an HTML browser interface to help. 180s Type 'q()' to quit R. 180s 180s > # Steady-State solution for reaction rate equations 180s > # Shacham homotopy method (discrete changing of one or more parameters) 180s > # M. Shacham: Numerical Solution of Constrained Non-linear algebriac equations 180s > # International Journal for Numerical Methods in Engineering, 1986, pp.1455--1481. 180s > 180s > # solution should always be > 0 180s > 180s > library(nleqslv) 180s > 180s > RNGkind(kind="Wichmann-Hill") 180s > set.seed(123) 180s > 180s > # Problem 2, page 1463/1464 180s > 180s > cutlip <- function(x) { 180s + # paper has wrong order of parameters 180s + # use the Fortran program to get the correct values 180s + 180s + # parameter set 2 180s + k1 <- 17.721 180s + k2 <- 3.483 180s + k3 <- 505.051 180s + kr1<- 0.118 180s + kr2<- 0.033 180s + 180s + r <- numeric(6) 180s + 180s + r[1] = 1 - x[1] - k1*x[1]*x[6] + kr1 * x[4] 180s + r[2] = 1 - x[2] - k2*x[2]*x[6] + kr2 * x[5] 180s + r[3] = -x[3] + 2*k3*x[4]*x[5] 180s + r[4] = k1*x[1]*x[6] - kr1*x[4] - k3*x[4]*x[5] 180s + r[5] = 1.5*(k2*x[2]*x[6] - kr2*x[5]) - k3*x[4]*x[5] 180s + r[6] = 1 - x[4] - x[5] - x[6] 180s + 180s + r 180s + } 180s > 180s > 180s > Nrep <- 50 180s > xstart <- matrix(0,nrow=Nrep, ncol=6) 180s > xstart[,1] <- runif(Nrep,min=0,max=2) 180s > xstart[,2] <- runif(Nrep,min=0,max=1) 180s > xstart[,3] <- runif(Nrep,min=0,max=2) 180s > xstart[,4] <- runif(Nrep,min=0,max=1) 180s > xstart[,5] <- runif(Nrep,min=0,max=1) 180s > xstart[,6] <- runif(Nrep,min=0,max=1) 180s > 180s > ans <- searchZeros(xstart,cutlip, method="Broyden",global="dbldog") 180s > nrow(ans$x)==4 180s [1] TRUE 180s > all(ans$xfnorm <= 1e-10) 180s [1] TRUE 180s > 180s > zans <- searchZeros(ans$xstart,cutlip, method="Broyden",global="dbldog") 180s > length(zans$idxcvg)==4 180s [1] TRUE 180s > all(ans$xfnorm == zans$xfnorm) 180s [1] TRUE 180s > 180s BEGIN TEST tests/xnames.R 180s 180s R version 4.3.2 (2023-10-31) -- "Eye Holes" 180s Copyright (C) 2023 The R Foundation for Statistical Computing 180s Platform: aarch64-unknown-linux-gnu (64-bit) 180s 180s R is free software and comes with ABSOLUTELY NO WARRANTY. 180s You are welcome to redistribute it under certain conditions. 180s Type 'license()' or 'licence()' for distribution details. 180s 180s R is a collaborative project with many contributors. 180s Type 'contributors()' for more information and 180s 'citation()' on how to cite R or R packages in publications. 180s 180s Type 'demo()' for some demos, 'help()' for on-line help, or 180s 'help.start()' for an HTML browser interface to help. 180s Type 'q()' to quit R. 180s 180s > 180s > library(nleqslv) 180s > 180s > f <- function(x) { 180s + y <-numeric(length(x)) 180s + y[1] <- x[1]^2 + x[2]^3 180s + y[2] <- x[1] + 2*x[2] + 3 180s + y 180s + } 180s > 180s > # test named x-values 180s > xstart <- c(a=1.0, b=0.5) 180s > xstart 180s a b 180s 1.0 0.5 180s > 180s > z <- nleqslv(xstart,f, control=list(trace=0)) 180s > all(names(z$x) == names(xstart)) 180s [1] TRUE 180s > 180s > # test named x-values 180s > xstart <- c(u=1.0, 0.5) 180s > xstart 180s u 180s 1.0 0.5 180s > 180s > z <- nleqslv(xstart,f, control=list(trace=0)) 180s > all(names(z$x) == names(xstart)) 180s [1] TRUE 180s > 180s BEGIN TEST tests/xsearchzeros.R 180s 180s R version 4.3.2 (2023-10-31) -- "Eye Holes" 180s Copyright (C) 2023 The R Foundation for Statistical Computing 180s Platform: aarch64-unknown-linux-gnu (64-bit) 180s 180s R is free software and comes with ABSOLUTELY NO WARRANTY. 180s You are welcome to redistribute it under certain conditions. 180s Type 'license()' or 'licence()' for distribution details. 180s 180s R is a collaborative project with many contributors. 180s Type 'contributors()' for more information and 180s 'citation()' on how to cite R or R packages in publications. 180s 180s Type 'demo()' for some demos, 'help()' for on-line help, or 180s 'help.start()' for an HTML browser interface to help. 180s Type 'q()' to quit R. 180s 180s > # R. Baker Kearfott, Some tests of Generalized Bisection, 180s > # ACM Transactions on Methematical Software, Vol. 13, No. 3, 1987, pp 197-220 180s > 180s > # A high-degree polynomial system (section 4.3 Problem 12) 180s > # There are 12 real roots (and 126 complex roots to this system!) 180s > 180s > library(nleqslv) 180s > 180s > hdp <- function(x) { 180s + f <- numeric(length(x)) 180s + f[1] <- 5 * x[1]^9 - 6 * x[1]^5 * x[2]^2 + x[1] * x[2]^4 + 2 * x[1] * x[3] 180s + f[2] <- -2 * x[1]^6 * x[2] + 2 * x[1]^2 * x[2]^3 + 2 * x[2] * x[3] 180s + f[3] <- x[1]^2 + x[2]^2 - 0.265625 180s + f 180s + } 180s > 180s > 180s > N <- 40 180s > set.seed(123) 180s > xstart <- matrix(runif(3*N,min=-1,max=1), N, 3) # N starting values, each of length 3 180s > 180s > ans <- searchZeros(xstart,hdp, method="Broyden",global="dbldog") 181s > nrow(ans$x) == 12 181s [1] TRUE 181s > all(ans$xfnorm <= 1e-10) 181s [1] TRUE 181s > 181s > zans <- searchZeros(ans$xstart,hdp, method="Broyden",global="dbldog") 181s > length(zans$idxcvg) == 12 181s [1] TRUE 181s > 181s BEGIN TEST tests/xtestnslv.R 181s 181s R version 4.3.2 (2023-10-31) -- "Eye Holes" 181s Copyright (C) 2023 The R Foundation for Statistical Computing 181s Platform: aarch64-unknown-linux-gnu (64-bit) 181s 181s R is free software and comes with ABSOLUTELY NO WARRANTY. 181s You are welcome to redistribute it under certain conditions. 181s Type 'license()' or 'licence()' for distribution details. 181s 181s R is a collaborative project with many contributors. 181s Type 'contributors()' for more information and 181s 'citation()' on how to cite R or R packages in publications. 181s 181s Type 'demo()' for some demos, 'help()' for on-line help, or 181s 'help.start()' for an HTML browser interface to help. 181s Type 'q()' to quit R. 181s 181s > 181s > library(nleqslv) 181s > 181s > # function to replace small number with OK or if not with NZ 181s > # this is to avoid differences in the Fnorm column between machines/cpu/os/compilers 181s > 181s > # the test is for checking that testnslv (still) works as expected 181s > 181s > fixsmall <- function(x) { 181s + z <- ifelse(x < .Machine$double.eps^(2/3), "OK","NZ") 181s + z <- ifelse(is.na(z), "NA", z) 181s + z 181s + } 181s > 181s > dslnex <- function(x) { 181s + y <- numeric(2) 181s + y[1] <- x[1]^2 + x[2]^2 - 2 181s + y[2] <- exp(x[1]-1) + x[2]^3 - 2 181s + y 181s + } 181s > xstart <- c(0.5,0.5) 181s > fstart <- dslnex(xstart) 181s > z <- testnslv(xstart,dslnex) 181s > zfn <- z$out[,"Fnorm"] 181s > z$out[,"Fnorm"] <- fixsmall(zfn) 181s > z 181s Call: 181s testnslv(x = xstart, fn = dslnex) 181s 181s Results: 181s Method Global termcd Fcnt Jcnt Iter Message Fnorm 181s 1 Newton cline 1 7 6 6 Fcrit OK 181s 2 Newton qline 1 7 6 6 Fcrit OK 181s 3 Newton gline 1 9 5 5 Fcrit OK 181s 4 Newton pwldog 1 7 6 6 Fcrit OK 181s 5 Newton dbldog 1 7 6 6 Fcrit OK 181s 6 Newton hook 1 7 6 6 Fcrit OK 181s 7 Newton none 1 8 8 8 Fcrit OK 181s 8 Broyden cline 1 12 1 9 Fcrit OK 181s 9 Broyden qline 1 12 1 9 Fcrit OK 181s 10 Broyden gline 1 14 1 10 Fcrit OK 181s 11 Broyden pwldog 1 12 1 10 Fcrit OK 181s 12 Broyden dbldog 1 12 1 10 Fcrit OK 181s 13 Broyden hook 1 12 1 10 Fcrit OK 181s 14 Broyden none 1 13 1 13 Fcrit OK 181s > 181s > # this will encounter an error 181s > xstart <- c(2.0,0.5) 181s > fstart <- dslnex(xstart) 181s > z <- testnslv(xstart,dslnex) 181s Error (method=Newton global=none): non-finite value(s) detected in jacobian (row=2,col=1) 181s > zfn <- z$out[,"Fnorm"] 181s > z$out[,"Fnorm"] <- fixsmall(zfn) 181s > z 181s Call: 181s testnslv(x = xstart, fn = dslnex) 181s 181s Results: 181s Method Global termcd Fcnt Jcnt Iter Message Fnorm 181s 1 Newton cline 1 11 7 7 Fcrit OK 181s 2 Newton qline 1 10 7 7 Fcrit OK 181s 3 Newton gline 1 17 7 7 Fcrit OK 181s 4 Newton pwldog 1 6 5 5 Fcrit OK 181s 5 Newton dbldog 1 6 5 5 Fcrit OK 181s 6 Newton hook 1 11 7 7 Fcrit OK 181s 7 Newton none NA NA NA NA ERROR NA 181s 8 Broyden cline 1 17 1 11 Fcrit OK 181s 9 Broyden qline 1 18 1 13 Fcrit OK 181s 10 Broyden gline 1 25 1 11 Fcrit OK 181s 11 Broyden pwldog 1 12 1 10 Fcrit OK 181s 12 Broyden dbldog 1 12 1 10 Fcrit OK 181s 13 Broyden hook 1 16 1 12 Fcrit OK 181s 14 Broyden none 4 20 1 20 Maxiter NZ 181s > 181s autopkgtest [19:24:48]: test generic: -----------------------] 182s generic PASS 182s autopkgtest [19:24:49]: test generic: - - - - - - - - - - results - - - - - - - - - - 182s autopkgtest [19:24:49]: test pkg-r-autopkgtest: preparing testbed 185s Reading package lists... 185s Building dependency tree... 185s Reading state information... 186s Starting pkgProblemResolver with broken count: 0 186s Starting 2 pkgProblemResolver with broken count: 0 186s Done 186s The following additional packages will be installed: 186s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 186s dctrl-tools g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc 186s gcc-13 gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu gfortran gfortran-13 186s gfortran-13-aarch64-linux-gnu gfortran-aarch64-linux-gnu icu-devtools 186s libasan8 libatomic1 libblas-dev libbz2-dev libc-dev-bin libc6-dev libcc1-0 186s libcrypt-dev libgcc-13-dev libgfortran-13-dev libhwasan0 libicu-dev libisl23 186s libitm1 libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblsan0 186s liblzma-dev libmpc3 libncurses-dev libnsl-dev libpcre2-16-0 libpcre2-32-0 186s libpcre2-dev libpcre2-posix3 libpkgconf3 libpng-dev libreadline-dev 186s libstdc++-13-dev libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkg-config 186s pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev rpcsvc-proto zlib1g-dev 186s Suggested packages: 186s cpp-doc gcc-13-locales cpp-13-doc debtags gcc-13-doc gcc-multilib 186s manpages-dev autoconf automake libtool flex bison gdb gcc-doc 186s gdb-aarch64-linux-gnu gfortran-doc gfortran-13-doc libcoarrays-dev 186s liblapack-doc glibc-doc icu-doc liblzma-doc ncurses-doc readline-doc 186s libstdc++-13-doc texlive-base texlive-latex-base texlive-plain-generic 186s texlive-fonts-recommended texlive-fonts-extra texlive-extra-utils 186s texlive-latex-recommended texlive-latex-extra texinfo 186s Recommended packages: 186s bzip2-doc manpages manpages-dev libc-devtools libpng-tools 186s The following NEW packages will be installed: 186s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu 186s cpp-aarch64-linux-gnu dctrl-tools g++ g++-13 g++-13-aarch64-linux-gnu 186s g++-aarch64-linux-gnu gcc gcc-13 gcc-13-aarch64-linux-gnu 186s gcc-aarch64-linux-gnu gfortran gfortran-13 gfortran-13-aarch64-linux-gnu 186s gfortran-aarch64-linux-gnu icu-devtools libasan8 libatomic1 libblas-dev 186s libbz2-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libgcc-13-dev 186s libgfortran-13-dev libhwasan0 libicu-dev libisl23 libitm1 libjpeg-dev 186s libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblsan0 liblzma-dev libmpc3 186s libncurses-dev libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 186s libpcre2-posix3 libpkgconf3 libpng-dev libreadline-dev libstdc++-13-dev 186s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkg-config pkg-r-autopkgtest 186s pkgconf pkgconf-bin r-base-dev rpcsvc-proto zlib1g-dev 186s 0 upgraded, 62 newly installed, 0 to remove and 0 not upgraded. 186s Need to get 92.9 MB/92.9 MB of archives. 186s After this operation, 343 MB of additional disk space will be used. 186s Get:1 /tmp/autopkgtest.dzVsrA/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [724 B] 186s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 187s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 187s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 187s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB] 187s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 187s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 187s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 187s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 187s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 187s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB] 188s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B] 188s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 188s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 188s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB] 188s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB] 188s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB] 188s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB] 188s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB] 188s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB] 188s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB] 188s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB] 188s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB] 188s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB] 188s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB] 188s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 188s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 188s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libstdc++-13-dev arm64 13.2.0-17ubuntu2 [2322 kB] 188s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [11.7 MB] 189s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13 arm64 13.2.0-17ubuntu2 [14.4 kB] 189s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 189s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 189s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 189s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 dctrl-tools arm64 2.24-3build2 [65.2 kB] 189s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgfortran-13-dev arm64 13.2.0-17ubuntu2 [478 kB] 189s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.8 MB] 189s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran-13 arm64 13.2.0-17ubuntu2 [10.3 kB] 189s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1022 B] 189s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran arm64 4:13.2.0-7ubuntu1 [1164 B] 189s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 icu-devtools arm64 74.2-1ubuntu1 [209 kB] 189s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libblas-dev arm64 3.12.0-3 [111 kB] 189s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libbz2-dev arm64 1.0.8-5ubuntu1 [35.8 kB] 189s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libicu-dev arm64 74.2-1ubuntu1 [11.9 MB] 189s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-turbo8-dev arm64 2.1.5-2ubuntu1 [304 kB] 189s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg8-dev arm64 8c-2ubuntu11 [1484 B] 189s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-dev arm64 8c-2ubuntu11 [1482 B] 189s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 liblapack-dev arm64 3.12.0-3 [4293 kB] 189s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libncurses-dev arm64 6.4+20240113-1ubuntu1 [385 kB] 189s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 189s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB] 189s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B] 189s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB] 189s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB] 189s Get:54 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB] 189s Get:55 http://ftpmaster.internal/ubuntu noble/main arm64 libpng-dev arm64 1.6.43-1 [266 kB] 189s Get:56 http://ftpmaster.internal/ubuntu noble/main arm64 libreadline-dev arm64 8.2-3 [177 kB] 189s Get:57 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB] 189s Get:58 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB] 189s Get:59 http://ftpmaster.internal/ubuntu noble/main arm64 pkg-config arm64 1.8.1-2 [7170 B] 189s Get:60 http://ftpmaster.internal/ubuntu noble/main arm64 liblzma-dev arm64 5.4.5-0.3 [209 kB] 189s Get:61 http://ftpmaster.internal/ubuntu noble/universe arm64 r-base-dev all 4.3.2-1build1 [4336 B] 190s Get:62 http://ftpmaster.internal/ubuntu noble/universe arm64 pkg-r-autopkgtest all 20231212ubuntu1 [6448 B] 190s Fetched 92.9 MB in 3s (28.7 MB/s) 190s Selecting previously unselected package libc-dev-bin. 190s (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 ... 76367 files and directories currently installed.) 190s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 190s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 190s Selecting previously unselected package linux-libc-dev:arm64. 190s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_arm64.deb ... 190s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 190s Selecting previously unselected package libcrypt-dev:arm64. 190s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 190s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 190s Selecting previously unselected package libtirpc-dev:arm64. 190s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ... 190s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 190s Selecting previously unselected package libnsl-dev:arm64. 190s Preparing to unpack .../04-libnsl-dev_1.3.0-3_arm64.deb ... 190s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 190s Selecting previously unselected package rpcsvc-proto. 190s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 190s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 190s Selecting previously unselected package libc6-dev:arm64. 190s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_arm64.deb ... 190s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 191s Selecting previously unselected package libisl23:arm64. 191s Preparing to unpack .../07-libisl23_0.26-3_arm64.deb ... 191s Unpacking libisl23:arm64 (0.26-3) ... 191s Selecting previously unselected package libmpc3:arm64. 191s Preparing to unpack .../08-libmpc3_1.3.1-1_arm64.deb ... 191s Unpacking libmpc3:arm64 (1.3.1-1) ... 191s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 191s Preparing to unpack .../09-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 191s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 191s Selecting previously unselected package cpp-13. 191s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_arm64.deb ... 191s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 191s Selecting previously unselected package cpp-aarch64-linux-gnu. 191s Preparing to unpack .../11-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 191s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 191s Selecting previously unselected package cpp. 191s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 191s Unpacking cpp (4:13.2.0-7ubuntu1) ... 191s Selecting previously unselected package libcc1-0:arm64. 191s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_arm64.deb ... 191s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ... 191s Selecting previously unselected package libitm1:arm64. 191s Preparing to unpack .../14-libitm1_14-20240303-1ubuntu1_arm64.deb ... 191s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ... 191s Selecting previously unselected package libatomic1:arm64. 191s Preparing to unpack .../15-libatomic1_14-20240303-1ubuntu1_arm64.deb ... 191s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ... 191s Selecting previously unselected package libasan8:arm64. 191s Preparing to unpack .../16-libasan8_14-20240303-1ubuntu1_arm64.deb ... 191s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ... 191s Selecting previously unselected package liblsan0:arm64. 191s Preparing to unpack .../17-liblsan0_14-20240303-1ubuntu1_arm64.deb ... 191s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ... 191s Selecting previously unselected package libtsan2:arm64. 191s Preparing to unpack .../18-libtsan2_14-20240303-1ubuntu1_arm64.deb ... 191s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ... 191s Selecting previously unselected package libubsan1:arm64. 191s Preparing to unpack .../19-libubsan1_14-20240303-1ubuntu1_arm64.deb ... 191s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ... 191s Selecting previously unselected package libhwasan0:arm64. 191s Preparing to unpack .../20-libhwasan0_14-20240303-1ubuntu1_arm64.deb ... 191s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ... 191s Selecting previously unselected package libgcc-13-dev:arm64. 191s Preparing to unpack .../21-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ... 191s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 191s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 191s Preparing to unpack .../22-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 191s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 192s Selecting previously unselected package gcc-13. 192s Preparing to unpack .../23-gcc-13_13.2.0-17ubuntu2_arm64.deb ... 192s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 192s Selecting previously unselected package gcc-aarch64-linux-gnu. 192s Preparing to unpack .../24-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 192s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 192s Selecting previously unselected package gcc. 192s Preparing to unpack .../25-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 192s Unpacking gcc (4:13.2.0-7ubuntu1) ... 192s Selecting previously unselected package libstdc++-13-dev:arm64. 192s Preparing to unpack .../26-libstdc++-13-dev_13.2.0-17ubuntu2_arm64.deb ... 192s Unpacking libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 192s Selecting previously unselected package g++-13-aarch64-linux-gnu. 192s Preparing to unpack .../27-g++-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 192s Unpacking g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 192s Selecting previously unselected package g++-13. 192s Preparing to unpack .../28-g++-13_13.2.0-17ubuntu2_arm64.deb ... 192s Unpacking g++-13 (13.2.0-17ubuntu2) ... 192s Selecting previously unselected package g++-aarch64-linux-gnu. 192s Preparing to unpack .../29-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 192s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 192s Selecting previously unselected package g++. 192s Preparing to unpack .../30-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 192s Unpacking g++ (4:13.2.0-7ubuntu1) ... 192s Selecting previously unselected package build-essential. 192s Preparing to unpack .../31-build-essential_12.10ubuntu1_arm64.deb ... 192s Unpacking build-essential (12.10ubuntu1) ... 192s Selecting previously unselected package dctrl-tools. 192s Preparing to unpack .../32-dctrl-tools_2.24-3build2_arm64.deb ... 192s Unpacking dctrl-tools (2.24-3build2) ... 193s Selecting previously unselected package libgfortran-13-dev:arm64. 193s Preparing to unpack .../33-libgfortran-13-dev_13.2.0-17ubuntu2_arm64.deb ... 193s Unpacking libgfortran-13-dev:arm64 (13.2.0-17ubuntu2) ... 193s Selecting previously unselected package gfortran-13-aarch64-linux-gnu. 193s Preparing to unpack .../34-gfortran-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 193s Unpacking gfortran-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 193s Selecting previously unselected package gfortran-13. 193s Preparing to unpack .../35-gfortran-13_13.2.0-17ubuntu2_arm64.deb ... 193s Unpacking gfortran-13 (13.2.0-17ubuntu2) ... 193s Selecting previously unselected package gfortran-aarch64-linux-gnu. 193s Preparing to unpack .../36-gfortran-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 193s Unpacking gfortran-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 193s Selecting previously unselected package gfortran. 193s Preparing to unpack .../37-gfortran_4%3a13.2.0-7ubuntu1_arm64.deb ... 193s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 193s Selecting previously unselected package icu-devtools. 193s Preparing to unpack .../38-icu-devtools_74.2-1ubuntu1_arm64.deb ... 193s Unpacking icu-devtools (74.2-1ubuntu1) ... 193s Selecting previously unselected package libblas-dev:arm64. 193s Preparing to unpack .../39-libblas-dev_3.12.0-3_arm64.deb ... 193s Unpacking libblas-dev:arm64 (3.12.0-3) ... 193s Selecting previously unselected package libbz2-dev:arm64. 193s Preparing to unpack .../40-libbz2-dev_1.0.8-5ubuntu1_arm64.deb ... 193s Unpacking libbz2-dev:arm64 (1.0.8-5ubuntu1) ... 193s Selecting previously unselected package libicu-dev:arm64. 193s Preparing to unpack .../41-libicu-dev_74.2-1ubuntu1_arm64.deb ... 193s Unpacking libicu-dev:arm64 (74.2-1ubuntu1) ... 193s Selecting previously unselected package libjpeg-turbo8-dev:arm64. 193s Preparing to unpack .../42-libjpeg-turbo8-dev_2.1.5-2ubuntu1_arm64.deb ... 193s Unpacking libjpeg-turbo8-dev:arm64 (2.1.5-2ubuntu1) ... 193s Selecting previously unselected package libjpeg8-dev:arm64. 193s Preparing to unpack .../43-libjpeg8-dev_8c-2ubuntu11_arm64.deb ... 193s Unpacking libjpeg8-dev:arm64 (8c-2ubuntu11) ... 193s Selecting previously unselected package libjpeg-dev:arm64. 193s Preparing to unpack .../44-libjpeg-dev_8c-2ubuntu11_arm64.deb ... 193s Unpacking libjpeg-dev:arm64 (8c-2ubuntu11) ... 193s Selecting previously unselected package liblapack-dev:arm64. 193s Preparing to unpack .../45-liblapack-dev_3.12.0-3_arm64.deb ... 193s Unpacking liblapack-dev:arm64 (3.12.0-3) ... 193s Selecting previously unselected package libncurses-dev:arm64. 193s Preparing to unpack .../46-libncurses-dev_6.4+20240113-1ubuntu1_arm64.deb ... 193s Unpacking libncurses-dev:arm64 (6.4+20240113-1ubuntu1) ... 194s Selecting previously unselected package libpcre2-16-0:arm64. 194s Preparing to unpack .../47-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 194s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 194s Selecting previously unselected package libpcre2-32-0:arm64. 194s Preparing to unpack .../48-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ... 194s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 194s Selecting previously unselected package libpcre2-posix3:arm64. 194s Preparing to unpack .../49-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ... 194s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 194s Selecting previously unselected package libpcre2-dev:arm64. 194s Preparing to unpack .../50-libpcre2-dev_10.42-4ubuntu1_arm64.deb ... 194s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ... 194s Selecting previously unselected package libpkgconf3:arm64. 194s Preparing to unpack .../51-libpkgconf3_1.8.1-2_arm64.deb ... 194s Unpacking libpkgconf3:arm64 (1.8.1-2) ... 194s Selecting previously unselected package zlib1g-dev:arm64. 194s Preparing to unpack .../52-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ... 194s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 194s Selecting previously unselected package libpng-dev:arm64. 194s Preparing to unpack .../53-libpng-dev_1.6.43-1_arm64.deb ... 194s Unpacking libpng-dev:arm64 (1.6.43-1) ... 194s Selecting previously unselected package libreadline-dev:arm64. 194s Preparing to unpack .../54-libreadline-dev_8.2-3_arm64.deb ... 194s Unpacking libreadline-dev:arm64 (8.2-3) ... 194s Selecting previously unselected package pkgconf-bin. 194s Preparing to unpack .../55-pkgconf-bin_1.8.1-2_arm64.deb ... 194s Unpacking pkgconf-bin (1.8.1-2) ... 194s Selecting previously unselected package pkgconf:arm64. 194s Preparing to unpack .../56-pkgconf_1.8.1-2_arm64.deb ... 194s Unpacking pkgconf:arm64 (1.8.1-2) ... 194s Selecting previously unselected package pkg-config:arm64. 194s Preparing to unpack .../57-pkg-config_1.8.1-2_arm64.deb ... 194s Unpacking pkg-config:arm64 (1.8.1-2) ... 194s Selecting previously unselected package liblzma-dev:arm64. 194s Preparing to unpack .../58-liblzma-dev_5.4.5-0.3_arm64.deb ... 194s Unpacking liblzma-dev:arm64 (5.4.5-0.3) ... 194s Selecting previously unselected package r-base-dev. 194s Preparing to unpack .../59-r-base-dev_4.3.2-1build1_all.deb ... 194s Unpacking r-base-dev (4.3.2-1build1) ... 194s Selecting previously unselected package pkg-r-autopkgtest. 194s Preparing to unpack .../60-pkg-r-autopkgtest_20231212ubuntu1_all.deb ... 194s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ... 194s Selecting previously unselected package autopkgtest-satdep. 194s Preparing to unpack .../61-2-autopkgtest-satdep.deb ... 194s Unpacking autopkgtest-satdep (0) ... 194s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 194s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 194s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 194s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 194s Setting up libpkgconf3:arm64 (1.8.1-2) ... 194s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 194s Setting up libmpc3:arm64 (1.3.1-1) ... 194s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ... 194s Setting up icu-devtools (74.2-1ubuntu1) ... 194s Setting up pkgconf-bin (1.8.1-2) ... 194s Setting up liblzma-dev:arm64 (5.4.5-0.3) ... 194s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ... 194s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 194s Setting up libnsl-dev:arm64 (1.3.0-3) ... 194s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ... 194s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 194s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ... 194s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ... 194s Setting up libisl23:arm64 (0.26-3) ... 194s Setting up libc-dev-bin (2.39-0ubuntu2) ... 194s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ... 194s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ... 194s Setting up libblas-dev:arm64 (3.12.0-3) ... 194s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so to provide /usr/lib/aarch64-linux-gnu/libblas.so (libblas.so-aarch64-linux-gnu) in auto mode 194s Setting up dctrl-tools (2.24-3build2) ... 194s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ... 194s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 194s Setting up pkgconf:arm64 (1.8.1-2) ... 194s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 194s Setting up liblapack-dev:arm64 (3.12.0-3) ... 194s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so to provide /usr/lib/aarch64-linux-gnu/liblapack.so (liblapack.so-aarch64-linux-gnu) in auto mode 194s Setting up pkg-config:arm64 (1.8.1-2) ... 194s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 194s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 194s Setting up libgfortran-13-dev:arm64 (13.2.0-17ubuntu2) ... 194s Setting up libicu-dev:arm64 (74.2-1ubuntu1) ... 194s Setting up libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 194s Setting up libbz2-dev:arm64 (1.0.8-5ubuntu1) ... 194s Setting up libjpeg-turbo8-dev:arm64 (2.1.5-2ubuntu1) ... 194s Setting up libncurses-dev:arm64 (6.4+20240113-1ubuntu1) ... 194s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ... 194s Setting up cpp-13 (13.2.0-17ubuntu2) ... 194s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 194s Setting up libreadline-dev:arm64 (8.2-3) ... 194s Setting up gcc-13 (13.2.0-17ubuntu2) ... 194s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 194s Setting up cpp (4:13.2.0-7ubuntu1) ... 194s Setting up libjpeg8-dev:arm64 (8c-2ubuntu11) ... 194s Setting up g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 194s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 194s Setting up g++-13 (13.2.0-17ubuntu2) ... 194s Setting up libpng-dev:arm64 (1.6.43-1) ... 194s Setting up libjpeg-dev:arm64 (8c-2ubuntu11) ... 194s Setting up gfortran-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 194s Setting up gcc (4:13.2.0-7ubuntu1) ... 194s Setting up gfortran-13 (13.2.0-17ubuntu2) ... 194s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 194s Setting up gfortran-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 194s Setting up gfortran (4:13.2.0-7ubuntu1) ... 194s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 194s update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist 194s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 194s update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist 194s Setting up g++ (4:13.2.0-7ubuntu1) ... 194s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 194s Setting up build-essential (12.10ubuntu1) ... 194s Setting up r-base-dev (4.3.2-1build1) ... 194s Setting up pkg-r-autopkgtest (20231212ubuntu1) ... 194s Setting up autopkgtest-satdep (0) ... 194s Processing triggers for man-db (2.12.0-3) ... 195s Processing triggers for install-info (7.1-3) ... 195s Processing triggers for libc-bin (2.39-0ubuntu2) ... 198s (Reading database ... 79926 files and directories currently installed.) 198s Removing autopkgtest-satdep (0) ... 199s autopkgtest [19:25:06]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest 199s autopkgtest [19:25:06]: test pkg-r-autopkgtest: [----------------------- 199s Test: Try to load the R library nleqslv 199s 199s R version 4.3.2 (2023-10-31) -- "Eye Holes" 199s Copyright (C) 2023 The R Foundation for Statistical Computing 199s Platform: aarch64-unknown-linux-gnu (64-bit) 199s 199s R is free software and comes with ABSOLUTELY NO WARRANTY. 199s You are welcome to redistribute it under certain conditions. 199s Type 'license()' or 'licence()' for distribution details. 199s 199s R is a collaborative project with many contributors. 199s Type 'contributors()' for more information and 199s 'citation()' on how to cite R or R packages in publications. 199s 199s Type 'demo()' for some demos, 'help()' for on-line help, or 199s 'help.start()' for an HTML browser interface to help. 199s Type 'q()' to quit R. 199s 199s > library('nleqslv') 199s > 199s > 199s Other tests are currently unsupported! 199s They will be progressively added. 200s autopkgtest [19:25:07]: test pkg-r-autopkgtest: -----------------------] 200s pkg-r-autopkgtest PASS 200s autopkgtest [19:25:07]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 200s autopkgtest [19:25:07]: @@@@@@@@@@@@@@@@@@@@ summary 200s generic PASS 200s pkg-r-autopkgtest PASS 232s Creating nova instance adt-noble-arm64-r-cran-nleqslv-20240316-192147-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240314.img (UUID 7faf5f09-d335-4346-a441-4eab2f9c04fe)...