Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001004/0.001004, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001296/0.001296, allocations: 164.9 kB / 24.82 MB, free: 9.27 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3261/0.3261, allocations: 34.26 MB / 296.1 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.018e-06/4.018e-06, allocations: 3.984 kB / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.242e-05/4.644e-05, allocations: 2.312 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4586/0.4587, allocations: 148.2 MB / 0.5143 GB, free: 15.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007419/0.4661, allocations: 2.9 MB / 0.5172 GB, free: 14.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.4675, allocations: 27.47 kB / 0.5172 GB, free: 14.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.4685, allocations: 243 kB / 0.5174 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005515/0.474, allocations: 1.763 MB / 0.5191 GB, free: 12.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.4767, allocations: 1.023 MB / 0.5201 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003432/0.4801, allocations: 2.279 MB / 0.5224 GB, free: 11.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.4812, allocations: 0.5561 MB / 0.5229 GB, free: 11.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.4842, allocations: 1.43 MB / 0.5243 GB, free: 10.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.4856, allocations: 0.7827 MB / 0.5251 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.4859, allocations: 91.41 kB / 0.5252 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.489, allocations: 1.447 MB / 0.5266 GB, free: 9.848 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.4895, allocations: 467.3 kB / 0.527 GB, free: 9.633 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006058/0.4901, allocations: 402.5 kB / 0.5274 GB, free: 9.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004996/0.4951, allocations: 1.872 MB / 0.5292 GB, free: 8.797 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.4951, allocations: 0 / 0.5292 GB, free: 8.797 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.4951, allocations: 4 kB / 0.5292 GB, free: 8.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.862e-05/0.4952, allocations: 0 / 0.5292 GB, free: 8.793 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.00324/0.4984, allocations: 1.478 MB / 0.5307 GB, free: 7.855 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.4985, allocations: 8.5 kB / 0.5307 GB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.4989, allocations: 191 kB / 0.5309 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008305/0.4997, allocations: 0.548 MB / 0.5314 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.4999, allocations: 171.1 kB / 0.5316 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.5, allocations: 80.25 kB / 0.5316 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009912/0.501, allocations: 1.134 MB / 0.5327 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.501, allocations: 0 / 0.5327 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/0.501, allocations: 35.27 kB / 0.5328 GB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-05/0.5011, allocations: 54.58 kB / 0.5328 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000691/0.5018, allocations: 462 kB / 0.5333 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00369/0.5055, allocations: 3.546 MB / 0.5367 GB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.5063, allocations: 447.2 kB / 0.5372 GB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.5065, allocations: 149 kB / 0.5373 GB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/0.5069, allocations: 134.5 kB / 0.5374 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.5069, allocations: 50.2 kB / 0.5375 GB, free: 3.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.657e-06/0.5069, allocations: 0 / 0.5375 GB, free: 3.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.005558/0.5125, allocations: 2.356 MB / 0.5398 GB, free: 2.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.5125, allocations: 118.7 kB / 0.5399 GB, free: 2.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.513, allocations: 0.5426 MB / 0.5404 GB, free: 1.801 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.513, allocations: 43.64 kB / 0.5405 GB, free: 1.758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.5132, allocations: 467.1 kB / 0.5409 GB, free: 1.336 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.5134, allocations: 303.4 kB / 0.5412 GB, free: 1.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.5136, allocations: 218.3 kB / 0.5414 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5137, allocations: 0.5654 MB / 0.542 GB, free: 388 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.5139, allocations: 145.1 kB / 0.5421 GB, free: 352 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.5144, allocations: 0.6072 MB / 0.5427 GB, free: 15.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.5153, allocations: 0.7556 MB / 0.5434 GB, free: 15.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.5153, allocations: 9.266 kB / 0.5434 GB, free: 15.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001346/0.5166, allocations: 0.8867 MB / 0.5443 GB, free: 14.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.5167, allocations: 8.062 kB / 0.5443 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.5167, allocations: 8.312 kB / 0.5443 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.5195, allocations: 0.9477 MB / 0.5452 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.5199, allocations: 163.7 kB / 0.5454 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.5211, allocations: 1.157 MB / 0.5465 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.5217, allocations: 43.98 kB / 0.5466 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.069e-05/0.5218, allocations: 43.98 kB / 0.5466 GB, free: 12.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (92): * Single equations (assignments): 91 * 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.0005081/0.5223, allocations: 232.2 kB / 0.5468 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.5226, allocations: 107.5 kB / 0.5469 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.5248, allocations: 1.229 MB / 0.5481 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.5248, allocations: 12 kB / 0.5481 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.5248, allocations: 0 / 0.5481 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.5248, allocations: 11.91 kB / 0.5482 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.528, allocations: 1.602 MB / 0.5497 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.528, allocations: 4 kB / 0.5497 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.5286, allocations: 227.7 kB / 0.5499 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.5298, allocations: 445.8 kB / 0.5504 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/0.5299, allocations: 23.98 kB / 0.5504 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/0.5336, allocations: 4.3 MB / 0.5546 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5336, allocations: 3.938 kB / 0.5546 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.5359, allocations: 1.216 MB / 0.5558 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.5363, allocations: 171.3 kB / 0.5559 GB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/0.5364, allocations: 20 kB / 0.556 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.5368, allocations: 43.97 kB / 0.556 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.5369, allocations: 72.41 kB / 0.5561 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.537, allocations: 43.95 kB / 0.5561 GB, free: 2.348 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000313/0.5373, allocations: 330.7 kB / 0.5564 GB, free: 2.023 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5373, allocations: 0 / 0.5564 GB, free: 2.023 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0017/0.539, allocations: 0.4951 MB / 0.5569 GB, free: 1.527 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.5401, allocations: 0.5174 MB / 0.5574 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.5413, allocations: 0.608 MB / 0.558 GB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.5413, allocations: 2.625 kB / 0.558 GB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008563/0.5421, allocations: 0.5539 MB / 0.5586 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.5434, allocations: 447.6 kB / 0.559 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.5471, allocations: 1.73 MB / 0.5607 GB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.5474, allocations: 229.9 kB / 0.5609 GB, free: 13.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008248/0.5482, allocations: 238.7 kB / 0.5611 GB, free: 13.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008593/0.549, allocations: 481.7 kB / 0.5616 GB, free: 12.64 MB / 442.7 MB Notification: Performance of SimCode: time 3.707e-06/0.549, allocations: 4 kB / 0.5616 GB, free: 12.64 MB / 442.7 MB Notification: Performance of Templates: time 0.0384/0.5874, allocations: 29.2 MB / 0.5901 GB, free: 15.78 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.768997224979103]