Skip to content

Regression

tests / testsuite-gcc / simulation_modelica_parameters.parameterTest15.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest15.mos_temp3141/log-parameterTest15.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 (12)
========================================
1: pr2:PARAM(protected = true )  = pr1  type: Integer 
2: pr1:PARAM(protected = true )  = 5  type: Integer 
3: p8:PARAM(start = 2 * p3 )  type: Integer 
4: p7:PARAM(start = 1 final = true )  type: Integer 
5: p6:PARAM(final = true )  = p5  type: Integer 
6: p5:PARAM(final = true )  = 1  type: Integer 
7: p4:PARAM(fixed = false )  type: Integer 
8: p3:PARAM()  = 5  type: Integer 
9: c2:CONST()  = 5  type: Integer 
10: c1:CONST()  = 5  type: Integer 
11: p2:PARAM()  = p1  type: Integer 
12: p1:PARAM()  = 1  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)
========================================


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: 12
Number of parameters selected for evaluation: 0
Selected parameters for evaluation:


Incidence Matrix (row: equation)
========================================
number of rows: 12
1: 2
2:
3: 8
4:
5: 6
6:
7:
8:
9:
10:
11: 12
12:

Transposed Incidence Matrix (row: variable)
========================================
number of rows: 12
1: 1
2: 2 1
3: 3
4: 4
5: 5
6: 6 5
7: 7
8: 8 3
9: 9
10: 10
11: 11
12: 12 11


After evaluating the selected parameters:
================================================================================

All replacements:
Replacements: (0)
========================================


Replacements that will be replaced in the DAE:
Replacements: (0)
========================================


globalKnownVars (12)
========================================
1: pr2:PARAM(protected = true )  = pr1  type: Integer 
2: pr1:PARAM(protected = true )  = 5  type: Integer 
3: p8:PARAM(start = 2 * p3 )  type: Integer 
4: p7:PARAM(start = 1 final = true )  type: Integer 
5: p6:PARAM(final = true )  = p5  type: Integer 
6: p5:PARAM(final = true )  = 1  type: Integer 
7: p4:PARAM(fixed = false )  type: Integer 
8: p3:PARAM()  = 5  type: Integer 
9: c2:CONST()  = 5  type: Integer 
10: c1:CONST()  = 5  type: Integer 
11: p2:PARAM()  = p1  type: Integer 
12: p1:PARAM()  = 1  type: Integer 


mark: 1
markarr: -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1


After sorting parameters:
================================================================================
Order:
12
11
10
9
8
7
6
5
4
3
2
1


After replacing the evaluated parameters in parameter bindings:
================================================================================
All replacements:
Replacements: (2)
========================================
p5 -> 1
p6 -> 1

Replacements that will be replaced in the DAE:
ReUnexpected 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'
placements: (2)
========================================
p5 -> 1
p6 -> 1

globalKnownVars (12)
========================================
1: pr2:PARAM(protected = true )  = pr1  type: Integer 
2: pr1:PARAM(protected = true )  = 5  type: Integer 
3: p8:PARAM(start = 2 * p3 )  type: Integer 
4: p7:PARAM(start = 1 final = true )  type: Integer 
5: p6:PARAM(final = true )  = 1  type: Integer 
6: p5:PARAM(final = true )  = 1  type: Integer 
7: p4:PARAM(fixed = false )  type: Integer 
8: p3:PARAM()  = 5  type: Integer 
9: c2:CONST()  = 5  type: Integer 
10: c1:CONST()  = 5  type: Integer 
11: p2:PARAM()  = p1  type: Integer 
12: p1:PARAM()  = 1  type: Integer 


mark: 1
markarr: -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: (2)
========================================
p5 -> 1
p6 -> 1

Replacements that will be replaced in the DAE:
Replacements: (2)
========================================
p5 -> 1
p6 -> 1

globalKnownVars (12)
========================================
1: pr2:PARAM(protected = true )  = pr1  type: Integer 
2: pr1:PARAM(protected = true )  = 5  type: Integer 
3: p8:PARAM(start = 2 * p3 )  type: Integer 
4: p7:PARAM(start = 1 final = true )  type: Integer 
5: p6:PARAM(final = true )  = 1  type: Integer 
6: p5:PARAM(final = true )  = 1  type: Integer 
7: p4:PARAM(fixed = false )  type: Integer 
8: p3:PARAM()  = 5  type: Integer 
9: c2:CONST()  = 5  type: Integer 
10: c1:CONST()  = 5  type: Integer 
11: p2:PARAM()  = p1  type: Integer 
12: p1:PARAM()  = 1  type: Integer 


mark: 1
markarr: -1,-1,-1,-1,-1,-1,-1,-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 (12)
========================================
1: pr2:PARAM(protected = true )  = pr1  type: Integer 
2: pr1:PARAM(protected = true )  = 5  type: Integer 
3: p8:PARAM(start = 2 * p3 )  type: Integer 
4: p7:PARAM(start = 1 final = true )  type: Integer 
5: p6:PARAM(final = true )  = 1  type: Integer 
6: p5:PARAM(final = true )  = 1  type: Integer 
7: p4:PARAM(fixed = false )  type: Integer 
8: p3:PARAM()  = 5  type: Integer 
9: c2:CONST()  = 5  type: Integer 
10: c1:CONST()  = 5  type: Integer 
11: p2:PARAM()  = p1  type: Integer 
12: p1:PARAM()  = 1  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)
========================================


Relations (0)
========================================


Time Events (0)
========================================


Constraints (0)
========================================


Base partitions (0)
========================================


Sub partitions (0)
========================================



END of preOptModule 'evaluateParameters'
********************************************************************************

record SimulationResult
    resultFile = "parameterTest15_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'parameterTest15', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-output=p1,p2,p3'",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
time=1,p1=1,p2=1,p3=5
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
"[<interactive>:12:3-12:36:writable] Warning: Parameter p8 has no value, and is fixed during initialization (fixed=true), using available start value (start=2 * p3) as default value.
[<interactive>:11:3-11:39:writable] Warning: Parameter p7 has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value.
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").
"
stdout            | warning | It is not possible to override the following quantity: p2
|                 | |       | It seems to be structural, final, protected or evaluated or has a non-constant binding.
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
time=1,p1=2,p2=2,p3=10
LOG_SUCCESS       | info    | The simulation finished successfully.
0
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest15.mos_temp3141/equations-expected2019-10-28 13:23:23.439932992 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest15.mos_temp3141/equations-got2019-10-28 13:23:25.483913632 +0000
@@ -201,11 +201,12 @@
 ========================================
 p5 -> 1
 p6 -> 1
 
 Replacements that will be replaced in the DAE:
-Replacements: (2)
+ReUnexpected 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'
+placements: (2)
 ========================================
 p5 -> 1
 p6 -> 1
 
 globalKnownVars (12)

Equation mismatch: omc-diff says:
Failed 'p' 'U'
Line 206: Text differs:
expected: Replacements: (
got:      ReUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay

== 1 out of 1 tests failed [simulation/modelica/parameters/parameterTest15.mos_temp3141, time: 2]