-
-
Notifications
You must be signed in to change notification settings - Fork 78
Description
:: ERROR: Incorrect usage: this script must be sourced.
usage: source setvars.sh [--force] [--config=file] [--help] [...]
--force Force setvars.sh to re-run, doing so may overload environment.
--config=file Customize env vars using a setvars.sh configuration file.
--help Display this help message and exit.
... Additional args are passed to individual env/vars.sh scripts
and should follow this script's arguments.
Some POSIX shells do not accept command-line options. In that case, you can pass
command-line options via the SETVARS_ARGS environment variable. For example:
$ SETVARS_ARGS="ia32 --config=config.txt" ; export SETVARS_ARGS
$ . path/to/setvars.sh
The SETVARS_ARGS environment variable is cleared on exiting setvars.sh.
:: initializing oneAPI environment ...
bash: BASH_VERSION = 5.1.16(1)-release
args: Using "$@" for setvars.sh arguments:
:: advisor -- latest
:: ccl -- latest
:: compiler -- latest
:: dal -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dnnl -- latest
:: dpcpp-ct -- latest
:: dpl -- latest
:: intelpython -- latest
:: ipp -- latest
:: ippcp -- latest
:: ipp -- latest
:: mkl -- latest
:: mpi -- latest
:: tbb -- latest
:: vtune -- latest
:: oneAPI environment initialized ::
ian@ian-HP-Convertible-x360-11-ab1XX:~$ julia
_
_ _ ()_ | Documentation: https://docs.julialang.org
() | () () |
_ _ | | __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ ` | |
| | || | | | (| | | Version 1.8.5 (2023-01-08)
/ |_'|||_'_| | Official https://julialang.org/ release
|__/ |
(@v1.8) pkg> add https://github.com/SciML/Sundials.jl
Cloning git-repo https://github.com/SciML/Sundials.jl
Updating git-repo https://github.com/SciML/Sundials.jl
Updating registry at ~/.julia/registries/General.toml
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Compat [34da2185]:
Compat [34da2185] log:
├─possible versions are: 1.0.0-4.6.0 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions 1.0.0-4.6.0
├─restricted by compatibility requirements with FortranFiles [c58ffaec] to vers
│ ├─restricted to versions * by an explicit requirement, leaving only versions 0.5.0-0.6.0
│ └─restricted by compatibility requirements with ClimateTasks [1a49d507] to versions: 0.5.0
│ └─ClimateTasks [1a49d507] log:
│ ├─possible versions are: 0.1.0-0.1.1 or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.1.1
└─restricted by compatibility requirements with DataStructures [864edb3b] to versions: 3.0.0-4.6.0 — no versions left
└─DataStructures [864edb3b] log:
├─possible versions are: 0.9.0-0.18.13 or uninstalled
└─restricted to versions 0.18 by Sundials [c3572dad], leaving only versions 0.18.0-0.18.13
└─Sundials [c3572dad] log:
├─possible versions are: 4.15.0 or uninstalled
└─Sundials [c3572dad] is fixed to version 4.15.0
(@v1.8) pkg> add Sundials.jl
Resolving package versions...
Installed Sundials_jll ─ v5.2.1+0
Installed Sundials ───── v4.2.6
Downloaded artifact: Sundials
Updating ~/.julia/environments/v1.8/Project.toml
⌃ [c3572dad] + Sundials v4.2.6
Updating ~/.julia/environments/v1.8/Manifest.toml
⌃ [c3572dad] + Sundials v4.2.6
[fb77eaff] + Sundials_jll v5.2.1+0
[bea87d4a] + SuiteSparse_jll v5.10.1+0
Info Packages marked with ⌃ have new versions available and may be upgradable.
Precompiling project...
3 dependencies successfully precompiled in 10 seconds. 361 already precompiled. 1 skipped during auto due to previous errors.
(@v1.8) pkg> test Sundials.jl
Testing Sundials
Status /tmp/jl_rz68Qt/Project.toml
[fa961155] CEnum v0.4.2
⌅ [864edb3b] DataStructures v0.17.20
⌃ [2b5f629d] DiffEqBase v6.44.3
⌃ [9fdde737] DiffEqOperators v4.14.0
⌃ [a077e3f3] DiffEqProblemLibrary v4.8.1
[f6369f11] ForwardDiff v0.10.34
⌅ [189a3867] Reexport v0.2.0
⌃ [c3572dad] Sundials v4.2.6
[fb77eaff] Sundials_jll v5.2.1+0
[8f399da3] Libdl @stdlib/Libdl
[37e2e46d] LinearAlgebra @stdlib/LinearAlgebra
[56ddb016] Logging @stdlib/Logging
[2f01184e] SparseArrays @stdlib/SparseArrays
[8dfed614] Test @stdlib/Test
Status /tmp/jl_rz68Qt/Manifest.toml
⌅ [1520ce14] AbstractTrees v0.3.4
[79e6a3ab] Adapt v3.5.0
⌅ [4fba245c] ArrayInterface v2.14.17
⌅ [4c555306] ArrayLayouts v0.4.7
⌅ [aae01518] BandedMatrices v0.15.21
[9e28174c] BinDeps v1.0.2
[b99e7846] BinaryProvider v0.5.10
⌅ [8e7c35d0] BlockArrays v0.12.12
⌅ [ffab5731] BlockBandedMatrices v0.9.2
[fa961155] CEnum v0.4.2
[a603d957] CanonicalTraits v0.2.4
⌅ [d360d2e6] ChainRulesCore v0.9.45
[38540f10] CommonSolve v0.2.3
[bbf7d656] CommonSubexpressions v0.3.0
⌅ [34da2185] Compat v2.2.1
[88cd18e8] ConsoleProgressMonitor v0.1.2
[187b0558] ConstructionBase v1.4.1
[a8cc5b0e] Crayons v4.1.1
[9a962f9c] DataAPI v1.14.0
⌅ [864edb3b] DataStructures v0.17.20
[e2d170a0] DataValueInterfaces v1.0.0
⌃ [2b5f629d] DiffEqBase v6.44.3
[eb300fae] DiffEqBiological v4.3.0
⌅ [c894b116] DiffEqJump v6.10.0
⌃ [9fdde737] DiffEqOperators v4.14.0
⌃ [a077e3f3] DiffEqProblemLibrary v4.8.1
[163ba53b] DiffResults v1.1.0
⌃ [b552c78f] DiffRules v1.5.0
⌅ [ffbed154] DocStringExtensions v0.8.6
[497a8b3b] DoubleFloats v1.2.3
⌅ [7c1d4256] DynamicPolynomials v0.3.21
[fdbdab4c] ElasticArrays v1.2.11
⌅ [1a297f60] FillArrays v0.9.7
[3dd14ad9] FixedPolynomials v0.4.0
[59287772] Formatting v0.4.2
[f6369f11] ForwardDiff v0.10.34
[069b7b12] FunctionWrappers v1.1.3
⌅ [6b9d7cbe] GeneralizedGenerated v0.2.8
[14197337] GenericLinearAlgebra v0.3.5
⌅ [f213a82b] HomotopyContinuation v1.4.4
[92d709cd] IrrationalConstants v0.1.1
⌅ [42fd0dbc] IterativeSolvers v0.8.5
[82899510] IteratorInterfaceExtensions v1.0.0
[692b3bcd] JLLWrappers v1.4.1
[b14d175d] JuliaVariables v0.2.4
[b964fa9f] LaTeXStrings v1.3.0
⌃ [2ee39098] LabelledArrays v1.6.6
⌅ [23fbe1c1] Latexify v0.13.5
⌅ [5078a376] LazyArrays v0.18.1
⌅ [d7e5e226] LazyBandedMatrices v0.3.6
⌃ [1d6d02ad] LeftChildRightSiblingTrees v0.1.3
⌃ [2ab3a3ac] LogExpFunctions v0.3.0
⌅ [e6f89c97] LoggingExtras v0.4.9
[d8e11817] MLStyle v0.4.16
[1914dd2f] MacroTools v0.5.10
⌅ [a3b82374] MatrixFactorizations v0.6.1
[291d046c] MixedSubdivisions v1.1.2
⌅ [961ee093] ModelingToolkit v2.0.0
[46d2c3a1] MuladdMacro v0.2.4
⌅ [102ac46a] MultivariatePolynomials v0.3.18
⌅ [d8a4904e] MutableArithmetics v0.2.22
⌅ [872c559c] NNlib v0.7.11
⌅ [77ba4419] NaNMath v0.3.7
[71a1bf82] NameResolution v0.1.5
[bac558e1] OrderedCollections v1.4.1
[d96e819e] Parameters v0.12.3
[e409e4f3] PoissonRandom v0.4.3
[f27b6e38] Polynomials v3.2.4
[21216c6a] Preferences v1.3.0
[8162dcfd] PrettyPrint v0.2.0
⌅ [08abe8d2] PrettyTables v0.9.1
[33c8b6b6] ProgressLogging v0.1.4
[92933f4c] ProgressMeter v1.7.2
[01f381cc] ProjectiveVectors v1.1.3
[be4d8f0f] Quadmath v0.5.6
[e6cf234a] RandomNumbers v1.5.3
[3cdcf5f2] RecipesBase v1.3.3
⌃ [731186ca] RecursiveArrayTools v2.11.4
⌅ [f2c3362d] RecursiveFactorization v0.1.0
⌅ [189a3867] Reexport v0.2.0
[ae029012] Requires v1.3.0
⌅ [f2b01f46] Roots v1.4.1
[1bc83da4] SafeTestsets v0.0.1
⌅ [efcf1570] Setfield v0.8.2
[66db9d55] SnoopPrecompile v1.0.3
⌅ [276daf66] SpecialFunctions v0.8.0
⌅ [90137ffa] StaticArrays v0.12.5
[1e83bf80] StaticArraysCore v1.4.0
[62e018b1] StaticPolynomials v1.3.6
⌃ [c3572dad] Sundials v4.2.6
[123dc426] SymEngine v0.8.7
[3783bdb8] TableTraits v1.0.1
[bd369af6] Tables v1.10.0
[5d786b92] TerminalLoggers v0.1.6
[a2a6695c] TreeViews v0.3.0
[30578b45] URIParser v0.4.1
[3a884ed6] UnPack v1.0.2
[1986cc42] Unitful v1.12.2
[700de1a5] ZygoteRules v0.2.2
[2ce0c516] MPC_jll v1.2.1+0
[fb77eaff] Sundials_jll v5.2.1+0
⌅ [3428059b] SymEngine_jll v0.8.1+0
[0dad84c5] ArgTools v1.1.1 @stdlib/ArgTools
[56f22d72] Artifacts @stdlib/Artifacts
[2a0f44e3] Base64 @stdlib/Base64
[ade2ca70] Dates @stdlib/Dates
[8bb1440f] DelimitedFiles @stdlib/DelimitedFiles
[8ba89e20] Distributed @stdlib/Distributed
[f43a241f] Downloads v1.6.0 @stdlib/Downloads
[7b1f6079] FileWatching @stdlib/FileWatching
[9fa8497b] Future @stdlib/Future
[b77e0a4c] InteractiveUtils @stdlib/InteractiveUtils
[b27032c2] LibCURL v0.6.3 @stdlib/LibCURL
[76f85450] LibGit2 @stdlib/LibGit2
[8f399da3] Libdl @stdlib/Libdl
[37e2e46d] LinearAlgebra @stdlib/LinearAlgebra
[56ddb016] Logging @stdlib/Logging
[d6f4376e] Markdown @stdlib/Markdown
[a63ad114] Mmap @stdlib/Mmap
[ca575930] NetworkOptions v1.2.0 @stdlib/NetworkOptions
[44cfe95a] Pkg v1.8.0 @stdlib/Pkg
[de0858da] Printf @stdlib/Printf
[3fa0cd96] REPL @stdlib/REPL
[9a3f8284] Random @stdlib/Random
[ea8e919c] SHA v0.7.0 @stdlib/SHA
[9e88b42a] Serialization @stdlib/Serialization
[1a1011a3] SharedArrays @stdlib/SharedArrays
[6462fe0b] Sockets @stdlib/Sockets
[2f01184e] SparseArrays @stdlib/SparseArrays
[10745b16] Statistics @stdlib/Statistics
[4607b0f0] SuiteSparse @stdlib/SuiteSparse
[fa267f1f] TOML v1.0.0 @stdlib/TOML
[a4e569a6] Tar v1.10.1 @stdlib/Tar
[8dfed614] Test @stdlib/Test
[cf7118a7] UUIDs @stdlib/UUIDs
[4ec0a83e] Unicode @stdlib/Unicode
[e66e0078] CompilerSupportLibraries_jll v1.0.1+0 @stdlib/CompilerSupportLibraries_jll
[781609d7] GMP_jll v6.2.1+2 @stdlib/GMP_jll
[deac9b47] LibCURL_jll v7.84.0+0 @stdlib/LibCURL_jll
[29816b5a] LibSSH2_jll v1.10.2+0 @stdlib/LibSSH2_jll
[3a97d323] MPFR_jll v4.1.1+1 @stdlib/MPFR_jll
[c8ffd9c3] MbedTLS_jll v2.28.0+0 @stdlib/MbedTLS_jll
[14a3606d] MozillaCACerts_jll v2022.2.1 @stdlib/MozillaCACerts_jll
[4536629a] OpenBLAS_jll v0.3.20+0 @stdlib/OpenBLAS_jll
[bea87d4a] SuiteSparse_jll v5.10.1+0 @stdlib/SuiteSparse_jll
[83775a58] Zlib_jll v1.2.12+3 @stdlib/Zlib_jll
[8e850b90] libblastrampoline_jll v5.1.1+0 @stdlib/libblastrampoline_jll
[8e850ede] nghttp2_jll v1.48.0+0 @stdlib/nghttp2_jll
[3f19e933] p7zip_jll v17.4.0+0 @stdlib/p7zip_jll
Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ are restricted by compatibility constraints from upgrading.
Precompiling project...
22 dependencies successfully precompiled in 57 seconds. 89 already precompiled.
Testing Running tests...
┌ Warning: range(start, stop) (with neither length nor step given) is deprecated, use range(start, stop=stop) instead.
│ caller = broadcasted at broadcast.jl:1093 [inlined]
└ @ Core ./broadcast.jl:1093
┌ Warning: range(start, stop) (with neither length nor step given) is deprecated, use range(start, stop=stop) instead.
│ caller = broadcasted at broadcast.jl:1093 [inlined]
└ @ Core ./broadcast.jl:1093
T=0.4, Y=[0.9899652943580929, 3.470564190666435e-5, 0.01]
roots=Int32[0, 1]
T=0.4, Y=[0.9851640906722351, 3.386241699325715e-5, 0.014802046910771114]
T=4.0, Y=[0.905509670307843, 2.2403378846050117e-5, 0.09446792631331014]
T=40.0, Y=[0.7158015797469233, 9.185043328931088e-6, 0.28418923520974726]
T=400.0, Y=[0.450520872333455, 3.2228257877077353e-6, 0.5494759048407565]
T=4000.0, Y=[0.18322169164077126, 8.943516144954548e-7, 0.8167774140076135]
T=40000.0, Y=[0.03898091132304715, 1.6216688934655267e-7, 0.9610189265100634]
T=400000.0, Y=[0.004936971391576565, 1.9844502466172285e-8, 0.9950630087639206]
T=4.0e6, Y=[0.000517010320204611, 2.0690977989759934e-9, 0.9994829876106978]
T=4.0e7, Y=[9.999999999999992e-5, 4.00039528747344e-10, 0.9998999995999602]
roots=Int32[-1, 0]
T=4.0e7, Y=[5.204926760391501e-5, 2.0820776359257418e-10, 0.9999479505241882]
T=4.0e8, Y=[5.1849463049478235e-6, 2.0739891508302815e-11, 0.9999948150329551]
T=4.0e9, Y=[5.246211769412839e-7, 2.0984858346733178e-12, 0.9999994753767246]
T=4.0e10, Y=[6.043455470531721e-8, 2.41738235380483e-13, 0.9999999395652039]
Test Summary: |Time
CVODE | None 4.2s
T=0.4, Y=[0.9899652943718806, 3.4705628119662186e-5, 0.010000000000000002]
roots=Int32[0, 1]
T=0.4, Y=[0.9851707623122912, 3.386371656828505e-5, 0.01479537397114059]
T=4.0, Y=[0.905504728443, 2.24030741323827e-5, 0.09447286848286832]
T=40.0, Y=[0.7158418984108803, 9.18611950214165e-6, 0.28414891546961757]
T=400.0, Y=[0.45053789128414773, 3.2231511100131788e-6, 0.5494588855647428]
T=4000.0, Y=[0.18319969949401854, 8.942143972152571e-7, 0.8167994062915845]
T=40000.0, Y=[0.03898368270418011, 1.6217829385405389e-7, 0.961016155117526]
T=400000.0, Y=[0.004938675705664536, 1.9851554310243408e-8, 0.9950613044427804]
T=4.0e6, Y=[0.0005168882453198716, 2.0686115064850063e-9, 0.9994831096860654]
T=4.0e7, Y=[9.999999999999961e-5, 4.000395220229231e-10, 0.9998999995999603]
roots=Int32[-1, 0]
T=4.0e7, Y=[5.204772673773428e-5, 2.082016191813889e-10, 0.9999479520650584]
T=4.0e8, Y=[5.205357160257339e-6, 2.0821535763759906e-11, 0.9999947946220188]
T=4.0e9, Y=[5.190800207426813e-7, 2.0763211473603463e-12, 0.9999994809179029]
T=4.0e10, Y=[5.1177736621238506e-8, 2.0471095704096025e-13, 0.9999999488220589]
Test Summary: |Time
IDA | None 1.8s
T=0.4, Y=[0.9851721138377025, 3.386406120817996e-5, 0.014794022101089307]
T=4.0, Y=[0.9055186785328794, 2.2404781805334787e-5, 0.09445891668531428]
T=40.0, Y=[0.715827068739702, 9.185512472082487e-6, 0.28416374574782616]
T=400.0, Y=[0.45051866843284366, 3.222907159344263e-6, 0.5494781086599967]
T=4000.0, Y=[0.18320225667994575, 8.94230214472978e-7, 0.8167968490898406]
T=40000.0, Y=[0.0389833781311506, 1.6217923841619925e-7, 0.9610164596896126]
T=400000.0, Y=[0.004938279580768946, 1.9855397711492742e-8, 0.9950617005638343]
T=4.0e6, Y=[0.0005168084668713924, 2.0682376749441686e-9, 0.9994831894648913]
T=4.0e7, Y=[5.2030933038364054e-5, 2.081716637615316e-10, 0.9999479688587902]
T=4.0e8, Y=[5.207732919999157e-6, 2.0835595834773645e-11, 0.9999947922462442]
T=4.0e9, Y=[5.208288315326947e-7, 2.0901392725744845e-12, 0.9999994791690782]
T=4.0e10, Y=[5.208387679883955e-8, 2.076755627255998e-13, 0.9999999479159154]
Test Summary: | Pass Total Time
ARK | 23 23 1.3s
Solution: [0.7861540663366059, 0.6180344478352109]
Residual: [4.794728554635697e-6, -3.7681823696900096e-6]
Test Summary: | Pass Total Time
Kinsol | 2 2 0.8s
Test Summary: | Pass Total Time
Handle Tests | 13 13 0.5s
┌ Warning: the implicit keyword argument filter_modules=(:Base, :SpecialFunctions, :NaNMath) in diffrules() is deprecated and will be changed to filter_modules=nothing in an upcoming breaking release of DiffRules (i.e., diffrules() will return all rules defined in DiffRules)
│ caller = top-level scope at differentials.jl:99
└ @ Core ~/.julia/packages/ModelingToolkit/N4mo2/src/differentials.jl:99
┌ Warning: the implicit keyword argument filter_modules=(:Base, :SpecialFunctions, :NaNMath) in diffrules() is deprecated and will be changed to filter_modules=nothing in an upcoming breaking release of DiffRules (i.e., diffrules() will return all rules defined in DiffRules)
│ caller = top-level scope at function_registration.jl:33
└ @ Core ~/.julia/packages/ModelingToolkit/N4mo2/src/function_registration.jl:33
┌ Warning: range(start, stop) (with neither length nor step given) is deprecated, use range(start, stop=stop) instead.
│ caller = broadcasted at broadcast.jl:1093 [inlined]
└ @ Core ./broadcast.jl:1093
┌ Warning: range(start, stop) (with neither length nor step given) is deprecated, use range(start, stop=stop) instead.
│ caller = broadcasted at broadcast.jl:1093 [inlined]
└ @ Core ./broadcast.jl:1093
CVODE: Error During Test at /home/ian/.julia/packages/Sundials/2KP0s/test/runtests.jl:32
Got exception outside of a @test
LoadError: ArgumentError: internal representation does not support non-call Expr
Stacktrace:
[1] convert(#unused#::Type{ModelingToolkit.Expression}, ex::Expr)
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/N4mo2/src/utils.jl:3
[2] _broadcast_getindex_evalf
@ ./broadcast.jl:670 [inlined]
[3] _broadcast_getindex
@ ./broadcast.jl:653 [inlined]
[4] getindex
@ ./broadcast.jl:597 [inlined]
[5] copy
@ ./broadcast.jl:899 [inlined]
[6] materialize
@ ./broadcast.jl:860 [inlined]
[7] convert(#unused#::Type{ModelingToolkit.Expression}, ex::Expr)
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/N4mo2/src/utils.jl:6
[8] derivative(#unused#::typeof(^), args::Tuple{ModelingToolkit.Operation, ModelingToolkit.Constant}, #unused#::Val{2})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/N4mo2/src/differentials.jl:106
[9] derivative(O::ModelingToolkit.Operation, idx::Int64)
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/N4mo2/src/differentials.jl:94
[10] (::ModelingToolkit.var"#4#5"{ModelingToolkit.Operation, ModelingToolkit.Differential})(i::Int64)
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/N4mo2/src/differentials.jl:51
[11] _mapreduce(f::ModelingToolkit.var"#4#5"{ModelingToolkit.Operation, ModelingToolkit.Differential}, op::typeof(Base.add_sum), #unused#::IndexLinear, A::UnitRange{Int64})
@ Base ./reduce.jl:435
[12] _mapreduce_dim(f::Function, op::Function, #unused#::Base._InitialValue, A::UnitRange{Int64}, #unused#::Colon)
@ Base ./reducedim.jl:365
[13] #mapreduce#765
@ ./reducedim.jl:357 [inlined]
[14] mapreduce
@ ./reducedim.jl:357 [inlined]
[15] #_sum#775
@ ./reducedim.jl:999 [inlined]
[16] _sum
@ ./reducedim.jl:999 [inlined]
[17] #sum#773
@ ./reducedim.jl:995 [inlined]
[18] sum(f::Function, a::UnitRange{Int64})
@ Base ./reducedim.jl:995
[19] expand_derivatives(O::ModelingToolkit.Operation)
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/N4mo2/src/differentials.jl:50
--- the last 10 lines are repeated 4 more times ---
[60] _broadcast_getindex_evalf
@ ./broadcast.jl:670 [inlined]
[61] _broadcast_getindex
@ ./broadcast.jl:643 [inlined]
[62] getindex
@ ./broadcast.jl:597 [inlined]
[63] copy
@ ./broadcast.jl:899 [inlined]
[64] materialize(bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{2}, Nothing, typeof(ModelingToolkit.expand_derivatives), Tuple{Matrix{ModelingToolkit.Expression}}})
@ Base.Broadcast ./broadcast.jl:860
[65] calculate_jacobian(sys::ModelingToolkit.ODESystem)
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/N4mo2/src/systems/diffeqs/abstractodesystem.jl:18
[66] generate_jacobian(sys::ModelingToolkit.ODESystem, dvs::Vector{ModelingToolkit.Operation}, ps::Vector{ModelingToolkit.Operation}, expression::Type; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/N4mo2/src/systems/diffeqs/abstractodesystem.jl:43
[67] generate_jacobian
@ ~/.julia/packages/ModelingToolkit/N4mo2/src/systems/diffeqs/abstractodesystem.jl:42 [inlined]
[68] (ODEFunction{true})(sys::ModelingToolkit.ODESystem, dvs::Vector{ModelingToolkit.Operation}, ps::Vector{ModelingToolkit.Operation}; version::Nothing, tgrad::Bool, jac::Bool, Wfact::Bool)
@ ModelingToolkit ~/.julia/packages/ModelingToolkit/N4mo2/src/systems/diffeqs/abstractodesystem.jl:139
[69] #ODEFunction#79
@ ~/.julia/packages/ModelingToolkit/N4mo2/src/systems/diffeqs/abstractodesystem.jl:111 [inlined]
[70] top-level scope
@ ~/.julia/packages/DiffEqProblemLibrary/D95Qo/src/ode/ode_simple_nonlinear_prob.jl:58
[71] include(mod::Module, _path::String)
@ Base ./Base.jl:419
[72] include(x::String)
@ DiffEqProblemLibrary.ODEProblemLibrary ~/.julia/packages/DiffEqProblemLibrary/D95Qo/src/DiffEqProblemLibrary.jl:3
[73] top-level scope
@ ~/.julia/packages/DiffEqProblemLibrary/D95Qo/src/ode/ode_premade_problems.jl:17
[74] include(mod::Module, _path::String)
@ Base ./Base.jl:419
[75] include
@ ~/.julia/packages/DiffEqProblemLibrary/D95Qo/src/DiffEqProblemLibrary.jl:3 [inlined]
[76] importodeproblems()
@ DiffEqProblemLibrary.ODEProblemLibrary ~/.julia/packages/DiffEqProblemLibrary/D95Qo/src/DiffEqProblemLibrary.jl:5
[77] top-level scope
@ ~/.julia/packages/Sundials/2KP0s/test/common_interface/cvode.jl:3
[78] include(fname::String)
@ Base.MainInclude ./client.jl:476
[79] macro expansion
@ ~/.julia/packages/Sundials/2KP0s/test/runtests.jl:32 [inlined]
[80] macro expansion
@ /snap/julia/74/share/julia/stdlib/v1.8/Test/src/Test.jl:1363 [inlined]
--- the last 2 lines are repeated 1 more time ---
[83] top-level scope
@ ~/.julia/packages/Sundials/2KP0s/test/runtests.jl:32
[84] include(fname::String)
@ Base.MainInclude ./client.jl:476
[85] top-level scope
@ none:6
[86] eval
@ ./boot.jl:368 [inlined]
[87] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:276
in expression starting at /home/ian/.julia/packages/DiffEqProblemLibrary/D95Qo/src/ode/ode_simple_nonlinear_prob.jl:58
in expression starting at /home/ian/.julia/packages/DiffEqProblemLibrary/D95Qo/src/ode/ode_premade_problems.jl:17
in expression starting at /home/ian/.julia/packages/Sundials/2KP0s/test/common_interface/cvode.jl:3
[ARKode::ARKStep ERROR] ARKStepSetMaxNonlinIters
No SUNNonlinearSolver object is present
[ Info: Multiple abstol
[ Info: Band solver
[ Info: GMRES solver
[ Info: TFQMR solver
[IDAS ERROR] IDASolve
At t = 864.652 and h = 0.000120543, the corrector convergence failed repeatedly or with |h| = hmin.
[ Info: FGMRES solver
[ Info: PCG solver
[ Info: GMRES for identity preconditioner
[ Info: GMRES with pset
[ Info: IDA with saveat
[ Info: IDA with saveat everystep
[ Info: IDA with tstops
With consistent initial conditions:
With inconsistent initial conditions:
Jacobians: Error During Test at /home/ian/.julia/packages/Sundials/2KP0s/test/runtests.jl:35
Got exception outside of a @test
LoadError: ArgumentError: Illegal buffers for SparseMatrixCSC construction 2 [1, 1, 1] [0, 0, 0, 0] [0.0, 0.0, 0.0, 0.0]
Stacktrace:
[1] SparseMatrixCSC
@ /snap/julia/74/share/julia/stdlib/v1.8/SparseArrays/src/sparsematrix.jl:29 [inlined]
[2] SparseMatrixCSC(m::Int64, n::Int64, colptr::Vector{Int64}, rowval::Vector{Int64}, nzval::Vector{Float64})
@ SparseArrays /snap/julia/74/share/julia/stdlib/v1.8/SparseArrays/src/sparsematrix.jl:44
[3] convert(#unused#::Type{SparseMatrixCSC}, J::Ptr{Sundials._generic_SUNMatrix})
@ Sundials ~/.julia/packages/Sundials/2KP0s/src/types_and_consts_additions.jl:50
[4] cvodejac(t::Float64, u::Ptr{Sundials._generic_N_Vector}, du::Ptr{Sundials._generic_N_Vector}, _J::Ptr{Sundials._generic_SUNMatrix}, funjac::Sundials.FunJac{ODEFunction{true, typeof(Lotka), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, typeof(Lotka_jac), Nothing, Nothing, SparseMatrixCSC{Float64, Int64}, SparseMatrixCSC{Float64, Int64}, Nothing, Nothing, Nothing, Nothing, Nothing}, Nothing, typeof(Lotka_jac), DiffEqBase.NullParameters, Nothing, SparseMatrixCSC{Float64, Int64}, Vector{Float64}, Nothing, Nothing, Nothing}, tmp1::Ptr{Sundials._generic_N_Vector}, tmp2::Ptr{Sundials._generic_N_Vector}, tmp3::Ptr{Sundials._generic_N_Vector})
@ Sundials ~/.julia/packages/Sundials/2KP0s/src/common_interface/function_types.jl:66
[5] CVode
@ ~/.julia/packages/Sundials/2KP0s/src/API/cvodes.jl:166 [inlined]
[6] CVode(cvode_mem::Sundials.Handle{Sundials.CVODEMem}, tout::Float64, yout::Vector{Float64}, tret::Vector{Float64}, itask::Int32)
@ Sundials ~/.julia/packages/Sundials/2KP0s/src/API/cvodes.jl:171
[7] solver_step(integrator::Sundials.CVODEIntegrator{Vector{Float64}, DiffEqBase.NullParameters, Sundials.Handle{Sundials.CVODEMem}, ODESolution{Float64, 2, Vector{Vector{Float64}}, Nothing, Nothing, Vector{Float64}, Nothing, ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, DiffEqBase.NullParameters, ODEFunction{true, typeof(Lotka), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, typeof(Lotka_jac), Nothing, Nothing, SparseMatrixCSC{Float64, Int64}, SparseMatrixCSC{Float64, Int64}, Nothing, Nothing, Nothing, Nothing, Nothing}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, DiffEqBase.StandardODEProblem}, CVODE_BDF{:Newton, :KLU, Nothing, Nothing}, DiffEqBase.HermiteInterpolation{Vector{Float64}, Vector{Vector{Float64}}, Vector{Vector{Float64}}}, DiffEqBase.DEStats}, CVODE_BDF{:Newton, :KLU, Nothing, Nothing}, ODEFunction{true, typeof(Lotka), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, typeof(Lotka_jac), Nothing, Nothing, SparseMatrixCSC{Float64, Int64}, SparseMatrixCSC{Float64, Int64}, Nothing, Nothing, Nothing, Nothing, Nothing}, Sundials.FunJac{ODEFunction{true, typeof(Lotka), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, typeof(Lotka_jac), Nothing, Nothing, SparseMatrixCSC{Float64, Int64}, SparseMatrixCSC{Float64, Int64}, Nothing, Nothing, Nothing, Nothing, Nothing}, Nothing, typeof(Lotka_jac), DiffEqBase.NullParameters, Nothing, SparseMatrixCSC{Float64, Int64}, Vector{Float64}, Nothing, Nothing, Nothing}, Ptr{Nothing}, Sundials.DEOptions{DataStructures.BinaryMinHeap{Float64}, DataStructures.BinaryMinHeap{Float64}, CallbackSet{Tuple{}, Tuple{}}, Float64, Float64, typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE)}, Vector{Float64}, Tuple{Int64}, Vector{Float64}, Sundials.LinSolHandle{Sundials.KLU}, Sundials.MatrixHandle{Sundials.SparseMatrix}, Nothing}, tstop::Float64)
@ Sundials ~/.julia/packages/Sundials/2KP0s/src/common_interface/solve.jl:1099
[8] solve!(integrator::Sundials.CVODEIntegrator{Vector{Float64}, DiffEqBase.NullParameters, Sundials.Handle{Sundials.CVODEMem}, ODESolution{Float64, 2, Vector{Vector{Float64}}, Nothing, Nothing, Vector{Float64}, Nothing, ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, DiffEqBase.NullParameters, ODEFunction{true, typeof(Lotka), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, typeof(Lotka_jac), Nothing, Nothing, SparseMatrixCSC{Float64, Int64}, SparseMatrixCSC{Float64, Int64}, Nothing, Nothing, Nothing, Nothing, Nothing}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, DiffEqBase.StandardODEProblem}, CVODE_BDF{:Newton, :KLU, Nothing, Nothing}, DiffEqBase.HermiteInterpolation{Vector{Float64}, Vector{Vector{Float64}}, Vector{Vector{Float64}}}, DiffEqBase.DEStats}, CVODE_BDF{:Newton, :KLU, Nothing, Nothing}, ODEFunction{true, typeof(Lotka), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, typeof(Lotka_jac), Nothing, Nothing, SparseMatrixCSC{Float64, Int64}, SparseMatrixCSC{Float64, Int64}, Nothing, Nothing, Nothing, Nothing, Nothing}, Sundials.FunJac{ODEFunction{true, typeof(Lotka), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, typeof(Lotka_jac), Nothing, Nothing, SparseMatrixCSC{Float64, Int64}, SparseMatrixCSC{Float64, Int64}, Nothing, Nothing, Nothing, Nothing, Nothing}, Nothing, typeof(Lotka_jac), DiffEqBase.NullParameters, Nothing, SparseMatrixCSC{Float64, Int64}, Vector{Float64}, Nothing, Nothing, Nothing}, Ptr{Nothing}, Sundials.DEOptions{DataStructures.BinaryMinHeap{Float64}, DataStructures.BinaryMinHeap{Float64}, CallbackSet{Tuple{}, Tuple{}}, Float64, Float64, typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE)}, Vector{Float64}, Tuple{Int64}, Vector{Float64}, Sundials.LinSolHandle{Sundials.KLU}, Sundials.MatrixHandle{Sundials.SparseMatrix}, Nothing})
@ Sundials ~/.julia/packages/Sundials/2KP0s/src/common_interface/solve.jl:1164
[9] __solve(prob::ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, DiffEqBase.NullParameters, ODEFunction{true, typeof(Lotka), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, typeof(Lotka_jac), Nothing, Nothing, SparseMatrixCSC{Float64, Int64}, SparseMatrixCSC{Float64, Int64}, Nothing, Nothing, Nothing, Nothing, Nothing}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, DiffEqBase.StandardODEProblem}, alg::CVODE_BDF{:Newton, :KLU, Nothing, Nothing}, timeseries::Vector{Any}, ts::Vector{Any}, ks::Vector{Any}, recompile::Type{Val{true}}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Sundials ~/.julia/packages/Sundials/2KP0s/src/common_interface/solve.jl:12
[10] __solve (repeats 5 times)
@ ~/.julia/packages/Sundials/2KP0s/src/common_interface/solve.jl:3 [inlined]
[11] solve_call(_prob::ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, DiffEqBase.NullParameters, ODEFunction{true, typeof(Lotka), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, typeof(Lotka_jac), Nothing, Nothing, SparseMatrixCSC{Float64, Int64}, SparseMatrixCSC{Float64, Int64}, Nothing, Nothing, Nothing, Nothing, Nothing}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, DiffEqBase.StandardODEProblem}, args::CVODE_BDF{:Newton, :KLU, Nothing, Nothing}; merge_callbacks::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ DiffEqBase ~/.julia/packages/DiffEqBase/V7P18/src/solve.jl:92
[12] solve_call
@ ~/.julia/packages/DiffEqBase/V7P18/src/solve.jl:64 [inlined]
[13] #solve_up#467
@ ~/.julia/packages/DiffEqBase/V7P18/src/solve.jl:114 [inlined]
[14] solve_up
@ ~/.julia/packages/DiffEqBase/V7P18/src/solve.jl:105 [inlined]
[15] #solve#466
@ ~/.julia/packages/DiffEqBase/V7P18/src/solve.jl:102 [inlined]
[16] solve(prob::ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, DiffEqBase.NullParameters, ODEFunction{true, typeof(Lotka), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, typeof(Lotka_jac), Nothing, Nothing, SparseMatrixCSC{Float64, Int64}, SparseMatrixCSC{Float64, Int64}, Nothing, Nothing, Nothing, Nothing, Nothing}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, DiffEqBase.StandardODEProblem}, args::CVODE_BDF{:Newton, :KLU, Nothing, Nothing})
@ DiffEqBase ~/.julia/packages/DiffEqBase/V7P18/src/solve.jl:98
[17] top-level scope
@ ~/.julia/packages/Sundials/2KP0s/test/common_interface/jacobians.jl:31
[18] include(fname::String)
@ Base.MainInclude ./client.jl:476
[19] macro expansion
@ ~/.julia/packages/Sundials/2KP0s/test/runtests.jl:35 [inlined]
[20] macro expansion
@ /snap/julia/74/share/julia/stdlib/v1.8/Test/src/Test.jl:1363 [inlined]
[21] macro expansion
@ ~/.julia/packages/Sundials/2KP0s/test/runtests.jl:35 [inlined]
[22] macro expansion
@ /snap/julia/74/share/julia/stdlib/v1.8/Test/src/Test.jl:1363 [inlined]
[23] top-level scope
@ ~/.julia/packages/Sundials/2KP0s/test/runtests.jl:32
[24] include(fname::String)
@ Base.MainInclude ./client.jl:476
[25] top-level scope
@ none:6
[26] eval
@ ./boot.jl:368 [inlined]
[27] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:276
[28] _start()
@ Base ./client.jl:522
in expression starting at /home/ian/.julia/packages/Sundials/2KP0s/test/common_interface/jacobians.jl:31
[ Info: 0.044464449958102746
[ Info: 0.1199702927305579
[ Info: 0.19547613550301304
[ Info: 0.2709819782754682
[ Info: 0.34648782104792336
[ Info: 0.4219936638203785
[ Info: 0.5889202251875935
[ Info: 0.7558467865548084
[ Info: 0.9227733479220234
[ Info: 1.0
Test error handling
[CVODES WARNING] CVode
Internal t = 0 and h = 0 are such that t + h = t on the next step. The solver will continue anyway.
[CVODES ERROR] CVode
At t = 0 and h = 0, the corrector convergence test failed repeatedly or with |h| = hmin.
[IDAS ERROR] IDACalcIC
Newton/Linesearch algorithm failed to converge.
Test Summary: | Pass Error Total Time
Common Interface | 20 2 22 3m48.0s
CVODE | 1 1 58.8s
ARKODE | 4 4 37.1s
IDA | 7 7 1m13.4s
Jacobians | 1 1 2 7.1s
Callbacks | 6 6 18.9s
Iterator | None 2.7s
Errors | 1 1 11.0s
Mass Matrix | 1 1 19.0s
ERROR: LoadError: Some tests did not pass: 20 passed, 0 failed, 2 errored, 0 broken.
in expression starting at /home/ian/.julia/packages/Sundials/2KP0s/test/runtests.jl:31
ERROR: Package Sundials errored during testing
(@v1.8) pkg> ^C
julia>