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.0007279/0.0007279, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001782, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006296/0.0006296, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009564/0.001586, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8483/0.8483, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07459/0.9229, allocations: 52.49 MB / 238.4 MB, free: 4.367 MB / 234.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.593e-06/1.593e-06, allocations: 0 / 239.7 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.608e-05, allocations: 7.438 kB / 239.7 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02412/0.02413, allocations: 26.39 MB / 266.1 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.02582, allocations: 2.247 MB / 268.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.02587, allocations: 0 / 268.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.02607, allocations: 55.61 kB / 268.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.02629, allocations: 162.9 kB / 268.6 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008037/0.03433, allocations: 6.027 MB / 274.6 MB, free: 84 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1009/0.1352, allocations: 317.1 kB / 274.9 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.1353, allocations: 10.03 kB / 274.9 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.1356, allocations: 183 kB / 275.1 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1358, allocations: 103.9 kB / 275.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.1358, allocations: 11.38 kB / 275.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.1482, allocations: 9.519 MB / 284.7 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1483, allocations: 60.94 kB / 284.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.1484, allocations: 61.86 kB / 284.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00568/0.1541, allocations: 4.463 MB / 289.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.1541, allocations: 1.875 kB / 289.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1541, allocations: 0 / 289.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1541, allocations: 6.781 kB / 289.3 MB, free: 3.23 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.002233/0.1564, allocations: 1.493 MB / 290.8 MB, free: 18.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1564, allocations: 9.188 kB / 290.8 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1565, allocations: 41.55 kB / 290.9 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1567, allocations: 148.7 kB / 291 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1567, allocations: 13.77 kB / 291 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.1567, allocations: 21.44 kB / 291 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.1571, allocations: 316.8 kB / 291.4 MB, free: 18.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1571, allocations: 0 / 291.4 MB, free: 18.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1571, allocations: 11.41 kB / 291.4 MB, free: 18.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.1571, allocations: 6.406 kB / 291.4 MB, free: 18.19 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.1573, allocations: 112.4 kB / 291.5 MB, free: 18.19 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.0006372/0.1579, allocations: 0.5158 MB / 292 MB, free: 17.9 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.1582, allocations: 182 kB / 292.2 MB, free: 17.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.1583, allocations: 68.28 kB / 292.2 MB, free: 17.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004123/0.1624, allocations: 2.567 MB / 294.8 MB, free: 17.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1624, allocations: 36.72 kB / 294.8 MB, free: 17.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.213e-06/0.1624, allocations: 4 kB / 294.8 MB, free: 17.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007855/0.1632, allocations: 418 kB / 295.3 MB, free: 17.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.1632, allocations: 80.67 kB / 295.3 MB, free: 16.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.303e-05/0.1633, allocations: 126.4 kB / 295.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1633, allocations: 32.89 kB / 295.5 MB, free: 16.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.1633, allocations: 118.9 kB / 295.6 MB, free: 16.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.1634, allocations: 131.5 kB / 295.7 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.1634, allocations: 70.41 kB / 295.8 MB, free: 16.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.1635, allocations: 324.2 kB / 296.1 MB, free: 16.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.1636, allocations: 61.23 kB / 296.2 MB, free: 16.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.1636, allocations: 127.9 kB / 296.3 MB, free: 16.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.1638, allocations: 219.4 kB / 296.5 MB, free: 16.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1638, allocations: 0 / 296.5 MB, free: 16.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002859/0.1641, allocations: 249.8 kB / 296.8 MB, free: 16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1641, allocations: 10.75 kB / 296.8 MB, free: 16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1641, allocations: 3.406 kB / 296.8 MB, free: 16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1642, allocations: 3.125 kB / 296.8 MB, free: 16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1644, allocations: 99.95 kB / 296.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1644, allocations: 6.594 kB / 296.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.154e-05/0.1645, allocations: 26.47 kB / 296.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1645, allocations: 9 kB / 296.9 MB, free: 15.96 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 7.479e-05/0.1646, allocations: 132.9 kB / 297 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.1646, allocations: 48.34 kB / 297.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.1648, allocations: 140.2 kB / 297.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1648, allocations: 2.719 kB / 297.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.1648, allocations: 4 kB / 297.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1648, allocations: 3.562 kB / 297.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.1653, allocations: 454.8 kB / 297.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1653, allocations: 1.25 kB / 297.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.1655, allocations: 83.66 kB / 297.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.1655, allocations: 35.44 kB / 297.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1655, allocations: 4 kB / 297.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1656, allocations: 11.75 kB / 297.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1656, allocations: 7.984 kB / 297.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1656, allocations: 4 kB / 297.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.1659, allocations: 483.4 kB / 298.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1659, allocations: 18.77 kB / 298.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1661, allocations: 17.88 kB / 298.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.1661, allocations: 30.23 kB / 298.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1661, allocations: 15.05 kB / 298.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.651e-05/0.1661, allocations: 16.84 kB / 298.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1661, allocations: 0 / 298.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001577/0.1677, allocations: 0.9804 MB / 299.4 MB, free: 13.81 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.0025/0.1702, allocations: 1.515 MB / 300.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.1705, allocations: 210.6 kB / 301.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.1705, allocations: 0 / 301.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.1706, allocations: 137 kB / 301.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.171, allocations: 217.3 kB / 301.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.1735, allocations: 469 kB / 301.9 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.332e-05/0.1735, allocations: 85.33 kB / 302 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004546/0.174, allocations: 70.09 kB / 302.1 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.1742, allocations: 142.2 kB / 302.2 MB, free: 11.17 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1742, allocations: 0 / 302.2 MB, free: 11.17 MB / 282.7 MB Notification: Performance of Templates: time 0.0297/0.2039, allocations: 34.21 MB / 336.4 MB, free: 9.191 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5588336158543825]