Regression
tests / testsuite-gcc / simulation_modelica_parameters.parameterTest2.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ parameterTest2 ... equation mismatch [time: 2] ==== Log /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest2.mos_temp1851/log-parameterTest2.mos true "" true "" BEGINNING of preOptModule 'evaluateParameters' ******************************************************************************** ######################################## DAE before evaluating parameters ######################################## unknown partition ======================================== Variables (0) ======================================== Equations (0, 0) ======================================== Simple Equations (0, 0) ======================================== State Sets ======================================== no matching BackendDAEType: simulation Known variables only depending on parameters and constants - globalKnownVars (5) ======================================== 1: e:PARAM() = 5.0 + b type: Real 2: d:PARAM() = a + b type: Real 3: c:PARAM() = 2.0 * b type: Real 4: b:PARAM() = 5.0 type: Real 5: a:PARAM(final = true ) = b + c + e type: Real 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, final parameters and parameters with annotation(Evaluate=true) will be evaluated. START evaluating parameters: ================================================================================ Number of parameters: 5 Number of parameters selected for evaluation: 1 Selected parameters for evaluation: 5 Incidence Matrix (row: equation) ======================================== number of rows: 5 1: 4 2: 5 4 3: 4 4: 5: 4 3 1 Transposed Incidence Matrix (row: variable) ======================================== number of rows: 5 1: 5 1 2: 2 3: 5 3 4: 5 4 3 2 1 5: 5 2 After evaluating the selected parameters: ================================================================================ All replacements: Replacements: (4) ======================================== b -> 5.0 c -> 10.0 e -> 10.0 a -> 25.0 Replacements that will be replaced in the DAE: Replacements: (4) ======================================== b -> 5.0 c -> 10.0 e -> 10.0 a -> 25.0 globalKnownVars (5) ======================================== 1: e:PARAM(final = true ) = 5.0 + b type: Real 2: d:PARAM() = a + b type: Real 3: c:PARAM(final = true ) = 2.0 * b type: Real 4: b:PARAM(final = true ) = 5.0 type: Real 5: a:PARAM(final = true ) = 25.0 type: Real mark: 1 markarr: 1,-1,1,1,1 After sorting parameters: ================================================================================ Order: 4 3 1 5 2 After replacing the evaluated parameters in parameter bindings: ================================================================================ All replacements: Replacements: (5) ======================================== b -> 5.0 c -> 10.0 e -> 10.0 a -> 25.0 d -> 30.0 Replacements that will be replaced in the DAE: Replacements: (5) ======================================== b -> 5.0 c -> 10.0 e -> 10.0 a -> 25.0 d -> 30.0 globalKnownVars (5) ======================================== 1: e:PARAM(final = true ) = 10.0 type: Real 2: d:PARAM(final = true ) = 30.0 type: Real 3: c:PARAM(final = true ) = 10.0 type: Real 4: b:PARAM(final = true ) = 5.0 type: Real 5: a:PARAM(final = true ) = 25.0 type: Real mark: 1 markarr: 1,-1,1,1,1 After replacing the evaluated parameters in variable bindings and start attributes: ================================================================================ AlUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/HARPE5PKGUCTTU7KPWYDQXZC5S:/var/lib/docker/overlay2/l/AKUSGG2DJ2VNFFSFKIZ77OVOVT:/var/lib/docker/overlay2/l/6EAWHLLNQ4VNIHV6JWX763TT3V:/var/lib/docker/overlay2/l/CSHIUSYFZCK4EBRLHZTUP4D54K:/var/lib/docker/overlay2/l/STL54MVTFWD2TABVXYNZ7IPE74:/var/lib/docker/overlay2/l/GGYGSX4UHIVXAQSELYLXSV4LV6:/var/lib/docker/overlay2/l/FGCIUGECWESRTLJ22UYYTVRTIF:/var/lib/docker/overlay2/l/QEFCR6W3IF3JFHZSD6HWLTY5FM:/var/lib/docker/overlay2/l/D6VBA3BXFB2KX' Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/HARPE5PKGUCTTU7KPWYDQXZC5S:/var/lib/docker/overlay2/l/AKUSGG2DJ2VNFFSFKIZ77OVOVT:/var/lib/docker/overlay2/l/6EAWHLLNQ4VNIHV6JWX763TT3V:/var/lib/docker/overlay2/l/CSHIUSYFZCK4EBRLHZTUP4D54K:/var/lib/docker/overlay2/l/STL54MVTFWD2TABVXYNZ7IPE74:/var/lib/docker/overlay2/l/GGYGSX4UHIVXAQSELYLXSV4LV6:/var/lib/docker/overlay2/l/FGCIUGECWESRTLJ22UYYTVRTIF:/var/lib/docker/overlay2/l/QEFCR6W3IF3JFHZSD6HWLTY5FM:/var/lib/docker/overlay2/l/D6VBA3BXFB2KX' Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/HARPE5PKGUCTTU7KPWYDQXZC5S:/var/lib/docker/overlay2/l/AKUSGG2DJ2VNFFSFKIZ77OVOVT:/var/lib/docker/overlay2/l/6EAWHLLNQ4VNIHV6JWX763TT3V:/var/lib/docker/overlay2/l/CSHIUSYFZCK4EBRLHZTUP4D54K:/var/lib/docker/overlay2/l/STL54MVTFWD2TABVXYNZ7IPE74:/var/lib/docker/overlay2/l/GGYGSX4UHIVXAQSELYLXSV4LV6:/var/lib/docker/overlay2/l/FGCIUGECWESRTLJ22UYYTVRTIF:/var/lib/docker/overlay2/l/QEFCR6W3IF3JFHZSD6HWLTY5FM:/var/lib/docker/overlay2/l/D6VBA3BXFB2KX' l replacements: Replacements: (5) ======================================== b -> 5.0 c -> 10.0 e -> 10.0 a -> 25.0 d -> 30.0 Replacements that will be replaced in the DAE: Replacements: (5) ======================================== b -> 5.0 c -> 10.0 e -> 10.0 a -> 25.0 d -> 30.0 globalKnownVars (5) ======================================== 1: e:PARAM(final = true ) = 10.0 type: Real 2: d:PARAM(final = true ) = 30.0 type: Real 3: c:PARAM(final = true ) = 10.0 type: Real 4: b:PARAM(final = true ) = 5.0 type: Real 5: a:PARAM(final = true ) = 25.0 type: Real mark: 1 markarr: 1,-1,1,1,1 ######################################## DAE after replacing the evaluated parameters ######################################## unknown partition ======================================== Variables (0) ======================================== Equations (0, 0) ======================================== Simple Equations (0, 0) ======================================== State Sets ======================================== no matching BackendDAEType: simulation Known variables only depending on parameters and constants - globalKnownVars (5) ======================================== 1: e:PARAM(final = true ) = 10.0 type: Real 2: d:PARAM(final = true ) = 30.0 type: Real 3: c:PARAM(final = true ) = 10.0 type: Real 4: b:PARAM(final = true ) = 5.0 type: Real 5: a:PARAM(final = true ) = 25.0 type: Real 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 = "parameterTest2_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'parameterTest2', 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; "" Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest2.mos_temp1851/equations-expected2019-10-28 13:23:28.195887932 +0000 +++ /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest2.mos_temp1851/equations-got2019-10-28 13:23:30.575865366 +0000 @@ -199,11 +199,12 @@ markarr: 1,-1,1,1,1 After replacing the evaluated parameters in variable bindings and start attributes: ================================================================================ -All replacements: +AlUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/HARPE5PKGUCTTU7KPWYDQXZC5S:/var/lib/docker/overlay2/l/AKUSGG2DJ2VNFFSFKIZ77OVOVT:/var/lib/docker/overlay2/l/6EAWHLLNQ4VNIHV6JWX763TT3V:/var/lib/docker/overlay2/l/CSHIUSYFZCK4EBRLHZTUP4D54K:/var/lib/docker/overlay2/l/STL54MVTFWD2TABVXYNZ7IPE74:/var/lib/docker/overlay2/l/GGYGSX4UHIVXAQSELYLXSV4LV6:/var/lib/docker/overlay2/l/FGCIUGECWESRTLJ22UYYTVRTIF:/var/lib/docker/overlay2/l/QEFCR6W3IF3JFHZSD6HWLTY5FM:/var/lib/docker/overlay2/l/D6VBA3BXFB2KX' +l replacements: Replacements: (5) ======================================== b -> 5.0 c -> 10.0 e -> 10.0 Equation mismatch: omc-diff says: Failed 'l' 'U' Line 204: Text differs: expected: All replacements: got: AlUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay == 1 out of 1 tests failed [simulation/modelica/parameters/parameterTest2.mos_temp1851, time: 2]