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.001106/0.001106, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001412/0.001412, allocations: 166 kB / 24.82 MB, free: 9.309 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.9711/0.9711, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.102e-06/1.102e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.958e-06/1.106e-05, allocations: 2.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1244/0.1244, allocations: 26.12 MB / 299.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.1264, allocations: 2.215 MB / 301.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.1265, allocations: 2.156 kB / 301.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.1268, allocations: 53.8 kB / 301.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.1271, allocations: 177.9 kB / 302 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01073/0.1378, allocations: 6.578 MB / 308.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.1381, allocations: 345 kB / 308.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.1381, allocations: 11.36 kB / 308.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.1384, allocations: 193 kB / 309.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1385, allocations: 117 kB / 309.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1385, allocations: 10.97 kB / 309.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008797/0.1473, allocations: 9.014 MB / 318.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.1474, allocations: 83.78 kB / 318.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.1475, allocations: 79.83 kB / 318.4 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005584/0.153, allocations: 5.869 MB / 324.2 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.153, allocations: 0 / 324.2 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1531, allocations: 0 / 324.2 MB, free: 13.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1531, allocations: 0 / 324.2 MB, free: 13.94 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.002278/0.1553, allocations: 1.185 MB / 325.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1554, allocations: 8.031 kB / 325.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1555, allocations: 44.53 kB / 325.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1556, allocations: 174.5 kB / 325.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1557, allocations: 12.33 kB / 325.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.1557, allocations: 19.95 kB / 325.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.156, allocations: 310.6 kB / 326 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.156, allocations: 3.984 kB / 326 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.1561, allocations: 12 kB / 326 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.1561, allocations: 8 kB / 326 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1563, allocations: 124.5 kB / 326.1 MB, free: 11.95 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.0007299/0.157, allocations: 0.6725 MB / 326.8 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1573, allocations: 222.7 kB / 327 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.969e-05/0.1574, allocations: 83.33 kB / 327.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004704/0.1621, allocations: 2.515 MB / 329.6 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1621, allocations: 54.12 kB / 329.7 MB, free: 8.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.1621, allocations: 0 / 329.7 MB, free: 8.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009803/0.1631, allocations: 471.6 kB / 330.1 MB, free: 7.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.1631, allocations: 85.11 kB / 330.2 MB, free: 7.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.1632, allocations: 197.1 kB / 330.4 MB, free: 7.582 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1633, allocations: 33.7 kB / 330.4 MB, free: 7.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1633, allocations: 163.6 kB / 330.6 MB, free: 7.375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.1634, allocations: 138.8 kB / 330.7 MB, free: 7.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.1635, allocations: 79.31 kB / 330.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1636, allocations: 0.504 MB / 331.3 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.1637, allocations: 63.94 kB / 331.4 MB, free: 6.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1638, allocations: 169 kB / 331.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.1641, allocations: 249.8 kB / 331.8 MB, free: 6.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1641, allocations: 0 / 331.8 MB, free: 6.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006534/0.1647, allocations: 301 kB / 332.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1648, allocations: 8.219 kB / 332.1 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1648, allocations: 4 kB / 332.1 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1648, allocations: 6.125 kB / 332.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.165, allocations: 87.81 kB / 332.2 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.165, allocations: 7.938 kB / 332.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.1651, allocations: 23.89 kB / 332.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.1651, allocations: 11.98 kB / 332.2 MB, free: 5.648 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 0.0001009/0.1652, allocations: 180.5 kB / 332.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.1653, allocations: 47.67 kB / 332.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.1656, allocations: 153.3 kB / 332.6 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1656, allocations: 4 kB / 332.6 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1656, allocations: 0 / 332.6 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1656, allocations: 7.984 kB / 332.6 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006629/0.1662, allocations: 0.5914 MB / 333.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1663, allocations: 4 kB / 333.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1664, allocations: 71.89 kB / 333.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1664, allocations: 4 kB / 333.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1664, allocations: 11.98 kB / 333.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1665, allocations: 8.094 kB / 333.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1665, allocations: 10.94 kB / 333.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.167, allocations: 0.6269 MB / 333.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.1671, allocations: 51.75 kB / 334 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1671, allocations: 11.94 kB / 334 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1672, allocations: 15.98 kB / 334 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.1673, allocations: 31.89 kB / 334 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1673, allocations: 16.03 kB / 334.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.1673, allocations: 143.1 kB / 334.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1673, allocations: 0 / 334.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001634/0.169, allocations: 0.9589 MB / 335.2 MB, free: 2.605 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.002377/0.1714, allocations: 1.415 MB / 336.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.1717, allocations: 223.5 kB / 336.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1717, allocations: 0 / 336.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1718, allocations: 128.2 kB / 336.9 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.1723, allocations: 126.5 kB / 337 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000962/0.1733, allocations: 0.529 MB / 337.6 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.426e-05/0.1733, allocations: 90.23 kB / 337.7 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.1735, allocations: 74.19 kB / 337.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.1738, allocations: 174.1 kB / 337.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1738, allocations: 0 / 337.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of Templates: time 0.031/0.2048, allocations: 35.24 MB / 373.1 MB, free: 12.59 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 -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.935145610012114]