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.001561/0.001562, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001894, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.012/2.012, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4602/0.4602, allocations: 46.11 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002984/0.002984, allocations: 76.62 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2144, allocations: 62.46 MB / 480 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.46/0.6745, allocations: 40.39 MB / 0.5081 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04336/0.7179, allocations: 21.25 MB / 0.5289 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.7201, allocations: 29.12 kB / 0.5289 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.7226, allocations: 399.7 kB / 0.5293 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02712/0.7497, allocations: 4.182 MB / 0.5334 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01409/0.7639, allocations: 2.241 MB / 0.5356 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00689/0.7708, allocations: 2.863 MB / 0.5384 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.7723, allocations: 436.5 kB / 0.5388 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01662/0.789, allocations: 4.057 MB / 0.5428 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01994/0.809, allocations: 5.463 MB / 0.5481 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.8094, allocations: 41.69 kB / 0.5481 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02763/0.8371, allocations: 7.272 MB / 0.5552 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009277/0.8381, allocations: 255.2 kB / 0.5555 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.8394, allocations: 434 kB / 0.5559 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.8527, allocations: 3.552 MB / 0.5594 GB, free: 7.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.8528, allocations: 0 / 0.5594 GB, free: 7.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.8528, allocations: 0 / 0.5594 GB, free: 7.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.657e-05/0.8529, allocations: 0 / 0.5594 GB, free: 7.094 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.00969/0.8626, allocations: 1.668 MB / 0.561 GB, free: 5.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/0.8627, allocations: 8.031 kB / 0.561 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/0.8676, allocations: 299.7 kB / 0.5613 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.8699, allocations: 0.5676 MB / 0.5618 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.8702, allocations: 109.3 kB / 0.5619 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.8705, allocations: 56.38 kB / 0.562 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005255/0.8758, allocations: 1.162 MB / 0.5631 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.8759, allocations: 0 / 0.5631 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.8761, allocations: 39.97 kB / 0.5632 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.8762, allocations: 45.23 kB / 0.5632 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/0.8793, allocations: 0.8479 MB / 0.564 GB, free: 2.109 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.01084/0.8902, allocations: 5.484 MB / 0.5694 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.8923, allocations: 0.5845 MB / 0.57 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.8929, allocations: 230.3 kB / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1181/1.011, allocations: 51.33 MB / 0.6203 GB, free: 1.746 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.886e-05/1.011, allocations: 38.56 kB / 0.6203 GB, free: 1.699 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 3.446e-06/1.011, allocations: 0 / 0.6203 GB, free: 1.699 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.006511/1.018, allocations: 1.932 MB / 0.6222 GB, free: 15.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.018, allocations: 162.2 kB / 0.6224 GB, free: 15.51 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.019, allocations: 0.6249 MB / 0.623 GB, free: 14.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/1.019, allocations: 33.7 kB / 0.623 GB, free: 14.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000511/1.02, allocations: 395.2 kB / 0.6234 GB, free: 14.44 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/1.02, allocations: 169.6 kB / 0.6236 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/1.02, allocations: 154.5 kB / 0.6237 GB, free: 14.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002575/1.021, allocations: 378.8 kB / 0.6241 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/1.021, allocations: 229.9 kB / 0.6243 GB, free: 13.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/1.022, allocations: 0.5717 MB / 0.6249 GB, free: 12.78 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/1.023, allocations: 0.8407 MB / 0.6257 GB, free: 11.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/1.024, allocations: 0 / 0.6257 GB, free: 11.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001901/1.025, allocations: 0.8751 MB / 0.6265 GB, free: 10.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/1.025, allocations: 8 kB / 0.6265 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/1.025, allocations: 12 kB / 0.6265 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003671/1.026, allocations: 64.77 kB / 0.6266 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.027, allocations: 283.9 kB / 0.6269 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/1.029, allocations: 1.977 MB / 0.6288 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/1.03, allocations: 59.97 kB / 0.6289 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.03, allocations: 43.94 kB / 0.6289 GB, free: 8.309 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.000551/1.031, allocations: 277.9 kB / 0.6292 GB, free: 8.027 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/1.031, allocations: 67.25 kB / 0.6292 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/1.034, allocations: 2.221 MB / 0.6314 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/1.034, allocations: 31.95 kB / 0.6314 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.034, allocations: 0 / 0.6314 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/1.034, allocations: 8.016 kB / 0.6314 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004615/1.039, allocations: 3.277 MB / 0.6346 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.039, allocations: 1.5 kB / 0.6346 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/1.04, allocations: 191.8 kB / 0.6348 GB, free: 2.148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/1.04, allocations: 92.69 kB / 0.6349 GB, free: 2.055 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/1.04, allocations: 12 kB / 0.6349 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/1.042, allocations: 2.004 MB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.042, allocations: 0 / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/1.045, allocations: 1.986 MB / 0.6388 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005983/1.045, allocations: 243.5 kB / 0.6391 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/1.046, allocations: 23.75 kB / 0.6391 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/1.046, allocations: 55.95 kB / 0.6391 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.047, allocations: 40.33 kB / 0.6392 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/1.047, allocations: 23.98 kB / 0.6392 GB, free: 13.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008857/1.048, allocations: 0.5146 MB / 0.6397 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.048, allocations: 0 / 0.6397 GB, free: 12.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004248/1.052, allocations: 1.089 MB / 0.6408 GB, free: 11.87 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.006355/1.058, allocations: 1.218 MB / 0.6419 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/1.061, allocations: 0.924 MB / 0.6429 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.061, allocations: 0 / 0.6429 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/1.062, allocations: 0.6677 MB / 0.6435 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/1.065, allocations: 370.2 kB / 0.6439 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/1.069, allocations: 2.719 MB / 0.6465 GB, free: 5.945 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008746/1.07, allocations: 1.106 MB / 0.6476 GB, free: 4.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/1.071, allocations: 71.42 kB / 0.6477 GB, free: 4.746 MB / 494.1 MB Notification: Performance of SimCode: time 1.202e-06/1.071, allocations: 4 kB / 0.6477 GB, free: 4.742 MB / 494.1 MB Notification: Performance of Templates: time 0.06658/1.137, allocations: 37.96 MB / 0.6847 GB, free: 14.81 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