Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001994/0.001994, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001557/0.001557, allocations: 161.7 kB / 24.27 MB, free: 172 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.454/1.454, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3996/0.3996, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.118e-05, allocations: 2.312 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04895/0.04898, allocations: 35.65 MB / 410.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02992/0.0789, allocations: 18.02 MB / 429 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009926/0.0799, allocations: 27.75 kB / 429 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.08135, allocations: 413.3 kB / 429.4 MB, free: 14.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01561/0.09696, allocations: 5.189 MB / 434.6 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007562/0.1045, allocations: 2.598 MB / 437.2 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003065/0.1076, allocations: 2.004 MB / 439.2 MB, free: 4.832 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007827/0.1084, allocations: 437.9 kB / 439.6 MB, free: 4.391 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.185/0.2934, allocations: 4.403 MB / 444 MB, free: 52.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009916/0.3033, allocations: 5.428 MB / 449.4 MB, free: 51.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002941/0.3036, allocations: 66.03 kB / 449.5 MB, free: 51.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01365/0.3172, allocations: 6.935 MB / 456.4 MB, free: 51.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004622/0.3177, allocations: 298.4 kB / 456.7 MB, free: 51.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005945/0.3183, allocations: 312.5 kB / 457 MB, free: 51.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.3319, allocations: 6.127 MB / 463.2 MB, free: 51.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3319, allocations: 0 / 463.2 MB, free: 51.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3319, allocations: 0 / 463.2 MB, free: 51.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.3319, allocations: 3.188 kB / 463.2 MB, free: 51.25 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.004423/0.3364, allocations: 1.581 MB / 464.7 MB, free: 50.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3364, allocations: 6.688 kB / 464.7 MB, free: 50.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.3379, allocations: 364.8 kB / 465.1 MB, free: 50.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/0.3387, allocations: 0.5231 MB / 465.6 MB, free: 50.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.3388, allocations: 170.1 kB / 465.8 MB, free: 50.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3389, allocations: 60.48 kB / 465.8 MB, free: 50.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.3407, allocations: 1.324 MB / 467.2 MB, free: 49.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.3407, allocations: 6.219 kB / 467.2 MB, free: 49.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.3408, allocations: 32.77 kB / 467.2 MB, free: 49.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.3408, allocations: 47.47 kB / 467.3 MB, free: 49.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.3422, allocations: 0.8099 MB / 468.1 MB, free: 49.41 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.004136/0.3464, allocations: 4.508 MB / 472.6 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3474, allocations: 0.5112 MB / 473.1 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.3477, allocations: 199.4 kB / 473.3 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08133/0.429, allocations: 26.11 MB / 499.4 MB, free: 44.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.429, allocations: 41.06 kB / 499.4 MB, free: 44.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.564e-06/0.4291, allocations: 0 / 499.4 MB, free: 44.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.005974/0.435, allocations: 2.124 MB / 0.4898 GB, free: 43.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.4351, allocations: 194.8 kB / 0.49 GB, free: 43.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.4357, allocations: 0.5573 MB / 0.4905 GB, free: 43.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.4357, allocations: 30.55 kB / 0.4906 GB, free: 43.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.4359, allocations: 422.3 kB / 0.491 GB, free: 42.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/0.436, allocations: 169.2 kB / 0.4911 GB, free: 42.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.4362, allocations: 154.9 kB / 0.4913 GB, free: 42.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.4363, allocations: 372.7 kB / 0.4916 GB, free: 42.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.4366, allocations: 230.7 kB / 0.4918 GB, free: 42.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.4371, allocations: 0.6694 MB / 0.4925 GB, free: 41.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.4379, allocations: 0.8541 MB / 0.4933 GB, free: 41.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4379, allocations: 6.938 kB / 0.4933 GB, free: 41.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001166/0.4391, allocations: 0.9358 MB / 0.4943 GB, free: 40.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4391, allocations: 8 kB / 0.4943 GB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4391, allocations: 12 kB / 0.4943 GB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003044/0.4422, allocations: 264.5 kB / 0.4945 GB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4433, allocations: 283.9 kB / 0.4948 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.4445, allocations: 1.995 MB / 0.4967 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.4449, allocations: 32.22 kB / 0.4968 GB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.445, allocations: 39.98 kB / 0.4968 GB, free: 37.98 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.0003479/0.4453, allocations: 278 kB / 0.4971 GB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.4455, allocations: 88.58 kB / 0.4972 GB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.4474, allocations: 2.097 MB / 0.4992 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.4474, allocations: 32.02 kB / 0.4992 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4474, allocations: 0 / 0.4992 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4474, allocations: 0 / 0.4992 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.4499, allocations: 2.827 MB / 0.502 GB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.45, allocations: 0 / 0.502 GB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/0.4508, allocations: 186.3 kB / 0.5022 GB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.4524, allocations: 304.4 kB / 0.5025 GB, free: 32.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.4524, allocations: 15.98 kB / 0.5025 GB, free: 32.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.4536, allocations: 2.068 MB / 0.5045 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4536, allocations: 7.297 kB / 0.5045 GB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.4553, allocations: 2.005 MB / 0.5065 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.4556, allocations: 135.2 kB / 0.5066 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/0.4557, allocations: 36.05 kB / 0.5066 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.456, allocations: 16 kB / 0.5067 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.4561, allocations: 32.44 kB / 0.5067 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.4562, allocations: 19.98 kB / 0.5067 GB, free: 27.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004732/0.4566, allocations: 0.5068 MB / 0.5072 GB, free: 27.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4566, allocations: 0 / 0.5072 GB, free: 27.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003049/0.4597, allocations: 1.104 MB / 0.5083 GB, free: 26.13 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.003589/0.4633, allocations: 1.332 MB / 0.5096 GB, free: 24.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.465, allocations: 0.9117 MB / 0.5105 GB, free: 24.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.465, allocations: 4 kB / 0.5105 GB, free: 24.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.4661, allocations: 0.6043 MB / 0.5111 GB, free: 23.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.4677, allocations: 356 kB / 0.5114 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.4702, allocations: 2.095 MB / 0.5134 GB, free: 21.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.4706, allocations: 0.496 MB / 0.5139 GB, free: 20.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005731/0.4712, allocations: 336.7 kB / 0.5142 GB, free: 20.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.4713, allocations: 64.48 kB / 0.5143 GB, free: 20.1 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4713, allocations: 0 / 0.5143 GB, free: 20.1 MB / 410.7 MB Notification: Performance of Templates: time 0.06783/0.5391, allocations: 44.31 MB / 0.5576 GB, free: 8.148 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.25434933998622]