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.001035/0.001035, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002556, 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.0007569/0.0007569, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000963/0.00172, 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 0.9822/0.9822, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07751/1.06, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.2648/0.2648, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02411/0.2889, allocations: 13.1 MB / 291.3 MB, free: 7.359 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.583e-06/1.583e-06, allocations: 0 / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.429e-05, allocations: 3.188 kB / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3267/0.3267, allocations: 150.7 MB / 443.4 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004275/0.331, allocations: 2.974 MB / 446.4 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.3315, allocations: 32.06 kB / 446.4 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.332, allocations: 255.4 kB / 446.6 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.335, allocations: 1.678 MB / 448.3 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.3365, allocations: 0.998 MB / 449.3 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.3384, allocations: 2.305 MB / 451.6 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000622/0.339, allocations: 0.5629 MB / 452.2 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.3406, allocations: 1.459 MB / 453.6 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008323/0.3415, allocations: 0.732 MB / 454.4 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.3416, allocations: 98.06 kB / 454.5 MB, free: 3.383 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.3435, allocations: 1.518 MB / 456 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.3438, allocations: 387.9 kB / 456.4 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.3441, allocations: 319.2 kB / 456.7 MB, free: 3.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.3459, allocations: 1.607 MB / 458.3 MB, free: 3.078 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.3459, allocations: 0.9688 kB / 458.3 MB, free: 3.078 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3459, allocations: 0 / 458.3 MB, free: 3.078 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.394e-05/0.3459, allocations: 3.188 kB / 458.3 MB, free: 3.078 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.002339/0.3483, allocations: 1.696 MB / 460 MB, free: 18.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.3483, allocations: 9.406 kB / 460 MB, free: 18.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.3486, allocations: 161.5 kB / 460.2 MB, free: 18.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.3491, allocations: 482.2 kB / 460.6 MB, free: 18.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-05/0.3492, allocations: 166.9 kB / 460.8 MB, free: 18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.783e-05/0.3493, allocations: 84.8 kB / 460.9 MB, free: 18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/0.3501, allocations: 1.111 MB / 462 MB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.3502, allocations: 7.516 kB / 462 MB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.3502, allocations: 35.17 kB / 462 MB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.3503, allocations: 54.52 kB / 462.1 MB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.3508, allocations: 419.4 kB / 462.5 MB, free: 17.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.3535, allocations: 2.686 MB / 465.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.3541, allocations: 452.6 kB / 465.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3542, allocations: 137.2 kB / 465.7 MB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.3545, allocations: 129.3 kB / 465.9 MB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3545, allocations: 44.91 kB / 465.9 MB, free: 15.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 1.914e-06/0.3545, allocations: 3.812 kB / 465.9 MB, free: 15.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.003813/0.3583, allocations: 2.107 MB / 468 MB, free: 15.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.3583, allocations: 64.19 kB / 468.1 MB, free: 15.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.3586, allocations: 477.9 kB / 468.6 MB, free: 15.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.3586, allocations: 41.08 kB / 468.6 MB, free: 15.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3588, allocations: 360.7 kB / 468.9 MB, free: 14.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.3589, allocations: 307.9 kB / 469.2 MB, free: 14.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.3591, allocations: 188.3 kB / 469.4 MB, free: 14.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3592, allocations: 386.4 kB / 469.8 MB, free: 14.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.3593, allocations: 139.5 kB / 469.9 MB, free: 14.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.3596, allocations: 478.2 kB / 470.4 MB, free: 14.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.3601, allocations: 0.6427 MB / 471.1 MB, free: 13.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3601, allocations: 3.5 kB / 471.1 MB, free: 13.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0007579/0.3608, allocations: 0.7068 MB / 471.8 MB, free: 13.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3609, allocations: 8.594 kB / 471.8 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3609, allocations: 9.875 kB / 471.8 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002331/0.3632, allocations: 0.9808 MB / 472.8 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.3636, allocations: 184.4 kB / 472.9 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007273/0.3643, allocations: 0.8325 MB / 473.8 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.3646, allocations: 42.56 kB / 473.8 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.3647, allocations: 45.06 kB / 473.9 MB, free: 13.09 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.0002099/0.3649, allocations: 174.7 kB / 474 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.365, allocations: 82.17 kB / 474.1 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.366, allocations: 0.88 MB / 475 MB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.366, allocations: 12.94 kB / 475 MB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.366, allocations: 0 / 475 MB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.366, allocations: 5.719 kB / 475 MB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.3673, allocations: 1.216 MB / 476.2 MB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3673, allocations: 4.281 kB / 476.2 MB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.3679, allocations: 253 kB / 476.5 MB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.3681, allocations: 126.7 kB / 476.6 MB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005485/0.3686, allocations: 244.2 kB / 476.8 MB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.3687, allocations: 29.39 kB / 476.9 MB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000874/0.3696, allocations: 1.832 MB / 478.7 MB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3696, allocations: 2.562 kB / 478.7 MB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.3703, allocations: 0.8414 MB / 479.5 MB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/0.3704, allocations: 23.58 kB / 479.6 MB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.3707, allocations: 42.89 kB / 479.6 MB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.3708, allocations: 64.88 kB / 479.7 MB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.3709, allocations: 33.34 kB / 479.7 MB, free: 10.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.371, allocations: 208.9 kB / 479.9 MB, free: 10.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.371, allocations: 0 / 479.9 MB, free: 10.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009217/0.3719, allocations: 0.4997 MB / 480.4 MB, free: 10.23 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.0007805/0.3727, allocations: 0.5197 MB / 480.9 MB, free: 10.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006834/0.3734, allocations: 0.5491 MB / 481.5 MB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.176e-05/0.3734, allocations: 11.41 kB / 481.5 MB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.3739, allocations: 359.4 kB / 481.8 MB, free: 10.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009621/0.3749, allocations: 0.5364 MB / 482.4 MB, free: 9.973 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008071/0.3829, allocations: 1.725 MB / 484.1 MB, free: 9.258 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3831, allocations: 224.7 kB / 484.3 MB, free: 9.184 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000463/0.3835, allocations: 238.4 kB / 484.6 MB, free: 9.145 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/0.3842, allocations: 407.4 kB / 485 MB, free: 9.074 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3842, allocations: 0 / 485 MB, free: 9.074 MB / 442.7 MB Notification: Performance of Templates: time 0.02821/0.4124, allocations: 29.48 MB / 0.5024 GB, free: 7.148 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.188114077784121]