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.00126/0.00126, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001459/0.001459, allocations: 161 kB / 24.55 MB, free: 12 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 0.9926/0.9926, allocations: 177.1 MB / 205 MB, free: 5.605 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.2901/0.2901, allocations: 32.82 MB / 294.3 MB, free: 1.285 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.363e-06/1.363e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.673e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3443/0.3443, allocations: 151 MB / 0.5146 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.3488, allocations: 2.91 MB / 0.5175 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005683/0.3494, allocations: 30.97 kB / 0.5175 GB, free: 14.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.3501, allocations: 253.8 kB / 0.5178 GB, free: 14.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.3533, allocations: 1.753 MB / 0.5195 GB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.3552, allocations: 1.016 MB / 0.5205 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.3574, allocations: 2.286 MB / 0.5227 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009134/0.3584, allocations: 0.5479 MB / 0.5232 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.3603, allocations: 1.438 MB / 0.5246 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.3615, allocations: 0.7795 MB / 0.5254 GB, free: 11.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003279/0.3618, allocations: 95.88 kB / 0.5255 GB, free: 11.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.3646, allocations: 1.444 MB / 0.5269 GB, free: 10.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.365, allocations: 469.8 kB / 0.5273 GB, free: 10.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.3655, allocations: 405.8 kB / 0.5277 GB, free: 10.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.3685, allocations: 1.863 MB / 0.5295 GB, free: 9.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3685, allocations: 0 / 0.5295 GB, free: 9.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3685, allocations: 0 / 0.5295 GB, free: 9.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.3686, allocations: 0 / 0.5295 GB, free: 9.625 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.002482/0.371, allocations: 1.491 MB / 0.531 GB, free: 8.691 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3711, allocations: 9 kB / 0.531 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004176/0.3715, allocations: 194.2 kB / 0.5312 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006749/0.3722, allocations: 0.5597 MB / 0.5317 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.566e-05/0.3723, allocations: 174.2 kB / 0.5319 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-05/0.3724, allocations: 83.83 kB / 0.532 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009816/0.3733, allocations: 1.198 MB / 0.5332 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.3734, allocations: 3.031 kB / 0.5332 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.3734, allocations: 36.98 kB / 0.5332 GB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.348e-05/0.3735, allocations: 57.56 kB / 0.5332 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007686/0.3743, allocations: 0.5473 MB / 0.5338 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.3772, allocations: 3.676 MB / 0.5374 GB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.378, allocations: 494.6 kB / 0.5378 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3782, allocations: 189.6 kB / 0.538 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.3785, allocations: 105.2 kB / 0.5381 GB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3785, allocations: 49.91 kB / 0.5382 GB, free: 4.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.044e-06/0.3785, allocations: 0 / 0.5382 GB, free: 4.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004495/0.383, allocations: 2.383 MB / 0.5405 GB, free: 3.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.383, allocations: 116.3 kB / 0.5406 GB, free: 2.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.3834, allocations: 0.5516 MB / 0.5412 GB, free: 2.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.3835, allocations: 43.55 kB / 0.5412 GB, free: 2.465 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.3837, allocations: 464.7 kB / 0.5416 GB, free: 2.047 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.3838, allocations: 298.9 kB / 0.5419 GB, free: 1.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.384, allocations: 203.7 kB / 0.5421 GB, free: 1.664 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.3841, allocations: 0.5589 MB / 0.5427 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.3844, allocations: 194.8 kB / 0.5428 GB, free: 1.055 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.3848, allocations: 0.6493 MB / 0.5435 GB, free: 420 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/0.3856, allocations: 0.8338 MB / 0.5443 GB, free: 15.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3856, allocations: 2.594 kB / 0.5443 GB, free: 15.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001302/0.3869, allocations: 0.9887 MB / 0.5453 GB, free: 15.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.387, allocations: 9.312 kB / 0.5453 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.387, allocations: 15.94 kB / 0.5453 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/0.3897, allocations: 0.9634 MB / 0.5462 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.39, allocations: 159.7 kB / 0.5464 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.3911, allocations: 1.202 MB / 0.5476 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.3915, allocations: 39.98 kB / 0.5476 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/0.3916, allocations: 55.97 kB / 0.5476 GB, free: 12.93 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.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 (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.0003136/0.3919, allocations: 233.2 kB / 0.5479 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.3921, allocations: 103.5 kB / 0.548 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.3935, allocations: 1.093 MB / 0.549 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.3935, allocations: 8 kB / 0.549 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3935, allocations: 0 / 0.549 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3935, allocations: 3.984 kB / 0.549 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.3957, allocations: 1.558 MB / 0.5506 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3957, allocations: 4 kB / 0.5506 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.3963, allocations: 251.7 kB / 0.5508 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000651/0.397, allocations: 239.5 kB / 0.551 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.3971, allocations: 43.89 kB / 0.5511 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.3987, allocations: 2.692 MB / 0.5537 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3987, allocations: 11.88 kB / 0.5537 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.4, allocations: 1.076 MB / 0.5548 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.4003, allocations: 187.3 kB / 0.555 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.4004, allocations: 23.98 kB / 0.555 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.4007, allocations: 44 kB / 0.555 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.4008, allocations: 68.42 kB / 0.5551 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/0.4009, allocations: 47.95 kB / 0.5551 GB, free: 4.965 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000293/0.4012, allocations: 350.8 kB / 0.5555 GB, free: 4.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4012, allocations: 0 / 0.5555 GB, free: 4.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001238/0.4024, allocations: 0.4912 MB / 0.5559 GB, free: 4.129 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.0008452/0.4033, allocations: 0.5174 MB / 0.5564 GB, free: 3.602 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.4044, allocations: 0.6786 MB / 0.5571 GB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4044, allocations: 1.875 kB / 0.5571 GB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006876/0.4051, allocations: 430.1 kB / 0.5575 GB, free: 2.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.4061, allocations: 450.4 kB / 0.558 GB, free: 2.082 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.4093, allocations: 1.729 MB / 0.5596 GB, free: 300 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.4095, allocations: 233.8 kB / 0.5599 GB, free: 44 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006092/0.4101, allocations: 314.7 kB / 0.5602 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.4103, allocations: 80.42 kB / 0.5602 GB, free: 15.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4103, allocations: 0 / 0.5602 GB, free: 15.65 MB / 442.7 MB Notification: Performance of Templates: time 0.0311/0.4413, allocations: 27.98 MB / 0.5876 GB, free: 4.02 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.434184536803514]