Skip to content

Regression

simulation_modelica_resolveLoops.ElectricalCircuit2.mos (from (result.xml))

Failing for the past 1 build (Since #3809 )
Took 24 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + ElectricalCircuit2                                                                ... equation mismatch [time: 17]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/resolveLoops/ElectricalCircuit2.mos_temp1404/log-ElectricalCircuit2.mos

"Warning: Out of memory! Faking a stack overflow.
Error: Stack overflow occurred while evaluating loadModel(Modelica, {\"3.2.1\"}):
[bt] [Symbols are not generated when running the test suite]
"
true
"Notification: Automatically loaded package Modelica 3.2.1 due to uses annotation from electricalCircuit2.
Notification: Automatically loaded package Complex 3.2.1 due to uses annotation from Modelica.
Notification: Automatically loaded package ModelicaServices 3.2.1 due to uses annotation from Modelica.
"
true
""
record SimulationResult
    resultFile = "ElectricalCircuit2_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'ElectricalCircuit2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
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: 39
 * Number of variables: 39
Warning: The initial conditions are not fully specified. 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: 2
 * Number of states: 0 ()
 * 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 (12):
 * Single equations (assignments): 10
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,4,100.0%), (1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 1 (inductor1.i)
 * 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 (9):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,4,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
"
{"Files Equal!"}
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/resolveLoops/ElectricalCircuit2.mos_temp1404/equations-expected"2024-06-13 13:03:32.003236000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/resolveLoops/ElectricalCircuit2.mos_temp1404/equations-got"2024-06-13 13:03:49.573806700 +0200
@@ -1,14 +1,20 @@
+
+"Warning: Out of memory! Faking a stack overflow.
+Error: Stack overflow occurred while evaluating loadModel(Modelica, {\"3.2.1\"}):
+[bt] [Symbols are not generated when running the test suite]
+"
 true
-""
-true
-""
+"Notification: Automatically loaded package Modelica 3.2.1 due to uses annotation from electricalCircuit2.
+Notification: Automatically loaded package Complex 3.2.1 due to uses annotation from Modelica.
+Notification: Automatically loaded package ModelicaServices 3.2.1 due to uses annotation from Modelica.
+"
 true
 ""
 record SimulationResult
 resultFile = "ElectricalCircuit2_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'ElectricalCircuit2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'ElectricalCircuit2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 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:
'' 
Equation mismatch: omc-diff says: 
Line 1: Lexical token differs:
expected: true
got:      


== 1 out of 1 tests failed [simulation/modelica/resolveLoops/ElectricalCircuit2.mos_temp1404, time: 24]