Skip to content

Regression

simulation_modelica_initialization.underdeterminedTest6.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + underdeterminedTest6                                                              ... execution failed

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/initialization/underdeterminedTest6.mos_temp5958/log-underdeterminedTest6.mos

"Warning: Out of memory! Faking a stack overflow.
Error: Stack overflow occurred while evaluating loadString(\"
within ;
package initializationTests
  model underdeterminedTest6
    Real a(start=-1);
    Real b(start=-2);

    Real x(start=-3);
    Real y(start=-4);

  initial equation 
    x = pre(a);
    y = pre(b);

  equation 
    der(x) = 0;
    der(y) = 0;

    when time > 0.5 then
      a = 2;
    end when;

    when initial() then
      b = 1;
    end when;
  end underdeterminedTest6;
end initializationTests;
\"):
[bt] [Symbols are not generated when running the test suite]
"
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'initializationTests.underdeterminedTest6', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation Failed. Model: initializationTests.underdeterminedTest6 does not exist! Please load it first before simulation."
end SimulationResult;
""
Error processing file: underdeterminedTest6.mos
Error: Failed to open simulation result initializationTests.underdeterminedTest6_res.mat: No such file or directory
Error: Error reading simulation result.
Error: Internal error - Types.typeOfValue failed: fail()

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!

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