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.000961/0.000961, allocations: 78.66 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.0009488/0.0009488, allocations: 173.2 kB / 24.82 MB, free: 9.316 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.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.2838/0.2838, allocations: 32.8 MB / 294.6 MB, free: 1.242 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.983e-06/1.983e-06, allocations: 0 / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.097e-05, allocations: 6.312 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3513/0.3513, allocations: 148.1 MB / 0.5123 GB, free: 18.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004377/0.3557, allocations: 2.901 MB / 0.5152 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000497/0.3562, allocations: 28.19 kB / 0.5152 GB, free: 16.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007219/0.3569, allocations: 250.9 kB / 0.5154 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.3605, allocations: 1.75 MB / 0.5172 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.3625, allocations: 1.032 MB / 0.5182 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.3647, allocations: 2.276 MB / 0.5204 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008187/0.3656, allocations: 0.5496 MB / 0.5209 GB, free: 13.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.3675, allocations: 1.444 MB / 0.5223 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.3685, allocations: 0.7696 MB / 0.5231 GB, free: 12.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.3687, allocations: 93.16 kB / 0.5232 GB, free: 12.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.371, allocations: 1.453 MB / 0.5246 GB, free: 12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.3713, allocations: 471.7 kB / 0.525 GB, free: 11.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.3717, allocations: 405.2 kB / 0.5254 GB, free: 11.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.3741, allocations: 1.861 MB / 0.5272 GB, free: 10.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3741, allocations: 0 / 0.5272 GB, free: 10.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3741, allocations: 0 / 0.5272 GB, free: 10.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.3741, allocations: 0 / 0.5272 GB, free: 10.95 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.002276/0.3764, allocations: 1.487 MB / 0.5287 GB, free: 10.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3764, allocations: 11.03 kB / 0.5287 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/0.3768, allocations: 182.5 kB / 0.5289 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.3774, allocations: 0.5461 MB / 0.5294 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.3775, allocations: 172.9 kB / 0.5296 GB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3776, allocations: 76.52 kB / 0.5297 GB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008762/0.3785, allocations: 1.145 MB / 0.5308 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.3785, allocations: 2.875 kB / 0.5308 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.3786, allocations: 28.78 kB / 0.5308 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.083e-05/0.3786, allocations: 58.23 kB / 0.5309 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.3792, allocations: 454.3 kB / 0.5313 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.3822, allocations: 3.539 MB / 0.5347 GB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.3829, allocations: 452.2 kB / 0.5352 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.3831, allocations: 161.4 kB / 0.5353 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.3833, allocations: 125.5 kB / 0.5355 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3833, allocations: 51.2 kB / 0.5355 GB, free: 5.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 1.843e-06/0.3833, allocations: 4 kB / 0.5355 GB, free: 5.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004762/0.3881, allocations: 2.352 MB / 0.5378 GB, free: 4.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.3881, allocations: 115.9 kB / 0.5379 GB, free: 4.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.3885, allocations: 0.5509 MB / 0.5385 GB, free: 4.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.3885, allocations: 43.08 kB / 0.5385 GB, free: 4.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3887, allocations: 465.8 kB / 0.5389 GB, free: 3.738 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.3888, allocations: 304.2 kB / 0.5392 GB, free: 3.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.389, allocations: 210.7 kB / 0.5394 GB, free: 3.344 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3892, allocations: 0.566 MB / 0.54 GB, free: 2.785 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.3894, allocations: 147.5 kB / 0.5401 GB, free: 2.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.3898, allocations: 0.6143 MB / 0.5407 GB, free: 2.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.3904, allocations: 0.7595 MB / 0.5415 GB, free: 1.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3904, allocations: 2.875 kB / 0.5415 GB, free: 1.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001076/0.3915, allocations: 0.8833 MB / 0.5423 GB, free: 1.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3915, allocations: 11.06 kB / 0.5423 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3916, allocations: 7.969 kB / 0.5423 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002664/0.3942, allocations: 0.9446 MB / 0.5433 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.3945, allocations: 165.3 kB / 0.5434 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.3956, allocations: 1.159 MB / 0.5446 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.3962, allocations: 39.98 kB / 0.5446 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.3963, allocations: 43.98 kB / 0.5446 GB, free: 15.65 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.0003411/0.3966, allocations: 228.3 kB / 0.5449 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.3969, allocations: 107.5 kB / 0.545 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.3998, allocations: 1.232 MB / 0.5462 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3998, allocations: 8 kB / 0.5462 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.3998, allocations: 3.938 kB / 0.5462 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.3998, allocations: 7.984 kB / 0.5462 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.4025, allocations: 1.601 MB / 0.5477 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.4025, allocations: 8.188 kB / 0.5478 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/0.4031, allocations: 227.7 kB / 0.548 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.4042, allocations: 450.3 kB / 0.5484 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/0.4043, allocations: 31.98 kB / 0.5484 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.4071, allocations: 4.289 MB / 0.5526 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4071, allocations: 7.938 kB / 0.5526 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.4089, allocations: 1.201 MB / 0.5538 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.4092, allocations: 183.3 kB / 0.554 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.4092, allocations: 20 kB / 0.554 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.4095, allocations: 43.91 kB / 0.554 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.4097, allocations: 72.47 kB / 0.5541 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/0.4097, allocations: 31.97 kB / 0.5541 GB, free: 5.551 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002236/0.41, allocations: 334.7 kB / 0.5545 GB, free: 5.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.41, allocations: 4 kB / 0.5545 GB, free: 5.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001676/0.4116, allocations: 0.4951 MB / 0.5549 GB, free: 4.723 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.0008172/0.4125, allocations: 0.5291 MB / 0.5555 GB, free: 4.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008673/0.4133, allocations: 0.5958 MB / 0.556 GB, free: 3.586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4133, allocations: 5.875 kB / 0.556 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007453/0.4141, allocations: 0.5633 MB / 0.5566 GB, free: 2.996 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4152, allocations: 454.5 kB / 0.557 GB, free: 2.574 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.4181, allocations: 1.724 MB / 0.5587 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.4182, allocations: 225.9 kB / 0.5589 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005266/0.4188, allocations: 230.8 kB / 0.5591 GB, free: 320 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007944/0.4196, allocations: 489.7 kB / 0.5596 GB, free: 15.83 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4196, allocations: 0 / 0.5596 GB, free: 15.83 MB / 442.7 MB Notification: Performance of Templates: time 0.03231/0.4519, allocations: 29.2 MB / 0.5881 GB, free: 2.977 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.492901565041393]