Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 168.4 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.02/1.02, allocations: 177.1 MB / 206.1 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1382/0.1382, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.997e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3562/0.3562, allocations: 132 MB / 0.4974 GB, free: 17.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004392/0.3606, allocations: 3.059 MB / 0.5004 GB, free: 17.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007105/0.3613, allocations: 29.75 kB / 0.5004 GB, free: 17.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007317/0.3621, allocations: 211.5 kB / 0.5006 GB, free: 17.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.3638, allocations: 0.7803 MB / 0.5014 GB, free: 17.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.366, allocations: 0.9099 MB / 0.5023 GB, free: 17.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.3685, allocations: 1.868 MB / 0.5041 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.3693, allocations: 421.4 kB / 0.5045 GB, free: 17.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.3711, allocations: 0.9425 MB / 0.5054 GB, free: 17.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.3723, allocations: 0.6792 MB / 0.5061 GB, free: 17.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.3726, allocations: 61.47 kB / 0.5061 GB, free: 17.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008995/0.3735, allocations: 274.1 kB / 0.5064 GB, free: 17.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003474/0.3739, allocations: 293 kB / 0.5067 GB, free: 17.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.3743, allocations: 288.5 kB / 0.5069 GB, free: 17.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.3757, allocations: 0.7875 MB / 0.5077 GB, free: 16.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3757, allocations: 0 / 0.5077 GB, free: 16.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3757, allocations: 0 / 0.5077 GB, free: 16.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.873e-05/0.3757, allocations: 4 kB / 0.5077 GB, free: 16.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001659/0.3774, allocations: 1.073 MB / 0.5088 GB, free: 16.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3774, allocations: 16.92 kB / 0.5088 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.3778, allocations: 152.2 kB / 0.5089 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.3785, allocations: 491.2 kB / 0.5094 GB, free: 16.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.3786, allocations: 154.6 kB / 0.5095 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.779e-05/0.3787, allocations: 57.91 kB / 0.5096 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007419/0.3794, allocations: 0.9061 MB / 0.5105 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3795, allocations: 384 / 0.5105 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.3795, allocations: 32.91 kB / 0.5105 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.3796, allocations: 39.5 kB / 0.5106 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.38, allocations: 241.8 kB / 0.5108 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.3825, allocations: 3.403 MB / 0.5141 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.3829, allocations: 265 kB / 0.5144 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.383, allocations: 81.7 kB / 0.5144 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.3832, allocations: 41.7 kB / 0.5145 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.3832, allocations: 40.91 kB / 0.5145 GB, free: 12.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 4.138e-06/0.3832, allocations: 2.594 kB / 0.5145 GB, free: 12.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001871/0.3851, allocations: 0.8189 MB / 0.5153 GB, free: 12.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3852, allocations: 141.9 kB / 0.5155 GB, free: 12.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.3856, allocations: 0.5387 MB / 0.516 GB, free: 11.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.3856, allocations: 35.83 kB / 0.516 GB, free: 11.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.3858, allocations: 428.1 kB / 0.5164 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3859, allocations: 183.5 kB / 0.5166 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.3861, allocations: 158 kB / 0.5167 GB, free: 11.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3862, allocations: 0.5469 MB / 0.5173 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3863, allocations: 70.83 kB / 0.5174 GB, free: 11.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.3866, allocations: 0.6051 MB / 0.5179 GB, free: 10.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.3871, allocations: 0.6469 MB / 0.5186 GB, free: 9.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3872, allocations: 2.656 kB / 0.5186 GB, free: 9.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009317/0.3881, allocations: 0.6274 MB / 0.5192 GB, free: 9.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3881, allocations: 9 kB / 0.5192 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.3881, allocations: 8.75 kB / 0.5192 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007947/0.3889, allocations: 232.7 kB / 0.5194 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.3892, allocations: 132.4 kB / 0.5196 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005093/0.3897, allocations: 0.9514 MB / 0.5205 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.39, allocations: 27.66 kB / 0.5205 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.3901, allocations: 32.69 kB / 0.5205 GB, free: 8.863 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.3903, allocations: 204.4 kB / 0.5207 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3904, allocations: 80.73 kB / 0.5208 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.3911, allocations: 484.5 kB / 0.5213 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.3911, allocations: 5.469 kB / 0.5213 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3911, allocations: 0 / 0.5213 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3911, allocations: 6.672 kB / 0.5213 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.3921, allocations: 0.8566 MB / 0.5221 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3921, allocations: 2.906 kB / 0.5221 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.3927, allocations: 162.1 kB / 0.5223 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-05/0.3927, allocations: 26.53 kB / 0.5223 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.3928, allocations: 15.59 kB / 0.5223 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.3938, allocations: 3.518 MB / 0.5258 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3938, allocations: 3.188 kB / 0.5258 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.3945, allocations: 0.603 MB / 0.5263 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.3946, allocations: 109 kB / 0.5265 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.3947, allocations: 13.31 kB / 0.5265 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.3949, allocations: 18.94 kB / 0.5265 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.395, allocations: 42.58 kB / 0.5265 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.395, allocations: 15.16 kB / 0.5265 GB, free: 4.285 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.3952, allocations: 319.5 kB / 0.5268 GB, free: 4.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3952, allocations: 0 / 0.5268 GB, free: 4.156 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006723/0.3959, allocations: 195 kB / 0.527 GB, free: 4.152 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002659/0.3961, allocations: 180.3 kB / 0.5272 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000639/0.3968, allocations: 365.3 kB / 0.5275 GB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3968, allocations: 2 kB / 0.5275 GB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.3973, allocations: 378.9 kB / 0.5279 GB, free: 3.832 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3984, allocations: 327.1 kB / 0.5282 GB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.4002, allocations: 1.176 MB / 0.5294 GB, free: 3.164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.4003, allocations: 171.7 kB / 0.5295 GB, free: 3.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000373/0.4007, allocations: 116.8 kB / 0.5296 GB, free: 3.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/0.4013, allocations: 367.8 kB / 0.53 GB, free: 2.977 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.4013, allocations: 0 / 0.53 GB, free: 2.977 MB / 410.7 MB Notification: Performance of Templates: time 0.02001/0.4213, allocations: 14.39 MB / 0.544 GB, free: 13.91 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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.8996752062812448]