Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000855/0.000855, allocations: 80.8 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008622/0.0008622, allocations: 174.3 kB / 24.91 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9414/0.9414, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.062e-05, allocations: 6.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1253/0.1253, allocations: 26.45 MB / 299.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1274, allocations: 2.247 MB / 302.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.1274, allocations: 1.219 kB / 302.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1278, allocations: 62.97 kB / 302.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.1281, allocations: 169 kB / 302.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.1414, allocations: 6.042 MB / 308.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.1419, allocations: 346.1 kB / 308.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.1419, allocations: 10.86 kB / 308.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.1422, allocations: 194.9 kB / 309 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1425, allocations: 113.3 kB / 309.1 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.1425, allocations: 15.81 kB / 309.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01367/0.1562, allocations: 9.524 MB / 318.6 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1563, allocations: 79.8 kB / 318.7 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1564, allocations: 75.89 kB / 318.8 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009861/0.1663, allocations: 5.869 MB / 324.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1663, allocations: 0 / 324.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1663, allocations: 0 / 324.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1663, allocations: 0 / 324.7 MB, free: 13.75 MB / 282.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.002354/0.1686, allocations: 1.057 MB / 325.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1687, allocations: 8.031 kB / 325.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.1688, allocations: 44.59 kB / 325.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.169, allocations: 149 kB / 325.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.169, allocations: 12.33 kB / 325.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.1691, allocations: 20 kB / 326 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.1695, allocations: 315.7 kB / 326.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1695, allocations: 8 kB / 326.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.1695, allocations: 7.938 kB / 326.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.1695, allocations: 8 kB / 326.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.1697, allocations: 109.1 kB / 326.4 MB, free: 11.93 MB / 282.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.0007433/0.1705, allocations: 0.5213 MB / 326.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.1708, allocations: 186.7 kB / 327.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.1709, allocations: 72.05 kB / 327.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004994/0.1759, allocations: 2.571 MB / 329.7 MB, free: 8.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1759, allocations: 38.5 kB / 329.8 MB, free: 8.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.844e-06/0.1759, allocations: 0 / 329.8 MB, free: 8.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001062/0.1769, allocations: 414.9 kB / 330.2 MB, free: 8.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.177, allocations: 81.11 kB / 330.3 MB, free: 7.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.1771, allocations: 141.6 kB / 330.4 MB, free: 7.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1771, allocations: 33.69 kB / 330.4 MB, free: 7.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.1771, allocations: 116.9 kB / 330.5 MB, free: 7.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/0.1772, allocations: 134.8 kB / 330.7 MB, free: 7.547 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.1773, allocations: 65.66 kB / 330.7 MB, free: 7.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.1773, allocations: 330.8 kB / 331.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.1774, allocations: 54.81 kB / 331.1 MB, free: 7.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1775, allocations: 139.5 kB / 331.3 MB, free: 6.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.1778, allocations: 222 kB / 331.5 MB, free: 6.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1778, allocations: 0 / 331.5 MB, free: 6.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003505/0.1781, allocations: 243.9 kB / 331.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1782, allocations: 4 kB / 331.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1782, allocations: 4.219 kB / 331.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1782, allocations: 8 kB / 331.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.1784, allocations: 87.88 kB / 331.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1784, allocations: 7.984 kB / 331.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1785, allocations: 19.89 kB / 331.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1785, allocations: 19.98 kB / 331.9 MB, free: 6.289 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 8.508e-05/0.1786, allocations: 136.5 kB / 332 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.1787, allocations: 43.73 kB / 332 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.1789, allocations: 139.3 kB / 332.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1789, allocations: 4 kB / 332.2 MB, free: 5.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.179, allocations: 7.812 kB / 332.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.179, allocations: 3.984 kB / 332.2 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.1795, allocations: 466.5 kB / 332.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1795, allocations: 0 / 332.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.1797, allocations: 71.89 kB / 332.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1797, allocations: 7.984 kB / 332.7 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1798, allocations: 8 kB / 332.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1798, allocations: 4 kB / 332.7 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1798, allocations: 4.094 kB / 332.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.1802, allocations: 491.6 kB / 333.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.1803, allocations: 39.8 kB / 333.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1803, allocations: 8 kB / 333.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.1804, allocations: 19.92 kB / 333.3 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.1805, allocations: 31.89 kB / 333.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1805, allocations: 8 kB / 333.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.463e-05/0.1805, allocations: 32.83 kB / 333.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1805, allocations: 0 / 333.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001915/0.1824, allocations: 0.9666 MB / 334.3 MB, free: 3.746 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.003116/0.1856, allocations: 1.431 MB / 335.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.1859, allocations: 204 kB / 335.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.1859, allocations: 0 / 335.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.186, allocations: 116.7 kB / 336.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1864, allocations: 116.3 kB / 336.2 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009519/0.1874, allocations: 0.5044 MB / 336.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.452e-05/0.1874, allocations: 86.23 kB / 336.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.1876, allocations: 70.19 kB / 336.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.1879, allocations: 145.2 kB / 337 MB, free: 1.023 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1879, allocations: 4 kB / 337 MB, free: 1.02 MB / 282.7 MB Notification: Performance of Templates: time 0.03566/0.2235, allocations: 34.58 MB / 371.6 MB, free: 14.52 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.7273295777849853]