Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.001877/0.001877, allocations: 95.55 kB / 21.73 MB, free: 2.691 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.001911/0.001911, allocations: 167 kB / 25.03 MB, free: 8.941 MB / 18.57 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 1.337/1.337, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.661e-05, allocations: 2.312 kB / 250.4 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4274/0.4275, allocations: 180 MB / 430.4 MB, free: 1.789 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006486/0.434, allocations: 4.828 MB / 435.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.4343, allocations: 6.594 kB / 435.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009257/0.4352, allocations: 233.5 kB / 435.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009214/0.4362, allocations: 400.5 kB / 435.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00875/0.4449, allocations: 2.937 MB / 438.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.4469, allocations: 1.177 MB / 440 MB, free: 9.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.4472, allocations: 98.64 kB / 440.1 MB, free: 9.746 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/0.4518, allocations: 1.654 MB / 441.7 MB, free: 8.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.4526, allocations: 399 kB / 442.1 MB, free: 7.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.4527, allocations: 64 kB / 442.2 MB, free: 7.633 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008504/0.4612, allocations: 3.501 MB / 445.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000471/0.4617, allocations: 247.4 kB / 445.9 MB, free: 3.883 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.4622, allocations: 251.6 kB / 446.2 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008569/0.4708, allocations: 3.183 MB / 449.3 MB, free: 456 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4708, allocations: 0 / 449.3 MB, free: 456 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4708, allocations: 0 / 449.3 MB, free: 456 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.4708, allocations: 0 / 449.3 MB, free: 456 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003065/0.4739, allocations: 1.225 MB / 450.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/0.474, allocations: 11.98 kB / 450.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004766/0.4744, allocations: 115.4 kB / 450.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.4751, allocations: 311.1 kB / 451 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.4751, allocations: 33 kB / 451 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.4752, allocations: 51.95 kB / 451.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.4763, allocations: 0.7097 MB / 451.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4764, allocations: 0 / 451.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.4764, allocations: 20 kB / 451.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.4764, allocations: 8 kB / 451.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.4774, allocations: 479.7 kB / 452.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.4808, allocations: 1.345 MB / 453.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.482, allocations: 433.6 kB / 454 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.4824, allocations: 189.1 kB / 454.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.4827, allocations: 104.3 kB / 454.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.4827, allocations: 45.83 kB / 454.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.4827, allocations: 0 / 454.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.01102/0.4938, allocations: 2.634 MB / 457 MB, free: 8.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.4938, allocations: 64 kB / 457.1 MB, free: 8.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.4942, allocations: 310.6 kB / 457.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/0.4943, allocations: 37.7 kB / 457.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.4945, allocations: 252.1 kB / 457.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.4948, allocations: 258 kB / 457.9 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.495, allocations: 143.9 kB / 458.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003291/0.4954, allocations: 0.5391 MB / 458.6 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.4959, allocations: 217.2 kB / 458.8 MB, free: 6.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006913/0.4966, allocations: 337.2 kB / 459.1 MB, free: 6.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.4979, allocations: 0.585 MB / 459.7 MB, free: 5.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4979, allocations: 0 / 459.7 MB, free: 5.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001962/0.4999, allocations: 0.7773 MB / 460.5 MB, free: 4.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4999, allocations: 8 kB / 460.5 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4999, allocations: 0 / 460.5 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.5015, allocations: 279.6 kB / 460.8 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/0.5021, allocations: 127.7 kB / 460.9 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004729/0.5068, allocations: 4.576 MB / 465.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.5074, allocations: 23.98 kB / 465.5 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.5074, allocations: 27.98 kB / 465.5 MB, free: 15.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003767/0.5078, allocations: 216.5 kB / 465.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.508, allocations: 67.7 kB / 465.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.5103, allocations: 0.8357 MB / 466.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.5103, allocations: 11.98 kB / 466.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.5103, allocations: 4 kB / 466.7 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001924/0.5123, allocations: 0.8885 MB / 467.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.5153, allocations: 1.397 MB / 468.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5154, allocations: 0 / 468.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.5159, allocations: 123.8 kB / 469.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.5176, allocations: 295.3 kB / 469.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.5177, allocations: 27.98 kB / 469.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.5191, allocations: 1.022 MB / 470.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5191, allocations: 4.812 kB / 470.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.5217, allocations: 1.14 MB / 471.5 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.5218, allocations: 31.77 kB / 471.6 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/0.5219, allocations: 23.98 kB / 471.6 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.5225, allocations: 35.97 kB / 471.6 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.5226, allocations: 44.56 kB / 471.7 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/0.5227, allocations: 35.95 kB / 471.7 MB, free: 9.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002437/0.523, allocations: 221.1 kB / 471.9 MB, free: 8.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.523, allocations: 0 / 471.9 MB, free: 8.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001485/0.5244, allocations: 462.7 kB / 472.4 MB, free: 8.508 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * 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 {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/0.5259, allocations: 0.602 MB / 473 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.528, allocations: 0.9585 MB / 473.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.528, allocations: 4 kB / 473.9 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009022/0.5289, allocations: 360.7 kB / 474.3 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.5304, allocations: 268.4 kB / 474.6 MB, free: 6.285 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.5335, allocations: 1.16 MB / 475.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.5338, allocations: 250.4 kB / 476 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005075/0.5343, allocations: 106.2 kB / 476.1 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.5345, allocations: 56.48 kB / 476.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5345, allocations: 0 / 476.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of Templates: time 0.04102/0.5755, allocations: 20.54 MB / 496.7 MB, free: 136 kB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.160706219030544]