Skip to content

Failed

tests / 01 testsuite-gcc 1/3 / simulation_modelica_initialization.bug_2673.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + bug_2673                                                                          ... equation mismatch [time: 3]

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/bug_2673.mos_temp7676/log-bug_2673.mos
true
""
record SimulationResult
    resultFile = "bug_2673.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.bug_2673', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-r=bug_2673.mat'",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
"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\").
"
record SimulationResult
    resultFile = "initializationTests.bug_2673_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.bug_2673', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-iif=bug_2673.mat -iit=1.0 -lv=LOG_SOTI'",
    messages = "LOG_SOTI          | info    | ### SOLUTION OF THE INITIALIZATION ###
|                 | |       | | states variables
|                 | |       | | | [1] Real x(start=2.47152, nominal=1) = 5 (pre: 2.47152)
|                 | |       | | | [2] Real y(start=1, nominal=1) = 1 (pre: 1)
|                 | |       | | derivatives variables
|                 | |       | | | [3] Real der(x) = -4 (pre: -1.47152)
|                 | |       | | | [4] Real der(y) = 0 (pre: 0)
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
"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\").
"
record SimulationResult
    resultFile = "initializationTests.bug_2673_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.bug_2673', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-iif=bug_2673.mat -iit=1.0 -lv=LOG_SOTI -iim none'",
    messages = "LOG_SOTI          | info    | ### SOLUTION OF THE INITIALIZATION ###
|                 | |       | | states variables
|                 | |       | | | [1] Real x(start=2.47152, nominal=1) = 2.47152 (pre: 0)
|                 | |       | | | [2] Real y(start=1, nominal=1) = 1 (pre: 0)
|                 | |       | | derivatives variables
|                 | |       | | | [3] Real der(x) = -1.47152 (pre: 0)
|                 | |       | | | [4] Real der(y) = 0 (pre: 0)
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
"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\").
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/bug_2673.mos_temp7676/equations-expected2024-04-20 01:39:56.514610443 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/initialization/bug_2673.mos_temp7676/equations-got2024-04-20 01:39:59.642575810 +0000
@@ -1,40 +1,43 @@
 true
 ""
 record SimulationResult
 resultFile = "bug_2673.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'initializationTests.bug_2673', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-r=bug_2673.mat'",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.bug_2673', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-r=bug_2673.mat'",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
-""
+"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\").
+"
 record SimulationResult
 resultFile = "initializationTests.bug_2673_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'initializationTests.bug_2673', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-iif=bug_2673.mat -iit=1.0 -lv=LOG_SOTI'",
+simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.bug_2673', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-iif=bug_2673.mat -iit=1.0 -lv=LOG_SOTI'",
 messages = "LOG_SOTI          | info    | ### SOLUTION OF THE INITIALIZATION ###
 |                 | |       | | states variables
-|                 | |       | | | [1] Real x(start=2.47151, nominal=1) = 5 (pre: 2.47151)
-|                 | |       | | | [2] Real y(start=0.632122, nominal=1) = 0.632122 (pre: 0.632122)
+| | |       | | | [1] Real x(start=2.47152, nominal=1) = 5 (pre: 2.47152)
+| | |       | | | [2] Real y(start=1, nominal=1) = 1 (pre: 1)
 |                 | |       | | derivatives variables
-|                 | |       | | | [3] Real der(x) = -4 (pre: -1.47151)
-|                 | |       | | | [4] Real der(y) = 0.367878 (pre: 0.367878)
+| | |       | | | [3] Real der(x) = -4 (pre: -1.47152)
+| | |       | | | [4] Real der(y) = 0 (pre: 0)
 LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
-""
+"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\").
+"
 record SimulationResult
 resultFile = "initializationTests.bug_2673_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'initializationTests.bug_2673', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-iif=bug_2673.mat -iit=1.0 -lv=LOG_SOTI -iim none'",
+simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.bug_2673', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-iif=bug_2673.mat -iit=1.0 -lv=LOG_SOTI -iim none'",
 messages = "LOG_SOTI          | info    | ### SOLUTION OF THE INITIALIZATION ###
 |                 | |       | | states variables
-|                 | |       | | | [1] Real x(start=2.47151, nominal=1) = 2.47151 (pre: 0)
-|                 | |       | | | [2] Real y(start=0.632122, nominal=1) = 0.632122 (pre: 0)
+| | |       | | | [1] Real x(start=2.47152, nominal=1) = 2.47152 (pre: 0)
+| | |       | | | [2] Real y(start=1, nominal=1) = 1 (pre: 0)
 |                 | |       | | derivatives variables
-|                 | |       | | | [3] Real der(x) = -1.47151 (pre: 0)
-|                 | |       | | | [4] Real der(y) = 0.367878 (pre: 0)
+| | |       | | | [3] Real der(x) = -1.47152 (pre: 0)
+| | |       | | | [4] Real der(y) = 0 (pre: 0)
 LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
-""
+"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\").
+"

Equation mismatch: omc-diff says:
Failed '"' 'W'
Line 10: Text differs:
expected: ""
got:      "Warning: The initial conditions are not fully specified. For more information set 

== 1 out of 1 tests failed [simulation/modelica/initialization/bug_2673.mos_temp7676, time: 3]