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.001379/0.001379, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1995/0.1995, allocations: 46.09 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 77.56 kB / 418.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1025, allocations: 62.46 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2658/0.3683, allocations: 39.17 MB / 0.5077 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02985/0.3982, allocations: 20.16 MB / 0.5274 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.3995, allocations: 19.19 kB / 0.5274 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.4012, allocations: 444.5 kB / 0.5278 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01945/0.4208, allocations: 5.128 MB / 0.5328 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007311/0.4281, allocations: 2.557 MB / 0.5353 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002677/0.4308, allocations: 2.002 MB / 0.5373 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007233/0.4315, allocations: 0.4952 MB / 0.5378 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008896/0.4404, allocations: 4.159 MB / 0.5418 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/0.4509, allocations: 5.45 MB / 0.5472 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.4512, allocations: 73 kB / 0.5472 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/0.4652, allocations: 7.224 MB / 0.5543 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000492/0.4657, allocations: 287.1 kB / 0.5545 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007315/0.4665, allocations: 458 kB / 0.555 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.478, allocations: 5.122 MB / 0.56 GB, free: 6.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.478, allocations: 4 kB / 0.56 GB, free: 6.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.478, allocations: 0 / 0.56 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.478, allocations: 0 / 0.56 GB, free: 6.527 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.004333/0.4824, allocations: 1.664 MB / 0.5616 GB, free: 4.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4824, allocations: 8.031 kB / 0.5616 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.4846, allocations: 307.6 kB / 0.5619 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/0.4856, allocations: 0.556 MB / 0.5625 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.4857, allocations: 109.3 kB / 0.5626 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4858, allocations: 60.38 kB / 0.5626 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.4882, allocations: 1.165 MB / 0.5638 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.4882, allocations: 0 / 0.5638 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/0.4883, allocations: 35.98 kB / 0.5638 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.559e-05/0.4884, allocations: 49.17 kB / 0.5638 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.49, allocations: 0.8439 MB / 0.5647 GB, free: 1.547 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.005812/0.4958, allocations: 5.512 MB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.4971, allocations: 0.5836 MB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.4974, allocations: 221.6 kB / 0.5708 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0978/0.5952, allocations: 51.33 MB / 0.621 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.5953, allocations: 38.56 kB / 0.621 GB, free: 1.121 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.354e-06/0.5953, allocations: 0 / 0.621 GB, free: 1.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.005394/0.6007, allocations: 1.929 MB / 0.6229 GB, free: 15.13 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.6008, allocations: 162.2 kB / 0.623 GB, free: 14.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.6016, allocations: 0.621 MB / 0.6236 GB, free: 14.31 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.6017, allocations: 37.7 kB / 0.6237 GB, free: 14.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.602, allocations: 395.1 kB / 0.624 GB, free: 13.87 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.6021, allocations: 165.7 kB / 0.6242 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.6024, allocations: 158.5 kB / 0.6244 GB, free: 13.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6025, allocations: 374.8 kB / 0.6247 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.6029, allocations: 229.9 kB / 0.6249 GB, free: 12.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.6035, allocations: 0.5678 MB / 0.6255 GB, free: 12.22 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.6045, allocations: 0.8407 MB / 0.6263 GB, free: 11.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.6046, allocations: 4 kB / 0.6263 GB, free: 11.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001417/0.606, allocations: 0.8684 MB / 0.6272 GB, free: 10.35 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.606, allocations: 12 kB / 0.6272 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.606, allocations: 8 kB / 0.6272 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/0.6063, allocations: 61.36 kB / 0.6272 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.6075, allocations: 291.5 kB / 0.6275 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.609, allocations: 2.072 MB / 0.6295 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.6095, allocations: 40.11 kB / 0.6296 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.6096, allocations: 44 kB / 0.6296 GB, free: 7.668 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.0003662/0.61, allocations: 265.4 kB / 0.6299 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.6102, allocations: 71.16 kB / 0.6299 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.6126, allocations: 2.216 MB / 0.6321 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/0.6126, allocations: 35.94 kB / 0.6321 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6126, allocations: 3.938 kB / 0.6321 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6126, allocations: 0 / 0.6321 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/0.6162, allocations: 3.296 MB / 0.6354 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6162, allocations: 3.938 kB / 0.6354 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009459/0.6172, allocations: 191.7 kB / 0.6356 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/0.6175, allocations: 80.78 kB / 0.6356 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.6176, allocations: 15.98 kB / 0.6356 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.6191, allocations: 2.09 MB / 0.6377 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6191, allocations: 0 / 0.6377 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.6213, allocations: 1.989 MB / 0.6396 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.6217, allocations: 247.4 kB / 0.6399 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.6219, allocations: 27.78 kB / 0.6399 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.6224, allocations: 36.12 kB / 0.6399 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.6225, allocations: 32.39 kB / 0.64 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.6226, allocations: 19.98 kB / 0.64 GB, free: 12.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006672/0.6232, allocations: 0.5146 MB / 0.6405 GB, free: 12.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.6232, allocations: 0 / 0.6405 GB, free: 12.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003233/0.6265, allocations: 1.089 MB / 0.6415 GB, free: 11.15 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.004947/0.6314, allocations: 1.226 MB / 0.6427 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.6339, allocations: 1.01 MB / 0.6437 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.634, allocations: 0 / 0.6437 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.6352, allocations: 0.664 MB / 0.6444 GB, free: 8.258 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.6372, allocations: 386.6 kB / 0.6447 GB, free: 7.891 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.6405, allocations: 2.296 MB / 0.647 GB, free: 5.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.6411, allocations: 1.109 MB / 0.6481 GB, free: 4.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.6413, allocations: 67.42 kB / 0.6481 GB, free: 4.355 MB / 494.1 MB Notification: Performance of SimCode: time 2.424e-06/0.6413, allocations: 0 / 0.6481 GB, free: 4.355 MB / 494.1 MB Notification: Performance of Templates: time 0.04802/0.6894, allocations: 37.99 MB / 0.6852 GB, free: 14.39 MB / 0.5294 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