Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, 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.001509/0.001509, 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.31/1.31, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1851/0.1851, allocations: 46.18 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002506, allocations: 8.281 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1022, allocations: 63.57 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2646/0.3668, allocations: 39.54 MB / 0.511 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02389/0.3908, allocations: 20.94 MB / 0.5315 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.3919, allocations: 24.19 kB / 0.5315 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.3931, allocations: 398.2 kB / 0.5319 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.4061, allocations: 4.178 MB / 0.536 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007256/0.4134, allocations: 2.235 MB / 0.5381 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.4166, allocations: 2.864 MB / 0.5409 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/0.4175, allocations: 435.6 kB / 0.5414 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008058/0.4255, allocations: 4.061 MB / 0.5453 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008847/0.4344, allocations: 5.451 MB / 0.5506 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.4346, allocations: 36.16 kB / 0.5507 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01367/0.4483, allocations: 7.278 MB / 0.5578 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004511/0.4488, allocations: 255 kB / 0.558 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007083/0.4495, allocations: 443.5 kB / 0.5584 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005665/0.4552, allocations: 3.529 MB / 0.5619 GB, free: 8.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4552, allocations: 7.938 kB / 0.5619 GB, free: 8.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4552, allocations: 0 / 0.5619 GB, free: 8.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.4552, allocations: 0 / 0.5619 GB, free: 8.781 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.003504/0.4587, allocations: 1.49 MB / 0.5634 GB, free: 7.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4588, allocations: 12.03 kB / 0.5634 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/0.4609, allocations: 311.7 kB / 0.5637 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.4617, allocations: 0.5551 MB / 0.5642 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.4618, allocations: 117.1 kB / 0.5643 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.4619, allocations: 60.38 kB / 0.5644 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.4643, allocations: 1.175 MB / 0.5655 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.4644, allocations: 3.938 kB / 0.5655 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.4645, allocations: 32 kB / 0.5656 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/0.4645, allocations: 41.3 kB / 0.5656 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.4662, allocations: 0.844 MB / 0.5664 GB, free: 3.988 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.005926/0.4721, allocations: 5.523 MB / 0.5718 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.4734, allocations: 0.5773 MB / 0.5724 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.4737, allocations: 218.3 kB / 0.5726 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09954/0.5733, allocations: 51.76 MB / 0.6231 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/0.5734, allocations: 39.44 kB / 0.6232 GB, free: 3.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.815e-06/0.5734, allocations: 0 / 0.6232 GB, free: 3.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.00567/0.5791, allocations: 1.947 MB / 0.6251 GB, free: 1.172 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.5792, allocations: 162.2 kB / 0.6252 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.5801, allocations: 0.6249 MB / 0.6258 GB, free: 348 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.5802, allocations: 37.7 kB / 0.6259 GB, free: 304 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.5805, allocations: 394.7 kB / 0.6263 GB, free: 15.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.5807, allocations: 156.7 kB / 0.6264 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.5808, allocations: 77.67 kB / 0.6265 GB, free: 15.67 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.581, allocations: 374.8 kB / 0.6268 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.5814, allocations: 225.9 kB / 0.627 GB, free: 15.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.582, allocations: 0.5717 MB / 0.6276 GB, free: 14.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.5831, allocations: 0.8329 MB / 0.6284 GB, free: 13.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.5832, allocations: 4 kB / 0.6284 GB, free: 13.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001455/0.5846, allocations: 0.8791 MB / 0.6293 GB, free: 12.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5847, allocations: 8 kB / 0.6293 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.5847, allocations: 12 kB / 0.6293 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.585, allocations: 64.89 kB / 0.6294 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5862, allocations: 283.5 kB / 0.6296 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.5878, allocations: 1.981 MB / 0.6316 GB, free: 9.969 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.5884, allocations: 63.91 kB / 0.6316 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.5885, allocations: 43.98 kB / 0.6317 GB, free: 9.863 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.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.0004031/0.5889, allocations: 285.9 kB / 0.6319 GB, free: 9.574 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.5891, allocations: 67.25 kB / 0.632 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.5917, allocations: 2.224 MB / 0.6342 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.5917, allocations: 27.95 kB / 0.6342 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5917, allocations: 0 / 0.6342 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.5918, allocations: 3.984 kB / 0.6342 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/0.5956, allocations: 3.29 MB / 0.6374 GB, free: 3.887 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5956, allocations: 0 / 0.6374 GB, free: 3.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009265/0.5965, allocations: 187.8 kB / 0.6376 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/0.5969, allocations: 100.7 kB / 0.6377 GB, free: 3.602 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.597, allocations: 12 kB / 0.6377 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.5984, allocations: 1.991 MB / 0.6397 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5985, allocations: 4.031 kB / 0.6397 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.6008, allocations: 1.99 MB / 0.6416 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/0.6012, allocations: 279.2 kB / 0.6419 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6013, allocations: 12 kB / 0.6419 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/0.6019, allocations: 59.95 kB / 0.6419 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.602, allocations: 32.39 kB / 0.642 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.602, allocations: 23.92 kB / 0.642 GB, free: 15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006716/0.6027, allocations: 0.5185 MB / 0.6425 GB, free: 14.49 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6027, allocations: 0 / 0.6425 GB, free: 14.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003303/0.606, allocations: 1.097 MB / 0.6436 GB, free: 13.39 MB / 494.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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.004905/0.6109, allocations: 1.208 MB / 0.6447 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.6129, allocations: 0.9279 MB / 0.6457 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6129, allocations: 0 / 0.6457 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.6141, allocations: 0.6677 MB / 0.6463 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.6163, allocations: 373.7 kB / 0.6467 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.62, allocations: 2.822 MB / 0.6494 GB, free: 7.453 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/0.6208, allocations: 1.109 MB / 0.6505 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.6209, allocations: 71.42 kB / 0.6506 GB, free: 6.246 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6209, allocations: 4 kB / 0.6506 GB, free: 6.242 MB / 494.1 MB Notification: Performance of Templates: time 0.04991/0.6709, allocations: 37.85 MB / 0.6875 GB, free: 432 kB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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