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.001068/0.001068, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.002583, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001092/0.001092, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002425, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9652/0.9652, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08107/1.046, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.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.072e-06/1.072e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.598e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02092/0.02093, allocations: 26.59 MB / 271.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.02269, allocations: 2.262 MB / 273.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.02274, allocations: 4 kB / 273.4 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.02294, allocations: 63.55 kB / 273.4 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.02316, allocations: 162.9 kB / 273.6 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1215/0.1446, allocations: 6.02 MB / 279.6 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.145, allocations: 354.9 kB / 280 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.145, allocations: 8.719 kB / 280 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.1453, allocations: 198 kB / 280.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1454, allocations: 112.2 kB / 280.3 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.1454, allocations: 11.03 kB / 280.3 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009911/0.1554, allocations: 9.549 MB / 289.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.1554, allocations: 62.58 kB / 289.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.1555, allocations: 61.81 kB / 290 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004121/0.1596, allocations: 4.517 MB / 294.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.1596, allocations: 2.469 kB / 294.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1596, allocations: 0 / 294.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.1596, allocations: 0 / 294.5 MB, free: 15.32 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.001849/0.1615, allocations: 1.532 MB / 296 MB, free: 14.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.1615, allocations: 15.67 kB / 296 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1616, allocations: 39.53 kB / 296.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1618, allocations: 164.1 kB / 296.2 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1618, allocations: 15.8 kB / 296.2 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.1618, allocations: 19.05 kB / 296.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.1622, allocations: 317.5 kB / 296.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1622, allocations: 0 / 296.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.1622, allocations: 10.31 kB / 296.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.1622, allocations: 5.906 kB / 296.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1624, allocations: 111.5 kB / 296.7 MB, free: 13.98 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.0006651/0.1631, allocations: 0.5172 MB / 297.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.1633, allocations: 182.9 kB / 297.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.1634, allocations: 61.89 kB / 297.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004473/0.1679, allocations: 2.568 MB / 300 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1679, allocations: 46.44 kB / 300.1 MB, free: 11.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 2.305e-06/0.1679, allocations: 0.5625 kB / 300.1 MB, free: 11.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008364/0.1687, allocations: 416 kB / 300.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.1688, allocations: 81.11 kB / 300.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.1688, allocations: 138.6 kB / 300.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1689, allocations: 33.7 kB / 300.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.1689, allocations: 107.7 kB / 300.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/0.169, allocations: 139.3 kB / 301 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.169, allocations: 65.73 kB / 301 MB, free: 10.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.1691, allocations: 327.2 kB / 301.3 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.1692, allocations: 66.8 kB / 301.4 MB, free: 9.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1693, allocations: 124.5 kB / 301.5 MB, free: 9.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.1695, allocations: 219.8 kB / 301.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1695, allocations: 0 / 301.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000317/0.1698, allocations: 256.3 kB / 302 MB, free: 9.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1698, allocations: 5.719 kB / 302 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1699, allocations: 4 kB / 302 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1699, allocations: 4.219 kB / 302 MB, free: 9.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.1701, allocations: 103.1 kB / 302.1 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1701, allocations: 8.156 kB / 302.1 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.1702, allocations: 15.95 kB / 302.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.1702, allocations: 15.98 kB / 302.1 MB, free: 9.062 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.172e-05/0.1703, allocations: 131.8 kB / 302.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.41e-05/0.1704, allocations: 48.28 kB / 302.3 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.1706, allocations: 140.5 kB / 302.5 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1706, allocations: 5.078 kB / 302.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.1706, allocations: 0 / 302.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1706, allocations: 0 / 302.5 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.1711, allocations: 465.1 kB / 302.9 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1711, allocations: 4 kB / 302.9 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1713, allocations: 87.41 kB / 303 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.1714, allocations: 41.41 kB / 303 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.1714, allocations: 4 kB / 303.1 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.1714, allocations: 11.98 kB / 303.1 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1714, allocations: 4 kB / 303.1 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1714, allocations: 3.25 kB / 303.1 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.1718, allocations: 486.6 kB / 303.5 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1719, allocations: 8 kB / 303.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.172, allocations: 15.98 kB / 303.6 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.172, allocations: 26.86 kB / 303.6 MB, free: 7.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.172, allocations: 15.98 kB / 303.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.23e-05/0.1721, allocations: 31.42 kB / 303.6 MB, free: 7.551 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1721, allocations: 4.031 kB / 303.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001484/0.1735, allocations: 0.9939 MB / 304.6 MB, free: 6.551 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.002332/0.1759, allocations: 1.514 MB / 306.2 MB, free: 5.137 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.1761, allocations: 192.3 kB / 306.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.1761, allocations: 6.312 kB / 306.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1763, allocations: 112.4 kB / 306.5 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.1766, allocations: 143.6 kB / 306.6 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.1791, allocations: 0.4894 MB / 307.1 MB, free: 4.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.249e-05/0.1792, allocations: 90.53 kB / 307.2 MB, free: 4.105 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.1794, allocations: 72.59 kB / 307.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.1796, allocations: 141.3 kB / 307.4 MB, free: 3.898 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1796, allocations: 0 / 307.4 MB, free: 3.898 MB / 282.7 MB Notification: Performance of Templates: time 0.03152/0.2111, allocations: 35.54 MB / 342.9 MB, free: 0.5117 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 -ignoreHideResult -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.9041394079104066]