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.0009272/0.0009272, allocations: 85.17 kB / 21.5 MB, free: 2.988 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.0008784/0.0008784, allocations: 142.4 kB / 24.89 MB, free: 9.156 MB / 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.9627/0.9627, allocations: 173.3 MB / 201.5 MB, free: 9.227 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.513e-06/1.513e-06, allocations: 0 / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.331e-05, allocations: 2.312 kB / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1333/0.1333, allocations: 26.24 MB / 294.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1354, allocations: 2.229 MB / 297 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.019e-05/0.1355, allocations: 3.969 kB / 297 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.1359, allocations: 57.34 kB / 297 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.1363, allocations: 163.4 kB / 297.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0106/0.1469, allocations: 6.044 MB / 303.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.1472, allocations: 320.2 kB / 303.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.1473, allocations: 8.375 kB / 303.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.1475, allocations: 179.1 kB / 303.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1476, allocations: 102.7 kB / 303.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1476, allocations: 11.06 kB / 303.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.1582, allocations: 9.503 MB / 313.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.521e-05/0.1583, allocations: 77.09 kB / 313.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.1584, allocations: 76.91 kB / 313.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005438/0.1638, allocations: 5.824 MB / 319.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1638, allocations: 4 kB / 319.3 MB, free: 4.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1638, allocations: 0 / 319.3 MB, free: 4.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1638, allocations: 4 kB / 319.3 MB, free: 4.871 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.001377/0.1652, allocations: 1.03 MB / 320.4 MB, free: 3.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1652, allocations: 12.92 kB / 320.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.742e-05/0.1653, allocations: 29.05 kB / 320.4 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1655, allocations: 156.9 kB / 320.5 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1655, allocations: 16.33 kB / 320.6 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1655, allocations: 16 kB / 320.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.1658, allocations: 311.7 kB / 320.9 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1658, allocations: 5.781 kB / 320.9 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1658, allocations: 4 kB / 320.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.1658, allocations: 8 kB / 320.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.166, allocations: 110.7 kB / 321 MB, free: 3.109 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.0005819/0.1666, allocations: 0.5159 MB / 321.5 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.1668, allocations: 191.5 kB / 321.7 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.1669, allocations: 66.27 kB / 321.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004183/0.1711, allocations: 2.582 MB / 324.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1711, allocations: 38.5 kB / 324.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.352e-06/0.1711, allocations: 0 / 324.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008735/0.172, allocations: 408.7 kB / 324.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.172, allocations: 81.11 kB / 324.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.1721, allocations: 135.5 kB / 325 MB, free: 15.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1721, allocations: 29.7 kB / 325 MB, free: 15.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.1721, allocations: 103.8 kB / 325.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.107e-05/0.1722, allocations: 133.6 kB / 325.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.1723, allocations: 70.05 kB / 325.3 MB, free: 14.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.1723, allocations: 332.4 kB / 325.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-05/0.1724, allocations: 54.8 kB / 325.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1725, allocations: 129.3 kB / 325.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.1728, allocations: 217.1 kB / 326.1 MB, free: 14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1728, allocations: 0 / 326.1 MB, free: 14 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003421/0.1731, allocations: 256.1 kB / 326.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1731, allocations: 11.94 kB / 326.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1731, allocations: 0 / 326.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1731, allocations: 4 kB / 326.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.1734, allocations: 92.09 kB / 326.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.1734, allocations: 8 kB / 326.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.722e-05/0.1735, allocations: 15.98 kB / 326.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1735, allocations: 12 kB / 326.4 MB, free: 13.6 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.293e-05/0.1736, allocations: 136.5 kB / 326.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.1737, allocations: 51.69 kB / 326.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.1739, allocations: 142 kB / 326.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1739, allocations: 7.094 kB / 326.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1739, allocations: 4 kB / 326.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1739, allocations: 0 / 326.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.1744, allocations: 458.8 kB / 327.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1744, allocations: 0 / 327.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.1746, allocations: 85.5 kB / 327.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1746, allocations: 4 kB / 327.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1746, allocations: 8 kB / 327.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1747, allocations: 3.984 kB / 327.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1747, allocations: 4 kB / 327.3 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.1751, allocations: 483.3 kB / 327.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.1752, allocations: 32.5 kB / 327.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1752, allocations: 8 kB / 327.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1753, allocations: 19.98 kB / 327.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1753, allocations: 27.89 kB / 327.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.1754, allocations: 15.94 kB / 327.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.835e-05/0.1754, allocations: 20.33 kB / 327.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1754, allocations: 0 / 327.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001291/0.1767, allocations: 0.955 MB / 328.9 MB, free: 11.11 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.002479/0.1791, allocations: 1.451 MB / 330.3 MB, free: 9.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.1794, allocations: 195 kB / 330.5 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.1794, allocations: 0 / 330.5 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1796, allocations: 112.2 kB / 330.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1799, allocations: 105.5 kB / 330.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.1808, allocations: 487.1 kB / 331.2 MB, free: 8.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.181e-05/0.1808, allocations: 89.33 kB / 331.3 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001956/0.181, allocations: 65.91 kB / 331.4 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.1813, allocations: 137.2 kB / 331.5 MB, free: 8.559 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1813, allocations: 0 / 331.5 MB, free: 8.559 MB / 282.7 MB Notification: Performance of Templates: time 0.0302/0.2115, allocations: 34.11 MB / 365.6 MB, free: 6.527 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 -s gbode -gbm=radauIIA3 -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: 3.7117720441892743]