Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001402/0.001402, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.96 MB / 360.8 MB, free: 3.887 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 83.88 kB / 0.4967 GB, free: 6.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3525, allocations: 66.09 MB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04531/0.3978, allocations: 35.86 MB / 0.5962 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02629/0.4241, allocations: 18.04 MB / 0.6138 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009266/0.425, allocations: 31.69 kB / 0.6139 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.4265, allocations: 409.5 kB / 0.6143 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01773/0.4442, allocations: 5.134 MB / 0.6193 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009099/0.4533, allocations: 2.523 MB / 0.6217 GB, free: 5.758 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003533/0.4568, allocations: 2 MB / 0.6237 GB, free: 3.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.458, allocations: 421.8 kB / 0.6241 GB, free: 3.324 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.4682, allocations: 4.191 MB / 0.6282 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/0.4802, allocations: 5.475 MB / 0.6335 GB, free: 9.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.4805, allocations: 68 kB / 0.6336 GB, free: 9.453 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01659/0.4971, allocations: 7.051 MB / 0.6405 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007432/0.4979, allocations: 283.1 kB / 0.6408 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.4989, allocations: 378.4 kB / 0.6411 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.5122, allocations: 5.12 MB / 0.6461 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.5122, allocations: 7.938 kB / 0.6461 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.5122, allocations: 0 / 0.6461 GB, free: 12.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.555e-05/0.5123, allocations: 0 / 0.6461 GB, free: 12.61 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.007452/0.5197, allocations: 1.655 MB / 0.6477 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.5198, allocations: 8.031 kB / 0.6477 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/0.5225, allocations: 296.2 kB / 0.648 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.5242, allocations: 0.5298 MB / 0.6485 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.5244, allocations: 164.7 kB / 0.6487 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.5246, allocations: 60.12 kB / 0.6488 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/0.5281, allocations: 1.444 MB / 0.6502 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/0.5281, allocations: 15.94 kB / 0.6502 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.5282, allocations: 28 kB / 0.6502 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.338e-05/0.5283, allocations: 45.28 kB / 0.6503 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003088/0.5314, allocations: 1.02 MB / 0.6512 GB, free: 7.105 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.007563/0.539, allocations: 4.459 MB / 0.6556 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.5415, allocations: 0.7393 MB / 0.6563 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007274/0.5422, allocations: 277.6 kB / 0.6566 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03339/0.5756, allocations: 8.658 MB / 0.665 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.638e-05/0.5757, allocations: 46.5 kB / 0.6651 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 3.627e-06/0.5757, allocations: 0 / 0.6651 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.007724/0.5834, allocations: 2.208 MB / 0.6672 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.5835, allocations: 162.7 kB / 0.6674 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008495/0.5844, allocations: 0.5415 MB / 0.6679 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.5844, allocations: 41.64 kB / 0.668 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.5848, allocations: 404.1 kB / 0.6684 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.585, allocations: 182.5 kB / 0.6685 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.5852, allocations: 158.6 kB / 0.6687 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.5854, allocations: 366.8 kB / 0.669 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.5861, allocations: 285.8 kB / 0.6693 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.5871, allocations: 0.6835 MB / 0.67 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.5887, allocations: 0.8948 MB / 0.6708 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.5888, allocations: 4 kB / 0.6708 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00212/0.5909, allocations: 0.961 MB / 0.6718 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.5909, allocations: 14.19 kB / 0.6718 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.5909, allocations: 8 kB / 0.6718 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.5912, allocations: 64.83 kB / 0.6719 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.5926, allocations: 308 kB / 0.6722 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.5947, allocations: 1.952 MB / 0.6741 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.5954, allocations: 48.22 kB / 0.6741 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.5955, allocations: 44.03 kB / 0.6742 GB, free: 14.89 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000526/0.596, allocations: 273.5 kB / 0.6744 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.5962, allocations: 67.56 kB / 0.6745 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/0.6001, allocations: 2.644 MB / 0.6771 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.752e-05/0.6002, allocations: 31.94 kB / 0.6771 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6002, allocations: 8.031 kB / 0.6771 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.6002, allocations: 3.984 kB / 0.6771 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005333/0.6055, allocations: 3.577 MB / 0.6806 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6055, allocations: 0 / 0.6806 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.6067, allocations: 223.7 kB / 0.6808 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/0.607, allocations: 92.73 kB / 0.6809 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/0.6071, allocations: 15.98 kB / 0.6809 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.6089, allocations: 1.976 MB / 0.6828 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6089, allocations: 0 / 0.6828 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/0.6125, allocations: 2.402 MB / 0.6852 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.613, allocations: 174.8 kB / 0.6854 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.6132, allocations: 47.66 kB / 0.6854 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.6137, allocations: 27.97 kB / 0.6854 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.6139, allocations: 52.41 kB / 0.6855 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.6139, allocations: 16 kB / 0.6855 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008082/0.6147, allocations: 0.5068 MB / 0.686 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6147, allocations: 0 / 0.686 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003625/0.6183, allocations: 1.1 MB / 0.6871 GB, free: 1.445 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005202/0.6235, allocations: 1.224 MB / 0.6883 GB, free: 220 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002885/0.6264, allocations: 1.096 MB / 0.6893 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6264, allocations: 0 / 0.6893 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.6282, allocations: 0.754 MB / 0.6901 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.6301, allocations: 348.4 kB / 0.6904 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.6346, allocations: 2.528 MB / 0.6929 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/0.6354, allocations: 0.5673 MB / 0.6934 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009734/0.6363, allocations: 429.2 kB / 0.6938 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.6365, allocations: 59.44 kB / 0.6939 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.6365, allocations: 0 / 0.6939 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.3571/0.9936, allocations: 47.55 MB / 0.7403 GB, free: 165.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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: 9.255479373037815]