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.00129/0.00129, allocations: 75.59 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.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.001671/0.001671, allocations: 161 kB / 24.55 MB, free: 24 kB / 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.92/0.92, allocations: 177.1 MB / 205 MB, free: 5.629 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.162e-06/1.162e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.425e-05, allocations: 10.31 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1318/0.1318, allocations: 26.49 MB / 299.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1337, allocations: 2.248 MB / 301.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.1338, allocations: 1.281 kB / 301.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1341, allocations: 59.34 kB / 301.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.1344, allocations: 168.5 kB / 301.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0118/0.1462, allocations: 6.583 MB / 308.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.1467, allocations: 348.8 kB / 308.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1467, allocations: 8.781 kB / 308.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.1469, allocations: 191 kB / 309.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.1471, allocations: 112.6 kB / 309.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.1471, allocations: 11.94 kB / 309.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008633/0.1557, allocations: 9.013 MB / 318.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.1558, allocations: 79.78 kB / 318.3 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.1559, allocations: 91.81 kB / 318.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005618/0.1615, allocations: 5.862 MB / 324.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1615, allocations: 0 / 324.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1615, allocations: 0 / 324.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1615, allocations: 0 / 324.2 MB, free: 14.08 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.00188/0.1634, allocations: 1.193 MB / 325.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1634, allocations: 8.031 kB / 325.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.1636, allocations: 40.53 kB / 325.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1638, allocations: 163.8 kB / 325.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1638, allocations: 16.33 kB / 325.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.1638, allocations: 19.95 kB / 325.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.1642, allocations: 331.8 kB / 326 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1642, allocations: 2.906 kB / 326 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.1642, allocations: 8 kB / 326 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.1643, allocations: 15.92 kB / 326 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.1645, allocations: 154.3 kB / 326.2 MB, free: 12.04 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.0008811/0.1654, allocations: 0.7061 MB / 326.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.1658, allocations: 230.2 kB / 327.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1659, allocations: 95.27 kB / 327.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005463/0.1714, allocations: 2.712 MB / 329.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1714, allocations: 45.38 kB / 329.9 MB, free: 8.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.313e-06/0.1714, allocations: 0 / 329.9 MB, free: 8.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.00118/0.1726, allocations: 0.5324 MB / 330.5 MB, free: 7.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1726, allocations: 85.11 kB / 330.5 MB, free: 7.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.1727, allocations: 197.7 kB / 330.7 MB, free: 7.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1727, allocations: 33.7 kB / 330.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.1728, allocations: 163.6 kB / 330.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.28e-05/0.1729, allocations: 134.9 kB / 331.1 MB, free: 6.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.173, allocations: 75.34 kB / 331.1 MB, free: 6.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1731, allocations: 0.5001 MB / 331.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1732, allocations: 75.95 kB / 331.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.1734, allocations: 189 kB / 331.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.1737, allocations: 277.6 kB / 332.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1737, allocations: 4 kB / 332.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004861/0.1742, allocations: 341 kB / 332.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1742, allocations: 4 kB / 332.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1742, allocations: 4 kB / 332.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1742, allocations: 7.984 kB / 332.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.1745, allocations: 87.78 kB / 332.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1745, allocations: 9.094 kB / 332.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1746, allocations: 27.94 kB / 332.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.1746, allocations: 15.94 kB / 332.7 MB, free: 5.297 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.219e-05/0.1747, allocations: 180.4 kB / 332.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1748, allocations: 55.66 kB / 332.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.1751, allocations: 169.8 kB / 333.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1751, allocations: 4 kB / 333.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1751, allocations: 0 / 333.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1751, allocations: 3.938 kB / 333.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.1758, allocations: 0.6451 MB / 333.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1758, allocations: 4 kB / 333.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.176, allocations: 73.7 kB / 333.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.176, allocations: 7.938 kB / 333.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.1761, allocations: 8 kB / 333.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1761, allocations: 7.938 kB / 333.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1761, allocations: 4 kB / 333.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.1767, allocations: 0.6721 MB / 334.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.1768, allocations: 55.72 kB / 334.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1768, allocations: 8 kB / 334.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1769, allocations: 15.98 kB / 334.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.177, allocations: 23.97 kB / 334.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.177, allocations: 15.98 kB / 334.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.102e-05/0.177, allocations: 147.2 kB / 334.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.177, allocations: 0 / 334.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001539/0.1786, allocations: 0.9589 MB / 335.7 MB, free: 2.137 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.002713/0.1813, allocations: 1.388 MB / 337.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.1817, allocations: 260.1 kB / 337.3 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1817, allocations: 0 / 337.3 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.1819, allocations: 148 kB / 337.5 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.1823, allocations: 114.2 kB / 337.6 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1834, allocations: 0.5323 MB / 338.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.188e-05/0.1835, allocations: 86.23 kB / 338.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001997/0.1837, allocations: 78.23 kB / 338.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.1838, allocations: 44.47 kB / 338.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1838, allocations: 0 / 338.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of Templates: time 0.02664/0.2104, allocations: 30.95 MB / 369.3 MB, free: 0.5664 MB / 314.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.8474639439955354]