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.0009857/0.0009857, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009978/0.0009978, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9641/0.9641, allocations: 177.2 MB / 205 MB, free: 5.301 MB / 186.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.2646/0.2646, allocations: 34.26 MB / 295.7 MB, free: 0.6289 MB / 266.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.342e-06/1.342e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.469e-05, allocations: 5.969 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3041/0.3041, allocations: 151 MB / 0.5166 GB, free: 14.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.3077, allocations: 2.914 MB / 0.5195 GB, free: 12.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.308, allocations: 31.75 kB / 0.5195 GB, free: 12.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.3085, allocations: 235 kB / 0.5197 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.3114, allocations: 1.77 MB / 0.5214 GB, free: 11.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3128, allocations: 1.019 MB / 0.5224 GB, free: 11.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.3144, allocations: 2.276 MB / 0.5247 GB, free: 10.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006854/0.3151, allocations: 0.558 MB / 0.5252 GB, free: 9.734 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.3169, allocations: 1.432 MB / 0.5266 GB, free: 9.172 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008999/0.3178, allocations: 0.7767 MB / 0.5274 GB, free: 8.934 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.318, allocations: 94.91 kB / 0.5275 GB, free: 8.934 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.3199, allocations: 1.445 MB / 0.5289 GB, free: 8.555 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.3203, allocations: 463.9 kB / 0.5293 GB, free: 8.344 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.3206, allocations: 402.8 kB / 0.5297 GB, free: 8.191 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.3226, allocations: 1.874 MB / 0.5315 GB, free: 7.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3226, allocations: 4 kB / 0.5315 GB, free: 7.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3226, allocations: 0 / 0.5315 GB, free: 7.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.3226, allocations: 0 / 0.5315 GB, free: 7.5 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.002082/0.3247, allocations: 1.481 MB / 0.533 GB, free: 6.578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3247, allocations: 8.062 kB / 0.533 GB, free: 6.578 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/0.3251, allocations: 195.6 kB / 0.5332 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006153/0.3257, allocations: 0.5739 MB / 0.5337 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/0.3258, allocations: 165.1 kB / 0.5339 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/0.3259, allocations: 83.38 kB / 0.534 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009231/0.3268, allocations: 1.195 MB / 0.5351 GB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.3268, allocations: 5.016 kB / 0.5351 GB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/0.3269, allocations: 32.42 kB / 0.5352 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/0.3269, allocations: 60.11 kB / 0.5352 GB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/0.3277, allocations: 0.5519 MB / 0.5358 GB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.3304, allocations: 3.685 MB / 0.5394 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.3311, allocations: 485.2 kB / 0.5398 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.3313, allocations: 191.5 kB / 0.54 GB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.3315, allocations: 107.3 kB / 0.5401 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3316, allocations: 47.58 kB / 0.5402 GB, free: 1.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 1.864e-06/0.3316, allocations: 0 / 0.5402 GB, free: 1.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004315/0.3359, allocations: 2.39 MB / 0.5425 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3359, allocations: 116 kB / 0.5426 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.3363, allocations: 0.5508 MB / 0.5431 GB, free: 160 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.3363, allocations: 40.73 kB / 0.5432 GB, free: 116 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.3365, allocations: 465 kB / 0.5436 GB, free: 15.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.3367, allocations: 305.1 kB / 0.5439 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.3369, allocations: 207.7 kB / 0.5441 GB, free: 15.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3371, allocations: 0.5549 MB / 0.5446 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.3374, allocations: 186.3 kB / 0.5448 GB, free: 14.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.3378, allocations: 0.6496 MB / 0.5455 GB, free: 14.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008041/0.3386, allocations: 0.8353 MB / 0.5463 GB, free: 13.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3386, allocations: 4 kB / 0.5463 GB, free: 13.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001241/0.3399, allocations: 0.989 MB / 0.5472 GB, free: 12.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3399, allocations: 8 kB / 0.5473 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3399, allocations: 11.94 kB / 0.5473 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/0.3425, allocations: 0.9637 MB / 0.5482 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.3428, allocations: 163.7 kB / 0.5484 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009507/0.3438, allocations: 1.198 MB / 0.5495 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.3441, allocations: 43.97 kB / 0.5496 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.3441, allocations: 51.98 kB / 0.5496 GB, free: 9.715 MB / 426.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.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[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.0002123/0.3444, allocations: 233.2 kB / 0.5498 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.3445, allocations: 103.5 kB / 0.5499 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3458, allocations: 1.084 MB / 0.551 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.3458, allocations: 15.98 kB / 0.551 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3458, allocations: 0 / 0.551 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3458, allocations: 3.984 kB / 0.551 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.3476, allocations: 1.551 MB / 0.5525 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3476, allocations: 3.938 kB / 0.5525 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/0.3482, allocations: 243.9 kB / 0.5528 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/0.3488, allocations: 253.5 kB / 0.553 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.3489, allocations: 27.92 kB / 0.553 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.35, allocations: 2.699 MB / 0.5557 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.35, allocations: 3.938 kB / 0.5557 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3513, allocations: 1.096 MB / 0.5568 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.3515, allocations: 183.3 kB / 0.5569 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.3516, allocations: 23.98 kB / 0.5569 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.3519, allocations: 39.97 kB / 0.557 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.352, allocations: 72.41 kB / 0.5571 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.3521, allocations: 39.97 kB / 0.5571 GB, free: 1.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.3523, allocations: 358.8 kB / 0.5574 GB, free: 1.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3523, allocations: 4 kB / 0.5574 GB, free: 1.395 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009328/0.3532, allocations: 0.4912 MB / 0.5579 GB, free: 0.9023 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.0007985/0.354, allocations: 0.5057 MB / 0.5584 GB, free: 396 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009871/0.355, allocations: 0.6862 MB / 0.5591 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.355, allocations: 1.875 kB / 0.5591 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006755/0.3557, allocations: 438.6 kB / 0.5595 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.3568, allocations: 444.3 kB / 0.5599 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.3594, allocations: 1.735 MB / 0.5616 GB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.3596, allocations: 221.8 kB / 0.5618 GB, free: 12.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00053/0.3601, allocations: 314.6 kB / 0.5621 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.3603, allocations: 76.48 kB / 0.5622 GB, free: 12.45 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3603, allocations: 0 / 0.5622 GB, free: 12.45 MB / 442.7 MB Notification: Performance of Templates: time 0.02894/0.3892, allocations: 27.98 MB / 0.5895 GB, free: 0.8047 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 -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.275864351075143]