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.001917/0.001917, allocations: 115.9 kB / 18.41 MB, free: 4.684 MB / 14.72 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.001913/0.001913, allocations: 189.3 kB / 21.35 MB, free: 1.75 MB / 14.72 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 1.433/1.433, allocations: 222.9 MB / 247 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00159/0.00159, allocations: 51.92 kB / 358.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1042, allocations: 49.43 MB / 408.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2545/0.3587, allocations: 37.43 MB / 445.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005223/0.364, allocations: 4.58 MB / 450.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005358/0.3646, allocations: 8.75 kB / 450.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000874/0.3655, allocations: 290.4 kB / 450.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.3666, allocations: 483.2 kB / 450.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.3714, allocations: 1.636 MB / 452.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.3733, allocations: 1.273 MB / 453.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.3737, allocations: 188.2 kB / 454 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008885/0.3746, allocations: 471.5 kB / 454.4 MB, free: 468 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.3752, allocations: 401.1 kB / 454.8 MB, free: 352 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3753, allocations: 46.22 kB / 454.9 MB, free: 352 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.3773, allocations: 0.7538 MB / 455.6 MB, free: 328 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.3776, allocations: 134 kB / 455.8 MB, free: 308 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.3779, allocations: 284.4 kB / 456 MB, free: 236 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.3796, allocations: 1.049 MB / 457.1 MB, free: 72 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3797, allocations: 1.031 kB / 457.1 MB, free: 72 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3797, allocations: 4 kB / 457.1 MB, free: 68 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3797, allocations: 0 / 457.1 MB, free: 68 kB / 350.1 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.001366/0.3811, allocations: 0.7889 MB / 457.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3811, allocations: 8.844 kB / 457.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006232/0.3817, allocations: 77.47 kB / 458 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.3823, allocations: 347.8 kB / 458.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3823, allocations: 31.41 kB / 458.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.3824, allocations: 36.41 kB / 458.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.3832, allocations: 486.5 kB / 458.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.3832, allocations: 4.609 kB / 458.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.3833, allocations: 17.88 kB / 458.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3833, allocations: 9.844 kB / 458.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.3837, allocations: 311.6 kB / 459.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.3981, allocations: 6.726 MB / 465.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.3986, allocations: 275.6 kB / 466.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.3989, allocations: 153.6 kB / 466.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.4099, allocations: 3.896 MB / 470.2 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.41, allocations: 40.53 kB / 470.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.605e-06/0.4101, allocations: 0 / 470.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.0121/0.4222, allocations: 2.456 MB / 472.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.4223, allocations: 60.78 kB / 472.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.4227, allocations: 303.5 kB / 473.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.4227, allocations: 36.23 kB / 473.1 MB, free: 6.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.423, allocations: 229.5 kB / 473.3 MB, free: 6.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.4231, allocations: 165.8 kB / 473.5 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.4233, allocations: 98.52 kB / 473.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4235, allocations: 351 kB / 473.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.4238, allocations: 154.1 kB / 474.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.4242, allocations: 274.6 kB / 474.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.4249, allocations: 477.7 kB / 474.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4249, allocations: 0 / 474.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001128/0.426, allocations: 0.5899 MB / 475.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.426, allocations: 9.375 kB / 475.4 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.4261, allocations: 5.5 kB / 475.4 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007718/0.4338, allocations: 1.845 MB / 477.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.4343, allocations: 110.5 kB / 477.4 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.4367, allocations: 2.564 MB / 479.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.4372, allocations: 17.62 kB / 480 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.4372, allocations: 25.05 kB / 480 MB, free: 1.66 MB / 366.1 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.0002848/0.4375, allocations: 176.1 kB / 480.2 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4376, allocations: 41.89 kB / 480.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.4389, allocations: 0.8508 MB / 481 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.439, allocations: 15.98 kB / 481.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.439, allocations: 0 / 481.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/0.4402, allocations: 0.9535 MB / 482 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.4425, allocations: 1.498 MB / 483.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.4426, allocations: 0 / 483.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.4429, allocations: 75.89 kB / 483.6 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003338/0.4462, allocations: 0.6225 MB / 484.2 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.4463, allocations: 12 kB / 484.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.4475, allocations: 1.288 MB / 485.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4475, allocations: 0 / 485.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.4494, allocations: 1.225 MB / 486.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.4496, allocations: 120.8 kB / 486.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.4497, allocations: 12 kB / 486.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.4499, allocations: 8 kB / 486.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.45, allocations: 31.89 kB / 486.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.4501, allocations: 16 kB / 486.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.4503, allocations: 209.9 kB / 487.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4503, allocations: 4 kB / 487.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009985/0.4513, allocations: 231.7 kB / 487.4 MB, free: 10.12 MB / 382.1 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.0007088/0.4521, allocations: 285.2 kB / 487.6 MB, free: 9.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.4534, allocations: 0.7061 MB / 488.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4534, allocations: 0 / 488.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.4545, allocations: 436.3 kB / 488.8 MB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.4558, allocations: 231.4 kB / 489 MB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.458, allocations: 1.276 MB / 490.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.4586, allocations: 0.8477 MB / 491.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.4587, allocations: 39.44 kB / 491.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4588, allocations: 0 / 491.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of Templates: time 0.01972/0.4785, allocations: 13 MB / 0.4923 GB, free: 9.266 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.735610559000634]