Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001242/0.001242, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001391/0.001391, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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.9718/0.9718, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1297/0.1297, allocations: 32.81 MB / 295.4 MB, free: 15.4 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.404e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3429/0.3429, allocations: 148.1 MB / 0.5131 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.3465, allocations: 2.911 MB / 0.5159 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004145/0.3469, allocations: 26.81 kB / 0.516 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.3475, allocations: 246.3 kB / 0.5162 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.3506, allocations: 1.755 MB / 0.5179 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.3521, allocations: 1.019 MB / 0.5189 GB, free: 13.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.3541, allocations: 2.285 MB / 0.5211 GB, free: 13.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006551/0.3547, allocations: 0.5445 MB / 0.5217 GB, free: 13.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.3565, allocations: 1.443 MB / 0.5231 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008634/0.3574, allocations: 0.7786 MB / 0.5238 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.3575, allocations: 93.19 kB / 0.5239 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.3593, allocations: 1.454 MB / 0.5254 GB, free: 12.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.3596, allocations: 465.1 kB / 0.5258 GB, free: 12.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.36, allocations: 408.8 kB / 0.5262 GB, free: 12.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.362, allocations: 1.874 MB / 0.528 GB, free: 12.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.362, allocations: 0 / 0.528 GB, free: 12.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.362, allocations: 0 / 0.528 GB, free: 12.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.3621, allocations: 0 / 0.528 GB, free: 12.55 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.001822/0.3639, allocations: 1.481 MB / 0.5295 GB, free: 11.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.3639, allocations: 12.45 kB / 0.5295 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002902/0.3642, allocations: 189.2 kB / 0.5297 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.3647, allocations: 0.5432 MB / 0.5302 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.574e-05/0.3648, allocations: 172.5 kB / 0.5304 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.3649, allocations: 80.08 kB / 0.5304 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.3656, allocations: 1.134 MB / 0.5315 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3657, allocations: 0 / 0.5315 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.3657, allocations: 37.86 kB / 0.5316 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.3658, allocations: 55.5 kB / 0.5316 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/0.3663, allocations: 456.6 kB / 0.5321 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.3688, allocations: 3.551 MB / 0.5355 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/0.3694, allocations: 457.5 kB / 0.536 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3695, allocations: 151.4 kB / 0.5361 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.3697, allocations: 103.4 kB / 0.5362 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3698, allocations: 55.19 kB / 0.5363 GB, free: 7.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 1.603e-06/0.3698, allocations: 0 / 0.5363 GB, free: 7.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.003915/0.3737, allocations: 2.12 MB / 0.5383 GB, free: 6.438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.3737, allocations: 118.3 kB / 0.5384 GB, free: 6.305 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.374, allocations: 0.5454 MB / 0.539 GB, free: 6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.374, allocations: 42.89 kB / 0.539 GB, free: 5.957 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3742, allocations: 462.5 kB / 0.5395 GB, free: 5.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3743, allocations: 303.2 kB / 0.5398 GB, free: 5.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.3745, allocations: 220 kB / 0.54 GB, free: 5.207 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.3746, allocations: 0.5625 MB / 0.5405 GB, free: 4.688 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3748, allocations: 152.8 kB / 0.5407 GB, free: 4.645 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.3752, allocations: 0.6098 MB / 0.5413 GB, free: 4.043 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.3757, allocations: 0.7552 MB / 0.542 GB, free: 3.426 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3758, allocations: 2.812 kB / 0.542 GB, free: 3.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001014/0.3768, allocations: 0.8872 MB / 0.5429 GB, free: 3.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3768, allocations: 10.16 kB / 0.5429 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3768, allocations: 8.188 kB / 0.5429 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/0.3793, allocations: 0.9523 MB / 0.5438 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.3796, allocations: 158.3 kB / 0.544 GB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007471/0.3804, allocations: 1.154 MB / 0.5451 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.3807, allocations: 41.86 kB / 0.5451 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.3808, allocations: 44.52 kB / 0.5452 GB, free: 1.688 MB / 410.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.0002022/0.381, allocations: 225.2 kB / 0.5454 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3811, allocations: 106.1 kB / 0.5455 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.3823, allocations: 1.024 MB / 0.5465 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.3823, allocations: 12.3 kB / 0.5465 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3823, allocations: 2.969 kB / 0.5465 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3823, allocations: 3.984 kB / 0.5465 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.3837, allocations: 1.366 MB / 0.5478 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3837, allocations: 7.625 kB / 0.5478 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.3843, allocations: 224 kB / 0.5481 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006562/0.385, allocations: 246.6 kB / 0.5483 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.385, allocations: 26.58 kB / 0.5483 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.3863, allocations: 2.68 MB / 0.5509 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3863, allocations: 3.828 kB / 0.5509 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3873, allocations: 0.9797 MB / 0.5519 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.3875, allocations: 173 kB / 0.5521 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/0.3876, allocations: 24.58 kB / 0.5521 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.3879, allocations: 47.41 kB / 0.5521 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.388, allocations: 66.33 kB / 0.5522 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.3881, allocations: 38.16 kB / 0.5522 GB, free: 12.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.3883, allocations: 332.8 kB / 0.5525 GB, free: 12.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3883, allocations: 0 / 0.5525 GB, free: 12.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001051/0.3893, allocations: 499.9 kB / 0.553 GB, free: 12.12 MB / 426.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.0007852/0.3901, allocations: 0.5199 MB / 0.5535 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000808/0.3909, allocations: 0.5982 MB / 0.5541 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3909, allocations: 3.562 kB / 0.5541 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.3915, allocations: 380.3 kB / 0.5545 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.3926, allocations: 451.6 kB / 0.5549 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.3954, allocations: 1.712 MB / 0.5566 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.3955, allocations: 233.2 kB / 0.5568 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000432/0.396, allocations: 233.9 kB / 0.557 GB, free: 9.977 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/0.3967, allocations: 483.4 kB / 0.5575 GB, free: 9.777 MB / 426.7 MB Notification: Performance of SimCode: time 9.01e-07/0.3967, allocations: 0 / 0.5575 GB, free: 9.777 MB / 426.7 MB Notification: Performance of Templates: time 0.02917/0.4259, allocations: 28.81 MB / 0.5856 GB, free: 13.49 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.352619600947946]