Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 105.9 kB / 18.25 MB, free: 4.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 195.6 kB / 19.19 MB, free: 3.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 225 MB, free: 12.34 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 55.92 kB / 281.3 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09787, allocations: 46.63 MB / 328 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02972/0.1276, allocations: 24.57 MB / 352.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.1315, allocations: 2.507 MB / 355 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.132, allocations: 8 kB / 355 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.1328, allocations: 151 kB / 355.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000953/0.1337, allocations: 326.2 kB / 355.5 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.1365, allocations: 0.9702 MB / 356.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.1378, allocations: 0.8952 MB / 357.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.138, allocations: 100.7 kB / 357.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005093/0.1431, allocations: 2.724 MB / 360.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.1437, allocations: 274.9 kB / 360.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.1438, allocations: 28 kB / 360.5 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008095/0.1446, allocations: 239.7 kB / 360.7 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.1448, allocations: 103.6 kB / 360.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.1452, allocations: 191.2 kB / 361 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.1463, allocations: 0.5648 MB / 361.6 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1464, allocations: 0 / 361.6 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1464, allocations: 0 / 361.6 MB, free: 2.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.1464, allocations: 0 / 361.6 MB, free: 2.723 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001268/0.1477, allocations: 0.6276 MB / 362.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1477, allocations: 15.89 kB / 362.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/0.1482, allocations: 48.55 kB / 362.3 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.1487, allocations: 287.7 kB / 362.6 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.1487, allocations: 24.94 kB / 362.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.1488, allocations: 28.38 kB / 362.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.1494, allocations: 338.4 kB / 362.9 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.1494, allocations: 3.938 kB / 362.9 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.1494, allocations: 12 kB / 363 MB, free: 1.234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1495, allocations: 8 kB / 363 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.1498, allocations: 189.5 kB / 363.1 MB, free: 1.039 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.1523, allocations: 2.119 MB / 365.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.1527, allocations: 190.5 kB / 365.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1528, allocations: 84.72 kB / 365.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.1531, allocations: 255.5 kB / 365.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.1531, allocations: 42.5 kB / 365.8 MB, free: 14.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.184e-06/0.1531, allocations: 0 / 365.8 MB, free: 14.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002859/0.156, allocations: 1.018 MB / 366.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.1561, allocations: 63.34 kB / 366.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.1564, allocations: 258.6 kB / 367.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.1564, allocations: 41.69 kB / 367.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1566, allocations: 176.2 kB / 367.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.674e-05/0.1567, allocations: 106.5 kB / 367.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.1568, allocations: 66.08 kB / 367.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.157, allocations: 346.7 kB / 367.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1572, allocations: 80.72 kB / 368 MB, free: 11.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.1574, allocations: 178.6 kB / 368.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.1579, allocations: 281.1 kB / 368.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1579, allocations: 0 / 368.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006695/0.1586, allocations: 377.6 kB / 368.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1586, allocations: 8 kB / 368.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1586, allocations: 3.938 kB / 368.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004603/0.1591, allocations: 101.1 kB / 368.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.1594, allocations: 63.91 kB / 368.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006333/0.16, allocations: 0.6537 MB / 369.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.1602, allocations: 15.98 kB / 369.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.1603, allocations: 20 kB / 369.6 MB, free: 10.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.1605, allocations: 153.8 kB / 369.8 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/0.1606, allocations: 31.66 kB / 369.8 MB, free: 9.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006686/0.1613, allocations: 372.9 kB / 370.2 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.1613, allocations: 4 kB / 370.2 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1613, allocations: 0 / 370.2 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005912/0.1619, allocations: 0.5592 MB / 370.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.163, allocations: 0.7361 MB / 371.5 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.1631, allocations: 4 kB / 371.5 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1632, allocations: 35.91 kB / 371.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/0.1637, allocations: 108.8 kB / 371.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.1638, allocations: 8 kB / 371.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005481/0.1643, allocations: 0.6419 MB / 372.3 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1643, allocations: 4.062 kB / 372.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007652/0.1651, allocations: 481.5 kB / 372.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.1652, allocations: 108.8 kB / 372.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.1653, allocations: 8 kB / 372.9 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.1655, allocations: 12.06 kB / 372.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.1656, allocations: 15.92 kB / 372.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.1656, allocations: 15.98 kB / 372.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.1658, allocations: 201.9 kB / 373.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1658, allocations: 0 / 373.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004903/0.1663, allocations: 108 kB / 373.2 MB, free: 6.184 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003169/0.1667, allocations: 147.1 kB / 373.4 MB, free: 6.031 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005737/0.1673, allocations: 259.8 kB / 373.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1673, allocations: 0 / 373.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.1676, allocations: 127.6 kB / 373.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.1687, allocations: 161.4 kB / 373.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.1701, allocations: 0.6799 MB / 374.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.1705, allocations: 0.7606 MB / 375.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.1706, allocations: 39.41 kB / 375.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1706, allocations: 0 / 375.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of Templates: time 0.178/0.3487, allocations: 6.4 MB / 381.8 MB, free: 56.53 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches