Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001012/0.001012, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00113/0.00113, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.019/1.019, allocations: 177.2 MB / 205 MB, free: 5.598 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.2578/0.2578, allocations: 32.81 MB / 294.3 MB, free: 1.289 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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.083e-06/1.083e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.161e-05, allocations: 2.312 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3408/0.3408, allocations: 151 MB / 0.5146 GB, free: 16.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.3453, allocations: 2.918 MB / 0.5175 GB, free: 14.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006755/0.346, allocations: 27.28 kB / 0.5175 GB, free: 14.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.3468, allocations: 242.2 kB / 0.5177 GB, free: 14.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003901/0.3507, allocations: 1.757 MB / 0.5195 GB, free: 13.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.3529, allocations: 1.026 MB / 0.5205 GB, free: 13.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00242/0.3554, allocations: 2.282 MB / 0.5227 GB, free: 12.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008862/0.3563, allocations: 0.5499 MB / 0.5232 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.3585, allocations: 1.315 MB / 0.5245 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.3596, allocations: 0.8494 MB / 0.5253 GB, free: 11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.3599, allocations: 94.25 kB / 0.5254 GB, free: 11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.3626, allocations: 1.447 MB / 0.5268 GB, free: 10.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004511/0.363, allocations: 470.4 kB / 0.5273 GB, free: 10.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.3636, allocations: 401.5 kB / 0.5277 GB, free: 10.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002975/0.3666, allocations: 1.887 MB / 0.5295 GB, free: 9.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3666, allocations: 0 / 0.5295 GB, free: 9.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3666, allocations: 0 / 0.5295 GB, free: 9.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.35e-05/0.3666, allocations: 0 / 0.5295 GB, free: 9.555 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002554/0.3692, allocations: 1.493 MB / 0.531 GB, free: 8.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3692, allocations: 12.41 kB / 0.531 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.3696, allocations: 183.9 kB / 0.5312 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/0.3704, allocations: 0.5648 MB / 0.5317 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.3705, allocations: 168.4 kB / 0.5319 GB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.3706, allocations: 79.33 kB / 0.5319 GB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3716, allocations: 1.233 MB / 0.5332 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.3716, allocations: 0 / 0.5332 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.3717, allocations: 28.16 kB / 0.5332 GB, free: 7.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-05/0.3717, allocations: 70.52 kB / 0.5332 GB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/0.3726, allocations: 0.5418 MB / 0.5338 GB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.3758, allocations: 3.696 MB / 0.5374 GB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/0.3766, allocations: 484.1 kB / 0.5378 GB, free: 4.098 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.3768, allocations: 191 kB / 0.538 GB, free: 4.047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.3771, allocations: 109.1 kB / 0.5381 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3771, allocations: 49.28 kB / 0.5382 GB, free: 3.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.335e-06/0.3771, allocations: 0 / 0.5382 GB, free: 3.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.0048/0.3819, allocations: 2.383 MB / 0.5405 GB, free: 2.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.382, allocations: 114.6 kB / 0.5406 GB, free: 2.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.3823, allocations: 0.5352 MB / 0.5411 GB, free: 2.469 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.3824, allocations: 43.08 kB / 0.5412 GB, free: 2.426 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.3825, allocations: 457 kB / 0.5416 GB, free: 2.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.3827, allocations: 306.4 kB / 0.5419 GB, free: 1.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.3829, allocations: 197 kB / 0.5421 GB, free: 1.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.3829, allocations: 0.5606 MB / 0.5426 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.3832, allocations: 196.7 kB / 0.5428 GB, free: 1.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.3836, allocations: 0.6098 MB / 0.5434 GB, free: 420 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/0.3845, allocations: 0.8011 MB / 0.5442 GB, free: 15.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3845, allocations: 2.594 kB / 0.5442 GB, free: 15.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001353/0.3858, allocations: 0.9669 MB / 0.5452 GB, free: 15.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.3858, allocations: 8.562 kB / 0.5452 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.3859, allocations: 20.84 kB / 0.5452 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002935/0.3888, allocations: 0.9613 MB / 0.5461 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.3892, allocations: 151.7 kB / 0.5463 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.3903, allocations: 1.194 MB / 0.5474 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.3907, allocations: 39.98 kB / 0.5475 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.529e-05/0.3908, allocations: 59.97 kB / 0.5475 GB, free: 13.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0003347/0.3911, allocations: 220.2 kB / 0.5477 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.3913, allocations: 111.5 kB / 0.5478 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.3928, allocations: 1.081 MB / 0.5489 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.3928, allocations: 15.98 kB / 0.5489 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3928, allocations: 0 / 0.5489 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.3928, allocations: 3.984 kB / 0.5489 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.3948, allocations: 1.56 MB / 0.5504 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.3948, allocations: 4 kB / 0.5504 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006445/0.3955, allocations: 247.7 kB / 0.5507 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006733/0.3962, allocations: 247.5 kB / 0.5509 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/0.3962, allocations: 35.91 kB / 0.551 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.3977, allocations: 2.707 MB / 0.5536 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3977, allocations: 3.938 kB / 0.5536 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.3993, allocations: 1.08 MB / 0.5547 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/0.3997, allocations: 191.3 kB / 0.5548 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.3999, allocations: 23.98 kB / 0.5549 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/0.4005, allocations: 39.97 kB / 0.5549 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.4006, allocations: 60.48 kB / 0.555 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.16e-05/0.4006, allocations: 47.95 kB / 0.555 GB, free: 5.094 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004562/0.4011, allocations: 346.8 kB / 0.5553 GB, free: 4.758 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4011, allocations: 4 kB / 0.5553 GB, free: 4.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001909/0.403, allocations: 499 kB / 0.5558 GB, free: 4.266 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (80): * Single equations (assignments): 76 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/0.4044, allocations: 0.5173 MB / 0.5563 GB, free: 3.734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.4061, allocations: 0.6705 MB / 0.557 GB, free: 3.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4061, allocations: 8 kB / 0.557 GB, free: 3.051 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.4072, allocations: 425.9 kB / 0.5574 GB, free: 2.629 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.4094, allocations: 454.6 kB / 0.5578 GB, free: 2.215 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.414, allocations: 1.734 MB / 0.5595 GB, free: 432 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4142, allocations: 221.8 kB / 0.5597 GB, free: 188 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001063/0.4153, allocations: 306.6 kB / 0.56 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.4155, allocations: 84.48 kB / 0.5601 GB, free: 15.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/0.4155, allocations: 0 / 0.5601 GB, free: 15.8 MB / 442.7 MB Notification: Performance of Templates: time 0.03649/0.452, allocations: 25.32 MB / 0.5848 GB, free: 6.82 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.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: 4.5280786119401455]