Repository navigation
Fix MOL_Interface2 downgrade overflow - #601
ChrisRackauckas merged 3 commits into
Conversation
Require the first ModelingToolkit release with compatible downgrade floors and assert the affected boundary-coupled discretization constructs an ODEProblem. Co-Authored-By: Chris Rackauckas <[email protected]>
Use explicit solver tolerances so the conservation assertion measures the spatial discretization instead of integrator error. Co-Authored-By: Chris Rackauckas <[email protected]>
632a927 to
efb1a41
Compare
|
Follow-up validation after rebasing this PR onto current
The follow-up commit therefore makes the solver tolerances explicit for this conservation test. Final local results on Julia 1.10.11:
|
|
Current hosted CI classification:\n\n- The exact Downgrade job passed.\n- Canonical Runic and Runic Suggestions passed.\n- The ordinary QA job did not report a test failure; its self-hosted runner lost communication after 30 minutes while the test step was still in progress.\n- I attempted a job-only retry through the Actions API, but the current token received HTTP 403 (admin rights required).\n\nNo source change is justified for that runner-loss result; it needs an authorized CI retry. |
|
CI timer follow-up:
No source change is justified by either incomplete runner result. An authorized job retry is the remaining CI action. |
Co-Authored-By: Chris Rackauckas <[email protected]>
Important
Ignore this PR until it has been reviewed by @ChrisRackauckas.
Summary
ODEProblemThis is an independent follow-up to the failure exposed by the downgrade job on #599; it does not modify or duplicate that PR.
Root cause
The exact LTS minimum-compatible graph failed in
MOL_Interface2with:The exception came from StateSelection's checked Bareiss update while ModelingToolkit compiled the initialization problem for
Another boundaries appearing in equations case.A symptom-focused bisect identified
adfbff645ad09df9724e014d9822edc399df025b(#594) as the first bad MethodOfLines commit. Its PDEBase 0.1.29 floor enabled the ModelingToolkit initialization path for this problem. The prior graph did not reach this overflow, though it has separate old-PDEBase initialization errors.ModelingToolkitTearing 1.16 introduced deterministic canonical variable ordering, which avoids the overflowing pivot sequence. ModelingToolkit 11.31.2 is the first registered ModelingToolkit release that both requires a post-fix tearing implementation and contains the corrected genuine-downgrade floors for SciMLBase and OrdinaryDiffEqCore. Earlier candidate floors removed the overflow but produced an invalid minimum precompile graph.
MOL_Interface2remains outside the normal grouped matrix because the previous workflow explicitly disabled it after lts/pre runs stalled for 6+ hours. The downgrade workflow already reaches it through the defaultAllharness, which is how this regression surfaced.Investigation process
julia-downgrade-compatresolver.git bisectacross the transition and identified fix: use MTK initialization via PDEBase 0.1.29 #594 as the first bad commit.Local verification
Julia 1.10.11, latest-compatible graph:
Julia 1.10.11, genuine minimum-compatible graph after the downgrade action (MTK 11.31.2 / MTKBase 1.51.1 / MTKTearing 1.18.3 / StateSelection 1.11.0 / PDEBase 0.1.29):
Additional checks:
Runic --check .: passedactionlint: passedgit diff --check: passed