Skip to content

Failed

tests / testsuite-gcc / simulation_modelica_nonlinear_system.TestInputIteration.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + TestInputIteration                                                                ... equation mismatch [time: 2]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/nonlinear_system/TestInputIteration.mos_temp4342/log-TestInputIteration.mos
Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/CM3C2UP6O2ZBUJT7NNGQ3RA4O2:/var/lib/docker/overlay2/l/OFBQHWN5VWB3ZDIVLSEHB4ZZO7:/var/lib/docker/overlay2/l/XKNAMZMLHIGLUIWZN6NHS4LQOB:/var/lib/docker/overlay2/l/XDXTSPLZ4IFADJTBU5VPCFEWAO:/var/lib/docker/overlay2/l/TLE42ND4WLQ5HMCG4FABWZYYBM:/var/lib/docker/overlay2/l/N2ZO5AQSQ6RGU55LFPZO3NSFIG:/var/lib/docker/overlay2/l/AFXOGW55ZNK4NUDS4WEZ6VE76H:/var/lib/docker/overlay2/l/KJ36F2MJVNS5N45ELI4N3CNXLN:/var/lib/docker/overlay2/l/SFDLWMOUVQFPH'
Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/CM3C2UP6O2ZBUJT7NNGQ3RA4O2:/var/lib/docker/overlay2/l/OFBQHWN5VWB3ZDIVLSEHB4ZZO7:/var/lib/docker/overlay2/l/XKNAMZMLHIGLUIWZN6NHS4LQOB:/var/lib/docker/overlay2/l/XDXTSPLZ4IFADJTBU5VPCFEWAO:/var/lib/docker/overlay2/l/TLE42ND4WLQ5HMCG4FABWZYYBM:/var/lib/docker/overlay2/l/N2ZO5AQSQ6RGU55LFPZO3NSFIG:/var/lib/docker/overlay2/l/AFXOGW55ZNK4NUDS4WEZ6VE76H:/var/lib/docker/overlay2/l/KJ36F2MJVNS5N45ELI4N3CNXLN:/var/lib/docker/overlay2/l/SFDLWMOUVQFPH'
true
""
true
""


*********************
* SimCode Equations *
*********************


allEquations: 
========================================

26: x1[1]=5.0 + time [Real ]
29:  (NONLINEAR) index:5 jacobian: false
crefs: z1
27:   ($TMP_f127.x1[1], x1[2]) := f1(z1);

28: $TMP_f127.x1[1] - x1[1] (RESIDUAL)

30: x2[2]=time [Real ]
31: x2[1]=5.0 + time [Real ]
34:  (NONLINEAR) index:6 jacobian: false
crefs: z2
32:   ($TMP_f132.x2[1], y2) := f1(z2);

33: $TMP_f132.x2[1] - x2[1] (RESIDUAL)

35: y3=5.0 + time [Real ]
38:  (NONLINEAR) index:7 jacobian: false
crefs: z3
36:   ($TMP_f336.y3, x3) := f3(z3);

37: $TMP_f336.y3 - y3 (RESIDUAL)

39: x4[4]=7.0 + time [Real ]
46:  (NONLINEAR) index:8 jacobian: false
crefs: z4
40:   ($TMP_f440.x4, y4) := f4(z4);

41: x4[5]=$TMP_f440.x4[5] [Real ]
42: x4[3]=$TMP_f440.x4[3] [Real ]
43: x4[2]=$TMP_f440.x4[2] [Real ]
44: x4[1]=$TMP_f440.x4[1] [Real ]
45: $TMP_f440.x4[4] - x4[4] (RESIDUAL)

47: x5=5.0 + time [Real ]
50:  (NONLINEAR) index:9 jacobian: false
crefs: z5
48:   ($TMP_f148.x5, y5) := f1(z5);

49: $TMP_f148.x5 - x5 (RESIDUAL)

========================================



odeEquations (0 systems): 
========================================
========================================



