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.001032/0.001032, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001434/0.001434, allocations: 167.3 kB / 24.91 MB, free: 9.109 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 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2791/0.2791, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.562e-06/1.562e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.972e-05, allocations: 8.391 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3314/0.3314, allocations: 150.3 MB / 475.6 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.3352, allocations: 2.965 MB / 478.6 MB, free: 12.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.3356, allocations: 26.47 kB / 478.6 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.3361, allocations: 245.9 kB / 478.9 MB, free: 12.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.3391, allocations: 1.691 MB / 480.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.3407, allocations: 1.006 MB / 481.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.3427, allocations: 2.28 MB / 483.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006718/0.3433, allocations: 0.5496 MB / 484.4 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.3449, allocations: 1.41 MB / 485.8 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006855/0.3456, allocations: 0.7417 MB / 486.5 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.836e-05/0.3457, allocations: 90.81 kB / 486.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.3475, allocations: 1.517 MB / 488.2 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.3477, allocations: 466.6 kB / 488.6 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.348, allocations: 399.5 kB / 489 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.3495, allocations: 1.873 MB / 490.9 MB, free: 10.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3495, allocations: 0 / 490.9 MB, free: 10.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3495, allocations: 0 / 490.9 MB, free: 10.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3495, allocations: 0 / 490.9 MB, free: 10.83 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.001534/0.351, allocations: 1.334 MB / 492.2 MB, free: 10.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.3511, allocations: 7.906 kB / 492.2 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.3513, allocations: 162.4 kB / 492.4 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.3518, allocations: 495.5 kB / 492.9 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-05/0.3519, allocations: 168.2 kB / 493 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/0.352, allocations: 76.75 kB / 493.1 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.3527, allocations: 1.103 MB / 494.2 MB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.3527, allocations: 6.75 kB / 494.2 MB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.3527, allocations: 30.67 kB / 494.2 MB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/0.3528, allocations: 64.64 kB / 494.3 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.3533, allocations: 421.6 kB / 494.7 MB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.3556, allocations: 2.67 MB / 497.4 MB, free: 6.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/0.3561, allocations: 450.6 kB / 497.8 MB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.3563, allocations: 144 kB / 498 MB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.3565, allocations: 131.8 kB / 498.1 MB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3565, allocations: 48.95 kB / 498.1 MB, free: 6.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.114e-06/0.3565, allocations: 3.984 kB / 498.1 MB, free: 6.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.003901/0.3604, allocations: 2.092 MB / 0.4885 GB, free: 5.926 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.3605, allocations: 115.7 kB / 0.4886 GB, free: 5.797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.3607, allocations: 480.6 kB / 0.4891 GB, free: 5.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.3608, allocations: 43.2 kB / 0.4891 GB, free: 5.539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.3609, allocations: 356.7 kB / 0.4895 GB, free: 5.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.361, allocations: 303.2 kB / 0.4897 GB, free: 5.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.3612, allocations: 196.4 kB / 0.4899 GB, free: 4.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.3612, allocations: 386.7 kB / 0.4903 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3614, allocations: 136.9 kB / 0.4904 GB, free: 4.539 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.3617, allocations: 477.3 kB / 0.4909 GB, free: 4.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.3621, allocations: 0.6421 MB / 0.4915 GB, free: 3.648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3621, allocations: 3.312 kB / 0.4915 GB, free: 3.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0007893/0.3629, allocations: 0.7053 MB / 0.4922 GB, free: 3.375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.363, allocations: 8.406 kB / 0.4922 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.363, allocations: 8.125 kB / 0.4922 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002547/0.3655, allocations: 0.9752 MB / 0.4932 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.3658, allocations: 170.8 kB / 0.4933 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006096/0.3664, allocations: 0.8235 MB / 0.4941 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.3667, allocations: 45.44 kB / 0.4942 GB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.3668, allocations: 46.48 kB / 0.4942 GB, free: 2.289 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.0001677/0.367, allocations: 173.3 kB / 0.4944 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.3671, allocations: 82.17 kB / 0.4945 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009707/0.368, allocations: 0.8815 MB / 0.4953 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.368, allocations: 12.31 kB / 0.4953 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.368, allocations: 0 / 0.4953 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.368, allocations: 7.984 kB / 0.4954 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.3694, allocations: 1.209 MB / 0.4965 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3694, allocations: 3.094 kB / 0.4965 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.37, allocations: 234.1 kB / 0.4968 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006253/0.3706, allocations: 252.1 kB / 0.497 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.3707, allocations: 24.95 kB / 0.497 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.3717, allocations: 1.83 MB / 0.4988 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3717, allocations: 3 kB / 0.4988 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009483/0.3727, allocations: 0.8407 MB / 0.4996 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.3729, allocations: 120.6 kB / 0.4998 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.776e-05/0.373, allocations: 28.83 kB / 0.4998 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.3733, allocations: 39.28 kB / 0.4998 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3734, allocations: 63.86 kB / 0.4999 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.144e-05/0.3734, allocations: 34.94 kB / 0.4999 GB, free: 14.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.3736, allocations: 216.8 kB / 0.5001 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3736, allocations: 0 / 0.5001 GB, free: 14.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001016/0.3746, allocations: 0.4895 MB / 0.5006 GB, free: 14.13 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.0007772/0.3754, allocations: 0.5018 MB / 0.5011 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007224/0.3761, allocations: 0.5448 MB / 0.5016 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/0.3762, allocations: 10.97 kB / 0.5016 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.3767, allocations: 352.4 kB / 0.502 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009795/0.3777, allocations: 458 kB / 0.5024 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.3801, allocations: 1.653 MB / 0.504 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.3802, allocations: 225.8 kB / 0.5042 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004578/0.3807, allocations: 242.1 kB / 0.5045 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007481/0.3814, allocations: 406.9 kB / 0.5049 GB, free: 10.84 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3814, allocations: 4 kB / 0.5049 GB, free: 10.84 MB / 426.7 MB Notification: Performance of Templates: time 0.02755/0.409, allocations: 28.42 MB / 0.5326 GB, free: 14.8 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 -s gbode -gbm=radauIIA3 -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.2645465661771595]