Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008157/0.0008157, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001865, allocations: 452 kB / 10.43 MB, free: 264 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.0007902/0.0007902, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009755/0.001766, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9575/0.9575, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1573/1.115, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1282/0.1282, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02209/0.1503, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.341e-05, allocations: 6.25 kB / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2867/0.2868, allocations: 149 MB / 416.4 MB, free: 2.918 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007183/0.294, allocations: 5.415 MB / 421.9 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006294/0.2946, allocations: 31.69 kB / 421.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.2952, allocations: 242.4 kB / 422.1 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.299, allocations: 1.729 MB / 423.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.3009, allocations: 1.009 MB / 424.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.3032, allocations: 2.301 MB / 427.2 MB, free: 8.203 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.304, allocations: 0.5489 MB / 427.7 MB, free: 7.633 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.3059, allocations: 1.453 MB / 429.2 MB, free: 6.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008547/0.3068, allocations: 0.7324 MB / 429.9 MB, free: 5.445 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.3069, allocations: 96 kB / 430 MB, free: 5.352 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.3095, allocations: 1.513 MB / 431.5 MB, free: 3.836 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.3098, allocations: 387.1 kB / 431.9 MB, free: 3.457 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.3102, allocations: 319.5 kB / 432.2 MB, free: 3.145 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.3128, allocations: 1.597 MB / 433.8 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.3128, allocations: 0 / 433.8 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3128, allocations: 0 / 433.8 MB, free: 1.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.3128, allocations: 0 / 433.8 MB, free: 1.543 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.002392/0.3152, allocations: 1.706 MB / 435.5 MB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.3152, allocations: 8.031 kB / 435.5 MB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.3156, allocations: 160.6 kB / 435.7 MB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.3162, allocations: 481.6 kB / 436.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.3163, allocations: 168.8 kB / 436.3 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.3164, allocations: 83.94 kB / 436.4 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008676/0.3173, allocations: 1.139 MB / 437.5 MB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.3173, allocations: 4 kB / 437.5 MB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.3174, allocations: 39.98 kB / 437.6 MB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/0.3174, allocations: 53.97 kB / 437.6 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.3179, allocations: 432.3 kB / 438 MB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.3207, allocations: 2.696 MB / 440.7 MB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.3212, allocations: 467.5 kB / 441.2 MB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.3214, allocations: 137.6 kB / 441.3 MB, free: 9.652 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/0.3218, allocations: 214.5 kB / 441.5 MB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3218, allocations: 47.22 kB / 441.6 MB, free: 9.387 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 1.874e-06/0.3218, allocations: 0 / 441.6 MB, free: 9.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=82): time 0.004862/0.3267, allocations: 2.478 MB / 444.1 MB, free: 6.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.3267, allocations: 60.06 kB / 444.1 MB, free: 6.805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.327, allocations: 474.9 kB / 444.6 MB, free: 6.328 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.3271, allocations: 45.7 kB / 444.6 MB, free: 6.277 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.3272, allocations: 361.1 kB / 445 MB, free: 5.918 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.3274, allocations: 309.3 kB / 445.3 MB, free: 5.613 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.3276, allocations: 186.8 kB / 445.5 MB, free: 5.426 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3277, allocations: 386.6 kB / 445.8 MB, free: 5.039 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.3279, allocations: 137.4 kB / 446 MB, free: 4.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.3282, allocations: 476.6 kB / 446.4 MB, free: 4.309 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006022/0.3288, allocations: 0.6748 MB / 447.1 MB, free: 3.512 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3288, allocations: 4 kB / 447.1 MB, free: 3.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0008452/0.3296, allocations: 0.7141 MB / 447.8 MB, free: 2.777 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3297, allocations: 12 kB / 447.8 MB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3297, allocations: 8 kB / 447.8 MB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/0.3322, allocations: 0.9914 MB / 448.8 MB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.3325, allocations: 183.7 kB / 449 MB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007556/0.3333, allocations: 0.8322 MB / 449.9 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.3336, allocations: 47.97 kB / 449.9 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.3337, allocations: 47.98 kB / 449.9 MB, free: 0.6289 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.0002266/0.3339, allocations: 180.4 kB / 450.1 MB, free: 452 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.334, allocations: 71.92 kB / 450.2 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1821/0.5161, allocations: 0.8234 MB / 451 MB, free: 28.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.5161, allocations: 11.25 kB / 451 MB, free: 28.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5161, allocations: 0 / 451 MB, free: 28.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5162, allocations: 4.906 kB / 451 MB, free: 28.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.5185, allocations: 1.175 MB / 452.2 MB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.5185, allocations: 1.688 kB / 452.2 MB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.5196, allocations: 255.1 kB / 452.5 MB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.52, allocations: 128.6 kB / 452.6 MB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009844/0.521, allocations: 247.9 kB / 452.8 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.5211, allocations: 28.5 kB / 452.9 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.5223, allocations: 1.828 MB / 454.7 MB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.5223, allocations: 2.344 kB / 454.7 MB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.5238, allocations: 0.8197 MB / 455.5 MB, free: 25.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.524, allocations: 20.3 kB / 455.5 MB, free: 25.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.5245, allocations: 42.94 kB / 455.6 MB, free: 25.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.5246, allocations: 68.28 kB / 455.6 MB, free: 25.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.5248, allocations: 38.56 kB / 455.7 MB, free: 25.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003072/0.5251, allocations: 211.6 kB / 455.9 MB, free: 25.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5251, allocations: 1.031 kB / 455.9 MB, free: 25.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001485/0.5265, allocations: 0.4892 MB / 456.4 MB, free: 25.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.001307/0.5279, allocations: 0.544 MB / 456.9 MB, free: 25.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.529, allocations: 0.5548 MB / 457.5 MB, free: 25.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.623e-05/0.5291, allocations: 18.59 kB / 457.5 MB, free: 25.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009226/0.53, allocations: 416.1 kB / 457.9 MB, free: 25.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.532, allocations: 2.105 MB / 460 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.5438, allocations: 1.701 MB / 461.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.544, allocations: 227.3 kB / 461.9 MB, free: 22.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008885/0.5449, allocations: 170 kB / 462.1 MB, free: 22.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009904/0.5459, allocations: 413.3 kB / 462.5 MB, free: 22.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/0.5459, allocations: 0 / 462.5 MB, free: 22.83 MB / 426.7 MB Notification: Performance of Templates: time 0.03331/0.5792, allocations: 29.24 MB / 491.7 MB, free: 15.64 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.058176246471703]