algebraicEquations (1 systems): 
========================================
47: x5=5.0 + time [Real ]
50:  (NONLINEAR) index:9 jacobian: false
crefs: z5
48:   ($TMP_f148.x5, y5) := f1(z5);

49: $TMP_f148.x5 - x5 (RESIDUAL)

39: x4[4]=7.0 + time [Real ]
46:  (NONLINEAR) index:8 jacobian: false
crefs: z4
40:   ($TMP_f440.x4, y4) := f4(z4);

41: x4[5]=$TMP_f440.x4[5] [Real ]
42: x4[3]=$TMP_f440.x4[3] [Real ]
43: x4[2]=$TMP_f440.x4[2] [Real ]
44: x4[1]=$TMP_f440.x4[1] [Real ]
45: $TMP_f440.x4[4] - x4[4] (RESIDUAL)

35: y3=5.0 + time [Real ]
38:  (NONLINEAR) index:7 jacobian: false
crefs: z3
36:   ($TMP_f336.y3, x3) := f3(z3);

37: $TMP_f336.y3 - y3 (RESIDUAL)

31: x2[1]=5.0 + time [Real ]
34:  (NONLINEAR) index:6 jacobian: false
crefs: z2
32:   ($TMP_f132.x2[1], y2) := f1(z2);

33: $TMP_f132.x2[1] - x2[1] (RESIDUAL)

30: x2[2]=time [Real ]
26: x1[1]=5.0 + time [Real ]
29:  (NONLINEAR) index:5 jacobian: false
crefs: z1
27:   ($TMP_f127.x1[1], x1[2]) := f1(z1);

28: $TMP_f127.x1[1] - x1[1] (RESIDUAL)

========================================


clockPartitions (0 systems):

========================================



initialEquations: (11)
========================================
1: alias of 26
4:  (NONLINEAR) index:0 jacobian: false
crefs: z1
2:   ($TMP_f12.x1[1], x1[2]) := f1(z1);

3: $TMP_f12.x1[1] - x1[1] (RESIDUAL)

5: alias of 30
6: alias of 31
9:  (NONLINEAR) index:1 jacobian: false
crefs: z2
7:   ($TMP_f17.x2[1], y2) := f1(z2);

8: $TMP_f17.x2[1] - x2[1] (RESIDUAL)

10: alias of 35
13:  (NONLINEAR) index:2 jacobian: false
crefs: z3
11:   ($TMP_f311.y3, x3) := f3(z3);

12: $TMP_f311.y3 - y3 (RESIDUAL)

14: alias of 39
21:  (NONLINEAR) index:3 jacobian: false
crefs: z4
15:   ($TMP_f415.x4, y4) := f4(z4);

16: x4[5]=$TMP_f415.x4[5] [Real ]
17: x4[3]=$TMP_f415.x4[3] [Real ]
18: x4[2]=$TMP_f415.x4[2] [Real ]
19: x4[1]=$TMP_f415.x4[1] [Real ]
20: $TMP_f415.x4[4] - x4[4] (RESIDUAL)

22: alias of 47
25:  (NONLINEAR) index:4 jacobian: false
crefs: z5
23:   ($TMP_f123.x5, y5) := f1(z5);

24: $TMP_f123.x5 - x5 (RESIDUAL)

========================================



initialEquations_lambda0: (0)
========================================

removedInitialEquations: 
========================================

startValueEquations: 
========================================

nominalValueEquations: 
========================================

minValueEquations: 
========================================

maxValueEquations: 
========================================

parameterEquations: 
========================================

removedEquations: 
========================================

algorithmAndEquationAsserts: 
========================================

equationsForZeroCrossings: 
========================================

jacobianEquations: 
========================================

jacobianUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/CM3C2UP6O2ZBUJT7NNGQ3RA4O2:/var/lib/docker/overlay2/l/OFBQHWN5VWB3ZDIVLSEHB4ZZO7:/var/lib/docker/overlay2/l/XKNAMZMLHIGLUIWZN6NHS4LQOB:/var/lib/docker/overlay2/l/XDXTSPLZ4IFADJTBU5VPCFEWAO:/var/lib/docker/overlay2/l/TLE42ND4WLQ5HMCG4FABWZYYBM:/var/lib/docker/overlay2/l/N2ZO5AQSQ6RGU55LFPZO3NSFIG:/var/lib/docker/overlay2/l/AFXOGW55ZNK4NUDS4WEZ6VE76H:/var/lib/docker/overlay2/l/KJ36F2MJVNS5N45ELI4N3CNXLN:/var/lib/docker/overlay2/l/SFDLWMOUVQFPH'
Matrices: 
========================================
Jacobian idx: 0

Jacobian idx: 1

Jacobian idx: 2

Jacobian idx: 3


modelInfo: 
========================================
algVars (39)
----------------------
index: 0: $TMP_f12.x1[1] (no alias)  protected  hideResult  initial:  arrCref:$TMP_f12.x1 index:(1) [] 
index: 1: $TMP_f123.x5 (no alias)  protected  hideResult  initial: no arrCref index:(2) [] 
index: 2: $TMP_f127.x1[1] (no alias)  protected  hideResult  initial:  arrCref:$TMP_f127.x1 index:(3) [] 
index: 3: $TMP_f132.x2[1] (no alias)  protected  hideResult  initial:  arrCref:$TMP_f132.x2 index:(4) [] 
index: 4: $TMP_f148.x5 (no alias)  protected  hideResult  initial: no arrCref index:(5) [] 
index: 5: $TMP_f17.x2[1] (no alias)  protected  hideResult  initial:  arrCref:$TMP_f17.x2 index:(6) [] 
index: 6: $TMP_f311.y3 (no alias)  protected  hideResult  initial: no arrCref index:(7) [] 
index: 7: $TMP_f336.y3 (no alias)  protected  hideResult  initial: no arrCref index:(8) [] 
index: 8: $TMP_f415.x4[1] (no alias)  protected  hideResult  initial:  arrCref:$TMP_f415.x4 index:(9) [] 
index: 9: $TMP_f415.x4[2] (no alias)  protected  hideResult  initial: no arrCref index:(10) [] 
index: 10: $TMP_f415.x4[3] (no alias)  protected  hideResult  initial: no arrCref index:(11) [] 
index: 11: $TMP_f415.x4[4] (no alias)  protected  hideResult  initial: no arrCref index:(12) [] 
index: 12: $TMP_f415.x4[5] (no alias)  protected  hideResult  initial: no arrCref index:(13) [] 
index: 13: $TMP_f440.x4[1] (no alias)  protected  hideResult  initial:  arrCref:$TMP_f440.x4 index:(14) [] 
index: 14: $TMP_f440.x4[2] (no alias)  protected  hideResult  initial: no arrCref index:(15) [] 
index: 15: $TMP_f440.x4[3] (no alias)  protected  hideResult  initial: no arrCref index:(16) [] 
index: 16: $TMP_f440.x4[4] (no alias)  protected  hideResult  initial: no arrCref index:(17) [] 
index: 17: $TMP_f440.x4[5] (no alias)  protected  hideResult  initial: no arrCref index:(18) [] 
index: 18: x1[1] (no alias)  initial: 5.0 arrCref:x1 index:(19) [2] 
index: 19: x1[2] (no alias)  initial: no arrCref index:(20) [2] 
index: 20: x2[1] (no alias)  initial: 5.0 arrCref:x2 index:(21) [2] 
index: 21: x2[2] (no alias)  initial: 0.0no arrCref index:(22) [2] 
index: 22: x3[1] (no alias)  initial:  arrCref:x3 index:(23) [2] 
index: 23: x3[2] (no alias)  initial: no arrCref index:(24) [2] 
index: 24: x4[1] (no alias)  initial:  arrCref:x4 index:(25) [5] 
index: 25: x4[2] (no alias)  initial: no arrCref index:(26) [5] 
index: 26: x4[3] (no alias)  initial: no arrCref index:(27) [5] 
index: 27: x4[4] (no alias)  initial: 7.0no arrCref index:(28) [5] 
index: 28: x4[5] (no alias)  initial: no arrCref index:(29) [5] 
index: 29: x5 (no alias)  initial: 5.0no arrCref index:(30) [] 
index: 30: y2 (no alias)  initial: no arrCref index:(31) [] 
index: 31: y3 (no alias)  initial: 5.0no arrCref index:(32) [] 
index: 32: y4 (no alias)  initial: no arrCref index:(33) [] 
index: 33: y5 (no alias)  initial: no arrCref index:(34) [] 
index: 34: z1 (no alias)  initial: no arrCref index:(35) [] 
index: 35: z2 (no alias)  initial: no arrCref index:(36) [] 
index: 36: z3 (no alias)  initial: no arrCref index:(37) [] 
index: 37: z4 (no alias)  initial: no arrCref index:(38) [] 
index: 38: z5 (no alias)  initial: no arrCref index:(39) [] 
functions:
-----------

