Skip to content

Failed

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + parameterTest5                                                                    ... equation mismatch [time: 10]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest5.mos_temp8607/log-parameterTest5.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 (9)
========================================
1: h:PARAM()  = f + g  type: Real 
2: g:PARAM()  = if b1 then 2.0 else f  type: Real 
3: f:PARAM()  = if b1 then g else 2.0  type: Real 
4: e:PARAM()  = d + a  type: Real 
5: d:PARAM(final = true )  = a + b + c  type: Real 
6: c:PARAM()  = 5.0 + a  type: Real 
7: b:PARAM()  = 2.0 * a  type: Real 
8: a:PARAM()  = 5.0  type: Real 
9: b1: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: 9
Number of parameters selected for evaluation: 1
Selected parameters for evaluation:
9

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

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


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

All replacements:
Replacements: (1)
========================================
b1 -> true

Replacements that will be replaced in the DAE:
Replacements: (1)
========================================
b1 -> true

globalKnownVars (9)
========================================
1: h:PARAM()  = f + g  type: Real 
2: g:PARAM()  = if b1 then 2.0 else f  type: Real 
3: f:PARAM()  = if b1 then g else 2.0  type: Real 
4: e:PARAM()  = d + a  type: Real 
5: d:PARAM(final = true )  = a + b + c  type: Real 
6: c:PARAM()  = 5.0 + a  type: Real 
7: b:PARAM()  = 2.0 * a  type: Real 
8: a:PARAM()  = 5.0  type: Real 
9: b1:PARAM(final = true )  = true  type: Boolean 


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


After sorting parameters:
================================================================================
Order:
9
8
7
6
5
4
3,2
1


After replacing the evaluated parameters in parameter bindings:
================================================================================
All replacements:
Replacements: (2)
========================================
b1 -> true
g -> 2.0

Replacements that will be replaced in the DAE:
Replacements: (2)
========================================
b1 -> true
g -> 2.0

globalKnownVars (9)
========================================
1: h:PARAM()  = 2.0 + f  type: Real 
2: g:PARAM(final = true )  = 2.0  type: Real 
3: f:PARAM()  = g  type: Real 
4: e:PARAM()  = d + a  type: RUnexpected 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'
eal 
5: d:PARAM(final = true )  = a + b + c  type: Real 
6: c:PARAM()  = 5.0 + a  type: Real 
7: b:PARAM()  = 2.0 * a  type: Real 
8: a:PARAM()  = 5.0  type: Real 
9: b1:PARAM(final = true )  = true  type: Boolean 


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


After replacing the evaluated parameters in variable bindings and start attributes:
================================================================================
All replacements:
Replacements: (2)
========================================
b1 -> true
g -> 2.0

Replacements that will be replaced in the DAE:
Replacements: (2)
========================================
b1 -> true
g -> 2.0

globalKnownVars (9)
========================================
1: h:PARAM()  = 2.0 + f  type: Real 
2: g:PARAM(final = true )  = 2.0  type: Real 
3: f:PARAM()  = g  type: Real 
4: e:PARAM()  = d + a  type: Real 
5: d:PARAM(final = true )  = a + b + c  type: Real 
6: c:PARAM()  = 5.0 + a  type: Real 
7: b:PARAM()  = 2.0 * a  type: Real 
8: a:PARAM()  = 5.0  type: Real 
9: b1:PARAM(final = true )  = true  type: Boolean 


mark: 1
markarr: -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 (9)
========================================
1: h:PARAM()  = 2.0 + f  type: Real 
2: g:PARAM(final = true )  = 2.0  type: Real 
3: f:PARAM()  = g  type: Real 
4: e:PARAM()  = d + a  type: Real 
5: d:PARAM(final = true )  = a + b + c  type: Real 
6: c:PARAM()  = 5.0 + a  type: Real 
7: b:PARAM()  = 2.0 * a  type: Real 
8: a:PARAM()  = 5.0  type: Real 
9: b1: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 = "parameterTest5_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'parameterTest5', 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/parameterTest5.mos_temp8607/equations-expected2019-01-25 00:36:12.901047510 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest5.mos_temp8607/equations-got2019-01-25 00:36:22.120943922 +0000
@@ -196,11 +196,12 @@
 globalKnownVars (9)
 ========================================
 1: h:PARAM()  = 2.0 + f  type: Real 
 2: g:PARAM(final = true )  = 2.0  type: Real 
 3: f:PARAM()  = g  type: Real 
-4: e:PARAM()  = d + a  type: Real 
+4: e:PARAM()  = d + a  type: RUnexpected 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'
+eal 
 5: d:PARAM(final = true )  = a + b + c  type: Real 
 6: c:PARAM()  = 5.0 + a  type: Real 
 7: b:PARAM()  = 2.0 * a  type: Real 
 8: a:PARAM()  = 5.0  type: Real 
 9: b1:PARAM(final = true )  = true  type: Boolean 

Equation mismatch: omc-diff says:
Failed 'e' 'U'
Line 201: Text differs:
expected: : e:PARAM()  = d + a  type: Real 
got:      : e:PARAM()  = d + a  type: RUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay

== 1 out of 1 tests failed [simulation/modelica/parameters/parameterTest5.mos_temp8607, time: 10]