Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007835/0.0007835, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.00195, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007353/0.0007353, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.00176, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9875/0.9875, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.088, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.286/0.286, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02474/0.3108, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 3.938 kB / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.122e-05, allocations: 3.297 kB / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3373/0.3374, allocations: 150.8 MB / 443.6 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004804/0.3422, allocations: 2.985 MB / 446.6 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.3428, allocations: 27.84 kB / 446.6 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.3435, allocations: 250 kB / 446.9 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00381/0.3473, allocations: 1.681 MB / 448.5 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.3491, allocations: 0.9945 MB / 449.5 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002469/0.3516, allocations: 2.308 MB / 451.8 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/0.3524, allocations: 0.549 MB / 452.4 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.3549, allocations: 1.461 MB / 453.9 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.356, allocations: 0.7437 MB / 454.6 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.3562, allocations: 93.72 kB / 454.7 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.3589, allocations: 1.51 MB / 456.2 MB, free: 3.312 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004/0.3593, allocations: 392.4 kB / 456.6 MB, free: 3.273 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.3598, allocations: 324.5 kB / 456.9 MB, free: 3.238 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.3622, allocations: 1.602 MB / 458.5 MB, free: 3.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.3622, allocations: 8.469 kB / 458.5 MB, free: 3.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3622, allocations: 0 / 458.5 MB, free: 3.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.174e-05/0.3623, allocations: 0 / 458.5 MB, free: 3.066 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.00287/0.3651, allocations: 1.69 MB / 460.2 MB, free: 18.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3652, allocations: 12.91 kB / 460.2 MB, free: 18.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.3658, allocations: 161.7 kB / 460.4 MB, free: 18.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008627/0.3666, allocations: 483.6 kB / 460.8 MB, free: 18.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.3667, allocations: 167.2 kB / 461 MB, free: 17.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3668, allocations: 83.56 kB / 461.1 MB, free: 17.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/0.3678, allocations: 1.107 MB / 462.2 MB, free: 17.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.3678, allocations: 4.781 kB / 462.2 MB, free: 17.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.3678, allocations: 32.84 kB / 462.2 MB, free: 17.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-05/0.3679, allocations: 63.02 kB / 462.3 MB, free: 17.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00057/0.3685, allocations: 411.6 kB / 462.7 MB, free: 17.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.3715, allocations: 2.69 MB / 465.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.3722, allocations: 457 kB / 465.8 MB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.3723, allocations: 140 kB / 466 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000305/0.3726, allocations: 129.7 kB / 466.1 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3727, allocations: 43.62 kB / 466.1 MB, free: 15.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 2.444e-06/0.3727, allocations: 1.031 kB / 466.1 MB, free: 15.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.005119/0.3778, allocations: 2.395 MB / 468.5 MB, free: 15.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.3778, allocations: 63 kB / 468.6 MB, free: 15.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.3782, allocations: 479.4 kB / 469.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.716e-05/0.3783, allocations: 42.14 kB / 469.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.3785, allocations: 368.5 kB / 469.5 MB, free: 14.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.3786, allocations: 304.2 kB / 469.8 MB, free: 14.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.3788, allocations: 190.4 kB / 470 MB, free: 14.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.379, allocations: 386.3 kB / 470.3 MB, free: 14.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.3792, allocations: 135.5 kB / 470.5 MB, free: 14.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.3795, allocations: 483.2 kB / 470.9 MB, free: 14.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/0.3801, allocations: 0.6747 MB / 471.6 MB, free: 13.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3801, allocations: 0 / 471.6 MB, free: 13.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0008352/0.3809, allocations: 0.7027 MB / 472.3 MB, free: 13.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3809, allocations: 12.81 kB / 472.3 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.381, allocations: 7.625 kB / 472.3 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/0.3834, allocations: 0.9778 MB / 473.3 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.3837, allocations: 187.7 kB / 473.5 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007088/0.3844, allocations: 0.8282 MB / 474.3 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.3848, allocations: 44.08 kB / 474.4 MB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/0.3849, allocations: 45.59 kB / 474.4 MB, free: 13.08 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.0002639/0.3852, allocations: 177 kB / 474.6 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3853, allocations: 78.17 kB / 474.7 MB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.3863, allocations: 0.8795 MB / 475.5 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.3863, allocations: 12.92 kB / 475.5 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3863, allocations: 0 / 475.5 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3863, allocations: 2.719 kB / 475.6 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.3878, allocations: 1.219 MB / 476.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3878, allocations: 3.531 kB / 476.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.3884, allocations: 250.3 kB / 477 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.3887, allocations: 132.4 kB / 477.1 MB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005908/0.3893, allocations: 242.3 kB / 477.4 MB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.3893, allocations: 31.98 kB / 477.4 MB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.3904, allocations: 1.829 MB / 479.2 MB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3904, allocations: 3.188 kB / 479.2 MB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.3913, allocations: 0.8442 MB / 480.1 MB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-05/0.3914, allocations: 22.91 kB / 480.1 MB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.3917, allocations: 47.52 kB / 480.2 MB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/0.3918, allocations: 62.69 kB / 480.2 MB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.3919, allocations: 32.91 kB / 480.3 MB, free: 10.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.3921, allocations: 209.9 kB / 480.5 MB, free: 10.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3921, allocations: 0 / 480.5 MB, free: 10.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00117/0.3932, allocations: 0.5 MB / 481 MB, free: 10.22 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.0009044/0.3941, allocations: 0.517 MB / 481.5 MB, free: 10.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008234/0.395, allocations: 0.5517 MB / 482 MB, free: 10.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-05/0.395, allocations: 14.81 kB / 482 MB, free: 10.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.3956, allocations: 417.1 kB / 482.4 MB, free: 9.992 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.3973, allocations: 2.122 MB / 484.6 MB, free: 8.078 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008191/0.4055, allocations: 1.721 MB / 486.3 MB, free: 7.363 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.4056, allocations: 223.3 kB / 486.5 MB, free: 7.285 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006971/0.4063, allocations: 223.2 kB / 486.7 MB, free: 7.246 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007651/0.4071, allocations: 407.5 kB / 487.1 MB, free: 7.176 MB / 442.7 MB Notification: Performance of SimCode: time 1.974e-06/0.4071, allocations: 0 / 487.1 MB, free: 7.176 MB / 442.7 MB Notification: Performance of Templates: time 0.03233/0.4394, allocations: 28.92 MB / 0.504 GB, free: 5.414 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.104141943156719]