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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00197/0.00197, allocations: 86.48 kB / 20.68 MB, free: 1.035 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.001671/0.001671, allocations: 159 kB / 23.95 MB, free: 4.168 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.475/1.475, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.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.2144/0.2144, allocations: 34.26 MB / 294.8 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] 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=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.234e-05, allocations: 2.281 kB / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2628/0.2629, allocations: 35.64 MB / 478.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02556/0.2884, allocations: 18.02 MB / 496.3 MB, free: 15.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008108/0.2892, allocations: 26.91 kB / 496.4 MB, free: 15.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.2907, allocations: 425.9 kB / 496.8 MB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0181/0.3088, allocations: 5.193 MB / 0.4902 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00852/0.3173, allocations: 2.602 MB / 0.4927 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003435/0.3207, allocations: 2.046 MB / 0.4947 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009572/0.3217, allocations: 429.7 kB / 0.4952 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01154/0.3332, allocations: 4.429 MB / 0.4995 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/0.346, allocations: 5.441 MB / 0.5048 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002855/0.3463, allocations: 72 kB / 0.5049 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01691/0.3632, allocations: 7.067 MB / 0.5118 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006012/0.3638, allocations: 307 kB / 0.5121 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007389/0.3645, allocations: 327.3 kB / 0.5124 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.3812, allocations: 6.283 MB / 0.5185 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3812, allocations: 0 / 0.5185 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3812, allocations: 0 / 0.5185 GB, free: 13.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.048e-05/0.3813, allocations: 0 / 0.5185 GB, free: 13.75 MB / 430.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.005272/0.3865, allocations: 1.631 MB / 0.5201 GB, free: 12.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3866, allocations: 8.031 kB / 0.5201 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.389, allocations: 305.8 kB / 0.5204 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.39, allocations: 0.5136 MB / 0.5209 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.3902, allocations: 164.7 kB / 0.5211 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.3903, allocations: 60.33 kB / 0.5211 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.3931, allocations: 1.49 MB / 0.5226 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.3931, allocations: 7.938 kB / 0.5226 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.3932, allocations: 27.94 kB / 0.5226 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.242e-05/0.3933, allocations: 49.22 kB / 0.5226 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.3951, allocations: 0.844 MB / 0.5235 GB, free: 8.402 MB / 430.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.006046/0.4011, allocations: 4.327 MB / 0.5277 GB, free: 3.922 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.4025, allocations: 0.5658 MB / 0.5283 GB, free: 3.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.4028, allocations: 216.9 kB / 0.5285 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09843/0.5013, allocations: 26.04 MB / 0.5539 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.4e-05/0.5014, allocations: 38.56 kB / 0.5539 GB, free: 9.012 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 3.076e-06/0.5014, allocations: 0 / 0.5539 GB, free: 9.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.006499/0.5079, allocations: 1.863 MB / 0.5557 GB, free: 7.105 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.508, allocations: 162.2 kB / 0.5559 GB, free: 6.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.5091, allocations: 0.5456 MB / 0.5564 GB, free: 6.355 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.587e-05/0.5092, allocations: 37.64 kB / 0.5565 GB, free: 6.312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.5097, allocations: 419.9 kB / 0.5569 GB, free: 5.898 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.5099, allocations: 174.6 kB / 0.557 GB, free: 5.727 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.5102, allocations: 150.6 kB / 0.5572 GB, free: 5.574 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003064/0.5105, allocations: 378.7 kB / 0.5575 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.511, allocations: 225.9 kB / 0.5578 GB, free: 4.977 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009297/0.512, allocations: 0.6435 MB / 0.5584 GB, free: 4.156 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.5133, allocations: 0.8378 MB / 0.5592 GB, free: 3.164 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.5133, allocations: 4.875 kB / 0.5592 GB, free: 3.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001684/0.515, allocations: 0.8687 MB / 0.5601 GB, free: 2.281 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.515, allocations: 8 kB / 0.5601 GB, free: 2.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.5151, allocations: 15.98 kB / 0.5601 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.5154, allocations: 61.58 kB / 0.5601 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.5168, allocations: 283.6 kB / 0.5604 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.5188, allocations: 1.945 MB / 0.5623 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006417/0.5194, allocations: 32.09 kB / 0.5623 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.5195, allocations: 41 kB / 0.5624 GB, free: 15.77 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.0005486/0.5201, allocations: 269.5 kB / 0.5626 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.5203, allocations: 75.53 kB / 0.5627 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/0.5233, allocations: 2.311 MB / 0.565 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/0.5234, allocations: 31.98 kB / 0.565 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.5234, allocations: 11.55 kB / 0.565 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5234, allocations: 0 / 0.565 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/0.5279, allocations: 3.108 MB / 0.568 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5279, allocations: 0 / 0.568 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.5289, allocations: 187.8 kB / 0.5682 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004007/0.5293, allocations: 92.73 kB / 0.5683 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.5294, allocations: 15.98 kB / 0.5683 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.5313, allocations: 1.967 MB / 0.5702 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.5313, allocations: 4.031 kB / 0.5702 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.5341, allocations: 2.028 MB / 0.5722 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.5345, allocations: 167 kB / 0.5724 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.5347, allocations: 23.84 kB / 0.5724 GB, free: 5.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.5352, allocations: 31.97 kB / 0.5724 GB, free: 5.254 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.5354, allocations: 36.42 kB / 0.5725 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/0.5354, allocations: 27.92 kB / 0.5725 GB, free: 5.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007153/0.5361, allocations: 463 kB / 0.5729 GB, free: 4.742 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5361, allocations: 4.156 kB / 0.5729 GB, free: 4.738 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003938/0.5401, allocations: 1.092 MB / 0.574 GB, free: 3.645 MB / 478.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.005838/0.5459, allocations: 1.36 MB / 0.5753 GB, free: 2.277 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.5485, allocations: 0.9285 MB / 0.5762 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.5485, allocations: 4.25 kB / 0.5762 GB, free: 1.348 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.55, allocations: 0.625 MB / 0.5769 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.5525, allocations: 328.3 kB / 0.5772 GB, free: 416 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.5573, allocations: 2.174 MB / 0.5793 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007582/0.5581, allocations: 0.5209 MB / 0.5798 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001277/0.5594, allocations: 443.6 kB / 0.5802 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.5597, allocations: 60.5 kB / 0.5803 GB, free: 13.16 MB / 494.1 MB Notification: Performance of SimCode: time 2.334e-06/0.5597, allocations: 3.938 kB / 0.5803 GB, free: 13.15 MB / 494.1 MB Notification: Performance of Templates: time 0.07959/0.6393, allocations: 44.98 MB / 0.6242 GB, free: 412 kB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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: 8.628447499126196]