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.00137/0.00137, allocations: 79.91 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.001128/0.001128, allocations: 145.5 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.8834/0.8834, allocations: 173.3 MB / 201.1 MB, free: 9.352 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.242e-06/1.242e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.476e-05, allocations: 6.25 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.009474/0.009499, allocations: 12.92 MB / 280.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.01151, allocations: 2.184 MB / 283.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.01166, allocations: 15.88 kB / 283.1 MB, free: 7.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.01199, allocations: 150.9 kB / 283.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005789/0.01256, allocations: 0.5087 MB / 283.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.01497, allocations: 1.497 MB / 285.3 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009397/0.01591, allocations: 1.338 MB / 286.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.01607, allocations: 111 kB / 286.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.01661, allocations: 0.647 MB / 287.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.01694, allocations: 374.8 kB / 287.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.017, allocations: 44 kB / 287.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008278/0.01783, allocations: 0.6983 MB / 288.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-05/0.01793, allocations: 143.5 kB / 288.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.01808, allocations: 211.7 kB / 288.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007956/0.01887, allocations: 0.8766 MB / 289.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01888, allocations: 0 / 289.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01888, allocations: 0 / 289.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.01888, allocations: 0 / 289.7 MB, free: 0.6484 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.1002/0.1191, allocations: 0.7817 MB / 290.5 MB, free: 23.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1191, allocations: 13.86 kB / 290.5 MB, free: 23.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006016/0.1197, allocations: 160.9 kB / 290.7 MB, free: 23.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.1201, allocations: 295.1 kB / 290.9 MB, free: 22.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.1201, allocations: 29.12 kB / 291 MB, free: 22.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.1202, allocations: 43.7 kB / 291 MB, free: 22.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.1208, allocations: 0.6106 MB / 291.6 MB, free: 22.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.1208, allocations: 3.156 kB / 291.6 MB, free: 22.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.1208, allocations: 18 kB / 291.6 MB, free: 22.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1208, allocations: 12.91 kB / 291.7 MB, free: 22.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.1212, allocations: 199.4 kB / 291.9 MB, free: 22.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008166/0.1293, allocations: 5.16 MB / 297 MB, free: 20.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.1297, allocations: 203.7 kB / 297.2 MB, free: 20.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.1298, allocations: 97.22 kB / 297.3 MB, free: 20.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004449/0.1343, allocations: 2.706 MB / 300 MB, free: 20.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1343, allocations: 40.77 kB / 300.1 MB, free: 20.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/0.1343, allocations: 0 / 300.1 MB, free: 20.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005169/0.1395, allocations: 1.999 MB / 302.1 MB, free: 19.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.1395, allocations: 64.33 kB / 302.1 MB, free: 19.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.1397, allocations: 315.5 kB / 302.4 MB, free: 19.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1397, allocations: 33.33 kB / 302.5 MB, free: 19.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.1398, allocations: 279.6 kB / 302.7 MB, free: 19.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.1398, allocations: 167.1 kB / 302.9 MB, free: 19.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/0.1399, allocations: 104.3 kB / 303 MB, free: 19.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.14, allocations: 0.519 MB / 303.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1401, allocations: 88.14 kB / 303.6 MB, free: 18.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1402, allocations: 261.2 kB / 303.9 MB, free: 18.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1405, allocations: 391.3 kB / 304.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1405, allocations: 0 / 304.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005071/0.141, allocations: 493 kB / 304.7 MB, free: 18.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.141, allocations: 10.03 kB / 304.7 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.141, allocations: 4.531 kB / 304.7 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00411/0.1452, allocations: 1.848 MB / 306.6 MB, free: 17.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.1454, allocations: 107.9 kB / 306.7 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.1464, allocations: 3.381 MB / 310.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.1466, allocations: 15.16 kB / 310.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.1466, allocations: 24.92 kB / 310.1 MB, free: 14.24 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 0.000114/0.1468, allocations: 191.9 kB / 310.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.1468, allocations: 52.7 kB / 310.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006598/0.1475, allocations: 0.5781 MB / 310.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1475, allocations: 14.02 kB / 310.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1475, allocations: 0 / 310.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000502/0.148, allocations: 0.6998 MB / 311.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1491, allocations: 1.061 MB / 312.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1491, allocations: 0 / 312.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.1493, allocations: 75.94 kB / 312.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.1511, allocations: 0.5583 MB / 313.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.1511, allocations: 19.98 kB / 313.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003676/0.1515, allocations: 1.63 MB / 315 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1515, allocations: 4 kB / 315 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.1522, allocations: 0.8168 MB / 315.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.1522, allocations: 39.66 kB / 315.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.1523, allocations: 14.08 kB / 315.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1524, allocations: 12 kB / 315.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.1525, allocations: 23.94 kB / 315.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.1525, allocations: 24.02 kB / 315.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1526, allocations: 213.1 kB / 316.1 MB, free: 9 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1526, allocations: 0 / 316.1 MB, free: 9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000591/0.1532, allocations: 223.8 kB / 316.3 MB, free: 8.781 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.0004678/0.1537, allocations: 292 kB / 316.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007093/0.1544, allocations: 0.5825 MB / 317.2 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1544, allocations: 0 / 317.2 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.1549, allocations: 295.1 kB / 317.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008208/0.1557, allocations: 214 kB / 317.7 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.1571, allocations: 1.021 MB / 318.7 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.1572, allocations: 122.8 kB / 318.8 MB, free: 6.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000183/0.1574, allocations: 63.36 kB / 318.9 MB, free: 6.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.1575, allocations: 40.48 kB / 318.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1575, allocations: 0 / 318.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of Templates: time 0.01714/0.1746, allocations: 13.54 MB / 332.5 MB, free: 8.848 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 -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.565807503182441]