Skip to content

Failed

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

Failing for the past 278 builds (Since #3430 )
Took 3 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Try.mos_temp1221/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_temp1221/equations-expected"2024-04-19 13:09:30.542893200 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/metamodelica/meta/Try.mos_temp1221/equations-got"2024-04-19 13:09:32.805894800 +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_temp1221, time: 3]