Skip to content

Failed

metamodelica_meta.Try.mos (from (result.xml))

Failing for the past 274 builds (Since #3430 )
Took 4 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Try.mos                                                                           ... equation mismatch [time: 3]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Try.mos_temp9007/log-Try.mos
true
""
true
""
"package Try
  function f
    output Real o;
  algorithm
    try
      o := 1.5;
    else
      fail();
    end try;;
  end f;

  model M
    Real r = f();
  end M;
end Try;"
""
"function Try.f
  output Real o;
algorithm
  matchcontinue ()
      case ()
        algorithm
          o := 1.5;
        then
          ();
      case ()
        algorithm
          fail();
        then
          ();
    end matchcontinue;
end Try.f;

class Try.M
  Real r = 1.5;
end Try.M;
"
""

""
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Try.mos_temp9007/equations-expected"2024-04-18 15:49:39.540694900 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Try.mos_temp9007/equations-got"2024-04-18 15:49:42.840836700 +0200
@@ -38,7 +38,7 @@
 class Try.M
 Real r = 1.5;
 end Try.M;
 "
 ""
-1.5
+
 ""
'' 
Equation mismatch: omc-diff says: 
Line 43: Lexical token differs:
expected: 1.5
got:      


== 1 out of 1 tests failed [metamodelica/meta/Try.mos_temp9007, time: 4]