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.001021/0.001021, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002458, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009951/0.0009951, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002327, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9337/0.9337, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07337/1.007, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.122e-06/1.122e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.93e-05, allocations: 6.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02126/0.02128, allocations: 26.59 MB / 271.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.02312, allocations: 2.262 MB / 273.6 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.02317, allocations: 0 / 273.6 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.02339, allocations: 67.53 kB / 273.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.02363, allocations: 166.9 kB / 273.8 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1147/0.1383, allocations: 6.021 MB / 279.8 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.1388, allocations: 343.7 kB / 280.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.1389, allocations: 14.47 kB / 280.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.1392, allocations: 200.2 kB / 280.4 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1394, allocations: 110.2 kB / 280.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1395, allocations: 11.28 kB / 280.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.1516, allocations: 9.557 MB / 290 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.1517, allocations: 65.5 kB / 290.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.1518, allocations: 60.03 kB / 290.2 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004982/0.1568, allocations: 4.506 MB / 294.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.1568, allocations: 0 / 294.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1568, allocations: 0 / 294.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1568, allocations: 0 / 294.7 MB, free: 15.21 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.002131/0.1589, allocations: 1.541 MB / 296.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.1589, allocations: 9.406 kB / 296.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1591, allocations: 48.02 kB / 296.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.1592, allocations: 155.7 kB / 296.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1592, allocations: 16.61 kB / 296.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.1593, allocations: 22.92 kB / 296.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.1596, allocations: 310.3 kB / 296.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1596, allocations: 3.281 kB / 296.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1596, allocations: 3.5 kB / 296.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.1596, allocations: 6.344 kB / 296.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.1598, allocations: 119.6 kB / 296.9 MB, free: 13.88 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.0006417/0.1605, allocations: 0.5165 MB / 297.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.1607, allocations: 176.3 kB / 297.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/0.1608, allocations: 70.97 kB / 297.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004392/0.1652, allocations: 2.573 MB / 300.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1652, allocations: 38.5 kB / 300.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.223e-06/0.1652, allocations: 0 / 300.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008311/0.1661, allocations: 416.2 kB / 300.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1661, allocations: 85.09 kB / 300.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.1661, allocations: 140 kB / 300.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1662, allocations: 29.7 kB / 300.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.1662, allocations: 119.8 kB / 301 MB, free: 10.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.1663, allocations: 125 kB / 301.1 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.1663, allocations: 71.3 kB / 301.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.1664, allocations: 329.3 kB / 301.5 MB, free: 9.742 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.1665, allocations: 54.81 kB / 301.6 MB, free: 9.688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1666, allocations: 133.4 kB / 301.7 MB, free: 9.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.1668, allocations: 221.6 kB / 301.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1668, allocations: 0 / 301.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003192/0.1672, allocations: 256.9 kB / 302.2 MB, free: 9.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1672, allocations: 4 kB / 302.2 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1672, allocations: 4 kB / 302.2 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1672, allocations: 4.219 kB / 302.2 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.1674, allocations: 104.5 kB / 302.3 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1674, allocations: 7.281 kB / 302.3 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.1675, allocations: 20.52 kB / 302.3 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.1675, allocations: 11.98 kB / 302.3 MB, free: 8.926 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.931e-05/0.1676, allocations: 135.9 kB / 302.5 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.1677, allocations: 47.72 kB / 302.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.1679, allocations: 137.4 kB / 302.7 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1679, allocations: 7.984 kB / 302.7 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1679, allocations: 0 / 302.7 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1679, allocations: 0 / 302.7 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.1685, allocations: 470 kB / 303.1 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1685, allocations: 5.312 kB / 303.1 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.1687, allocations: 83.22 kB / 303.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.1687, allocations: 39.34 kB / 303.2 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1687, allocations: 4 kB / 303.3 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.1687, allocations: 15.98 kB / 303.3 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1687, allocations: 4 kB / 303.3 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1687, allocations: 7.438 kB / 303.3 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.1692, allocations: 476.4 kB / 303.7 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1692, allocations: 11 kB / 303.8 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1693, allocations: 9.688 kB / 303.8 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.1693, allocations: 31.89 kB / 303.8 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1694, allocations: 15.98 kB / 303.8 MB, free: 7.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.296e-05/0.1694, allocations: 37.33 kB / 303.8 MB, free: 7.406 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1694, allocations: 0 / 303.8 MB, free: 7.406 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001463/0.1708, allocations: 0.9938 MB / 304.8 MB, free: 6.41 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.002451/0.1733, allocations: 1.504 MB / 306.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.1736, allocations: 195.5 kB / 306.5 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.1736, allocations: 7.047 kB / 306.5 MB, free: 4.812 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.1737, allocations: 145.6 kB / 306.7 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.1742, allocations: 338 kB / 307 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.1768, allocations: 486 kB / 307.5 MB, free: 3.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.141e-05/0.1768, allocations: 94.52 kB / 307.6 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.177, allocations: 73.53 kB / 307.7 MB, free: 3.637 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.1773, allocations: 145.2 kB / 307.8 MB, free: 3.496 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1773, allocations: 0 / 307.8 MB, free: 3.496 MB / 282.7 MB Notification: Performance of Templates: time 0.03383/0.2111, allocations: 34.72 MB / 342.5 MB, free: 0.9492 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.603991978801787]