Skip to content

Regression

simulation_modelica_linear_system.MissV.mos (from (result.xml))

Failing for the past 1 build (Since #3812 )
Took 12 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + MissV  (test bug 1110)                                                            ... equation mismatch [time: 1]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/linear_system/MissV.mos_temp4185/log-MissV.mos
true
""
"class linear_system.MissV
  Real pb(start = 1.2e7);
  Real Qb;
  Real pa(start = 1.2e7);
  Real Qa;
  parameter Real s = 0.001;
  parameter Real v = 5000.0;
equation
  der(pb) = (Qb - v) / s;
  der(pa) = (Qa - v) / s;
  pa = pb;
  Qa + Qb = 0.0;
end linear_system.MissV;
"
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'linear_system.MissV', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: linear_system.MissV"
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\").
Error: Error building simulator. Build log: RESULT: -1073741502
"


'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/linear_system/MissV.mos_temp4185/equations-expected"2024-06-13 15:24:44.504377100 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/linear_system/MissV.mos_temp4185/equations-got"2024-06-13 15:24:45.645376800 +0200
@@ -1,11 +1,11 @@
 true
 ""
 "class linear_system.MissV
-Real pb(start = 12000000.0);
+Real pb(start = 1.2e7);
 Real Qb;
-Real pa(start = 12000000.0);
+Real pa(start = 1.2e7);
 Real Qa;
 parameter Real s = 0.001;
 parameter Real v = 5000.0;
 equation
 der(pb) = (Qb - v) / s;
@@ -14,15 +14,14 @@
 Qa + Qb = 0.0;
 end linear_system.MissV;
 "
 ""
 record SimulationResult
-resultFile = "linear_system.MissV_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-05, method = 'dassl', fileNamePrefix = 'linear_system.MissV', 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-5, method = 'dassl', fileNamePrefix = 'linear_system.MissV', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: linear_system.MissV"
 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\").
+Error: Error building simulator. Build log: RESULT: -1073741502
 "
-6999999.999999999
-6999999.999999999
+
+
'' 
Equation mismatch: omc-diff says: 
Failed 'l' '"'
Line 19: Text differs:
expected: resultFile = "linear_system.MissV_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/linear_system/MissV.mos_temp4185, time: 12]