Package evaluation to test MatrixEquationsAD on Julia 1.12.7-DEV.42 (6f510b6086*) started at 2026-06-19T12:20:53.683 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.12` Set-up completed after 9.78s ################################################################################ # Installation # Installing MatrixEquationsAD... Resolving package versions... Installed ConcreteStructs ─── v0.2.4 Installed LinearMaps ──────── v3.11.4 Installed MatrixEquations ─── v2.5.9 Installed MatrixEquationsAD ─ v0.1.0 Updating `~/.julia/environments/v1.12/Project.toml` [283a1a7b] + MatrixEquationsAD v0.1.0 Updating `~/.julia/environments/v1.12/Manifest.toml` [2569d6c7] + ConcreteStructs v0.2.4 [7a12625a] + LinearMaps v3.11.4 [99c1a7ee] + MatrixEquations v2.5.9 [283a1a7b] + MatrixEquationsAD v0.1.0 [56f22d72] + Artifacts v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.12.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [4536629a] + OpenBLAS_jll v0.3.29+0 [8e850b90] + libblastrampoline_jll v5.15.0+0 Installation completed after 5.8s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling packages... 4554.0 ms ✓ TestEnv 1 dependency successfully precompiled in 5 seconds. 26 already precompiled. 24 dependencies precompiled but different versions are currently loaded (ArgTools, Base64, Dates, Downloads, JuliaSyntaxHighlighting, LibCURL, LibCURL_jll, LibGit2, LibGit2_jll, LibSSH2_jll, Logging, Markdown, MozillaCACerts_jll, NetworkOptions, OpenSSL_jll, Pkg, Printf, StyledStrings, TOML, Tar, UUIDs, Zlib_jll, nghttp2_jll and p7zip_jll). Restart julia to access the new versions. Otherwise, 1 dependent of these packages may trigger further precompilation to work with the unexpected versions. Precompiling package dependencies... Precompiling packages... 895.1 ms ✓ ConcreteStructs 832.3 ms ✓ Richardson 919.7 ms ✓ StructIO 800.4 ms ✓ Reexport 3223.6 ms ✓ LinearMaps 1384.7 ms ✓ EnzymeCore 1168.2 ms ✓ DocStringExtensions 881.5 ms ✓ ExprTools 5269.9 ms ✓ IrrationalConstants 4087.6 ms ✓ ConstructionBase 7625.9 ms ✓ MacroTools 1493.0 ms ✓ ADTypes 3701.7 ms ✓ CEnum 1030.6 ms ✓ StaticArraysCore 4076.9 ms ✓ NaNMath 930.1 ms ✓ Scratch 4109.1 ms ✓ Compat 1152.4 ms ✓ Preferences 4676.8 ms ✓ ObjectFile 4834.8 ms ✓ MatrixEquations 2181.9 ms ✓ LinearMaps → LinearMapsSparseArraysExt 1385.3 ms ✓ LogExpFunctions 909.1 ms ✓ ConstructionBase → ConstructionBaseLinearAlgebraExt 1673.5 ms ✓ CommonSubexpressions 5053.5 ms ✓ DifferentiationInterface 842.4 ms ✓ ADTypes → ADTypesEnzymeCoreExt 866.5 ms ✓ ADTypes → ADTypesConstructionBaseExt 868.4 ms ✓ DiffResults 900.7 ms ✓ Compat → CompatLinearAlgebraExt 1092.2 ms ✓ PrecompileTools 1378.7 ms ✓ JLLWrappers 6139.1 ms ✓ MatrixEquationsAD 1437.2 ms ✓ DifferentiationInterface → DifferentiationInterfaceSparseArraysExt 5390.7 ms ✓ ChainRulesCore 18451.4 ms ✓ StaticArrays 5339.4 ms ✓ Enzyme_jll 1467.3 ms ✓ LibTracyClient_jll 5615.2 ms ✓ LLVMExtra_jll 1478.2 ms ✓ OpenSpecFun_jll 4444.8 ms ✓ ChainRulesCore → ChainRulesCoreSparseArraysExt 942.2 ms ✓ LinearMaps → LinearMapsChainRulesCoreExt 1414.9 ms ✓ EnzymeCore → EnzymeCoreChainRulesCoreExt 972.8 ms ✓ ADTypes → ADTypesChainRulesCoreExt 3655.0 ms ✓ LogExpFunctions → LogExpFunctionsChainRulesCoreExt 916.4 ms ✓ DifferentiationInterface → DifferentiationInterfaceChainRulesCoreExt 4500.4 ms ✓ StaticArrays → StaticArraysChainRulesCoreExt 1516.5 ms ✓ ConstructionBase → ConstructionBaseStaticArraysExt 1422.9 ms ✓ DifferentiationInterface → DifferentiationInterfaceStaticArraysExt 1520.6 ms ✓ MatrixEquationsAD → MatrixEquationsADStaticArraysExt 2630.7 ms ✓ Tracy 22096.8 ms ✓ LLVM 6187.6 ms ✓ SpecialFunctions 5734.2 ms ✓ FiniteDifferences 62566.0 ms ✓ GPUCompiler 4551.4 ms ✓ SpecialFunctions → SpecialFunctionsChainRulesCoreExt 1380.5 ms ✓ DiffRules 2277.2 ms ✓ DifferentiationInterface → DifferentiationInterfaceFiniteDifferencesExt 143992.7 ms ✓ Enzyme 10367.7 ms ✓ ForwardDiff 34660.7 ms ✓ Enzyme → EnzymeSpecialFunctionsExt 31735.3 ms ✓ Enzyme → EnzymeLogExpFunctionsExt 33355.1 ms ✓ Enzyme → EnzymeStaticArraysExt 33100.1 ms ✓ Enzyme → EnzymeChainRulesCoreExt 32642.7 ms ✓ DifferentiationInterface → DifferentiationInterfaceEnzymeExt 37324.0 ms ✓ MatrixEquationsAD → MatrixEquationsADEnzymeExt 1933.8 ms ✓ ForwardDiff → ForwardDiffStaticArraysExt 4386.0 ms ✓ DifferentiationInterface → DifferentiationInterfaceForwardDiffExt 6156.4 ms ✓ MatrixEquationsAD → MatrixEquationsADForwardDiffExt 37068.8 ms ✓ EnzymeTestUtils 32978.3 ms ✓ MatrixEquationsAD → MatrixEquationsADEnzymeStaticArraysExt 2320.2 ms ✓ MatrixEquationsAD → MatrixEquationsADForwardDiffStaticArraysExt 71 dependencies successfully precompiled in 686 seconds. 33 already precompiled. 24 dependencies precompiled but different versions are currently loaded (ArgTools, Base64, Dates, Downloads, JuliaSyntaxHighlighting, LibCURL, LibCURL_jll, LibGit2, LibGit2_jll, LibSSH2_jll, Logging, Markdown, MozillaCACerts_jll, NetworkOptions, OpenSSL_jll, Pkg, Printf, StyledStrings, TOML, Tar, UUIDs, Zlib_jll, nghttp2_jll and p7zip_jll). Restart julia to access the new versions. Otherwise, 47 dependents of these packages may trigger further precompilation to work with the unexpected versions. Precompilation completed after 724.8s ################################################################################ # Testing # Testing MatrixEquationsAD Status `/tmp/jl_ZtqI3U/Project.toml` [a0c0ee7d] DifferentiationInterface v0.7.18 [7da242da] Enzyme v0.13.162 [12d8515a] EnzymeTestUtils v0.2.8 [26cc04aa] FiniteDifferences v0.12.34 [f6369f11] ForwardDiff v1.4.1 [99c1a7ee] MatrixEquations v2.5.9 [283a1a7b] MatrixEquationsAD v0.1.0 [90137ffa] StaticArrays v1.9.18 [37e2e46d] LinearAlgebra v1.12.0 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_ZtqI3U/Manifest.toml` [47edcb42] ADTypes v1.22.0 [fa961155] CEnum v0.5.0 [d360d2e6] ChainRulesCore v1.26.1 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.18.1 [2569d6c7] ConcreteStructs v0.2.4 [187b0558] ConstructionBase v1.6.0 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.16.0 [a0c0ee7d] DifferentiationInterface v0.7.18 [ffbed154] DocStringExtensions v0.9.5 [7da242da] Enzyme v0.13.162 [f151be2c] EnzymeCore v0.8.20 [12d8515a] EnzymeTestUtils v0.2.8 [e2ba6199] ExprTools v0.1.10 [26cc04aa] FiniteDifferences v0.12.34 [f6369f11] ForwardDiff v1.4.1 [61eb1bfa] GPUCompiler v1.22.1 [92d709cd] IrrationalConstants v0.2.6 [692b3bcd] JLLWrappers v1.8.0 [929cbde3] LLVM v9.9.0 [7a12625a] LinearMaps v3.11.4 [2ab3a3ac] LogExpFunctions v1.0.1 [1914dd2f] MacroTools v0.5.16 [99c1a7ee] MatrixEquations v2.5.9 [283a1a7b] MatrixEquationsAD v0.1.0 [77ba4419] NaNMath v1.1.4 [d8793406] ObjectFile v0.5.0 [aea7be01] PrecompileTools v1.3.4 [21216c6a] Preferences v1.5.2 [189a3867] Reexport v1.2.2 [708f8203] Richardson v1.4.3 [6c6a2e73] Scratch v1.3.0 [276daf66] SpecialFunctions v2.8.0 [90137ffa] StaticArrays v1.9.18 [1e83bf80] StaticArraysCore v1.4.4 [53d494c1] StructIO v0.3.1 [e689c965] Tracy v0.1.6 ⌅ [7cc45869] Enzyme_jll v0.0.269+0 [dad2f222] LLVMExtra_jll v0.0.43+1 [ad6e5548] LibTracyClient_jll v0.13.1+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.12.1 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.12.0 [f489334b] StyledStrings v1.11.0 [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.15.0+0 [e37daf67] LibGit2_jll v1.9.0+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.11.4 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.7+0 [458c3c95] OpenSSL_jll v3.5.6+0 [bea87d4a] SuiteSparse_jll v7.8.3+2 [83775a58] Zlib_jll v1.3.1+2 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.64.0+1 [3f19e933] p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Test Summary: | Pass Total Time README examples | 5 5 50.1s Test Summary: | Pass Total Time lyapd / lyapd! primal — DSGE fixtures | 45 45 14.7s Test Summary: | Pass Total Time lyapd! primal — small random pencils | 15 15 2.3s Test Summary: | Pass Total Time lyapd! ForwardDiff Dual chunk (random n=4) | 6 6 11.9s Test Summary: | Pass Total Time lyapdkr primal | 10 10 10.9s Test Summary: | Pass Total Time lyapdkr primal — SMatrix native (n=3 native LU, n=5 LU fallback) | 9 9 10.2s Test Summary: | Pass Total Time lyapdkr primal — M_ws workspace (FVGQ large) | 3 3 3.3s Test Summary: | Pass Total Time lyapdkr! primal | 4 4 1.3s lyapd Enzyme reverse vs FD — n=2 anchor: Error During Test at /home/pkgeval/.julia/packages/MatrixEquationsAD/TDUsW/test/test_enzyme_lyapd_small.jl:35 Got exception outside of a @test EnzymeInternalError: Enzyme compilation failed due to an internal error. Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl To toggle more information for debugging (needed for bug reports), set Enzyme.Compiler.VERBOSE_ERRORS[] = true (default false) Stacktrace: [1] _syrk_herk_gemm_wrapper! @ /opt/julia/share/julia/stdlib/v1.12/LinearAlgebra/src/matmul.jl:0 Stacktrace: [1] julia_error(msg::String, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/lNw5i/src/errors.jl:1281 [2] julia_error(cstr::Cstring, val::Ptr{LLVM.API.LLVMOpaqueValue}, errtype::Enzyme.API.ErrorType, data::Ptr{Nothing}, data2::Ptr{LLVM.API.LLVMOpaqueValue}, B::Ptr{LLVM.API.LLVMOpaqueBuilder}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/lNw5i/src/errors.jl:1024 [3] EnzymeCreatePrimalAndGradient(logic::Enzyme.Logic, todiff::LLVM.Function, retType::Enzyme.API.CDIFFE_TYPE, constant_args::Vector{Enzyme.API.CDIFFE_TYPE}, TA::Enzyme.TypeAnalysis, returnValue::Bool, dretUsed::Bool, mode::Enzyme.API.CDerivativeMode, runtimeActivity::Bool, strongZero::Bool, width::Int64, additionalArg::Ptr{Nothing}, forceAnonymousTape::Bool, typeInfo::Enzyme.FnTypeInfo, uncacheable_args::Vector{Bool}, augmented::Ptr{Nothing}, atomicAdd::Bool) @ Enzyme.API ~/.julia/packages/Enzyme/lNw5i/src/api.jl:270 [4] macro expansion @ ~/.julia/packages/Enzyme/lNw5i/src/compiler.jl:2826 [inlined] [5] macro expansion @ ~/.julia/packages/LLVM/0eKUn/src/base.jl:113 [inlined] [6] enzyme!(enzyme_context::Enzyme.EnzymeContext, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, interp::Enzyme.Compiler.Interpreter.EnzymeInterpreter{Nothing}, mod::LLVM.Module, primalf::LLVM.Function, TT::Type, mode::Enzyme.API.CDerivativeMode, width::Int64, parallel::Bool, actualRetType::Type, wrap::Bool, modifiedBetween::NTuple{N, Bool} where N, returnPrimal::Bool, expectedTapeType::Type, loweredArgs::Set{Int64}, boxedArgs::Set{Int64}, removedRoots::Set{Int64}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/lNw5i/src/compiler.jl:2697 [7] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/lNw5i/src/compiler.jl:6013 [8] #compile#118 @ ~/.julia/packages/GPUCompiler/soRrN/src/driver.jl:67 [inlined] [9] compile @ ~/.julia/packages/GPUCompiler/soRrN/src/driver.jl:55 [inlined] [10] _thunk(job::GPUCompiler.CompilerJob{Enzyme.Compiler.EnzymeTarget{GPUCompiler.NativeCompilerTarget}, Enzyme.Compiler.EnzymeCompilerParams{Enzyme.Compiler.PrimalCompilerParams}}, postopt::Bool) @ Enzyme.Compiler ~/.julia/packages/Enzyme/lNw5i/src/compiler.jl:6956 [11] _thunk @ ~/.julia/packages/Enzyme/lNw5i/src/compiler.jl:6954 [inlined] [12] cached_compilation @ ~/.julia/packages/Enzyme/lNw5i/src/compiler.jl:7024 [inlined] [13] thunkbase(mi::Core.MethodInstance, World::UInt64, FA::Type{<:EnzymeCore.Annotation}, A::Type{<:EnzymeCore.Annotation}, TT::Type, Mode::Enzyme.API.CDerivativeMode, width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, edges::Vector{Any}) @ Enzyme.Compiler ~/.julia/packages/Enzyme/lNw5i/src/compiler.jl:7140 [14] thunk_generator(world::UInt64, source::Union{LineNumberNode, Method}, FA::Type, A::Type, TT::Type, Mode::Enzyme.API.CDerivativeMode, Width::Int64, ModifiedBetween::NTuple{N, Bool} where N, ReturnPrimal::Bool, ShadowInit::Bool, ABI::Type, ErrIfFuncWritten::Bool, RuntimeActivity::Bool, StrongZero::Bool, self::Any, fakeworld::Any, fa::Type, a::Type, tt::Type, mode::Type, width::Type, modifiedbetween::Type, returnprimal::Type, shadowinit::Type, abi::Type, erriffuncwritten::Type, runtimeactivity::Type, strongzero::Type) @ Enzyme.Compiler ~/.julia/packages/Enzyme/lNw5i/src/compiler.jl:7284 [15] autodiff @ ~/.julia/packages/Enzyme/lNw5i/src/Enzyme.jl:517 [inlined] [16] autodiff(::EnzymeCore.ReverseMode{false, false, false, EnzymeCore.FFIABI, false, false}, ::typeof(lyapd_weighted_sum), ::Type{Active}, ::Duplicated{Matrix{Float64}}, ::Duplicated{Matrix{Float64}}, ::Const{Matrix{Float64}}) @ Enzyme ~/.julia/packages/Enzyme/lNw5i/src/Enzyme.jl:557 [17] top-level scope @ ~/.julia/packages/MatrixEquationsAD/TDUsW/test/test_enzyme_lyapd_small.jl:36 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1777 [inlined] [19] macro expansion @ ~/.julia/packages/MatrixEquationsAD/TDUsW/test/test_enzyme_lyapd_small.jl:41 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [21] top-level scope @ ~/.julia/packages/MatrixEquationsAD/TDUsW/test/runtests.jl:27 [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:307 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:489 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:283 [26] _start() @ Base ./client.jl:550 Test Summary: | Error Total Time lyapd Enzyme reverse vs FD — n=2 anchor | 1 1 8m27.4s RNG of the outermost testset: Random.Xoshiro(0xf840344f034f8ca2, 0xc0c785ad6b11f8a9, 0xfef398cc7a295aef, 0x0ad66ab4dce07382, 0x8135ac47b17765d6) ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/MatrixEquationsAD/TDUsW/test/test_enzyme_lyapd_small.jl:35 in expression starting at /home/pkgeval/.julia/packages/MatrixEquationsAD/TDUsW/test/runtests.jl:27 Testing failed after 673.64s ERROR: LoadError: Package MatrixEquationsAD errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2538 [3] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:2387 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:552 [5] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:169 [6] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:157 [7] test @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:157 [inlined] [8] #test#81 @ /opt/julia/share/julia/stdlib/v1.12/Pkg/src/API.jl:156 [inlined] [9] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 [10] include(mod::Module, _path::String) @ Base ./Base.jl:306 [11] exec_options(opts::Base.JLOptions) @ Base ./client.jl:317 [12] _start() @ Base ./client.jl:550 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 1435.61s: package tests unexpectedly errored