Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009491/0.0009491, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009468/0.0009468, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9424/0.9424, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.148e-05, allocations: 5.266 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01033/0.01035, allocations: 12.95 MB / 285.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.01268, allocations: 2.2 MB / 288.1 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.01289, allocations: 7.938 kB / 288.1 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.01334, allocations: 151 kB / 288.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006111/0.01395, allocations: 0.5124 MB / 288.7 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.01679, allocations: 1.489 MB / 290.2 MB, free: 88 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1211/0.1379, allocations: 1.336 MB / 291.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.1382, allocations: 115 kB / 291.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009265/0.1391, allocations: 0.6458 MB / 292.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005557/0.1396, allocations: 371.2 kB / 292.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.1397, allocations: 45.12 kB / 292.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.1412, allocations: 0.6961 MB / 293.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.1413, allocations: 151.1 kB / 293.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.1416, allocations: 208.6 kB / 293.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.1429, allocations: 0.868 MB / 294.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1429, allocations: 1.125 kB / 294.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1429, allocations: 1.062 kB / 294.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1429, allocations: 0 / 294.6 MB, free: 15.11 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001047/0.1439, allocations: 0.7909 MB / 295.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.144, allocations: 13.92 kB / 295.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/0.1444, allocations: 172.8 kB / 295.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.1448, allocations: 281 kB / 295.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.1448, allocations: 30.5 kB / 295.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.1449, allocations: 48.06 kB / 296 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.1454, allocations: 0.6112 MB / 296.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1454, allocations: 1.938 kB / 296.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.1454, allocations: 19.2 kB / 296.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.1455, allocations: 15.84 kB / 296.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.1458, allocations: 196.9 kB / 296.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006941/0.1527, allocations: 5.156 MB / 302 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.153, allocations: 210.1 kB / 302.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.1531, allocations: 94.23 kB / 302.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004591/0.1577, allocations: 2.704 MB / 305 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1578, allocations: 42.45 kB / 305 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.824e-06/0.1578, allocations: 0 / 305 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005298/0.1631, allocations: 2.007 MB / 307 MB, free: 10.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.1631, allocations: 54.97 kB / 307.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1633, allocations: 321.2 kB / 307.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1633, allocations: 37.02 kB / 307.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.1634, allocations: 274.1 kB / 307.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.1634, allocations: 170.6 kB / 307.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.1635, allocations: 94.72 kB / 307.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.1636, allocations: 0.5211 MB / 308.5 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1637, allocations: 89.67 kB / 308.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.1638, allocations: 262.2 kB / 308.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.1642, allocations: 387.7 kB / 309.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1642, allocations: 4 kB / 309.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005402/0.1647, allocations: 491.5 kB / 309.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1647, allocations: 11.7 kB / 309.7 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1647, allocations: 7.938 kB / 309.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/0.1683, allocations: 1.845 MB / 311.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1685, allocations: 105.1 kB / 311.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009461/0.1695, allocations: 3.382 MB / 315 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.1696, allocations: 11.62 kB / 315 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1696, allocations: 23.81 kB / 315.1 MB, free: 4.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 9.914e-05/0.1697, allocations: 191.7 kB / 315.2 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.1698, allocations: 50.77 kB / 315.3 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005339/0.1703, allocations: 0.589 MB / 315.9 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1703, allocations: 15.92 kB / 315.9 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1703, allocations: 0 / 315.9 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003882/0.1707, allocations: 0.6946 MB / 316.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.1716, allocations: 1.057 MB / 317.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1716, allocations: 0 / 317.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.1718, allocations: 76.67 kB / 317.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/0.1732, allocations: 0.56 MB / 318.3 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.1732, allocations: 12 kB / 318.3 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000625/0.1738, allocations: 1.636 MB / 319.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1738, allocations: 0 / 319.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007589/0.1746, allocations: 0.8167 MB / 320.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.1746, allocations: 43.64 kB / 320.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.1747, allocations: 12 kB / 320.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1748, allocations: 4 kB / 320.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.1748, allocations: 35.88 kB / 320.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.1748, allocations: 23.98 kB / 320.9 MB, free: 14.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.175, allocations: 209.2 kB / 321.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.175, allocations: 3.188 kB / 321.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005975/0.1756, allocations: 235.7 kB / 321.3 MB, free: 13.8 MB / 282.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.0004637/0.176, allocations: 286.3 kB / 321.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006917/0.1767, allocations: 0.5768 MB / 322.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1767, allocations: 4 kB / 322.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.1771, allocations: 291.7 kB / 322.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.1778, allocations: 224.7 kB / 322.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1792, allocations: 1.006 MB / 323.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.268e-05/0.1793, allocations: 122.8 kB / 323.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.1795, allocations: 63.36 kB / 323.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.1795, allocations: 36.5 kB / 323.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1795, allocations: 0 / 323.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of Templates: time 0.01401/0.1935, allocations: 12.01 MB / 335.9 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9169998299330473]