Regression
tests / testsuite-gcc / simulation_modelica_parameters.parameterTest9.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ parameterTest9 ... equation mismatch [time: 4] ==== Log /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest9.mos_temp7026/log-parameterTest9.mos true "" true BEGINNING of preOptModule 'evaluateParameters' ******************************************************************************** ######################################## DAE before evaluating parameters ######################################## unknown partition ======================================== Variables (2) ======================================== 1: r:VARIABLE() type: Real 2: v:VARIABLE() type: Real Equations (2, 2) ======================================== 1/1 (1): der(v) = 1.0 [dynamic |0|0|0|0|] 2/2 (1): der(r) = 2.0 [dynamic |0|0|0|0|] Simple Equations (0, 0) ======================================== State Sets ======================================== no matching BackendDAEType: simulation Known variables only depending on parameters and constants - globalKnownVars (26) ======================================== 1: a3[10]:PARAM() = 1 type: Integer [10] 2: a3[9]:PARAM() = 1 type: Integer [10] 3: a3[8]:PARAM() = 1 type: Integer [10] 4: a3[7]:PARAM() = 1 type: Integer [10] 5: a3[6]:PARAM() = 1 type: Integer [10] 6: a3[5]:PARAM() = 1 type: Integer [10] 7: a3[4]:PARAM() = 1 type: Integer [10] 8: a3[3]:PARAM() = 1 type: Integer [10] 9: a3[2]:PARAM() = 1 type: Integer [10] 10: a3[1]:PARAM() = 1 type: Integer [10] 11: s3:PARAM(final = true ) = 10 type: Integer 12: a2[7]:PARAM() = 1 type: Integer [7] 13: a2[6]:PARAM() = 1 type: Integer [7] 14: a2[5]:PARAM() = 1 type: Integer [7] 15: a2[4]:PARAM() = 1 type: Integer [7] 16: a2[3]:PARAM() = 1 type: Integer [7] 17: a2[2]:PARAM() = 1 type: Integer [7] 18: a2[1]:PARAM() = 1 type: Integer [7] 19: s2:PARAM(final = true ) = 7 type: Integer 20: a[3]:PARAM() = 3 type: Integer [3] 21: a[2]:PARAM() = 2 type: Integer [3] 22: a[1]:PARAM() = 1 type: Integer [3] 23: s:PARAM(final = true ) = p1 type: Integer 24: p2:PARAM() = 3 type: Integer 25: p1:PARAM() = p2 type: Integer 26: state:PARAM(final = true ) = true type: Boolean 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) ======================================== Relations (0) ======================================== Time Events (0) ======================================== Constraints (0) ======================================== Base partitions (0) ======================================== Sub partitions (0) ======================================== Structural parameters and parameters with annotation(Evaluate=true) will be evaluated. START evaluating parameters: ================================================================================ Number of parameters: 26 Number of parameters selected for evaluation: 4 Selected parameters for evaluation: 26,23,19,11 Incidence Matrix (row: equation) ======================================== number of rows: 26 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 25 24: 25: 24 26: Transposed Incidence Matrix (row: variable) ======================================== number of rows: 26 1: 1 2: 2 3: 3 4: 4 5: 5 6: 6 7: 7 8: 8 9: 9 10: 10 11: 11 12: 12 13: 13 14: 14 15: 15 16: 16 17: 17 18: 18 19: 19 20: 20 21: 21 22: 22 23: 23 24: 25 24 25: 25 23 26: 26 After evaluating the selected parameters: ================================================================================ All replacements: Replacements: (6) ======================================== state -> true p2 -> 3 p1 -> 3 s -> 3 s2 -> 7 s3 -> 10 Replacements that will be replaced in the DAE: Replacements: (6) ======================================== state -> true p2 -> 3 p1 -> 3 s -> 3 s2 -> 7 s3 -> 10 globalKnownVars (26) ======================================== 1: a3[10]:PARAM() = 1 type: Integer [10] 2: a3[9]:PARAM() = 1 type: Integer [10] 3: a3[8]:PARAM() = 1 type: Integer [10] 4: a3[7]:PARAM() = 1 type: Integer [10] 5: a3[6]:PARAM() = 1 type: Integer [10] 6: a3[5]:PARAM() = 1 type: Integer [10] 7: a3[4]:PARAM() = 1 type: Integer [10] 8: a3[3]:PARAM() = 1 type: Integer [10] 9: a3[2]:PARAM() = 1 type: Integer [10] 10: a3[1]:PARAM() = 1 type: Integer [10] 11: s3:PARAM(final = true ) = 10 type: Integer 12: a2[7]:PARAM() = 1 type: Integer [7] 13: a2[6]:PARAM() = 1 type: Integer [7] 14: a2[5]:PARAM() = 1 type: Integer [7] 15: a2[4]:PARAM() = 1 type: Integer [7] 16: a2[3]:PARAM() = 1 type: Integer [7] 17: a2[2]:PARAM() = 1 type: Integer [7] 18: a2[1]:PARAM() = 1 type: Integer [7] 19: s2:PARAM(final = true ) = 7 type: Integer 20: a[3]:PARAM() = 3 type: Integer [3] 21: a[2]:PARAM() = 2 type: Integer [3] 22: a[1]:PARAM() = 1 type: Integer [3] 23: s:PARAM(final = true ) = 3 type: Integer 24: p2:PARAM(final = true ) = 3 type: Integer 25: p1:PARAM(final = true ) = p2 type: Integer 26: state:PARAM(final = true ) = true type: Boolean mark: 1 markarr: -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,1,1,1,1 After sorting parameters: ================================================================================ Order: 26 24 25 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 After replacing the evaluated parameters in parameter bindings: ================================================================================ All replacements: Replacements: (6) ======================================== state -> true p2 -> 3 p1 -> 3 s -> 3 s2 -> 7 s3 -> 10 Replacements that will be replaced in the DAE: Replacements: (6) ======================================== state -> true p2 -> 3 p1 -> 3 s -> 3 s2 -> 7 s3 -> 10 globalKnownVars (26) ======================================== 1: a3[10]:PARAM() = 1 type: Integer [10] 2: a3[9]:PARAM() = 1 type: Integer [10] 3: a3[8]:PARAM() = 1 type: Integer [10] 4: a3[7]:PARAM() = 1 type: Integer [10] 5: a3[6]:PARAM() = 1 type: Integer [10] 6: a3[5]:PARAM() = 1 type: Integer [10] 7: a3[4]:PARAM() = 1 type: Integer [10] 8: a3[3]:PARAM() = 1 type: Integer [10] 9: a3[2]:PARAM() = 1 type: Integer [10] 10: a3[1]:PARAM() = 1 type: Integer [10] 11: s3:PARAM(final = true ) = 10 type: Integer 12: a2[7]:PARAM() = 1 type: Integer [7] 13: a2[6]:PARAM() = 1 type: Integer [7] 14: a2[5]:PARAM() = 1 type: Integer [7] 15: a2[4]:PARAM() = 1 type: Integer [7] 16: a2[3]:PARAM() = 1 type: Integer [7] 17: a2[2]:PARAM() = 1 type: Integer [7] 18: a2[1]:PARAM() = 1 type: Integer [7] 19: s2:PARAM(final = true ) = 7 type: Integer 20: a[3]:PARAM() = 3 type: Integer [3] 21: a[2]:PARAM() = 2 type: Integer [3] 22: a[1]:PARAM() = 1 type: Integer [3] 23: s:PARAM(final = true ) = 3 type: Integer 24: p2:PARAM(final = true ) = 3 type: Integer 25: p1:PARAM(final = true ) = 3 type: Integer 26: state:PARAM(final = true ) = true type: Boolean mark: 1 markarr: -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,1,1,1,1 After replacing the evaluated parameters in variable bindings and start attributes: ================================================================================ All replacements: Replacements: (6) ======================================== state -> true p2 -> 3 p1 -> 3 s -> 3 s2 -> 7 s3 -> 10 Replacements that will be replaced in the DAE: Replacements: (6) ======================================== state -> true p2 -> 3 p1 -> 3 s -> 3 s2 -> 7 s3 -> 10 globalKnownVars (26) ======================================== 1: a3[10]:PARAM() = 1 type: Integer [10] 2: a3[9]:PARAM() = 1 type: Integer [10] 3: a3[8]:PARAM() = 1 type: Integer [10] 4: a3[7]:PARAM() = 1 type: Integer [10] 5: a3[6]:PARAM() = 1 type: Integer [10] 6: a3[5]:PARAM() = 1 type: Integer [10] 7: a3[4]:PARAM() = 1 type: Integer [10] 8: a3[3]:PARAM() = 1 type: Integer [10] 9: a3[2]:PARAM() = 1 type: IntegeUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/DCSTFYG3DVWP53HLMAXKZTPDR5:/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/DCSTFYG3DVWP53HLMAXKZTPDR5:/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/DCSTFYG3DVWP53HLMAXKZTPDR5:/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' r [10] 10: a3[1]:PARAM() = 1 type: Integer [10] 11: s3:PARAM(final = true ) = 10 type: Integer 12: a2[7]:PARAM() = 1 type: Integer [7] 13: a2[6]:PARAM() = 1 type: Integer [7] 14: a2[5]:PARAM() = 1 type: Integer [7] 15: a2[4]:PARAM() = 1 type: Integer [7] 16: a2[3]:PARAM() = 1 type: Integer [7] 17: a2[2]:PARAM() = 1 type: Integer [7] 18: a2[1]:PARAM() = 1 type: Integer [7] 19: s2:PARAM(final = true ) = 7 type: Integer 20: a[3]:PARAM() = 3 type: Integer [3] 21: a[2]:PARAM() = 2 type: Integer [3] 22: a[1]:PARAM() = 1 type: Integer [3] 23: s:PARAM(final = true ) = 3 type: Integer 24: p2:PARAM(final = true ) = 3 type: Integer 25: p1:PARAM(final = true ) = 3 type: Integer 26: state:PARAM(final = true ) = true type: Boolean mark: 1 markarr: -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,1,1,1,1 ######################################## DAE after replacing the evaluated parameters ######################################## unknown partition ======================================== Variables (2) ======================================== 1: r:VARIABLE() type: Real 2: v:VARIABLE() type: Real Equations (2, 2) ======================================== 1/1 (1): der(v) = 1.0 [dynamic |0|0|0|0|] 2/2 (1): der(r) = 2.0 [dynamic |0|0|0|0|] Simple Equations (0, 0) ======================================== State Sets ======================================== no matching BackendDAEType: simulation Known variables only depending on parameters and constants - globalKnownVars (26) ======================================== 1: a3[10]:PARAM() = 1 type: Integer [10] 2: a3[9]:PARAM() = 1 type: Integer [10] 3: a3[8]:PARAM() = 1 type: Integer [10] 4: a3[7]:PARAM() = 1 type: Integer [10] 5: a3[6]:PARAM() = 1 type: Integer [10] 6: a3[5]:PARAM() = 1 type: Integer [10] 7: a3[4]:PARAM() = 1 type: Integer [10] 8: a3[3]:PARAM() = 1 type: Integer [10] 9: a3[2]:PARAM() = 1 type: Integer [10] 10: a3[1]:PARAM() = 1 type: Integer [10] 11: s3:PARAM(final = true ) = 10 type: Integer 12: a2[7]:PARAM() = 1 type: Integer [7] 13: a2[6]:PARAM() = 1 type: Integer [7] 14: a2[5]:PARAM() = 1 type: Integer [7] 15: a2[4]:PARAM() = 1 type: Integer [7] 16: a2[3]:PARAM() = 1 type: Integer [7] 17: a2[2]:PARAM() = 1 type: Integer [7] 18: a2[1]:PARAM() = 1 type: Integer [7] 19: s2:PARAM(final = true ) = 7 type: Integer 20: a[3]:PARAM() = 3 type: Integer [3] 21: a[2]:PARAM() = 2 type: Integer [3] 22: a[1]:PARAM() = 1 type: Integer [3] 23: s:PARAM(final = true ) = 3 type: Integer 24: p2:PARAM(final = true ) = 3 type: Integer 25: p1:PARAM(final = true ) = 3 type: Integer 26: state:PARAM(final = true ) = true type: Boolean 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) ======================================== Relations (0) ======================================== Time Events (0) ======================================== Constraints (0) ======================================== Base partitions (0) ======================================== Sub partitions (0) ======================================== END of preOptModule 'evaluateParameters' ******************************************************************************** record SimulationResult resultFile = "parameterTest9_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'parameterTest9', 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; "Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). " Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest9.mos_temp7026/equations-expected2019-01-23 19:15:25.602793636 +0000 +++ /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest9.mos_temp7026/equations-got2019-01-23 19:15:29.010745391 +0000 @@ -364,11 +364,12 @@ 4: a3[7]:PARAM() = 1 type: Integer [10] 5: a3[6]:PARAM() = 1 type: Integer [10] 6: a3[5]:PARAM() = 1 type: Integer [10] 7: a3[4]:PARAM() = 1 type: Integer [10] 8: a3[3]:PARAM() = 1 type: Integer [10] -9: a3[2]:PARAM() = 1 type: Integer [10] +9: a3[2]:PARAM() = 1 type: IntegeUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/DCSTFYG3DVWP53HLMAXKZTPDR5:/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' +r [10] 10: a3[1]:PARAM() = 1 type: Integer [10] 11: s3:PARAM(final = true ) = 10 type: Integer 12: a2[7]:PARAM() = 1 type: Integer [7] 13: a2[6]:PARAM() = 1 type: Integer [7] 14: a2[5]:PARAM() = 1 type: Integer [7] Equation mismatch: omc-diff says: Failed 'r' 'U' Line 369: Text differs: expected: type: Integer [ got: type: IntegeUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay == 1 out of 1 tests failed [simulation/modelica/parameters/parameterTest9.mos_temp7026, time: 4]