Failed
tests / testsuite-gcc / simulation_modelica_commonSubExp.wrapFunctionCalls13.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ wrapFunctionCalls13 ... equation mismatch [time: 6] ==== Log /tmp/omc-rtest-unknown/simulation/modelica/commonSubExp/wrapFunctionCalls13.mos_temp4074/log-wrapFunctionCalls13.mos true "" true "" ############################################################### Final Results ############################################################### ########### Updated Variable List (simulation) (5) ======================================== 1: z:VARIABLE() type: Real 2: x:DISCRETE() type: Integer 3: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse1:VARIABLE(protected = true ) type: Real unreplaceable ########### Updated Equation List (simulation) (5, 5) ======================================== 1/1 (1): $cse1 = $cse2 [dynamic |0|0|0|0|] 2/2 (1): 1.0 + z = $cse3 [dynamic |0|0|0|0|] 3/3 (1): $cse3 = sin($cse1) [unknown |0|0|0|0|] 4/4 (1): $cse2 = CSE.wrapFunctionCalls13.f1(dat.d1, p1, 2 * p1) [unknown |0|0|0|0|] 5/5 (1): $cse1 = CSE.wrapFunctionCalls13.f1(x, p1, 2 * p1) [unknown |0|0|0|0|] ########### Updated globalKnownVars (simulation) (3) ======================================== 1: p1:PARAM() = 5 type: Integer 2: dat.d2 in dat:DISCRETE(fixed = true ) = CSE.wrapFunctionCalls13.f2(p1, 2 * p1) type: Integer 3: dat.d1 in dat:DISCRETE(fixed = true ) = CSE.wrapFunctionCalls13.f2(p1, 2 * p1) type: Integer ########### CSE Replacements (4/46) ======================================== 1: dat - CSE.wrapFunctionCalls13.f2(p1, 2 * p1) - {} 2: $cse1 - CSE.wrapFunctionCalls13.f1(x, p1, 2 * p1) - {} 3: $cse2 - CSE.wrapFunctionCalls13.f1(dat.d1, p1, 2 * p1) - {} 4: $cse3 - sin($cse1) - {} ######################################## dumpindxdae ######################################## unspecified partition ======================================== Variables (1) ======================================== 1: $cse2:VARIABLE(protected = true ) type: Real unreplaceable Equations (1, 1) ======================================== 1/1 (1): $cse2 = CSE.wrapFunctionCalls13.f1(dat.d1, p1, 2 * p1) [binding |0|0|0|0|] Simple Equations (0, 0) ======================================== State Sets ======================================== Matching ======================================== 1 variables and equations var 1 is solved in eqn 1 StrongComponents ======================================== {1:1} unknown partition ======================================== Variables (4) ======================================== 1: z:VARIABLE() type: Real 2: x:DISCRETE() type: Integer 3: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse1:VARIABLE(protected = true ) type: Real unreplaceable Equations (4, 4) ======================================== 1/1 (1): $cse1 = $cse2 [dynamic |0|0|0|0|] 2/2 (1): $cse3 = sin($cse1) [unknown |0|0|0|0|] 3/3 (1): z = $cse3 - 1.0 [dynamic |0|0|0|0|] 4/4 (1): x = $cse1 - CSE.wrapFunctionCalls13.f1(0.0, p1, 2 * p1) [unknown |0|0|0|0|] Simple Equations (0, 0) ======================================== State Sets ======================================== Matching ======================================== 4 variables and equations var 1 is solved in eqn 3 var 2 is solved in eqn 4 var 3 is solved in eqn 2 var 4 is solved in eqn 1 StrongComponents ======================================== {1:4} {2:3} {3:1} {4:2} BackendDAEType: simulation Known variables only depending on parameters and constants - globalKnownVars (3) ======================================== 1: p1:PARAM() = 5 type: Integer 2: dat.d1 in dat:DISCRETE(fixed = true ) = CSE.wrapFunctionCalls13.f2(p1, 2 * p1) type: Integer 3: dat.d2 in dat:DISCRETE(fixed = true ) = CSE.wrapFunctionCalls13.f2(p1, 2 * p1) type: Integer Known variables only depending on states and inputs - localKnownVars (0) ======================================== External Objects (0) ======================================== Classes of External Objects (0) ======================================== Alias Variables (0) ======================================== Simple Shared Equations (0, 0) ======================================== Initial Equations (0, 0) ======================================== Zero Crossings (0) ============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' 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' ============================ Relations (0) ======================================== Time Events (0) ======================================== Constraints (0) ======================================== Base partitions (0) ======================================== Sub partitions (0) ======================================== parameters in order (1) ======================================== 9: dat := CSE.wrapFunctionCalls13.f2(p1, 2 * p1); record SimulationResult resultFile = "CSE.wrapFunctionCalls13_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls13', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" 0 "" Files equal! 0 Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/simulation/modelica/commonSubExp/wrapFunctionCalls13.mos_temp4074/equations-expected2019-01-25 00:34:30.238194768 +0000 +++ /tmp/omc-rtest-unknown/simulation/modelica/commonSubExp/wrapFunctionCalls13.mos_temp4074/equations-got2019-01-25 00:34:36.282128024 +0000 @@ -156,11 +156,12 @@ Initial Equations (0, 0) ======================================== Zero Crossings (0) -======================================== +============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' +============================ Relations (0) ======================================== Equation mismatch: omc-diff says: Failed '=' 'U' Line 161: Text differs: expected: ======================================== got: ============Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay == 1 out of 1 tests failed [simulation/modelica/commonSubExp/wrapFunctionCalls13.mos_temp4074, time: 6]