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.001845/0.001845, allocations: 87.67 kB / 20.96 MB, free: 3.457 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.002109/0.002109, allocations: 157.7 kB / 24.27 MB, free: 152 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 1.563/1.563, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3642/0.3642, allocations: 34.27 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] 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 1.543e-06/1.543e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.891e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0569/0.05692, allocations: 40.13 MB / 417.4 MB, free: 10.71 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03065/0.08758, allocations: 20.13 MB / 437.6 MB, free: 6.504 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007775/0.08835, allocations: 27.75 kB / 437.6 MB, free: 6.477 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.08977, allocations: 417.2 kB / 438 MB, free: 6.066 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01502/0.1048, allocations: 5.189 MB / 443.2 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.205/0.3098, allocations: 2.586 MB / 445.8 MB, free: 49.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002365/0.3122, allocations: 2.006 MB / 447.8 MB, free: 49.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000686/0.3129, allocations: 438.3 kB / 448.2 MB, free: 49.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01082/0.3237, allocations: 4.421 MB / 452.6 MB, free: 48.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.3348, allocations: 5.433 MB / 458.1 MB, free: 46.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.3351, allocations: 67.09 kB / 458.1 MB, free: 46.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.3472, allocations: 6.931 MB / 465.1 MB, free: 46.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005102/0.3477, allocations: 298.2 kB / 465.3 MB, free: 46.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007287/0.3484, allocations: 319.8 kB / 465.7 MB, free: 46.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01299/0.3614, allocations: 6.12 MB / 471.8 MB, free: 46.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3614, allocations: 3.688 kB / 471.8 MB, free: 46.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3614, allocations: 0 / 471.8 MB, free: 46.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.795e-05/0.3615, allocations: 0 / 471.8 MB, free: 46.4 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004982/0.3664, allocations: 1.744 MB / 473.5 MB, free: 45.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3665, allocations: 9.969 kB / 473.5 MB, free: 45.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.3682, allocations: 367.2 kB / 473.9 MB, free: 45.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.3695, allocations: 0.5199 MB / 474.4 MB, free: 45.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.3696, allocations: 161.8 kB / 474.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.3697, allocations: 64.95 kB / 474.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.3717, allocations: 1.338 MB / 476 MB, free: 44.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.3717, allocations: 6.625 kB / 476 MB, free: 44.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.3718, allocations: 31.19 kB / 476 MB, free: 44.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.215e-05/0.3719, allocations: 46.22 kB / 476.1 MB, free: 44.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.3734, allocations: 0.6563 MB / 476.7 MB, free: 44.27 MB / 410.7 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.006335/0.3797, allocations: 5.971 MB / 482.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.3811, allocations: 0.5042 MB / 483.2 MB, free: 39.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.3814, allocations: 176 kB / 483.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08805/0.4694, allocations: 26.15 MB / 0.4976 GB, free: 34.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.4695, allocations: 48.89 kB / 0.4976 GB, free: 34.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.134e-06/0.4695, allocations: 0 / 0.4976 GB, free: 34.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.005667/0.4752, allocations: 1.964 MB / 0.4995 GB, free: 32.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.4752, allocations: 183.9 kB / 0.4997 GB, free: 32.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.4759, allocations: 0.6964 MB / 0.5004 GB, free: 31.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.4759, allocations: 37.7 kB / 0.5004 GB, free: 31.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.4762, allocations: 493.2 kB / 0.5009 GB, free: 31.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.4763, allocations: 181.2 kB / 0.5011 GB, free: 31.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.4766, allocations: 199.7 kB / 0.5013 GB, free: 30.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4767, allocations: 0.5859 MB / 0.5018 GB, free: 30.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.477, allocations: 165.9 kB / 0.502 GB, free: 30.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.4775, allocations: 0.7889 MB / 0.5028 GB, free: 29.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/0.4783, allocations: 0.9393 MB / 0.5037 GB, free: 28.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4783, allocations: 0 / 0.5037 GB, free: 28.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001144/0.4794, allocations: 0.8248 MB / 0.5045 GB, free: 27.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4795, allocations: 8 kB / 0.5045 GB, free: 27.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.4795, allocations: 12 kB / 0.5045 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003172/0.4826, allocations: 268 kB / 0.5048 GB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.4837, allocations: 277.2 kB / 0.505 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.4851, allocations: 2.768 MB / 0.5077 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.4857, allocations: 28 kB / 0.5077 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.4858, allocations: 43.98 kB / 0.5078 GB, free: 23.8 MB / 410.7 MB 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.0003337/0.4861, allocations: 278.1 kB / 0.5081 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.4862, allocations: 79.62 kB / 0.5081 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.4877, allocations: 1.35 MB / 0.5094 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.4878, allocations: 27.16 kB / 0.5095 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4878, allocations: 0 / 0.5095 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4878, allocations: 3.984 kB / 0.5095 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.4903, allocations: 2.059 MB / 0.5115 GB, free: 20 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.4903, allocations: 0 / 0.5115 GB, free: 20 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008047/0.4911, allocations: 182.8 kB / 0.5117 GB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/0.4927, allocations: 275.2 kB / 0.5119 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.4928, allocations: 16 kB / 0.5119 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.494, allocations: 2.729 MB / 0.5146 GB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.494, allocations: 4.156 kB / 0.5146 GB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.4955, allocations: 1.515 MB / 0.5161 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.4958, allocations: 147.1 kB / 0.5162 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.4959, allocations: 31.78 kB / 0.5163 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.4964, allocations: 8 kB / 0.5163 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.4964, allocations: 36.28 kB / 0.5163 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.4965, allocations: 19.98 kB / 0.5163 GB, free: 14.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005712/0.4971, allocations: 0.5458 MB / 0.5169 GB, free: 14.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4971, allocations: 0 / 0.5169 GB, free: 14.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003625/0.5007, allocations: 1.104 MB / 0.5179 GB, free: 13.23 MB / 410.7 MB 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.005734/0.5064, allocations: 1.333 MB / 0.5192 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.5084, allocations: 0.7335 MB / 0.52 GB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.5084, allocations: 8.125 kB / 0.52 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009797/0.5094, allocations: 439.4 kB / 0.5204 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.5114, allocations: 355.5 kB / 0.5207 GB, free: 10.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.5143, allocations: 1.905 MB / 0.5226 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.5147, allocations: 0.4923 MB / 0.5231 GB, free: 8.109 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006952/0.5154, allocations: 321.8 kB / 0.5234 GB, free: 7.797 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.5155, allocations: 56.5 kB / 0.5234 GB, free: 7.742 MB / 410.7 MB Notification: Performance of SimCode: time 1.984e-06/0.5155, allocations: 4 kB / 0.5234 GB, free: 7.738 MB / 410.7 MB Notification: Performance of Templates: time 0.07435/0.5899, allocations: 45.01 MB / 0.5674 GB, free: 11.12 MB / 458.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/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: 8.372124218964018]