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.0008765/0.0008766, allocations: 96.08 kB / 17.3 MB, free: 6.391 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.001087/0.001087, allocations: 176.5 kB / 18.2 MB, free: 5.551 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.551/1.551, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004418/0.0004419, allocations: 8 kB / 281.4 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 47.57 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02804/0.1428, allocations: 24.42 MB / 353.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003669/0.1465, allocations: 2.503 MB / 355.9 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000615/0.1471, allocations: 11.94 kB / 355.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008217/0.148, allocations: 131.3 kB / 356 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.149, allocations: 314.4 kB / 356.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.1518, allocations: 0.9396 MB / 357.3 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.1532, allocations: 1.348 MB / 358.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1534, allocations: 72.69 kB / 358.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005347/0.1588, allocations: 3.348 MB / 362 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.1593, allocations: 286.8 kB / 362.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.1594, allocations: 16 kB / 362.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006476/0.1601, allocations: 219.7 kB / 362.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1602, allocations: 87.64 kB / 362.6 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.1604, allocations: 197 kB / 362.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006525/0.1611, allocations: 0.553 MB / 363.4 MB, free: 1.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.1611, allocations: 3.938 kB / 363.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1611, allocations: 0 / 363.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1611, allocations: 0 / 363.4 MB, free: 1.211 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.0007894/0.1619, allocations: 0.5497 MB / 363.9 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.162, allocations: 12.03 kB / 364 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.1623, allocations: 48.55 kB / 364 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1627, allocations: 291.6 kB / 364.3 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1627, allocations: 20.94 kB / 364.3 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.1628, allocations: 24.38 kB / 364.3 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.1633, allocations: 342.3 kB / 364.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1633, allocations: 4 kB / 364.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.1634, allocations: 12 kB / 364.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1634, allocations: 11.94 kB / 364.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.1637, allocations: 189.5 kB / 364.9 MB, free: 15.6 MB / 318.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.002032/0.1657, allocations: 2.119 MB / 367 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.166, allocations: 178.5 kB / 367.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1662, allocations: 88.77 kB / 367.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.1664, allocations: 255.5 kB / 367.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1664, allocations: 30.56 kB / 367.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 3.206e-06/0.1664, allocations: 4 kB / 367.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002451/0.1689, allocations: 1.023 MB / 368.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1689, allocations: 55.41 kB / 368.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.1692, allocations: 270.5 kB / 368.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.1692, allocations: 33.7 kB / 368.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1693, allocations: 180.2 kB / 369.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.1694, allocations: 98.55 kB / 369.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.1695, allocations: 37.7 kB / 369.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1696, allocations: 346.8 kB / 369.6 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1698, allocations: 84.7 kB / 369.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.17, allocations: 170.6 kB / 369.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.1703, allocations: 281.1 kB / 370.1 MB, free: 9.902 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1704, allocations: 0 / 370.1 MB, free: 9.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005733/0.1709, allocations: 389.5 kB / 370.5 MB, free: 9.512 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.171, allocations: 8 kB / 370.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.171, allocations: 320 / 370.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003945/0.1714, allocations: 92.8 kB / 370.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.1716, allocations: 71.89 kB / 370.6 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005297/0.1722, allocations: 0.6576 MB / 371.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.1724, allocations: 12.06 kB / 371.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.1724, allocations: 23.98 kB / 371.3 MB, free: 8.621 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.0001585/0.1726, allocations: 157.7 kB / 371.5 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.1727, allocations: 35.56 kB / 371.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006144/0.1733, allocations: 357.1 kB / 371.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1733, allocations: 7.938 kB / 371.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1733, allocations: 4 kB / 371.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005105/0.1738, allocations: 0.5591 MB / 372.4 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.1749, allocations: 0.7431 MB / 373.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1749, allocations: 0 / 373.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.175, allocations: 39.98 kB / 373.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/0.1755, allocations: 96.77 kB / 373.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.1755, allocations: 8 kB / 373.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004515/0.176, allocations: 0.6459 MB / 374 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.176, allocations: 0 / 374 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/0.1767, allocations: 493.2 kB / 374.4 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.1768, allocations: 104.8 kB / 374.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.1768, allocations: 12.12 kB / 374.6 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.1771, allocations: 15.89 kB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.1771, allocations: 11.98 kB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.1772, allocations: 23.92 kB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.1774, allocations: 194 kB / 374.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1774, allocations: 0 / 374.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.1778, allocations: 123.9 kB / 374.9 MB, free: 4.758 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.000239/0.1781, allocations: 139.2 kB / 375.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.1786, allocations: 243.6 kB / 375.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1786, allocations: 96 / 375.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.1789, allocations: 132.6 kB / 375.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.1799, allocations: 160.7 kB / 375.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1811, allocations: 0.7979 MB / 376.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1815, allocations: 0.7648 MB / 377.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003172/0.1818, allocations: 67.17 kB / 377.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.1819, allocations: 31.42 kB / 377.2 MB, free: 2.379 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1819, allocations: 0 / 377.2 MB, free: 2.379 MB / 318.1 MB Notification: Performance of Templates: time 0.1801/0.362, allocations: 6.659 MB / 383.9 MB, free: 55.6 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (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) 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