Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001839/0.002938, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002601, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9873/0.9873, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09447/1.082, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2623/0.2623, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02852/0.2908, allocations: 13.22 MB / 292.6 MB, free: 6.484 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.391e-05, allocations: 5.016 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3262/0.3263, allocations: 150.8 MB / 444.6 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00388/0.3301, allocations: 2.968 MB / 447.6 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.3306, allocations: 28.12 kB / 447.6 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.3311, allocations: 248.9 kB / 447.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.3341, allocations: 1.682 MB / 449.6 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.3358, allocations: 1.006 MB / 450.6 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.3377, allocations: 2.309 MB / 452.9 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006625/0.3384, allocations: 0.5493 MB / 453.4 MB, free: 3.457 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.34, allocations: 1.461 MB / 454.9 MB, free: 3.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007536/0.3408, allocations: 0.7367 MB / 455.6 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.3409, allocations: 93.03 kB / 455.7 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.343, allocations: 1.515 MB / 457.2 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.3433, allocations: 390.6 kB / 457.6 MB, free: 3.242 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003448/0.3436, allocations: 319.8 kB / 457.9 MB, free: 3.211 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.3455, allocations: 1.604 MB / 459.5 MB, free: 3.039 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.3456, allocations: 0.9375 kB / 459.5 MB, free: 3.039 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3456, allocations: 0 / 459.5 MB, free: 3.039 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.927e-05/0.3456, allocations: 2.906 kB / 459.5 MB, free: 3.039 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.002242/0.3478, allocations: 1.7 MB / 461.2 MB, free: 18.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3479, allocations: 9.109 kB / 461.2 MB, free: 18.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.3482, allocations: 160.4 kB / 461.4 MB, free: 18.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.3488, allocations: 483 kB / 461.9 MB, free: 18.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.613e-05/0.3489, allocations: 170.6 kB / 462 MB, free: 17.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.356e-05/0.349, allocations: 80.17 kB / 462.1 MB, free: 17.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/0.3497, allocations: 1.111 MB / 463.2 MB, free: 17.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3497, allocations: 0 / 463.2 MB, free: 17.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.3498, allocations: 32.75 kB / 463.2 MB, free: 17.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/0.3498, allocations: 64.06 kB / 463.3 MB, free: 17.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.3503, allocations: 421.2 kB / 463.7 MB, free: 17.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.3529, allocations: 2.688 MB / 466.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.3534, allocations: 453 kB / 466.9 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.3536, allocations: 144.2 kB / 467 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.3538, allocations: 131.6 kB / 467.1 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.3538, allocations: 47.78 kB / 467.2 MB, free: 15.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/0.3538, allocations: 0.9062 kB / 467.2 MB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.003759/0.3576, allocations: 2.098 MB / 469.3 MB, free: 15.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.3576, allocations: 64.75 kB / 469.3 MB, free: 15.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.3579, allocations: 480.1 kB / 469.8 MB, free: 15.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.3579, allocations: 45.2 kB / 469.8 MB, free: 15.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.358, allocations: 361.8 kB / 470.2 MB, free: 14.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.3581, allocations: 303.7 kB / 470.5 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.3583, allocations: 195.7 kB / 470.7 MB, free: 14.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3584, allocations: 383.6 kB / 471.1 MB, free: 14.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3586, allocations: 135.7 kB / 471.2 MB, free: 14.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.3589, allocations: 473 kB / 471.7 MB, free: 14.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.3594, allocations: 0.6426 MB / 472.3 MB, free: 13.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3594, allocations: 6.438 kB / 472.3 MB, free: 13.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0007716/0.3601, allocations: 0.703 MB / 473 MB, free: 13.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3602, allocations: 10.22 kB / 473 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.3602, allocations: 8 kB / 473 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/0.3625, allocations: 0.9789 MB / 474 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.3629, allocations: 184.8 kB / 474.2 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008135/0.3637, allocations: 0.8286 MB / 475 MB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.3642, allocations: 41.06 kB / 475.1 MB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.3642, allocations: 44.23 kB / 475.1 MB, free: 13.05 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.0002204/0.3645, allocations: 178 kB / 475.3 MB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.3646, allocations: 78.23 kB / 475.3 MB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.3658, allocations: 0.8891 MB / 476.2 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3658, allocations: 12.39 kB / 476.2 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.3658, allocations: 3.188 kB / 476.2 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3658, allocations: 3.141 kB / 476.3 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.3674, allocations: 1.212 MB / 477.5 MB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.3674, allocations: 0 / 477.5 MB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008067/0.3683, allocations: 253.5 kB / 477.7 MB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.3685, allocations: 128.8 kB / 477.8 MB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006984/0.3692, allocations: 243.4 kB / 478.1 MB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.3692, allocations: 35.3 kB / 478.1 MB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.3706, allocations: 1.824 MB / 479.9 MB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3706, allocations: 0 / 479.9 MB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3716, allocations: 0.8456 MB / 480.8 MB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/0.3717, allocations: 22.59 kB / 480.8 MB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.3721, allocations: 40 kB / 480.8 MB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.3722, allocations: 62.84 kB / 480.9 MB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/0.3722, allocations: 39.98 kB / 480.9 MB, free: 10.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.3724, allocations: 209.6 kB / 481.1 MB, free: 10.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3724, allocations: 0.875 kB / 481.1 MB, free: 10.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001072/0.3735, allocations: 0.4966 MB / 481.6 MB, free: 10.19 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.0008831/0.3744, allocations: 0.5225 MB / 482.2 MB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008449/0.3752, allocations: 0.5452 MB / 482.7 MB, free: 10.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-05/0.3752, allocations: 18.27 kB / 482.7 MB, free: 10.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006426/0.3759, allocations: 357.5 kB / 483.1 MB, free: 9.988 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.3772, allocations: 0.5461 MB / 483.6 MB, free: 9.941 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.3883, allocations: 1.728 MB / 485.3 MB, free: 9.223 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.3885, allocations: 225.3 kB / 485.6 MB, free: 9.148 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006755/0.3891, allocations: 241.1 kB / 485.8 MB, free: 9.109 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009003/0.39, allocations: 400.4 kB / 486.2 MB, free: 9.039 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.39, allocations: 0 / 486.2 MB, free: 9.039 MB / 442.7 MB Notification: Performance of Templates: time 0.03416/0.4242, allocations: 29.47 MB / 0.5036 GB, free: 6.645 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.200852918438613]