Function: f1
outVars: x1 (Real, )  , x2 (Real, )  , 
functionArguments: z (Real, )  , 
variableDeclarations: x1 (Real, )  , x2 (Real, )  , 
Function: f3
outVars: y (Real, )  , x (Real, )  , 
functionArguments: z (Real, )  , 
variableDeclarations: y (Real, )  , x (Real, )  , 
Function: f4
outVars: x (Real, )  , y (Real, )  , 
functionArguments: z (Real, )  , 
variableDeclarations: x (Real, )  , y (Real, )  , 
record SimulationResult
    resultFile = "TestInputIteration_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestInputIteration', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-output=x1[1],x1[2],z1,x2[1],x2[2],y2,z2,x3[1],x3[2],y3,z3,x4[1],x4[2],x4[3],x4[4],x4[5],y4,z4,x5,y5,z5'",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
time=0,x1[1]=5,x1[2]=7,z1=5,x2[1]=5,x2[2]=0,y2=7,z2=5,x3[1]=5,x3[2]=1,y3=5,z3=5,x4[1]=4,x4[2]=5,x4[3]=6,x4[4]=7,x4[5]=8,y4=9,z4=4,x5=5,y5=7,z5=5
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/nonlinear_system/TestInputIteration.mos_temp4342/equations-expected2019-01-25 00:39:46.098655026 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/nonlinear_system/TestInputIteration.mos_temp4342/equations-got2019-01-25 00:39:48.066632877 +0000
@@ -190,11 +190,12 @@
 ========================================
 
 jacobianEquations: 
 ========================================
 
-jacobianMatrices: 
+jacobianUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/CM3C2UP6O2ZBUJT7NNGQ3RA4O2:/var/lib/docker/overlay2/l/OFBQHWN5VWB3ZDIVLSEHB4ZZO7:/var/lib/docker/overlay2/l/XKNAMZMLHIGLUIWZN6NHS4LQOB:/var/lib/docker/overlay2/l/XDXTSPLZ4IFADJTBU5VPCFEWAO:/var/lib/docker/overlay2/l/TLE42ND4WLQ5HMCG4FABWZYYBM:/var/lib/docker/overlay2/l/N2ZO5AQSQ6RGU55LFPZO3NSFIG:/var/lib/docker/overlay2/l/AFXOGW55ZNK4NUDS4WEZ6VE76H:/var/lib/docker/overlay2/l/KJ36F2MJVNS5N45ELI4N3CNXLN:/var/lib/docker/overlay2/l/SFDLWMOUVQFPH'
+Matrices: 
 ========================================
 Jacobian idx: 0
 
 Jacobian idx: 1
 

Equation mismatch: omc-diff says:
Failed 'M' 'U'
Line 195: Text differs:
expected: jacobianMatrices: 
got:      jacobianUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay

== 1 out of 1 tests failed [simulation/modelica/nonlinear_system/TestInputIteration.mos_temp4342, time: 2]