Failed
simulation_modelica_tearing.Tearing18-minimal.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ Tearing18-minimal ... equation mismatch [time: 13] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/tearing/Tearing18-minimal.mos_temp1179/log-Tearing18-minimal.mos true "" true "" true "" record SimulationResult resultFile = "Tearing18_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Tearing18', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_ASSERT | debug | Solving non-linear system 34 failed at time=0.676. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | Integrator attempt to handle a problem with a called assert. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Warning: There are nonlinear iteration variables with default zero start attribute found in NLSJac0. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\"). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 ('-d=stateselection' for list of states) * Number of discrete variables: 0 ('-d=discreteinfo' for list of discrete vars) * Number of discrete states: 0 ('-d=discreteinfo' for list of discrete states) * Number of clocked states: 0 ('-d=discreteinfo' for list of clocked states) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,0)} Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 ('-d=stateselection' for list of states) * Number of discrete variables: 0 ('-d=discreteinfo' for list of discrete vars) * Number of discrete states: 0 ('-d=discreteinfo' for list of discrete states) * Number of clocked states: 0 ('-d=discreteinfo' for list of clocked states) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,1)} " -0.9589242746631385 "" 1.4895350578432152 "" -0.29447625736607885 "" -1.0184939523187333 "" 0.11025249570216097 "" 3.489535057843215 "" 0.340964233657884 "" '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/tearing/Tearing18-minimal.mos_temp1179/equations-expected"2024-04-28 16:48:08.581304700 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/tearing/Tearing18-minimal.mos_temp1179/equations-got"2024-04-28 16:48:21.222305500 +0200 @@ -4,16 +4,13 @@ "" true "" record SimulationResult resultFile = "Tearing18_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Tearing18', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Tearing18', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. -LOG_ASSERT | debug | Solving non-linear system 34 failed at time=0.526. -| | | | For more information please use -lv LOG_NLS. -LOG_STDOUT | warning | Integrator attempt to handle a problem with a called assert. -LOG_ASSERT | debug | Solving non-linear system 34 failed at time=0.63. +LOG_ASSERT | debug | Solving non-linear system 34 failed at time=0.676. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | Integrator attempt to handle a problem with a called assert. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; @@ -64,17 +61,17 @@ * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,1)} " -0.9589242746631385 "" -1.489535057843215 +1.4895350578432152 "" --0.294476257366079 +-0.29447625736607885 "" --1.018493952318733 +-1.0184939523187333 "" -0.1102524957021611 +0.11025249570216097 "" 3.489535057843215 "" 0.340964233657884 "" '' Equation mismatch: omc-diff says: Line 11: Real 0.526 != 0.676 eps: 0.005000, actual diff: 0.150000 == 1 out of 1 tests failed [simulation/modelica/tearing/Tearing18-minimal.mos_temp1179, time: 13]