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.001091/0.001091, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001653/0.002745, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001095/0.001095, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002392, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1214/1.137, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.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.3657/0.3657, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03438/0.4001, allocations: 12.52 MB / 289.3 MB, free: 8.684 MB / 282.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 2.354e-06/2.354e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.621e-05, allocations: 3.297 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.1968/0.1968, allocations: 150.8 MB / 441.4 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.264/0.4608, allocations: 2.974 MB / 444.4 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008866/0.4617, allocations: 30.31 kB / 444.4 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000771/0.4625, allocations: 248.3 kB / 444.6 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.467, allocations: 1.682 MB / 446.3 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.4695, allocations: 1 MB / 447.3 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00299/0.4725, allocations: 2.312 MB / 449.6 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.4735, allocations: 0.5481 MB / 450.2 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.4765, allocations: 1.46 MB / 451.6 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.4778, allocations: 0.7377 MB / 452.4 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.478, allocations: 93.06 kB / 452.5 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.4809, allocations: 1.517 MB / 454 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004841/0.4814, allocations: 391.5 kB / 454.4 MB, free: 3.309 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005425/0.482, allocations: 322 kB / 454.7 MB, free: 3.277 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.4849, allocations: 1.602 MB / 456.3 MB, free: 3.105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.4849, allocations: 1.125 kB / 456.3 MB, free: 3.105 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4849, allocations: 0 / 456.3 MB, free: 3.105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.495e-05/0.485, allocations: 3 kB / 456.3 MB, free: 3.105 MB / 426.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.003049/0.488, allocations: 1.695 MB / 458 MB, free: 18.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4881, allocations: 11.38 kB / 458 MB, free: 18.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.4885, allocations: 159.8 kB / 458.1 MB, free: 18.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.4892, allocations: 479.7 kB / 458.6 MB, free: 18.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.4893, allocations: 178 kB / 458.8 MB, free: 18.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.4894, allocations: 79.06 kB / 458.9 MB, free: 18.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009342/0.4904, allocations: 1.104 MB / 460 MB, free: 17.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.4904, allocations: 6.594 kB / 460 MB, free: 17.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.4904, allocations: 35.64 kB / 460 MB, free: 17.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.868e-05/0.4905, allocations: 55.73 kB / 460.1 MB, free: 17.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.4911, allocations: 427 kB / 460.5 MB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.4942, allocations: 2.679 MB / 463.2 MB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/0.4948, allocations: 455.5 kB / 463.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.495, allocations: 142.9 kB / 463.7 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/0.4953, allocations: 126.8 kB / 463.9 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.4954, allocations: 49.56 kB / 463.9 MB, free: 15.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 6.252e-06/0.4954, allocations: 5.016 kB / 463.9 MB, free: 15.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.004641/0.5, allocations: 2.093 MB / 466 MB, free: 15.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.5001, allocations: 60.91 kB / 466.1 MB, free: 15.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.5005, allocations: 488.5 kB / 466.5 MB, free: 15.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/0.5005, allocations: 42.36 kB / 466.6 MB, free: 15.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.5007, allocations: 360.4 kB / 466.9 MB, free: 15.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.5008, allocations: 297.8 kB / 467.2 MB, free: 14.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.501, allocations: 199.8 kB / 467.4 MB, free: 14.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5012, allocations: 389.8 kB / 467.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.5014, allocations: 132.1 kB / 467.9 MB, free: 14.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.5017, allocations: 480.9 kB / 468.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.5023, allocations: 0.6413 MB / 469 MB, free: 13.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.5024, allocations: 3.469 kB / 469 MB, free: 13.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0009282/0.5033, allocations: 0.7037 MB / 469.8 MB, free: 13.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5033, allocations: 8.969 kB / 469.8 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.5033, allocations: 8.781 kB / 469.8 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00258/0.5059, allocations: 0.9826 MB / 470.8 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.5063, allocations: 185.3 kB / 470.9 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007914/0.5071, allocations: 0.8255 MB / 471.8 MB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.5076, allocations: 46.09 kB / 471.8 MB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.5076, allocations: 46.48 kB / 471.8 MB, free: 13.12 MB / 442.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.0003478/0.508, allocations: 179.8 kB / 472 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.5081, allocations: 80.83 kB / 472.1 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.5093, allocations: 0.88 MB / 473 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.5093, allocations: 7.75 kB / 473 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5093, allocations: 0.625 kB / 473 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.5093, allocations: 5.953 kB / 473 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.511, allocations: 1.216 MB / 474.2 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.511, allocations: 3.375 kB / 474.2 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.5116, allocations: 256.1 kB / 474.5 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.5118, allocations: 128.7 kB / 474.6 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005985/0.5124, allocations: 251.2 kB / 474.8 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.5125, allocations: 26.03 kB / 474.9 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.5136, allocations: 1.82 MB / 476.7 MB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5136, allocations: 2.219 kB / 476.7 MB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/0.5146, allocations: 0.8399 MB / 477.5 MB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.305e-05/0.5147, allocations: 26.38 kB / 477.5 MB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.515, allocations: 44.25 kB / 477.6 MB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.5151, allocations: 68.14 kB / 477.7 MB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/0.5152, allocations: 33.95 kB / 477.7 MB, free: 10.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001763/0.5153, allocations: 207.9 kB / 477.9 MB, free: 10.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5153, allocations: 0.75 kB / 477.9 MB, free: 10.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001379/0.5167, allocations: 0.4956 MB / 478.4 MB, free: 10.27 MB / 442.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.001045/0.5178, allocations: 0.5167 MB / 478.9 MB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00097/0.5187, allocations: 0.5427 MB / 479.5 MB, free: 10.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.565e-05/0.5188, allocations: 15.53 kB / 479.5 MB, free: 10.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005863/0.5194, allocations: 360.1 kB / 479.8 MB, free: 10.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.5206, allocations: 0.5413 MB / 480.4 MB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.5296, allocations: 1.727 MB / 482.1 MB, free: 9.301 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.5298, allocations: 233 kB / 482.3 MB, free: 9.223 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008996/0.5307, allocations: 234 kB / 482.5 MB, free: 9.184 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/0.5314, allocations: 406.6 kB / 482.9 MB, free: 9.113 MB / 442.7 MB Notification: Performance of SimCode: time 1.924e-06/0.5314, allocations: 0.875 kB / 482.9 MB, free: 9.113 MB / 442.7 MB Notification: Performance of Templates: time 0.03767/0.5691, allocations: 29.49 MB / 0.5004 GB, free: 8.168 MB / 458.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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.685491459444165]