Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.00102/0.00102, allocations: 83.89 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.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.001061/0.001061, allocations: 145.1 kB / 24.54 MB, free: 40 kB / 18.57 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.9456/0.9456, allocations: 173.3 MB / 201.1 MB, free: 8.473 MB / 186.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 268 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.795e-05, allocations: 9.969 kB / 268 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01339/0.01342, allocations: 11.93 MB / 279.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.01601, allocations: 1.947 MB / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.01622, allocations: 7.938 kB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.01672, allocations: 103.3 kB / 282 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007068/0.01742, allocations: 369.8 kB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004156/0.02158, allocations: 1.384 MB / 283.7 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.0227, allocations: 0.9338 MB / 284.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.0229, allocations: 72.81 kB / 284.7 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006059/0.02895, allocations: 4.241 MB / 289 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.02945, allocations: 259.2 kB / 289.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.02952, allocations: 28 kB / 289.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.03098, allocations: 0.6749 MB / 289.9 MB, free: 104 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.03111, allocations: 103.6 kB / 290 MB, free: 0 / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1092/0.1403, allocations: 138.5 kB / 290.2 MB, free: 20.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.142, allocations: 0.7565 MB / 290.9 MB, free: 20.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.142, allocations: 0 / 290.9 MB, free: 20.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.142, allocations: 0.5625 kB / 290.9 MB, free: 20.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.142, allocations: 2.25 kB / 290.9 MB, free: 20.49 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009183/0.143, allocations: 0.6642 MB / 291.6 MB, free: 20.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.143, allocations: 9.422 kB / 291.6 MB, free: 20.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.1434, allocations: 127 kB / 291.7 MB, free: 19.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1437, allocations: 241.1 kB / 292 MB, free: 19.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1437, allocations: 18.47 kB / 292 MB, free: 19.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.1437, allocations: 29.75 kB / 292 MB, free: 19.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.1441, allocations: 463.4 kB / 292.5 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1441, allocations: 1.344 kB / 292.5 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1441, allocations: 15.06 kB / 292.5 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.1442, allocations: 11 kB / 292.5 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.1444, allocations: 140.1 kB / 292.6 MB, free: 19.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006437/0.1508, allocations: 4.548 MB / 297.2 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.151, allocations: 129.9 kB / 297.3 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.1511, allocations: 58.45 kB / 297.4 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004623/0.1557, allocations: 2.701 MB / 300.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1557, allocations: 41.58 kB / 300.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/0.1557, allocations: 0 / 300.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003209/0.1589, allocations: 1.142 MB / 301.2 MB, free: 17.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.159, allocations: 54.03 kB / 301.3 MB, free: 17.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1591, allocations: 278.9 kB / 301.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1591, allocations: 31.02 kB / 301.6 MB, free: 17.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.1592, allocations: 238 kB / 301.8 MB, free: 16.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.1592, allocations: 99.91 kB / 301.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.1593, allocations: 72.36 kB / 302 MB, free: 16.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.1594, allocations: 0.5009 MB / 302.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.1595, allocations: 53.27 kB / 302.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1596, allocations: 190.4 kB / 302.7 MB, free: 16.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.1598, allocations: 263.9 kB / 303 MB, free: 15.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1598, allocations: 1.375 kB / 303 MB, free: 15.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003856/0.1602, allocations: 319.4 kB / 303.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1602, allocations: 6.812 kB / 303.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1602, allocations: 7 kB / 303.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/0.1621, allocations: 0.9372 MB / 304.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.1623, allocations: 73.48 kB / 304.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007548/0.163, allocations: 2.561 MB / 306.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1631, allocations: 6.719 kB / 306.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1632, allocations: 17.78 kB / 306.9 MB, free: 13.23 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.97e-05/0.1632, allocations: 174.8 kB / 307.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.1633, allocations: 40.89 kB / 307.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.1636, allocations: 355.7 kB / 307.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1636, allocations: 3.281 kB / 307.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1636, allocations: 3.938 kB / 307.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002746/0.1639, allocations: 0.5778 MB / 308.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.1645, allocations: 0.7109 MB / 308.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1645, allocations: 10.86 kB / 308.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/0.1646, allocations: 38.98 kB / 308.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007339/0.1654, allocations: 290.5 kB / 309.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.1654, allocations: 3.812 kB / 309.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001758/0.1656, allocations: 0.8189 MB / 309.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1656, allocations: 0 / 309.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.166, allocations: 0.5263 MB / 310.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.166, allocations: 29.12 kB / 310.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.166, allocations: 4.125 kB / 310.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.1661, allocations: 6.75 kB / 310.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.1661, allocations: 23.72 kB / 310.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1661, allocations: 15.42 kB / 310.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.238e-05/0.1662, allocations: 187.1 kB / 310.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1662, allocations: 0 / 310.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005183/0.1667, allocations: 187.1 kB / 310.9 MB, free: 10.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004148/0.1671, allocations: 295 kB / 311.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.1676, allocations: 412.5 kB / 311.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1676, allocations: 3.562 kB / 311.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.1678, allocations: 160 kB / 311.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.1683, allocations: 138 kB / 311.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1693, allocations: 0.6752 MB / 312.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.657e-05/0.1693, allocations: 98.44 kB / 312.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.1694, allocations: 41.33 kB / 312.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.1695, allocations: 31.48 kB / 312.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1695, allocations: 3.219 kB / 312.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of Templates: time 0.009769/0.1793, allocations: 9.342 MB / 322.1 MB, free: 1.316 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.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.5762080689892173]