Skip to content

Failed

tests / 03 testsuite-gcc 3/3 / simulation_modelica_linear_system.Ticket3926.mos (from (result.xml))

Failing for the past 44 builds (Since #1 )
Took 4 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Ticket3926                                                                        ... equation mismatch [time: 4]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/linear_system/Ticket3926.mos_temp9331/log-Ticket3926.mos
true
""
true
record SimulationResult
    resultFile = "foo_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'foo', 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;
""
1.0
""
2.0
""
3.0
""
4.0
""
-0.14666666666666667
""
0.02666666666666667
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/linear_system/Ticket3926.mos_temp9331/equations-expected2024-01-13 03:04:10.881663630 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/linear_system/Ticket3926.mos_temp9331/equations-got2024-01-13 03:04:14.953663709 +0000
@@ -1,26 +1,23 @@
 true
 ""
 true
 record SimulationResult
-resultFile = "",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "Failed to build model: foo"
-end SimulationResult;
-"Error: A torn linear system has no symbolic jacobian and currently there are no means to solve that numerically. Please compile with the module \"calculateStrongComponentJacobians\" to provide symbolic jacobians for torn linear systems.
-[SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createOdeSystem failed for component torn linear Equationsystem{{{1:1}},
-{2:2} Size: 1
-[SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error SimCodeUtil.createEquationsForSystems failed
-[SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]
+resultFile = "foo_res.mat",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'foo', 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;
+""
+1.0
 ""
-
+2.0
 ""
-
+3.0
 ""
-
+4.0
 ""
-
+-0.14666666666666667
 ""
-
+0.02666666666666667
 ""

Equation mismatch: omc-diff says:
Failed '"' 'f'
Line 5: Text differs:
expected: resultFile = "",
got:      resultFile = "foo_res.mat",

== 1 out of 1 tests failed [simulation/modelica/linear_system/Ticket3926.mos_temp9331, time: 4]