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.001393/0.001393, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001217/0.001217, allocations: 162.6 kB / 24.99 MB, free: 8.336 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 0.995/0.995, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2653/0.2653, allocations: 32.8 MB / 294.6 MB, free: 1.199 MB / 266.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.283e-06/1.283e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.439e-05, allocations: 6.25 kB / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3444/0.3445, allocations: 143.5 MB / 0.5074 GB, free: 21.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005501/0.35, allocations: 5.73 MB / 0.513 GB, free: 17.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006302/0.3506, allocations: 32.75 kB / 0.513 GB, free: 17.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009085/0.3515, allocations: 319.6 kB / 0.5133 GB, free: 17.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.3532, allocations: 0.9173 MB / 0.5142 GB, free: 16.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.3555, allocations: 1.073 MB / 0.5153 GB, free: 16.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.3571, allocations: 1.832 MB / 0.517 GB, free: 15.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005728/0.3577, allocations: 424.7 kB / 0.5175 GB, free: 15.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.3588, allocations: 1.001 MB / 0.5184 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006901/0.3595, allocations: 0.6912 MB / 0.5191 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.3596, allocations: 62.62 kB / 0.5192 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000764/0.3604, allocations: 493.5 kB / 0.5196 GB, free: 14.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.3605, allocations: 286.3 kB / 0.5199 GB, free: 14.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.3607, allocations: 295 kB / 0.5202 GB, free: 14.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000863/0.3616, allocations: 0.9103 MB / 0.5211 GB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3616, allocations: 0 / 0.5211 GB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3616, allocations: 0 / 0.5211 GB, free: 13.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3616, allocations: 0 / 0.5211 GB, free: 13.84 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.001253/0.3629, allocations: 1.096 MB / 0.5221 GB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3629, allocations: 8.75 kB / 0.5222 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.3632, allocations: 151.5 kB / 0.5223 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.3637, allocations: 0.4976 MB / 0.5228 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/0.3638, allocations: 151.3 kB / 0.5229 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.3639, allocations: 59.84 kB / 0.523 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.3645, allocations: 0.9693 MB / 0.5239 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3645, allocations: 4.328 kB / 0.5239 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.3646, allocations: 30.47 kB / 0.524 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-05/0.3646, allocations: 38.66 kB / 0.524 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.3651, allocations: 299 kB / 0.5243 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.3673, allocations: 3.538 MB / 0.5277 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.3677, allocations: 260.9 kB / 0.528 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.3679, allocations: 99.89 kB / 0.5281 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.3681, allocations: 75.89 kB / 0.5282 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3681, allocations: 40.81 kB / 0.5282 GB, free: 8.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.515e-06/0.3681, allocations: 3.938 kB / 0.5282 GB, free: 8.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001776/0.3699, allocations: 0.9861 MB / 0.5292 GB, free: 7.977 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3699, allocations: 138.1 kB / 0.5293 GB, free: 7.816 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.3703, allocations: 0.5291 MB / 0.5298 GB, free: 7.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3703, allocations: 33.08 kB / 0.5298 GB, free: 7.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3704, allocations: 427.4 kB / 0.5303 GB, free: 7.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.3705, allocations: 171.3 kB / 0.5304 GB, free: 6.996 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3706, allocations: 145.1 kB / 0.5306 GB, free: 6.914 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.3707, allocations: 0.551 MB / 0.5311 GB, free: 6.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3709, allocations: 93 kB / 0.5312 GB, free: 6.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.3711, allocations: 0.5968 MB / 0.5318 GB, free: 5.691 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.3716, allocations: 0.648 MB / 0.5324 GB, free: 5.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3716, allocations: 3.031 kB / 0.5324 GB, free: 5.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008073/0.3724, allocations: 0.6689 MB / 0.5331 GB, free: 4.793 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3724, allocations: 10.78 kB / 0.5331 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3724, allocations: 8.906 kB / 0.5331 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007105/0.3731, allocations: 234.3 kB / 0.5333 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.3734, allocations: 125.5 kB / 0.5334 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004702/0.3738, allocations: 0.9629 MB / 0.5344 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.3741, allocations: 29.27 kB / 0.5344 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.3741, allocations: 36.62 kB / 0.5344 GB, free: 3.871 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0001584/0.3743, allocations: 212.6 kB / 0.5346 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.3744, allocations: 76.47 kB / 0.5347 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.375, allocations: 0.5208 MB / 0.5352 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.3751, allocations: 5.562 kB / 0.5352 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3751, allocations: 0 / 0.5352 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3751, allocations: 2.391 kB / 0.5352 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.3761, allocations: 0.9772 MB / 0.5362 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3761, allocations: 3.594 kB / 0.5362 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.3766, allocations: 195.5 kB / 0.5364 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.618e-05/0.3766, allocations: 27.66 kB / 0.5364 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.3767, allocations: 24.02 kB / 0.5364 GB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.3777, allocations: 3.552 MB / 0.5399 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3777, allocations: 6.594 kB / 0.5399 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007027/0.3784, allocations: 0.6563 MB / 0.5405 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.3786, allocations: 120.8 kB / 0.5406 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.3786, allocations: 10.72 kB / 0.5406 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.3788, allocations: 18.95 kB / 0.5407 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.3789, allocations: 34.8 kB / 0.5407 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.3789, allocations: 23.02 kB / 0.5407 GB, free: 14.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002315/0.3791, allocations: 338.2 kB / 0.541 GB, free: 14.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3791, allocations: 0 / 0.541 GB, free: 14.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000577/0.3797, allocations: 225.5 kB / 0.5413 GB, free: 14.42 MB / 426.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 (47): * Single equations (assignments): 43 * 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.0003628/0.3801, allocations: 251.6 kB / 0.5415 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.3808, allocations: 409.4 kB / 0.5419 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3808, allocations: 0 / 0.5419 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.3813, allocations: 405.9 kB / 0.5423 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.3822, allocations: 336.3 kB / 0.5426 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3839, allocations: 1.186 MB / 0.5438 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.384, allocations: 174.9 kB / 0.5439 GB, free: 13.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003967/0.3844, allocations: 175.4 kB / 0.5441 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3845, allocations: 62.98 kB / 0.5441 GB, free: 13.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.3845, allocations: 0 / 0.5441 GB, free: 13.01 MB / 426.7 MB Notification: Performance of Templates: time 0.01758/0.4021, allocations: 14.29 MB / 0.5581 GB, free: 1.777 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.8728917848784477]