Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8642/0.8642, allocations: 173.3 MB / 201.1 MB, free: 9.363 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 268 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.707e-05, allocations: 10.25 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1242/0.1242, allocations: 26.29 MB / 294.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1262, allocations: 2.228 MB / 296.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.1262, allocations: 3.906 kB / 296.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1266, allocations: 54.89 kB / 296.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1269, allocations: 163.4 kB / 296.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.1376, allocations: 6.567 MB / 303.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.138, allocations: 323.3 kB / 303.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.138, allocations: 10.06 kB / 303.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.1382, allocations: 171.1 kB / 303.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1384, allocations: 116.2 kB / 303.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.1384, allocations: 11.34 kB / 303.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009577/0.148, allocations: 8.996 MB / 312.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.148, allocations: 72.52 kB / 313 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.769e-05/0.1481, allocations: 87.44 kB / 313.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005566/0.1537, allocations: 5.823 MB / 318.9 MB, free: 4.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1537, allocations: 4 kB / 318.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1537, allocations: 0 / 318.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1537, allocations: 0 / 318.9 MB, free: 4.848 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001526/0.1552, allocations: 1.156 MB / 320 MB, free: 3.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1552, allocations: 12.92 kB / 320 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1554, allocations: 37.66 kB / 320.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1555, allocations: 167.7 kB / 320.2 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1555, allocations: 12.33 kB / 320.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.1556, allocations: 16 kB / 320.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.1559, allocations: 330.6 kB / 320.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1559, allocations: 0 / 320.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.1559, allocations: 8 kB / 320.6 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.1559, allocations: 15.92 kB / 320.6 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.1562, allocations: 154.8 kB / 320.8 MB, free: 2.852 MB / 266.7 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.0007213/0.1569, allocations: 0.7134 MB / 321.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.1572, allocations: 225 kB / 321.7 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.1573, allocations: 91.33 kB / 321.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004747/0.1621, allocations: 2.718 MB / 324.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1621, allocations: 45.33 kB / 324.6 MB, free: 15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.292e-06/0.1621, allocations: 0 / 324.6 MB, free: 15 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001376/0.1635, allocations: 0.5276 MB / 325.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1635, allocations: 85.09 kB / 325.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.1636, allocations: 181.9 kB / 325.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1636, allocations: 29.7 kB / 325.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.1637, allocations: 162.5 kB / 325.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.1637, allocations: 128.6 kB / 325.7 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.1638, allocations: 83.28 kB / 325.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1639, allocations: 0.4962 MB / 326.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.164, allocations: 79.95 kB / 326.3 MB, free: 13.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.1642, allocations: 185 kB / 326.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.1646, allocations: 274.1 kB / 326.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1646, allocations: 0 / 326.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004787/0.165, allocations: 349.2 kB / 327.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.165, allocations: 8 kB / 327.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.165, allocations: 0 / 327.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1651, allocations: 10.05 kB / 327.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.1653, allocations: 83.89 kB / 327.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1653, allocations: 7.984 kB / 327.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1654, allocations: 15.95 kB / 327.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.1654, allocations: 19.98 kB / 327.2 MB, free: 12.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.118e-05/0.1655, allocations: 188.3 kB / 327.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/0.1656, allocations: 47.67 kB / 327.5 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.1659, allocations: 169 kB / 327.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1659, allocations: 4 kB / 327.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1659, allocations: 0 / 327.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1659, allocations: 3.984 kB / 327.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007226/0.1666, allocations: 0.6343 MB / 328.3 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1666, allocations: 0 / 328.3 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.1668, allocations: 75.89 kB / 328.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1668, allocations: 0 / 328.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.1668, allocations: 19.92 kB / 328.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.1668, allocations: 0 / 328.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1668, allocations: 4.875 kB / 328.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/0.1675, allocations: 0.6698 MB / 329.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.1675, allocations: 43.8 kB / 329.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1676, allocations: 15.94 kB / 329.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1677, allocations: 15.98 kB / 329.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.1677, allocations: 27.95 kB / 329.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.1678, allocations: 15.98 kB / 329.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.41e-05/0.1678, allocations: 139.1 kB / 329.3 MB, free: 10 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1678, allocations: 4 kB / 329.3 MB, free: 9.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001451/0.1693, allocations: 0.9472 MB / 330.3 MB, free: 9.047 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002566/0.1718, allocations: 1.396 MB / 331.7 MB, free: 7.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.1722, allocations: 257.1 kB / 331.9 MB, free: 7.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1722, allocations: 0 / 331.9 MB, free: 7.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.1726, allocations: 140.2 kB / 332 MB, free: 7.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.1731, allocations: 113.4 kB / 332.1 MB, free: 7.254 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.1741, allocations: 0.5025 MB / 332.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.323e-05/0.1742, allocations: 85.33 kB / 332.7 MB, free: 6.598 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.1744, allocations: 81.88 kB / 332.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1745, allocations: 40.48 kB / 332.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1745, allocations: 0 / 332.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of Templates: time 0.03396/0.2085, allocations: 35.97 MB / 368.8 MB, free: 2.609 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.358813469298184]