Skip to content

Regression

simulation_modelica_others.Bug1987.mos (from (result.xml))

Failing for the past 1 build (Since #3850 )
Took 15 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Bug.B [Bug1987.mos, test for bugs: #1987, #1988]                                  ... equation mismatch [time: 0]

==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/simulation/modelica/others/Bug1987.mos_temp4951/log-Bug1987.mos
true
""
"class Bug.B
  Real a.r.x = 1.0;
  Real a.r.y;
  Real a.y = a.r.y;
  Real xa(start = 1.0);
equation
  a.r.y = 2.0 * a.r.x;
  der(xa) = a.y;
end Bug.B;
"
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Bug.B', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Bug.B"
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: 
--- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/others/Bug1987.mos_temp4951/equations-expected"2024-07-01 14:51:42.067290300 +0200
+++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/others/Bug1987.mos_temp4951/equations-got"2024-07-01 14:51:42.631290500 +0200
@@ -10,13 +10,11 @@
 der(xa) = a.y;
 end Bug.B;
 "
 ""
 record SimulationResult
-resultFile = "Bug.B_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Bug.B', 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 = 'Bug.B', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Bug.B"
 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 'B' '"'
Line 15: Text differs:
expected: resultFile = "Bug.B_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/others/Bug1987.mos_temp4951, time: 15]