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.0009249/0.0009254, allocations: 114.4 kB / 17.28 MB, free: 6.199 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.0009611/0.0009611, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.745/1.745, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001207/0.001207, allocations: 44.14 kB / 280.2 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1078, allocations: 46.63 MB / 326.8 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02654/0.1344, allocations: 24.5 MB / 351.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.1377, allocations: 2.495 MB / 353.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.1381, allocations: 11.94 kB / 353.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.1387, allocations: 135.3 kB / 353.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006653/0.1394, allocations: 298.5 kB / 354.2 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.1417, allocations: 0.9591 MB / 355.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.1427, allocations: 0.899 MB / 356.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.143, allocations: 104.7 kB / 356.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/0.1484, allocations: 3.457 MB / 359.6 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004864/0.1489, allocations: 286.8 kB / 359.9 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.1489, allocations: 28 kB / 359.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005971/0.1496, allocations: 251.6 kB / 360.2 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1497, allocations: 91.77 kB / 360.3 MB, free: 3.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.1499, allocations: 195.2 kB / 360.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008071/0.1507, allocations: 0.5765 MB / 361 MB, free: 2.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1507, allocations: 0 / 361 MB, free: 2.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1507, allocations: 0 / 361 MB, free: 2.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1507, allocations: 0 / 361 MB, free: 2.387 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.0009254/0.1517, allocations: 0.6199 MB / 361.7 MB, free: 1.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1517, allocations: 19.89 kB / 361.7 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.1521, allocations: 48.55 kB / 361.7 MB, free: 1.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.1525, allocations: 295.6 kB / 362 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1525, allocations: 20.94 kB / 362 MB, free: 1.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.1526, allocations: 24.38 kB / 362.1 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.1531, allocations: 338.4 kB / 362.4 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1532, allocations: 0 / 362.4 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.1532, allocations: 16 kB / 362.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1532, allocations: 8 kB / 362.4 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.1535, allocations: 185.5 kB / 362.6 MB, free: 0.707 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.002197/0.1557, allocations: 2.115 MB / 364.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.1561, allocations: 197.9 kB / 364.9 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.1562, allocations: 88.77 kB / 365 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.1565, allocations: 247.3 kB / 365.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1565, allocations: 34.56 kB / 365.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.1565, allocations: 0 / 365.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.00267/0.1592, allocations: 1.016 MB / 366.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1592, allocations: 63.41 kB / 366.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.1595, allocations: 266.5 kB / 366.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.1596, allocations: 29.7 kB / 366.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1598, allocations: 180.2 kB / 366.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.1599, allocations: 106.4 kB / 366.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.16, allocations: 70.06 kB / 367 MB, free: 11.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1602, allocations: 338.8 kB / 367.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.1603, allocations: 88.72 kB / 367.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.1606, allocations: 178.6 kB / 367.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.1609, allocations: 277.2 kB / 367.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1609, allocations: 4 kB / 367.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005907/0.1615, allocations: 377.6 kB / 368.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1616, allocations: 8 kB / 368.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-06/0.1616, allocations: 0 / 368.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.162, allocations: 105 kB / 368.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.1623, allocations: 71.84 kB / 368.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007018/0.163, allocations: 0.6576 MB / 369.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.1632, allocations: 16.09 kB / 369.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.1632, allocations: 20 kB / 369.1 MB, free: 9.688 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.0001778/0.1634, allocations: 157.7 kB / 369.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.1635, allocations: 35.56 kB / 369.3 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00078/0.1643, allocations: 365 kB / 369.6 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.1643, allocations: 8 kB / 369.6 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1643, allocations: 0 / 369.6 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005348/0.1649, allocations: 0.5593 MB / 370.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.166, allocations: 0.7427 MB / 371 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.166, allocations: 8.062 kB / 371 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.1662, allocations: 31.98 kB / 371 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.1666, allocations: 104.7 kB / 371.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1667, allocations: 4 kB / 371.1 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005632/0.1672, allocations: 0.642 MB / 371.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1672, allocations: 0 / 371.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/0.168, allocations: 485.5 kB / 372.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.482e-05/0.1681, allocations: 100.8 kB / 372.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.1682, allocations: 8 kB / 372.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.1684, allocations: 16.08 kB / 372.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1685, allocations: 19.92 kB / 372.4 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.1685, allocations: 11.98 kB / 372.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.1687, allocations: 198 kB / 372.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1687, allocations: 4.062 kB / 372.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000454/0.1692, allocations: 115.9 kB / 372.7 MB, free: 5.844 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.0002814/0.1695, allocations: 143.1 kB / 372.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005668/0.1701, allocations: 259.6 kB / 373.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1701, allocations: 0.625 kB / 373.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.1703, allocations: 123.8 kB / 373.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.1713, allocations: 164.7 kB / 373.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1726, allocations: 0.7368 MB / 374.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.173, allocations: 0.7645 MB / 374.9 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.1732, allocations: 63.23 kB / 374.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.1733, allocations: 27.44 kB / 374.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1733, allocations: 0 / 374.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of Templates: time 0.1647/0.3381, allocations: 6.975 MB / 381.9 MB, free: 56.71 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