Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009779/0.000978, allocations: 95.23 kB / 16.94 MB, free: 5.98 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.001092/0.001092, allocations: 181.8 kB / 17.82 MB, free: 5.652 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.522/1.522, allocations: 205.4 MB / 224 MB, free: 13.02 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.0005649/0.0005649, allocations: 8 kB / 280.8 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.113, allocations: 47.58 MB / 328.3 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02135/0.1344, allocations: 14.18 MB / 342.5 MB, free: 5.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.1376, allocations: 1.632 MB / 344.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/0.138, allocations: 3.938 kB / 344.2 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007326/0.1387, allocations: 131.3 kB / 344.3 MB, free: 4.059 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000808/0.1396, allocations: 215.4 kB / 344.5 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.1428, allocations: 0.8615 MB / 345.4 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1439, allocations: 494.8 kB / 345.8 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.1442, allocations: 72.67 kB / 345.9 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005997/0.1502, allocations: 2.797 MB / 348.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.1507, allocations: 167.3 kB / 348.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/0.1508, allocations: 16 kB / 348.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008775/0.1517, allocations: 211.7 kB / 349.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1518, allocations: 79.72 kB / 349.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.152, allocations: 97.52 kB / 349.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007724/0.1528, allocations: 439.2 kB / 349.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1528, allocations: 0 / 349.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1528, allocations: 0 / 349.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1529, allocations: 0 / 349.7 MB, free: 14.63 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.001063/0.1539, allocations: 0.5456 MB / 350.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.154, allocations: 11.97 kB / 350.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005799/0.1546, allocations: 55.61 kB / 350.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.1551, allocations: 286.4 kB / 350.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.1552, allocations: 20.56 kB / 350.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.1552, allocations: 31.86 kB / 350.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.1559, allocations: 330.2 kB / 351 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.156, allocations: 3.938 kB / 351 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.156, allocations: 12 kB / 351 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1561, allocations: 8 kB / 351 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.1565, allocations: 185.5 kB / 351.2 MB, free: 13.04 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.002881/0.1594, allocations: 2.127 MB / 353.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.1598, allocations: 178.6 kB / 353.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.16, allocations: 255.5 kB / 353.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.1601, allocations: 34.52 kB / 353.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 5.811e-06/0.1601, allocations: 0 / 353.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.003443/0.1636, allocations: 1.023 MB / 354.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.1636, allocations: 55.41 kB / 354.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.1641, allocations: 270.5 kB / 355.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.1641, allocations: 33.7 kB / 355.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1643, allocations: 188.1 kB / 355.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.1644, allocations: 94.56 kB / 355.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.1644, allocations: 4 kB / 355.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1646, allocations: 342.8 kB / 355.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1648, allocations: 88.7 kB / 355.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.1651, allocations: 158.9 kB / 356 MB, free: 7.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.1654, allocations: 115.9 kB / 356.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1654, allocations: 0 / 356.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008403/0.1663, allocations: 377.5 kB / 356.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1663, allocations: 8 kB / 356.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1663, allocations: 7.938 kB / 356.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.1669, allocations: 101 kB / 356.6 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.1673, allocations: 63.91 kB / 356.6 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007273/0.168, allocations: 0.65 MB / 357.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.1683, allocations: 23.92 kB / 357.3 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.1684, allocations: 19.98 kB / 357.3 MB, free: 6.387 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.1686, allocations: 153.7 kB / 357.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1687, allocations: 27.72 kB / 357.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/0.1696, allocations: 368.9 kB / 357.9 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1696, allocations: 4 kB / 357.9 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1697, allocations: 7.953 kB / 357.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007384/0.1704, allocations: 0.5591 MB / 358.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.1719, allocations: 0.7355 MB / 359.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.172, allocations: 0 / 359.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.1722, allocations: 39.98 kB / 359.2 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006873/0.1729, allocations: 100.7 kB / 359.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.1729, allocations: 8 kB / 359.3 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006815/0.1736, allocations: 0.6381 MB / 360 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1736, allocations: 8.094 kB / 360 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.1747, allocations: 0.4934 MB / 360.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.1748, allocations: 108.9 kB / 360.6 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.1749, allocations: 8 kB / 360.6 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.1753, allocations: 23.84 kB / 360.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1753, allocations: 19.92 kB / 360.6 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.1754, allocations: 11.98 kB / 360.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.1757, allocations: 198 kB / 360.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1757, allocations: 0 / 360.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007517/0.1765, allocations: 115.9 kB / 360.9 MB, free: 2.496 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003158/0.1768, allocations: 147.2 kB / 361.1 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007164/0.1775, allocations: 235.7 kB / 361.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1775, allocations: 0.625 kB / 361.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.1779, allocations: 127.9 kB / 361.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.1791, allocations: 152.8 kB / 361.6 MB, free: 1.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.1807, allocations: 0.7706 MB / 362.4 MB, free: 1.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.1812, allocations: 0.7728 MB / 363.1 MB, free: 252 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004166/0.1816, allocations: 63.28 kB / 363.2 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1817, allocations: 35.42 kB / 363.2 MB, free: 152 kB / 302.1 MB Notification: Performance of SimCode: time 2.345e-06/0.1817, allocations: 0 / 363.2 MB, free: 152 kB / 302.1 MB Notification: Performance of Templates: time 0.01539/0.1971, allocations: 6.332 MB / 369.6 MB, free: 9.82 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches