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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009533/0.0009533, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.7 MB / 247.5 MB, free: 9.469 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1894/0.1894, allocations: 46.19 MB / 345.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002624, allocations: 8 kB / 420.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 63.56 MB / 483.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2578/0.3703, allocations: 39.54 MB / 0.511 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02567/0.396, allocations: 20.94 MB / 0.5315 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.3972, allocations: 21.84 kB / 0.5315 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.3986, allocations: 401.3 kB / 0.5319 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.4128, allocations: 4.18 MB / 0.536 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007395/0.4202, allocations: 2.242 MB / 0.5381 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003266/0.4235, allocations: 2.852 MB / 0.5409 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008592/0.4244, allocations: 414 kB / 0.5413 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008788/0.4332, allocations: 4.06 MB / 0.5453 GB, free: 5.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009424/0.4426, allocations: 5.463 MB / 0.5506 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.4429, allocations: 34.84 kB / 0.5507 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01434/0.4572, allocations: 7.271 MB / 0.5578 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004715/0.4577, allocations: 251 kB / 0.558 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006814/0.4584, allocations: 454.3 kB / 0.5584 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007175/0.4656, allocations: 3.508 MB / 0.5619 GB, free: 8.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4656, allocations: 0 / 0.5619 GB, free: 8.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4656, allocations: 0 / 0.5619 GB, free: 8.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4657, allocations: 7.938 kB / 0.5619 GB, free: 8.648 MB / 398.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.004542/0.4702, allocations: 1.536 MB / 0.5634 GB, free: 7.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4703, allocations: 11.97 kB / 0.5634 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.4724, allocations: 313.2 kB / 0.5637 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008381/0.4733, allocations: 0.5512 MB / 0.5642 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.4734, allocations: 120.2 kB / 0.5643 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.4735, allocations: 60.38 kB / 0.5644 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.4761, allocations: 1.218 MB / 0.5656 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.4762, allocations: 3.938 kB / 0.5656 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/0.4763, allocations: 38.33 kB / 0.5656 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/0.4763, allocations: 49.28 kB / 0.5657 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.4789, allocations: 1.059 MB / 0.5667 GB, free: 3.539 MB / 398.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.006456/0.4854, allocations: 5.625 MB / 0.5722 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.4879, allocations: 0.8054 MB / 0.573 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/0.4885, allocations: 305.6 kB / 0.5733 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03476/0.5233, allocations: 17.41 MB / 0.5903 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.5234, allocations: 46.5 kB / 0.5903 GB, free: 8.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 3.026e-06/0.5234, allocations: 0 / 0.5903 GB, free: 8.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.007546/0.5309, allocations: 2.378 MB / 0.5926 GB, free: 6.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.5311, allocations: 158.7 kB / 0.5928 GB, free: 6.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000827/0.5319, allocations: 0.6132 MB / 0.5934 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.532, allocations: 33.7 kB / 0.5934 GB, free: 5.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.5323, allocations: 395 kB / 0.5938 GB, free: 5.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.5325, allocations: 173.2 kB / 0.594 GB, free: 4.988 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.5326, allocations: 65.69 kB / 0.594 GB, free: 4.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5328, allocations: 382.8 kB / 0.5944 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.5334, allocations: 293.8 kB / 0.5947 GB, free: 4.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008507/0.5343, allocations: 0.6161 MB / 0.5953 GB, free: 3.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.5358, allocations: 0.926 MB / 0.5962 GB, free: 2.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.5358, allocations: 4 kB / 0.5962 GB, free: 2.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001979/0.5378, allocations: 0.9844 MB / 0.5971 GB, free: 1.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5379, allocations: 11.94 kB / 0.5972 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.5379, allocations: 16.16 kB / 0.5972 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.5382, allocations: 64.81 kB / 0.5972 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.5395, allocations: 307.5 kB / 0.5975 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.5412, allocations: 1.987 MB / 0.5995 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007666/0.542, allocations: 83.97 kB / 0.5995 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.5421, allocations: 40 kB / 0.5996 GB, free: 14.75 MB / 446.1 MB 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.0004374/0.5426, allocations: 273.5 kB / 0.5998 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.5427, allocations: 71.16 kB / 0.5999 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/0.5459, allocations: 2.594 MB / 0.6024 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.789e-05/0.546, allocations: 43.88 kB / 0.6025 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.546, allocations: 0 / 0.6025 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.546, allocations: 3.984 kB / 0.6025 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/0.5508, allocations: 3.794 MB / 0.6062 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.5509, allocations: 0 / 0.6062 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.552, allocations: 243.7 kB / 0.6064 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/0.5525, allocations: 100.6 kB / 0.6065 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.5525, allocations: 12 kB / 0.6065 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.554, allocations: 1.991 MB / 0.6085 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5541, allocations: 0 / 0.6085 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/0.5573, allocations: 2.381 MB / 0.6108 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/0.5579, allocations: 326.9 kB / 0.6111 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.558, allocations: 12 kB / 0.6111 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/0.5587, allocations: 63.86 kB / 0.6112 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.5588, allocations: 52.42 kB / 0.6112 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.5589, allocations: 19.98 kB / 0.6113 GB, free: 2.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008174/0.5597, allocations: 0.5614 MB / 0.6118 GB, free: 1.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5597, allocations: 4 kB / 0.6118 GB, free: 1.945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003384/0.5631, allocations: 1.101 MB / 0.6129 GB, free: 0.8438 MB / 446.1 MB 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.005169/0.5683, allocations: 1.213 MB / 0.6141 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.571, allocations: 1.104 MB / 0.6151 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.571, allocations: 0 / 0.6151 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.5726, allocations: 0.8089 MB / 0.6159 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.575, allocations: 383 kB / 0.6163 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.5794, allocations: 3.125 MB / 0.6194 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008037/0.5803, allocations: 1.157 MB / 0.6205 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.5805, allocations: 67.44 kB / 0.6205 GB, free: 9.004 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5805, allocations: 0 / 0.6205 GB, free: 9.004 MB / 462.1 MB Notification: Performance of Templates: time 0.05669/0.6372, allocations: 39.49 MB / 0.6591 GB, free: 1.535 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.h,volume.medium.p Variables in the result:time,volume.medium.h,volume.medium.p