Skip to content

Failed

tests / 04 testsuite-clang 1/3 / simulation_modelica_tearing.Tearing16-minimal.mos (from (result.xml))

Failing for the past 46 builds (Since #8 )
Took 4 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Tearing16-minimal                                                                 ... equation mismatch [time: 4]

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/tearing/Tearing16-minimal.mos_temp5359/log-Tearing16-minimal.mos
true
""
true
""
true
""
record SimulationResult
    resultFile = "Tearing16_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Tearing16', 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: 7
 * Number of variables: 7
[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed
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 (1):
 * Single equations (assignments): 0
 * 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)}
[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed
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 (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,1)}
"
0.0
""
0.0
""
0.0
""
9.389374464634539e-10
""
9.389374464634539e-10
""
0.0
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/simulation/modelica/tearing/Tearing16-minimal.mos_temp5359/equations-expected2024-05-04 02:02:06.814964169 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/tearing/Tearing16-minimal.mos_temp5359/equations-got2024-05-04 02:02:10.214985555 +0000
@@ -4,19 +4,19 @@
 ""
 true
 ""
 record SimulationResult
 resultFile = "Tearing16_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Tearing16', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Tearing16', 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: 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\").
+[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed
 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)
@@ -34,10 +34,11 @@
 * 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)}
+[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSparsePattern failed
 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)
@@ -62,11 +63,11 @@
 ""
 0.0
 ""
 0.0
 ""
-1.978843107427797e-13
+9.389374464634539e-10
 ""
-1.978843107427797e-13
+9.389374464634539e-10
 ""
 0.0
 ""

Equation mismatch: omc-diff says:
Failed 'W' '['
Line 17: Text differs:
expected: Warning: There are nonlinear iteration variables with default zero start attribute found in NLSJac
got:      [BackEnd/SymbolicJacobian.mo:

== 1 out of 1 tests failed [simulation/modelica/tearing/Tearing16-minimal.mos_temp5359, time: 4]