Skip to content

Failed

tests / 05 testsuite-clang 2/3 / simulation_modelica_tearing.totalTearing2.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + totalTearing2                                                                     ... equation mismatch [time: 2]

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/tearing/totalTearing2.mos_temp6151/log-totalTearing2.mos
true
""
true
""

Power Set:
========================================
{1}
{2}
{2,1}
{3}
{3,1}
{3,2}
{3,2,1}
{4}
{4,1}
{4,2}
{4,2,1}
{4,3}
{4,3,1}
{4,3,2}
{4,3,2,1}



###BEGIN TO LOOP#####################
****************************************



****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 3
*
* tVars: 3,4,1
*
* resEq: 3,4,1
*
* innerEquations ({eqn,vars}):
* {2:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 3
*
* tVars: 3,4,1
*
* resEq: 2,4,1
*
* innerEquations ({eqn,vars}):
* {3:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 3
*
* tVars: 2,4,1
*
* resEq: 3,2,4
*
* innerEquations ({eqn,vars}):
* {1:3}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 3
*
* tVars: 2,4,1
*
* resEq: 3,4,1
*
* innerEquations ({eqn,vars}):
* {2:3}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 3
*
* tVars: 2,4,1
*
* resEq: 2,4,1
*
* innerEquations ({eqn,vars}):
* {3:3}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 4,1
*
* resEq: 3,4
*
* innerEquations ({eqn,vars}):
* {1:3}, {2:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 4,1
*
* resEq: 2,4
*
* innerEquations ({eqn,vars}):
* {1:3}, {3:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 3
*
* tVars: 2,3,1
*
* resEq: 3,2,1
*
* innerEquations ({eqn,vars}):
* {4:4}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 3,1
*
* resEq: 3,1
*
* innerEquations ({eqn,vars}):
* {4:4}, {2:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 3,1
*
* resEq: 2,1
*
* innerEquations ({eqn,vars}):
* {4:4}, {3:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 2,1
*
* resEq: 3,2
*
* innerEquations ({eqn,vars}):
* {1:3}, {4:4}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 2,1
*
* resEq: 3,1
*
* innerEquations ({eqn,vars}):
* {4:4}, {2:3}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 2,1
*
* resEq: 2,1
*
* innerEquations ({eqn,vars}):
* {4:4}, {3:3}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 1
*
* tVars: 1
*
* resEq: 3
*
* innerEquations ({eqn,vars}):
* {1:3}, {4:4}, {2:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 1
*
* tVars: 1
*
* resEq: 2
*
* innerEquations ({eqn,vars}):
* {1:3}, {4:4}, {3:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 3
*
* tVars: 2,3,4
*
* resEq: 3,2,4
*
* innerEquations ({eqn,vars}):
* {1:1}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 3,4
*
* resEq: 3,4
*
* innerEquations ({eqn,vars}):
* {1:1}, {2:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 3,4
*
* resEq: 2,4
*
* innerEquations ({eqn,vars}):
* {1:1}, {3:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 2,4
*
* resEq: 3,4
*
* innerEquations ({eqn,vars}):
* {2:3}, {1:1}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 2,4
*
* resEq: 2,4
*
* innerEquations ({eqn,vars}):
* {3:3}, {1:1}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 2
*
* tVars: 2,3
*
* resEq: 3,2
*
* innerEquations ({eqn,vars}):
* {1:1}, {4:4}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 1
*
* tVars: 3
*
* resEq: 3
*
* innerEquations ({eqn,vars}):
* {1:1}, {4:4}, {2:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 1
*
* tVars: 3
*
* resEq: 2
*
* innerEquations ({eqn,vars}):
* {1:1}, {4:4}, {3:2}
*
*****************************************


****************************************
* TEARING RESULTS:
* (Global Indexes)
*
* No of equations in strong component: 4
* No of tVars: 1
*
* tVars: 2
*
* resEq: 2
*
* innerEquations ({eqn,vars}):
* {3:3}, {1:1}, {4:4}
*
*****************************************



Total number of different tearing sets: 24

record SimulationResult
    resultFile = "totalTearing2_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'totalTearing2', 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: 3
 * Number of variables: 3
[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
   {(1,2)}
[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 (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
   {(3,1)}
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/simulation/modelica/tearing/totalTearing2.mos_temp6151/equations-expected2024-05-04 01:55:35.799922670 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/tearing/totalTearing2.mos_temp6151/equations-got2024-05-04 01:55:37.247908282 +0000
@@ -439,18 +439,19 @@
 
 Total number of different tearing sets: 24
 
 record SimulationResult
 resultFile = "totalTearing2_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'totalTearing2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'totalTearing2', 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: 3
 * Number of variables: 3
+[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)
@@ -468,10 +469,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
 {(1,2)}
+[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)

Equation mismatch: omc-diff says:
Failed 'N' '['
Line 452: Text differs:
expected: Notification: Model statistics after passing the back
got:      [BackEnd/SymbolicJacobian.mo:

== 1 out of 1 tests failed [simulation/modelica/tearing/totalTearing2.mos_temp6151, time: 2]