Skip to content

Failed

tests / 05 testsuite-clang 2/3 / simulation_modelica_initialization.bug_2673b.mos (from (result.xml))

Failing for the past 11 builds (Since #10 )
Took 1 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + bug_2673b                                                                         ... equation mismatch [time: 1]

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/bug_2673b.mos_temp4161/log-bug_2673b.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Test.Q_xxx', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Test.Q"
end SimulationResult;
"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
Error: No system for the symbolic initialization was generated
"

record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Test.Q', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-iim=none -iif=Test.Q_xxx_res.mat -iit=1.0 -lv=LOG_INIT_V'",
    messages = "Failed to build model: Test.Q"
end SimulationResult;
"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
Error: No system for the symbolic initialization was generated
"


Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/bug_2673b.mos_temp4161/equations-expected2024-04-20 01:45:21.612363388 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/bug_2673b.mos_temp4161/equations-got2024-04-20 01:45:22.064361640 +0000
@@ -1,40 +1,20 @@
 true
 ""
 record SimulationResult
-resultFile = "Test.Q_xxx_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Test.Q_xxx', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Test.Q_xxx', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Test.Q"
 end SimulationResult;
-""
-{1.0,1.0}
-record SimulationResult
-resultFile = "Test.Q_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Test.Q', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-iim=none -iif=Test.Q_xxx_res.mat -iit=1.0 -lv=LOG_INIT_V'",
-messages = "LOG_INIT          | info    | ### START INITIALIZATION ###
-LOG_INIT          | info    | updating min-values
-LOG_INIT          | info    | updating max-values
-LOG_INIT          | info    | updating nominal-values
-LOG_INIT          | info    | updating primary start-values
-LOG_INIT          | info    | import start values
-|                 | |       | file: Test.Q_xxx_res.mat
-|                 | |       | time: 1
-LOG_INIT          | info    | import real variables
-LOG_INIT          | info    | import real parameters
-LOG_INIT_V        | info    | | m.p(start=1)
-LOG_INIT          | info    | import real discrete
-LOG_INIT          | info    | import integer parameters
-LOG_INIT          | info    | import boolean parameters
-LOG_INIT          | info    | initialization method: none            [sets all variables to their start values and skips the initialization process]
-LOG_INIT_V        | info    | parameter values
-|                 | |       | | real parameters
-|                 | |       | | | [1] parameter Real m.p(start=1, fixed=false) = 1
-LOG_SOTI          | info    | ### SOLUTION OF THE INITIALIZATION ###
-LOG_INIT          | info    | ### END INITIALIZATION ###
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
+"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
+Error: No system for the symbolic initialization was generated
 "
+
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Test.Q', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-iim=none -iif=Test.Q_xxx_res.mat -iit=1.0 -lv=LOG_INIT_V'",
+messages = "Failed to build model: Test.Q"
 end SimulationResult;
-""
-{1.0,1.0}
+"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
+Error: No system for the symbolic initialization was generated
+"
+

Equation mismatch: omc-diff says:
Failed 'T' '"'
Line 4: Text differs:
expected: resultFile = "Test.Q_xxx_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/initialization/bug_2673b.mos_temp4161, time: 1]