Package evaluation of QuantumToolbox on Julia 1.13.0-DEV.974 (7bbb213719*) started at 2025-08-13T01:18:41.002 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.86s ################################################################################ # Installation # Installing QuantumToolbox... Resolving package versions... Updating `~/.julia/environments/v1.13/Project.toml` [6c2fb7c5] + QuantumToolbox v0.34.0 Updating `~/.julia/environments/v1.13/Manifest.toml` [47edcb42] + ADTypes v1.16.0 [621f4979] + AbstractFFTs v1.5.0 [7d9f7c33] + Accessors v0.1.42 [79e6a3ab] + Adapt v4.3.0 [66dad0bd] + AliasTables v1.1.3 [ec485272] + ArnoldiMethod v0.4.0 [4fba245c] + ArrayInterface v7.19.0 [4c555306] + ArrayLayouts v1.11.2 [62783981] + BitTwiddlingConvenienceFunctions v0.1.6 [70df07ce] + BracketingNonlinearSolve v1.3.0 [2a0fbf3d] + CPUSummary v0.2.7 [d360d2e6] + ChainRulesCore v1.26.0 [fb6a15b2] + CloseOpenIntervals v0.1.13 [38540f10] + CommonSolve v0.2.4 [bbf7d656] + CommonSubexpressions v0.3.1 [f70d9fcc] + CommonWorldInvalidations v1.0.0 [34da2185] + Compat v4.18.0 [a33af91c] + CompositionsBase v0.1.2 [2569d6c7] + ConcreteStructs v0.2.3 [187b0558] + ConstructionBase v1.6.0 [adafc99b] + CpuId v0.3.1 [a8cc5b0e] + Crayons v4.1.1 [9a962f9c] + DataAPI v1.16.0 ⌅ [864edb3b] + DataStructures v0.18.22 [e2d170a0] + DataValueInterfaces v1.0.0 [2b5f629d] + DiffEqBase v6.183.0 [459566f4] + DiffEqCallbacks v4.9.0 [77a26b50] + DiffEqNoiseProcess v5.24.1 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [a0c0ee7d] + DifferentiationInterface v0.7.4 [b4f34e82] + Distances v0.10.12 [31c24e10] + Distributions v0.25.120 [ffbed154] + DocStringExtensions v0.9.5 [4e289a0a] + EnumX v1.0.5 [f151be2c] + EnzymeCore v0.8.12 [e2ba6199] + ExprTools v0.1.10 [55351af7] + ExproniconLite v0.10.14 [7a1cc6ca] + FFTW v1.9.0 [7034ab61] + FastBroadcast v0.3.5 [9aa1b823] + FastClosures v0.3.2 [a4df4552] + FastPower v1.1.3 [1a297f60] + FillArrays v1.13.0 [6a86dc24] + FiniteDiff v2.27.0 [f6369f11] + ForwardDiff v1.0.1 [069b7b12] + FunctionWrappers v1.1.3 [77dc65aa] + FunctionWrappersWrappers v0.1.3 [d9f16b24] + Functors v0.5.2 [46192b85] + GPUArraysCore v0.2.0 [86223c79] + Graphs v1.13.0 [34004b35] + HypergeometricFunctions v0.3.28 [615f187c] + IfElse v0.1.1 [40713840] + IncompleteLU v0.2.1 [d25df0c9] + Inflate v0.1.5 [3587e190] + InverseFunctions v0.1.17 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.1 [ae98c720] + Jieko v0.2.1 [ccbc3e58] + JumpProcesses v9.17.0 [ba0b0d4f] + Krylov v0.10.1 [b964fa9f] + LaTeXStrings v1.4.0 [10f19ff3] + LayoutPointers v0.1.17 [5078a376] + LazyArrays v2.6.2 [2d8b4e74] + LevyArea v1.0.0 [87fe0de2] + LineSearch v0.1.4 [d3d80556] + LineSearches v7.4.0 [7ed4a6bd] + LinearSolve v3.28.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.16 [d125e4d3] + ManualMemory v0.1.8 [bb5d69b7] + MaybeInplace v0.1.4 [e1d29d7a] + Missings v1.2.0 [2e0e35c7] + Moshi v0.3.7 [46d2c3a1] + MuladdMacro v0.2.4 [d41bc354] + NLSolversBase v7.10.0 [2774e3e8] + NLsolve v4.5.1 [77ba4419] + NaNMath v1.1.3 [8913a72c] + NonlinearSolve v4.10.0 [be0214bd] + NonlinearSolveBase v1.14.0 [5959db7a] + NonlinearSolveFirstOrder v1.7.0 [9a2c21bd] + NonlinearSolveQuasiNewton v1.8.0 [26075421] + NonlinearSolveSpectralMethods v1.3.0 [429524aa] + Optim v1.13.2 [bac558e1] + OrderedCollections v1.8.1 [bbf590c4] + OrdinaryDiffEqCore v1.30.0 ⌃ [4302a76b] + OrdinaryDiffEqDifferentiation v1.11.0 ⌃ [127b3ac7] + OrdinaryDiffEqNonlinearSolve v1.12.0 [b1df2697] + OrdinaryDiffEqTsit5 v1.5.0 [90014a1f] + PDMats v0.11.35 [d96e819e] + Parameters v0.12.3 [e409e4f3] + PoissonRandom v0.4.6 [f517fe37] + Polyester v0.7.18 [1d0040c9] + PolyesterWeave v0.2.2 [85a6dd25] + PositiveFactorizations v0.2.4 [d236fae5] + PreallocationTools v0.4.31 [aea7be01] + PrecompileTools v1.3.2 [21216c6a] + Preferences v1.5.0 [08abe8d2] + PrettyTables v2.4.0 [43287f4e] + PtrArrays v1.3.0 [1fd47b50] + QuadGK v2.11.2 [6c2fb7c5] + QuantumToolbox v0.34.0 [74087812] + Random123 v1.7.1 [e6cf234a] + RandomNumbers v1.6.0 [3cdcf5f2] + RecipesBase v1.3.4 [731186ca] + RecursiveArrayTools v3.37.0 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [ae5879a3] + ResettableStacks v1.1.1 [79098fc4] + Rmath v0.8.0 [7e49a35a] + RuntimeGeneratedFunctions v0.5.15 [94e857df] + SIMDTypes v0.1.0 [0bca4576] + SciMLBase v2.108.0 [19f34311] + SciMLJacobianOperators v0.1.8 [c0aeaf25] + SciMLOperators v1.5.0 [53ae85a6] + SciMLStructures v1.7.0 [efcf1570] + Setfield v1.1.2 [727e6d20] + SimpleNonlinearSolve v2.7.0 [699a6c99] + SimpleTraits v0.9.5 [ce78b400] + SimpleUnPack v1.1.0 [a2af1166] + SortingAlgorithms v1.2.2 [0a514795] + SparseMatrixColorings v0.4.21 [276daf66] + SpecialFunctions v2.5.1 [aedffcd0] + Static v1.2.0 [0d7ed370] + StaticArrayInterface v1.8.0 [90137ffa] + StaticArrays v1.9.14 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [2913bbd2] + StatsBase v0.34.6 [4c63d2b9] + StatsFuns v1.5.0 [789caeaf] + StochasticDiffEq v6.81.0 [7792a7ef] + StrideArraysCore v0.5.7 [892a3eda] + StringManipulation v0.4.1 [2efcf032] + SymbolicIndexingInterface v0.3.42 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [8290d209] + ThreadingUtilities v0.5.5 [a759f4b9] + TimerOutputs v0.5.29 [781d530d] + TruncatedStacktraces v1.4.0 [3a884ed6] + UnPack v1.0.2 [f5851436] + FFTW_jll v3.3.11+0 [1d5cc7b8] + IntelOpenMP_jll v2025.2.0+0 [856f044c] + MKL_jll v2025.2.0+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 [1317d2d5] + oneTBB_jll v2022.0.0+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [9fa8497b] + Future 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.13.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.13.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [1a1011a3] + SharedArrays v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] + LibCURL_jll v8.15.0+1 [e37daf67] + LibGit2_jll v1.9.1+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [14a3606d] + MozillaCACerts_jll v2025.7.15 [4536629a] + OpenBLAS_jll v0.3.29+0 [05823500] + OpenLibm_jll v0.8.5+0 [458c3c95] + OpenSSL_jll v3.5.2+0 [efcefdf7] + PCRE2_jll v10.45.0+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.1+2 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.13.1+0 [8e850ede] + nghttp2_jll v1.65.0+0 [3f19e933] + p7zip_jll v17.5.0+2 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m` Installation completed after 6.23s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 30.35s ################################################################################ # Testing # Testing QuantumToolbox Status `/tmp/jl_fJBexV/Project.toml` [6c2fb7c5] QuantumToolbox v0.34.0 [c0aeaf25] SciMLOperators v1.5.0 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [f8b46487] TestItemRunner v1.1.0 [37e2e46d] LinearAlgebra v1.13.0 [44cfe95a] Pkg v1.13.0 [9a3f8284] Random v1.11.0 [2f01184e] SparseArrays v1.13.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_fJBexV/Manifest.toml` [47edcb42] ADTypes v1.16.0 [621f4979] AbstractFFTs v1.5.0 [7d9f7c33] Accessors v0.1.42 [79e6a3ab] Adapt v4.3.0 [66dad0bd] AliasTables v1.1.3 [ec485272] ArnoldiMethod v0.4.0 [4fba245c] ArrayInterface v7.19.0 [4c555306] ArrayLayouts v1.11.2 [62783981] BitTwiddlingConvenienceFunctions v0.1.6 [70df07ce] BracketingNonlinearSolve v1.3.0 [2a0fbf3d] CPUSummary v0.2.7 [d360d2e6] ChainRulesCore v1.26.0 [fb6a15b2] CloseOpenIntervals v0.1.13 [38540f10] CommonSolve v0.2.4 [bbf7d656] CommonSubexpressions v0.3.1 [f70d9fcc] CommonWorldInvalidations v1.0.0 [34da2185] Compat v4.18.0 [a33af91c] CompositionsBase v0.1.2 [2569d6c7] ConcreteStructs v0.2.3 [187b0558] ConstructionBase v1.6.0 [adafc99b] CpuId v0.3.1 [a8cc5b0e] Crayons v4.1.1 [9a962f9c] DataAPI v1.16.0 ⌅ [864edb3b] DataStructures v0.18.22 [e2d170a0] DataValueInterfaces v1.0.0 [2b5f629d] DiffEqBase v6.183.0 [459566f4] DiffEqCallbacks v4.9.0 [77a26b50] DiffEqNoiseProcess v5.24.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [a0c0ee7d] DifferentiationInterface v0.7.4 [b4f34e82] Distances v0.10.12 [31c24e10] Distributions v0.25.120 [ffbed154] DocStringExtensions v0.9.5 [4e289a0a] EnumX v1.0.5 [f151be2c] EnzymeCore v0.8.12 [e2ba6199] ExprTools v0.1.10 [55351af7] ExproniconLite v0.10.14 [7a1cc6ca] FFTW v1.9.0 [7034ab61] FastBroadcast v0.3.5 [9aa1b823] FastClosures v0.3.2 [a4df4552] FastPower v1.1.3 [1a297f60] FillArrays v1.13.0 [6a86dc24] FiniteDiff v2.27.0 [f6369f11] ForwardDiff v1.0.1 [069b7b12] FunctionWrappers v1.1.3 [77dc65aa] FunctionWrappersWrappers v0.1.3 [d9f16b24] Functors v0.5.2 [46192b85] GPUArraysCore v0.2.0 [86223c79] Graphs v1.13.0 [34004b35] HypergeometricFunctions v0.3.28 [615f187c] IfElse v0.1.1 [40713840] IncompleteLU v0.2.1 [d25df0c9] Inflate v0.1.5 [3587e190] InverseFunctions v0.1.17 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.1 [ae98c720] Jieko v0.2.1 [ccbc3e58] JumpProcesses v9.17.0 [ba0b0d4f] Krylov v0.10.1 [b964fa9f] LaTeXStrings v1.4.0 [10f19ff3] LayoutPointers v0.1.17 [5078a376] LazyArrays v2.6.2 [2d8b4e74] LevyArea v1.0.0 [87fe0de2] LineSearch v0.1.4 [d3d80556] LineSearches v7.4.0 [7ed4a6bd] LinearSolve v3.28.0 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 [d125e4d3] ManualMemory v0.1.8 [bb5d69b7] MaybeInplace v0.1.4 [e1d29d7a] Missings v1.2.0 [2e0e35c7] Moshi v0.3.7 [46d2c3a1] MuladdMacro v0.2.4 [d41bc354] NLSolversBase v7.10.0 [2774e3e8] NLsolve v4.5.1 [77ba4419] NaNMath v1.1.3 [8913a72c] NonlinearSolve v4.10.0 [be0214bd] NonlinearSolveBase v1.14.0 [5959db7a] NonlinearSolveFirstOrder v1.7.0 [9a2c21bd] NonlinearSolveQuasiNewton v1.8.0 [26075421] NonlinearSolveSpectralMethods v1.3.0 [429524aa] Optim v1.13.2 [bac558e1] OrderedCollections v1.8.1 [bbf590c4] OrdinaryDiffEqCore v1.30.0 ⌃ [4302a76b] OrdinaryDiffEqDifferentiation v1.11.0 ⌃ [127b3ac7] OrdinaryDiffEqNonlinearSolve v1.12.0 [b1df2697] OrdinaryDiffEqTsit5 v1.5.0 [90014a1f] PDMats v0.11.35 [d96e819e] Parameters v0.12.3 [e409e4f3] PoissonRandom v0.4.6 [f517fe37] Polyester v0.7.18 [1d0040c9] PolyesterWeave v0.2.2 [85a6dd25] PositiveFactorizations v0.2.4 [d236fae5] PreallocationTools v0.4.31 [aea7be01] PrecompileTools v1.3.2 [21216c6a] Preferences v1.5.0 [08abe8d2] PrettyTables v2.4.0 [43287f4e] PtrArrays v1.3.0 [1fd47b50] QuadGK v2.11.2 [6c2fb7c5] QuantumToolbox v0.34.0 [74087812] Random123 v1.7.1 [e6cf234a] RandomNumbers v1.6.0 [3cdcf5f2] RecipesBase v1.3.4 [731186ca] RecursiveArrayTools v3.37.0 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [ae5879a3] ResettableStacks v1.1.1 [79098fc4] Rmath v0.8.0 [7e49a35a] RuntimeGeneratedFunctions v0.5.15 [94e857df] SIMDTypes v0.1.0 [0bca4576] SciMLBase v2.108.0 [19f34311] SciMLJacobianOperators v0.1.8 [c0aeaf25] SciMLOperators v1.5.0 [53ae85a6] SciMLStructures v1.7.0 [efcf1570] Setfield v1.1.2 [727e6d20] SimpleNonlinearSolve v2.7.0 [699a6c99] SimpleTraits v0.9.5 [ce78b400] SimpleUnPack v1.1.0 [a2af1166] SortingAlgorithms v1.2.2 [0a514795] SparseMatrixColorings v0.4.21 [276daf66] SpecialFunctions v2.5.1 [aedffcd0] Static v1.2.0 [0d7ed370] StaticArrayInterface v1.8.0 [90137ffa] StaticArrays v1.9.14 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.6 [4c63d2b9] StatsFuns v1.5.0 [789caeaf] StochasticDiffEq v6.81.0 [7792a7ef] StrideArraysCore v0.5.7 [892a3eda] StringManipulation v0.4.1 [2efcf032] SymbolicIndexingInterface v0.3.42 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [f8b46487] TestItemRunner v1.1.0 [1c621080] TestItems v1.0.0 [8290d209] ThreadingUtilities v0.5.5 [a759f4b9] TimerOutputs v0.5.29 [781d530d] TruncatedStacktraces v1.4.0 [3a884ed6] UnPack v1.0.2 [f5851436] FFTW_jll v3.3.11+0 [1d5cc7b8] IntelOpenMP_jll v2025.2.0+0 [856f044c] MKL_jll v2025.2.0+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [1317d2d5] oneTBB_jll v2022.0.0+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future 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.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.13.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [1a1011a3] SharedArrays v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [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+1 [e37daf67] LibGit2_jll v1.9.1+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.7.15 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.5+0 [458c3c95] OpenSSL_jll v3.5.2+0 [efcefdf7] PCRE2_jll v10.45.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.13.1+0 [8e850ede] nghttp2_jll v1.65.0+0 [3f19e933] p7zip_jll v17.5.0+2 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. Testing Running tests... QuantumToolbox.jl: Quantum Toolbox in Julia ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ Copyright © QuTiP team 2022 and later. Current admin team: Alberto Mercurio and Yi-Te Huang Package information: ==================================== Julia Ver. 1.13.0-DEV.974 QuantumToolbox Ver. 0.34.0 SciMLOperators Ver. 1.5.0 LinearSolve Ver. 3.28.0 OrdinaryDiffEqCore Ver. 1.30.0 System information: ==================================== OS : Linux (x86_64-linux-gnu) CPU : 128 × AMD EPYC 7502 32-Core Processor Memory : 32.0 GB WORD_SIZE: 64 LIBM : libopenlibm LLVM : libLLVM-20.1.8 (ORCJIT, znver2) BLAS : libopenblas64_.so (ilp64) Threads : 1 (on 1 virtual cores) Start running Core tests... Progress: [==============================] 100.0% --- Elapsed Time: 0h 00m 00s (ETA: 0h 00m 00s) mcsolve: Error During Test at /home/pkgeval/.julia/packages/QuantumToolbox/Uzf3o/test/core-test/time_evolution.jl:347 Test threw exception Expression: all(isapprox.(stdvals[:, 2:var"end"], dropdims(sqrt.(mean(abs2.(expvals_all), dims = 2) .- abs2.(mean(expvals_all, dims = 2))), dims = 2); atol = 1.0e-6)) DomainError with -1.1102230246251565e-16: sqrt was called with a negative real argument but will only return a complex result if called with a complex argument. Try sqrt(Complex(x)). DomainError detected in the user `f` function. This occurs when the domain of a function is violated. For example, `log(-1.0)` is undefined because `log` of a real number is defined to only output real numbers, but `log` of a negative number is complex valued and therefore Julia throws a DomainError by default. Cases to be aware of include: * `log(x)`, `sqrt(x)`, `cbrt(x)`, etc. where `x<0` * `x^y` for `x<0` floating point `y` (example: `(-1.0)^(1/2) == im`) Within the context of SciML, this error can occur within the solver process even if the domain constraint would not be violated in the solution due to adaptivity. For example, an ODE solver or optimization routine may check a step at `new_u` which violates the domain constraint, and if violated reject the step and use a smaller `dt`. However, the throwing of this error will have halted the solving process. Thus the recommended fix is to replace this function with the equivalent ones from NaNMath.jl (https://github.com/JuliaMath/NaNMath.jl) which returns a NaN instead of an error. The solver will then effectively use the NaN within the error control routines to reject the out of bounds step. Additionally, one could perform a domain transformation on the variables so that such an issue does not occur in the definition of `f`. For more information, check out the following FAQ page: https://docs.sciml.ai/Optimization/stable/API/FAQ/#The-Solver-Seems-to-Violate-Constraints-During-the-Optimization,-Causing-DomainErrors,-What-Can-I-Do-About-That? Stacktrace: [1] throw_complex_domainerror(f::Symbol, x::Float64) @ Base.Math ./math.jl:33 [2] sqrt @ ./math.jl:648 [inlined] [3] _broadcast_getindex_evalf @ ./broadcast.jl:701 [inlined] [4] _broadcast_getindex @ ./broadcast.jl:674 [inlined] [5] _getindex @ ./broadcast.jl:622 [inlined] [6] getindex @ ./broadcast.jl:618 [inlined] [7] macro expansion @ ./broadcast.jl:997 [inlined] [8] macro expansion @ ./simdloop.jl:77 [inlined] [9] copyto! @ ./broadcast.jl:996 [inlined] [10] copyto! @ ./broadcast.jl:949 [inlined] [11] copy @ ./broadcast.jl:921 [inlined] [12] materialize(bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{3}, Nothing, typeof(sqrt), Tuple{Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{3}, Nothing, typeof(-), Tuple{Array{Float64, 3}, Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{3}, Nothing, typeof(abs2), Tuple{Array{ComplexF64, 3}}}}}}}) @ Base.Broadcast ./broadcast.jl:896 [13] top-level scope @ ~/.julia/packages/QuantumToolbox/Uzf3o/test/core-test/time_evolution.jl:533 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.13/Test/src/Test.jl:742 [inlined] Progress: [==============================] 100.0% --- Elapsed Time: 0h 00m 00s (ETA: 0h 00m 00s) Progress: [================== ] 60.0% --- Elapsed Time: 0h 00m 01s (ETA: 0h 00m 00s) Progress: [==============================] 100.0% --- Elapsed Time: 0h 00m 02s (ETA: 0h 00m 00s) ====================================================================================== Information request received. A stacktrace will print followed by a 1.0 second profile ====================================================================================== cmd: /opt/julia/bin/julia 15 running 1 of 1 signal (10): User defined signal 1 _ZN4llvm12MachineInstr7setDescERKNS_11MCInstrDescE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZNK4llvm12X86InstrInfo20optimizeCompareInstrERNS_12MachineInstrENS_8RegisterES3_llPKNS_19MachineRegisterInfoE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN12_GLOBAL__N_117PeepholeOptimizer3runERN4llvm15MachineFunctionE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN12_GLOBAL__N_123PeepholeOptimizerLegacy20runOnMachineFunctionERN4llvm15MachineFunctionE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE.part.0 at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm3orc14SimpleCompilerclERNS_6ModuleE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) operator() at /source/src/jitlayers.cpp:1612 addModule at /source/src/jitlayers.cpp:2093 jl_compile_codeinst_now at /source/src/jitlayers.cpp:682 jl_compile_codeinst_impl at /source/src/jitlayers.cpp:873 jl_compile_method_internal at /source/src/gf.c:3527 _jl_invoke at /source/src/gf.c:4007 [inlined] ijl_apply_generic at /source/src/gf.c:4212 #2 at ./none (unknown line) iterate at ./generator.jl:48 [inlined] collect at ./array.jl:803 unknown function (ip: 0x774db2bc3882) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:708 eval_body at /source/src/interpreter.c:558 jl_interpret_toplevel_thunk at /source/src/interpreter.c:899 jl_toplevel_eval_flex at /source/src/toplevel.c:773 jl_toplevel_eval_flex at /source/src/toplevel.c:713 ijl_toplevel_eval at /source/src/toplevel.c:785 ijl_toplevel_eval_in at /source/src/toplevel.c:830 eval at ./boot.jl:489 include_string at ./loading.jl:2847 include_string at ./loading.jl:2857 _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] jl_f_invokelatest at /source/src/builtins.c:877 #run_testitem##6 at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/TestItemRunner.jl:118 [inlined] withpath at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/vendored_code.jl:7 #run_testitem##4 at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/TestItemRunner.jl:117 [inlined] cd at ./file.jl:112 unknown function (ip: 0x774df9cf1236) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 run_testitem at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/TestItemRunner.jl:116 unknown function (ip: 0x774df9cf0e7e) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 #run_tests#7 at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/TestItemRunner.jl:221 run_tests at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/TestItemRunner.jl:133 unknown function (ip: 0x774df9cbe146) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:708 jl_interpret_toplevel_thunk at /source/src/interpreter.c:899 jl_toplevel_eval_flex at /source/src/toplevel.c:773 jl_toplevel_eval_flex at /source/src/toplevel.c:713 ijl_toplevel_eval at /source/src/toplevel.c:785 ijl_toplevel_eval_in at /source/src/toplevel.c:830 eval at ./boot.jl:489 include_string at ./loading.jl:2847 _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 _include at ./loading.jl:2907 include at ./Base.jl:312 IncludeInto at ./Base.jl:313 jfptr_IncludeInto_74172.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:708 jl_interpret_toplevel_thunk at /source/src/interpreter.c:899 jl_toplevel_eval_flex at /source/src/toplevel.c:773 jl_toplevel_eval_flex at /source/src/toplevel.c:713 ijl_toplevel_eval at /source/src/toplevel.c:785 ijl_toplevel_eval_in at /source/src/toplevel.c:830 eval at ./boot.jl:489 exec_options at ./client.jl:286 _start at ./client.jl:553 jfptr__start_75359.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] true_main at /source/src/jlapi.c:971 jl_repl_entrypoint at /source/src/jlapi.c:1138 main at /source/cli/loader_exe.c:58 unknown function (ip: 0x774e0f823249) at /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) unknown function (ip: 0x4010b8) at /workspace/srcdir/glibc-2.17/csu/../sysdeps/x86_64/start.S unknown function (ip: (nil)) at (unknown file) ============================================================== Profile collected. A report will print at the next yield point ============================================================== ====================================================================================== Information request received. A stacktrace will print followed by a 1.0 second profile ====================================================================================== cmd: /opt/julia/bin/julia 1 running 0 of 1 signal (10): User defined signal 1 epoll_pwait at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) uv__io_poll at /workspace/srcdir/libuv/src/unix/linux.c:1404 uv_run at /workspace/srcdir/libuv/src/unix/core.c:430 ijl_task_get_next at /source/src/scheduler.c:457 wait at ./task.jl:1192 wait_forever at ./task.jl:1129 jfptr_wait_forever_70431.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] start_task at /source/src/task.c:1253 unknown function (ip: (nil)) at (unknown file) ============================================================== Profile collected. A report will print at the next yield point ============================================================== ┌ Warning: There were no samples collected in one or more groups. │ This may be due to idle threads, or you may need to run your │ program longer (perhaps by running it multiple times), │ or adjust the delay between samples with `Profile.init()`. └ @ Profile /opt/julia/share/julia/stdlib/v1.13/Profile/src/Profile.jl:1362 Overhead ╎ [+additional indent] Count File:Line Function ========================================================= Thread 1 (default) Task 0x00007caab2f153c0 Total snapshots: 445. Utilization: 0% ╎445 @Base/task.jl:1129 wait_forever() 444╎ 445 @Base/task.jl:1192 wait() [1] signal 15: Terminated in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 epoll_pwait at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) uv__io_poll at /workspace/srcdir/libuv/src/unix/linux.c:1404 uv_run at /workspace/srcdir/libuv/src/unix/core.c:430 ijl_task_get_next at /source/src/scheduler.c:457 wait at ./task.jl:1192 wait_forever at ./task.jl:1129 jfptr_wait_forever_70431.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] start_task at /source/src/task.c:1253 unknown function (ip: (nil)) at (unknown file) Allocations: 25289877 (Pool: 25289242; Big: 635); GC: 17 [15] signal 15: Terminated in expression starting at /home/pkgeval/.julia/packages/QuantumToolbox/Uzf3o/test/core-test/time_evolution.jl:663 dgemv_kernel_4x4 at /opt/julia/bin/../lib/julia/libopenblas64_.so (unknown line) dgemv_n_ZEN at /opt/julia/bin/../lib/julia/libopenblas64_.so (unknown line) dgemv_64_ at /opt/julia/bin/../lib/julia/libopenblas64_.so (unknown line) gemv! at /source/usr/share/julia/stdlib/v1.13/LinearAlgebra/src/blas.jl:678 gemv! at /source/usr/share/julia/stdlib/v1.13/LinearAlgebra/src/matmul.jl:734 generic_matvecmul! at /source/usr/share/julia/stdlib/v1.13/LinearAlgebra/src/matmul.jl:95 [inlined] _mul! at /source/usr/share/julia/stdlib/v1.13/LinearAlgebra/src/matmul.jl:76 [inlined] mul! at /source/usr/share/julia/stdlib/v1.13/LinearAlgebra/src/matmul.jl:73 [inlined] mul! at /source/usr/share/julia/stdlib/v1.13/LinearAlgebra/src/matmul.jl:270 [inlined] perform_step! at /home/pkgeval/.julia/packages/StochasticDiffEq/vjhmf/src/perform_step/sra.jl:144 solve! at /home/pkgeval/.julia/packages/StochasticDiffEq/vjhmf/src/solve.jl:700 #__solve#69 at /home/pkgeval/.julia/packages/StochasticDiffEq/vjhmf/src/solve.jl:7 [inlined] __solve at /home/pkgeval/.julia/packages/StochasticDiffEq/vjhmf/src/solve.jl:1 [inlined] __solve at /home/pkgeval/.julia/packages/StochasticDiffEq/vjhmf/src/solve.jl:1 [inlined] __solve at /home/pkgeval/.julia/packages/StochasticDiffEq/vjhmf/src/solve.jl:1 [inlined] __solve at /home/pkgeval/.julia/packages/StochasticDiffEq/vjhmf/src/solve.jl:1 [inlined] __solve at /home/pkgeval/.julia/packages/StochasticDiffEq/vjhmf/src/solve.jl:1 [inlined] #solve_call#27 at /home/pkgeval/.julia/packages/DiffEqBase/0oXZq/src/solve.jl:657 solve_call at /home/pkgeval/.julia/packages/DiffEqBase/0oXZq/src/solve.jl:614 [inlined] #solve_up#37 at /home/pkgeval/.julia/packages/DiffEqBase/0oXZq/src/solve.jl:1211 [inlined] solve_up at /home/pkgeval/.julia/packages/DiffEqBase/0oXZq/src/solve.jl:1188 [inlined] #solve#35 at /home/pkgeval/.julia/packages/DiffEqBase/0oXZq/src/solve.jl:1083 [inlined] solve at /home/pkgeval/.julia/packages/DiffEqBase/0oXZq/src/solve.jl:1073 [inlined] #batch_func#795 at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:235 [inlined] batch_func at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:222 [inlined] #804 at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:294 [inlined] responsible_map at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:287 #solve_batch#802 at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:293 [inlined] solve_batch at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:292 [inlined] #solve_batch#806 at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:303 [inlined] solve_batch at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:299 [inlined] macro expansion at ./timing.jl:461 [inlined] #793 at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:188 with_logstate at ./logging/logging.jl:540 with_logger at ./logging/logging.jl:651 [inlined] #__solve#791 at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:172 __solve at /home/pkgeval/.julia/packages/SciMLBase/URv1y/src/ensemble/basic_ensemble_solve.jl:164 [inlined] #solve#39 at /home/pkgeval/.julia/packages/DiffEqBase/0oXZq/src/solve.jl:1227 [inlined] solve at /home/pkgeval/.julia/packages/DiffEqBase/0oXZq/src/solve.jl:1224 [inlined] _ensemble_dispatch_solve at /home/pkgeval/.julia/packages/QuantumToolbox/Uzf3o/src/time_evolution/time_evolution.jl:435 [inlined] smesolve at /home/pkgeval/.julia/packages/QuantumToolbox/Uzf3o/src/time_evolution/smesolve.jl:408 unknown function (ip: 0x774dbf56d1fd) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 #smesolve#190 at /home/pkgeval/.julia/packages/QuantumToolbox/Uzf3o/src/time_evolution/smesolve.jl:398 smesolve at /home/pkgeval/.julia/packages/QuantumToolbox/Uzf3o/src/time_evolution/smesolve.jl:355 unknown function (ip: 0x774db2bc69b1) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 #15 at ./timing.jl:545 allocations at ./timing.jl:487 unknown function (ip: 0x774db2bc6442) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_body at /source/src/interpreter.c:581 eval_body at /source/src/interpreter.c:558 eval_body at /source/src/interpreter.c:558 jl_interpret_toplevel_thunk at /source/src/interpreter.c:899 jl_toplevel_eval_flex at /source/src/toplevel.c:773 jl_toplevel_eval_flex at /source/src/toplevel.c:713 ijl_toplevel_eval at /source/src/toplevel.c:785 ijl_toplevel_eval_in at /source/src/toplevel.c:830 eval at ./boot.jl:489 include_string at ./loading.jl:2847 include_string at ./loading.jl:2857 _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] jl_f_invokelatest at /source/src/builtins.c:877 #run_testitem##6 at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/TestItemRunner.jl:118 [inlined] withpath at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/vendored_code.jl:7 #run_testitem##4 at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/TestItemRunner.jl:117 [inlined] cd at ./file.jl:112 unknown function (ip: 0x774df9cf1236) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 run_testitem at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/TestItemRunner.jl:116 unknown function (ip: 0x774df9cf0e7e) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 #run_tests#7 at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/TestItemRunner.jl:221 run_tests at /home/pkgeval/.julia/packages/TestItemRunner/Q6zqe/src/TestItemRunner.jl:133 unknown function (ip: 0x774df9cbe146) at (unknown file) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:708 jl_interpret_toplevel_thunk at /source/src/interpreter.c:899 jl_toplevel_eval_flex at /source/src/toplevel.c:773 jl_toplevel_eval_flex at /source/src/toplevel.c:713 ijl_toplevel_eval at /source/src/toplevel.c:785 ijl_toplevel_eval_in at /source/src/toplevel.c:830 eval at ./boot.jl:489 include_string at ./loading.jl:2847 _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 _include at ./loading.jl:2907 include at ./Base.jl:312 IncludeInto at ./Base.jl:313 jfptr_IncludeInto_74172.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:708 jl_interpret_toplevel_thunk at /source/src/interpreter.c:899 jl_toplevel_eval_flex at /source/src/toplevel.c:773 jl_toplevel_eval_flex at /source/src/toplevel.c:713 ijl_toplevel_eval at /source/src/toplevel.c:785 ijl_toplevel_eval_in at /source/src/toplevel.c:830 eval at ./boot.jl:489 exec_options at ./client.jl:286 _start at ./client.jl:553 jfptr__start_75359.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4015 [inlined] ijl_apply_generic at /source/src/gf.c:4212 jl_apply at /source/src/julia.h:2375 [inlined] true_main at /source/src/jlapi.c:971 jl_repl_entrypoint at /source/src/jlapi.c:1138 main at /source/cli/loader_exe.c:58 unknown function (ip: 0x774e0f823249) at /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) unknown function (ip: 0x4010b8) at /workspace/srcdir/glibc-2.17/csu/../sysdeps/x86_64/start.S unknown function (ip: (nil)) at (unknown file) Allocations: 631831846 (Pool: 631823637; Big: 8209); GC: 305 PkgEval terminated after 2725.51s: test duration exceeded the time limit