Hudson logo

Failed

openmodelica_diff.TestDiffListAPI.mos (from (result.xml))

Failing for the past 3,473 builds (Since #7821 )

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + TestDiffListAPI.mos                                                               ... equation mismatch [time: 0]

==== Log /tmp/omc-rtest-adrpo33/openmodelica/diff/TestDiffListAPI.mos_temp6119/log-TestDiffListAPI.mos
5
true
""
"1 failed. Got:
model M[4;32m
  Real r;[0m
end M;

Expected:
model M[4;32m
  Real r;[0m
end M;

2 failed. Got:
model M
  Real x;
Real y;
end M;

Expected:
model M
  Real x;
Real y;
end M;

3 failed. Got:
model aa
  Real x;
algorithm
  if time > 0.5 then
  //this is a comment
    x := 2;
  else
    x := 1;
  end if;
end aa;

Expected:
model aa
  Real x;
algorithm
  if time > 0.5 then
  //this is a comment
    x := 2;
  else
    x := 1;
  end if;
end aa;

4 failed. Got:
model CommentBug \" Model\"
  /* This is a several-line comment
     line two
     line three
     line four
  */
end CommentBug;

Expected:
model CommentBug \" Model\"
  /* This is a several-line comment
     line two
     line three
     line four
  */
end CommentBug;

5 failed. Got:
model aa
  Real x;
algorithm
  if time > 0.5 then
  /* this is a comment
  with
    several
  lines
*/    x := 2;
  else
    x := 1;
  end if;
end aa;

Expected:
model aa
  Real x;
algorithm
  if time > 0.5 then
  /* this is a comment
  with
    several
  lines
*/    x := 2;
  else
    x := 1;
  end if;
end aa;

"
""
"1 failed. Got:
model M
  Real r;
end M;

Expected:
model M
  Real r;
end M;

2 failed. Got:
model M
  Real x;
Real y;
end M;

Expected:
model M
  Real x;
Real y;
end M;

3 failed. Got:
model aa
  Real x;
algorithm
  if time > 0.5 then
  //this is a comment
    x := 2;
  else
    x := 1;
  end if;
end aa;

Expected:
model aa
  Real x;
algorithm
  if time > 0.5 then
  //this is a comment
    x := 2;
  else
    x := 1;
  end if;
end aa;

4 failed. Got:
model CommentBug \" Model\"
  /* This is a several-line comment
     line two
     line three
     line four
  */
end CommentBug;

Expected:
model CommentBug \" Model\"
  /* This is a several-line comment
     line two
     line three
     line four
  */
end CommentBug;

5 failed. Got:
model aa
  Real x;
algorithm
  if time > 0.5 then
  /* this is a comment
  with
    several
  lines
*/    x := 2;
  else
    x := 1;
  end if;
end aa;

Expected:
model aa
  Real x;
algorithm
  if time > 0.5 then
  /* this is a comment
  with
    several
  lines
*/    x := 2;
  else
    x := 1;
  end if;
end aa;

"
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-adrpo33/openmodelica/diff/TestDiffListAPI.mos_temp6119/equations-expected2019-05-16 22:05:33.004392400 +0200
+++ /tmp/omc-rtest-adrpo33/openmodelica/diff/TestDiffListAPI.mos_temp6119/equations-got2019-05-16 22:05:33.321395200 +0200
@@ -1,7 +1,195 @@
 5
 true
 ""
+"1 failed. Got:
+model M[4;32m
+Real r;[0m
+end M;
+
+Expected:
+model M[4;32m
+Real r;[0m
+end M;
+
+2 failed. Got:
+model M
+Real x;
+Real y;
+end M;
+
+Expected:
+model M
+Real x;
+Real y;
+end M;
+
+3 failed. Got:
+model aa
+Real x;
+algorithm
+if time > 0.5 then
+//this is a comment
+x := 2;
+else
+x := 1;
+end if;
+end aa;
+
+Expected:
+model aa
+Real x;
+algorithm
+if time > 0.5 then
+//this is a comment
+x := 2;
+else
+x := 1;
+end if;
+end aa;
+
+4 failed. Got:
+model CommentBug \" Model\"
+/* This is a several-line comment
+line two
+line three
+line four
+*/
+end CommentBug;
+
+Expected:
+model CommentBug \" Model\"
+/* This is a several-line comment
+line two
+line three
+line four
+*/
+end CommentBug;
+
+5 failed. Got:
+model aa
+Real x;
+algorithm
+if time > 0.5 then
+/* this is a comment
+with
+several
+lines
+*/ x := 2;
+else
+x := 1;
+end if;
+end aa;
+
+Expected:
+model aa
+Real x;
+algorithm
+if time > 0.5 then
+/* this is a comment
+with
+several
+lines
+*/ x := 2;
+else
+x := 1;
+end if;
+end aa;
+
+"
 ""
-""
-""
+"1 failed. Got:
+model M
+Real r;
+end M;
+
+Expected:
+model M
+Real r;
+end M;
+
+2 failed. Got:
+model M
+Real x;
+Real y;
+end M;
+
+Expected:
+model M
+Real x;
+Real y;
+end M;
+
+3 failed. Got:
+model aa
+Real x;
+algorithm
+if time > 0.5 then
+//this is a comment
+x := 2;
+else
+x := 1;
+end if;
+end aa;
+
+Expected:
+model aa
+Real x;
+algorithm
+if time > 0.5 then
+//this is a comment
+x := 2;
+else
+x := 1;
+end if;
+end aa;
+
+4 failed. Got:
+model CommentBug \" Model\"
+/* This is a several-line comment
+line two
+line three
+line four
+*/
+end CommentBug;
+
+Expected:
+model CommentBug \" Model\"
+/* This is a several-line comment
+line two
+line three
+line four
+*/
+end CommentBug;
+
+5 failed. Got:
+model aa
+Real x;
+algorithm
+if time > 0.5 then
+/* this is a comment
+with
+several
+lines
+*/ x := 2;
+else
+x := 1;
+end if;
+end aa;
+
+Expected:
+model aa
+Real x;
+algorithm
+if time > 0.5 then
+/* this is a comment
+with
+several
+lines
+*/ x := 2;
+else
+x := 1;
+end if;
+end aa;
+
+"
 ""

Equation mismatch: omc-diff says:
Line 4: Text differs:
expected: ""
got:      "

== 1 out of 1 tests failed [openmodelica/diff/TestDiffListAPI.mos_temp6119, time: 0]

Powered by Hudson Open Source Continuous Integration Server from the Eclipse Foundation