Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.001341/0.001341, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001446/0.001446, allocations: 207.5 kB / 24.48 MB, free: 3.695 MB / 14.72 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2417/0.2417, allocations: 46.97 MB / 361.6 MB, free: 4.059 MB / 286.1 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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3563, allocations: 66.04 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04474/0.4011, allocations: 35.87 MB / 0.5969 GB, free: 212 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02627/0.4274, allocations: 18.05 MB / 0.6145 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009566/0.4283, allocations: 31.69 kB / 0.6145 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.4297, allocations: 405.5 kB / 0.6149 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01407/0.4438, allocations: 5.131 MB / 0.6199 GB, free: 8.531 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007001/0.4508, allocations: 2.536 MB / 0.6224 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00285/0.4536, allocations: 1.993 MB / 0.6243 GB, free: 3.996 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006604/0.4543, allocations: 413.7 kB / 0.6247 GB, free: 3.578 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.4644, allocations: 4.164 MB / 0.6288 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01261/0.477, allocations: 5.483 MB / 0.6342 GB, free: 9.789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.4772, allocations: 68 kB / 0.6342 GB, free: 9.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0153/0.4925, allocations: 7.204 MB / 0.6413 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006068/0.4931, allocations: 279.1 kB / 0.6415 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006683/0.4938, allocations: 374.5 kB / 0.6419 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.5065, allocations: 4.976 MB / 0.6467 GB, free: 12.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5065, allocations: 0 / 0.6467 GB, free: 12.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5065, allocations: 0 / 0.6467 GB, free: 12.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.5065, allocations: 0 / 0.6467 GB, free: 12.88 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004697/0.5112, allocations: 1.608 MB / 0.6483 GB, free: 11.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5112, allocations: 12.02 kB / 0.6483 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.5127, allocations: 220.3 kB / 0.6485 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.5138, allocations: 0.4909 MB / 0.649 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.514, allocations: 168.7 kB / 0.6492 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.5141, allocations: 56.12 kB / 0.6492 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.5163, allocations: 1.338 MB / 0.6505 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.5163, allocations: 0 / 0.6505 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.5164, allocations: 27.94 kB / 0.6506 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.966e-05/0.5164, allocations: 44.98 kB / 0.6506 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.5181, allocations: 0.8116 MB / 0.6514 GB, free: 7.855 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00585/0.524, allocations: 4.505 MB / 0.6558 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.5252, allocations: 0.5076 MB / 0.6563 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.5256, allocations: 206.8 kB / 0.6565 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09141/0.617, allocations: 26.1 MB / 0.682 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/0.617, allocations: 50.25 kB / 0.682 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.655e-06/0.617, allocations: 3.938 kB / 0.682 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.0066/0.6236, allocations: 2.077 MB / 0.6841 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.6238, allocations: 183.9 kB / 0.6842 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/0.6245, allocations: 0.5611 MB / 0.6848 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.6245, allocations: 37.64 kB / 0.6848 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.6248, allocations: 427.8 kB / 0.6852 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.625, allocations: 166.6 kB / 0.6854 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.6252, allocations: 154.6 kB / 0.6855 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6254, allocations: 370.8 kB / 0.6859 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.6258, allocations: 225.9 kB / 0.6861 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/0.6265, allocations: 0.669 MB / 0.6868 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.6277, allocations: 0.8645 MB / 0.6876 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.6277, allocations: 7.938 kB / 0.6876 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001517/0.6292, allocations: 0.8845 MB / 0.6885 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.6292, allocations: 12 kB / 0.6885 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.6293, allocations: 8 kB / 0.6885 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/0.6328, allocations: 273 kB / 0.6887 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.6342, allocations: 283.6 kB / 0.689 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.6362, allocations: 1.995 MB / 0.691 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/0.6368, allocations: 31.98 kB / 0.691 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.6369, allocations: 47.94 kB / 0.691 GB, free: 14.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004445/0.6373, allocations: 271.6 kB / 0.6913 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.6375, allocations: 67.58 kB / 0.6914 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.6401, allocations: 2.073 MB / 0.6934 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.6401, allocations: 23.97 kB / 0.6934 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.6401, allocations: 0 / 0.6934 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.6401, allocations: 7.922 kB / 0.6934 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.6438, allocations: 2.819 MB / 0.6962 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6438, allocations: 0 / 0.6962 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009925/0.6448, allocations: 187.8 kB / 0.6964 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/0.6466, allocations: 308 kB / 0.6966 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.6467, allocations: 15.94 kB / 0.6967 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.6485, allocations: 2.049 MB / 0.6987 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6485, allocations: 7.969 kB / 0.6987 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.651, allocations: 1.988 MB / 0.7006 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.6513, allocations: 147.1 kB / 0.7008 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.6514, allocations: 35.78 kB / 0.7008 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.6518, allocations: 16 kB / 0.7008 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.6519, allocations: 36.31 kB / 0.7008 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.652, allocations: 19.98 kB / 0.7009 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006855/0.6527, allocations: 0.5029 MB / 0.7013 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6527, allocations: 0 / 0.7013 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003422/0.6561, allocations: 1.1 MB / 0.7024 GB, free: 2.543 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004064/0.6601, allocations: 1.192 MB / 0.7036 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.6622, allocations: 0.8938 MB / 0.7045 GB, free: 456 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.6622, allocations: 4 kB / 0.7045 GB, free: 452 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.6635, allocations: 0.5929 MB / 0.705 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.6653, allocations: 332.7 kB / 0.7054 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.6688, allocations: 2.224 MB / 0.7075 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.6693, allocations: 0.4959 MB / 0.708 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.6695, allocations: 63.44 kB / 0.7081 GB, free: 12.68 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.6695, allocations: 0 / 0.7081 GB, free: 12.68 MB / 0.545 GB Notification: Performance of Templates: time 0.3341/1.004, allocations: 36.92 MB / 0.7441 GB, free: 164.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.589828519005096]