Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.0008876/0.0008876, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009269/0.0009269, allocations: 147.1 kB / 24.9 MB, free: 8.727 MB / 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.9447/0.9447, allocations: 173.4 MB / 201.5 MB, free: 8.742 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.335e-05, allocations: 6.25 kB / 268.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01657/0.01661, allocations: 12.91 MB / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.02006, allocations: 2.223 MB / 283.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.02027, allocations: 7.938 kB / 283.7 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.02065, allocations: 147 kB / 283.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006841/0.02133, allocations: 0.5164 MB / 284.3 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.02425, allocations: 1.435 MB / 285.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.02543, allocations: 1.338 MB / 287.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.02572, allocations: 119 kB / 287.2 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005387/0.02626, allocations: 0.647 MB / 287.9 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.0266, allocations: 346.9 kB / 288.2 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.157e-05/0.02665, allocations: 47.94 kB / 288.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000854/0.02751, allocations: 0.7296 MB / 289 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.02762, allocations: 147.5 kB / 289.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.02776, allocations: 207.6 kB / 289.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009008/0.02867, allocations: 0.8727 MB / 290.2 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.02867, allocations: 3.984 kB / 290.2 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02867, allocations: 0 / 290.2 MB, free: 192 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.02868, allocations: 0 / 290.2 MB, free: 192 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.105/0.1336, allocations: 0.6588 MB / 290.9 MB, free: 22.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1337, allocations: 9.594 kB / 290.9 MB, free: 22.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.1341, allocations: 164.8 kB / 291 MB, free: 22.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1344, allocations: 247.9 kB / 291.3 MB, free: 22.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1344, allocations: 28.62 kB / 291.3 MB, free: 22.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.1345, allocations: 47.16 kB / 291.4 MB, free: 22.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.1348, allocations: 0.5507 MB / 291.9 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1348, allocations: 2 kB / 291.9 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.1348, allocations: 18 kB / 291.9 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1349, allocations: 17.34 kB / 291.9 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.135, allocations: 144.2 kB / 292.1 MB, free: 21.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005925/0.1409, allocations: 4.157 MB / 296.2 MB, free: 20.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.1412, allocations: 173.4 kB / 296.4 MB, free: 20.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.716e-05/0.1413, allocations: 72.23 kB / 296.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004234/0.1455, allocations: 2.499 MB / 299 MB, free: 20.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.1455, allocations: 36.69 kB / 299 MB, free: 20.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.1455, allocations: 0 / 299 MB, free: 20.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005801/0.1513, allocations: 2.002 MB / 301 MB, free: 20.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.666e-05/0.1513, allocations: 58.67 kB / 301.1 MB, free: 20.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1514, allocations: 262.1 kB / 301.3 MB, free: 19.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1515, allocations: 35.14 kB / 301.4 MB, free: 19.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.1515, allocations: 208.6 kB / 301.6 MB, free: 19.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.1516, allocations: 169.6 kB / 301.7 MB, free: 19.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.1517, allocations: 95.8 kB / 301.8 MB, free: 19.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.374e-05/0.1517, allocations: 353.1 kB / 302.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.1518, allocations: 56.47 kB / 302.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1519, allocations: 186.5 kB / 302.4 MB, free: 19.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1521, allocations: 302.7 kB / 302.7 MB, free: 19.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1521, allocations: 1.875 kB / 302.7 MB, free: 19.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003318/0.1524, allocations: 347.9 kB / 303 MB, free: 18.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1524, allocations: 6.719 kB / 303 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1524, allocations: 3.594 kB / 303.1 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/0.1556, allocations: 1.832 MB / 304.9 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.1559, allocations: 127.8 kB / 305 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006513/0.1565, allocations: 2.253 MB / 307.3 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1566, allocations: 17.09 kB / 307.3 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1566, allocations: 21.92 kB / 307.3 MB, free: 16.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/0.1567, allocations: 150.8 kB / 307.4 MB, free: 16.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.1568, allocations: 33.19 kB / 307.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.1571, allocations: 0.4964 MB / 308 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1572, allocations: 10.17 kB / 308 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1572, allocations: 0 / 308 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002516/0.1574, allocations: 0.5766 MB / 308.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/0.158, allocations: 0.8111 MB / 309.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.158, allocations: 3.984 kB / 309.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.1582, allocations: 86.64 kB / 309.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.1594, allocations: 0.5673 MB / 310 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.1595, allocations: 7 kB / 310 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002464/0.1597, allocations: 1.095 MB / 311.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1597, allocations: 0 / 311.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.1601, allocations: 0.6363 MB / 311.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.1601, allocations: 43.59 kB / 311.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1601, allocations: 14.81 kB / 311.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.1602, allocations: 10.88 kB / 311.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.1603, allocations: 27.81 kB / 311.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1603, allocations: 19.23 kB / 311.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.815e-05/0.1603, allocations: 79.19 kB / 312 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1603, allocations: 0 / 312 MB, free: 12.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.1607, allocations: 236.7 kB / 312.2 MB, free: 12.28 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000346/0.161, allocations: 297.4 kB / 312.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.1614, allocations: 457.1 kB / 312.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.1614, allocations: 3.5 kB / 312.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.1617, allocations: 245.3 kB / 313.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.1622, allocations: 205.2 kB / 313.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1633, allocations: 0.9442 MB / 314.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.1633, allocations: 129.5 kB / 314.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.1635, allocations: 60.98 kB / 314.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.1637, allocations: 187.4 kB / 314.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1637, allocations: 0 / 314.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of Templates: time 0.01252/0.1762, allocations: 13.58 MB / 328.3 MB, free: 12.75 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.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.514919351786375]