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.0009398/0.0009398, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.0009046/0.0009046, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 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.044/1.044, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.2824/0.2824, allocations: 34.87 MB / 296.6 MB, free: 476 kB / 266.7 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 1.743e-06/1.743e-06, allocations: 0 / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.705e-05, allocations: 11.66 kB / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03946/0.03949, allocations: 40.22 MB / 419 MB, free: 10.01 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01941/0.0589, allocations: 20.13 MB / 439.1 MB, free: 5.809 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009101/0.05981, allocations: 27.75 kB / 439.1 MB, free: 5.781 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.06097, allocations: 421.2 kB / 439.6 MB, free: 5.367 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01213/0.07311, allocations: 5.197 MB / 444.8 MB, free: 152 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2119/0.285, allocations: 2.58 MB / 447.3 MB, free: 49.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005241/0.2903, allocations: 2.039 MB / 449.4 MB, free: 48.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006127/0.2909, allocations: 455.5 kB / 449.8 MB, free: 48.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01315/0.304, allocations: 4.441 MB / 454.3 MB, free: 47.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007269/0.3113, allocations: 5.443 MB / 459.7 MB, free: 46.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3114, allocations: 74.84 kB / 459.8 MB, free: 46.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009946/0.3214, allocations: 7.058 MB / 466.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.3216, allocations: 309.7 kB / 467.1 MB, free: 46.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.3219, allocations: 339.6 kB / 467.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0063/0.3282, allocations: 5.911 MB / 473.4 MB, free: 45.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3282, allocations: 0 / 473.4 MB, free: 45.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3282, allocations: 4 kB / 473.4 MB, free: 45.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3282, allocations: 0 / 473.4 MB, free: 45.89 MB / 410.7 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.002491/0.3307, allocations: 1.737 MB / 475.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3308, allocations: 9.312 kB / 475.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.3324, allocations: 438.6 kB / 475.6 MB, free: 44.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.333, allocations: 0.5314 MB / 476.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.3331, allocations: 164.2 kB / 476.2 MB, free: 44.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.3332, allocations: 62.95 kB / 476.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.3347, allocations: 1.324 MB / 477.6 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3347, allocations: 6.656 kB / 477.6 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.3348, allocations: 34.73 kB / 477.7 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-05/0.3348, allocations: 44.06 kB / 477.7 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.336, allocations: 494.1 kB / 478.2 MB, free: 43.66 MB / 410.7 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.003765/0.3398, allocations: 5.318 MB / 483.5 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008331/0.3406, allocations: 426.1 kB / 483.9 MB, free: 39.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.3408, allocations: 120.3 kB / 484.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04613/0.387, allocations: 26.08 MB / 0.4982 GB, free: 34.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.387, allocations: 41.39 kB / 0.4982 GB, free: 34.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.753e-06/0.387, allocations: 0 / 0.4982 GB, free: 34.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.003092/0.3901, allocations: 1.467 MB / 0.4997 GB, free: 33.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3901, allocations: 166.2 kB / 0.4998 GB, free: 32.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.3905, allocations: 0.5668 MB / 0.5004 GB, free: 32.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.3906, allocations: 33.7 kB / 0.5004 GB, free: 32.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.3907, allocations: 462.1 kB / 0.5008 GB, free: 31.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.3908, allocations: 178.4 kB / 0.501 GB, free: 31.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3909, allocations: 164.2 kB / 0.5012 GB, free: 31.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.391, allocations: 0.5508 MB / 0.5017 GB, free: 31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.3912, allocations: 101.9 kB / 0.5018 GB, free: 30.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.3915, allocations: 0.6692 MB / 0.5025 GB, free: 30 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.392, allocations: 0.7435 MB / 0.5032 GB, free: 29.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.392, allocations: 7.938 kB / 0.5032 GB, free: 29.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006978/0.3927, allocations: 0.6544 MB / 0.5038 GB, free: 28.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3928, allocations: 16.25 kB / 0.5038 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3928, allocations: 8 kB / 0.5038 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.393, allocations: 51.66 kB / 0.5039 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.3936, allocations: 273.2 kB / 0.5042 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009099/0.3945, allocations: 2.635 MB / 0.5067 GB, free: 25.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.3947, allocations: 28 kB / 0.5068 GB, free: 25.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.3947, allocations: 39.98 kB / 0.5068 GB, free: 25.32 MB / 410.7 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.0001779/0.3949, allocations: 221.2 kB / 0.507 GB, free: 25.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.395, allocations: 93.02 kB / 0.5071 GB, free: 25.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.3961, allocations: 1.421 MB / 0.5085 GB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.3961, allocations: 27.95 kB / 0.5085 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3961, allocations: 0 / 0.5085 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3961, allocations: 7.984 kB / 0.5085 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.3977, allocations: 2.068 MB / 0.5105 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3977, allocations: 4.031 kB / 0.5105 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.3982, allocations: 183.3 kB / 0.5107 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.3983, allocations: 47.59 kB / 0.5108 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.3984, allocations: 15.98 kB / 0.5108 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006618/0.399, allocations: 2.623 MB / 0.5133 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.399, allocations: 0 / 0.5133 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.4, allocations: 1.32 MB / 0.5146 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4001, allocations: 163 kB / 0.5148 GB, free: 16.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.4002, allocations: 23.89 kB / 0.5148 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.4004, allocations: 23.98 kB / 0.5148 GB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.4004, allocations: 32.44 kB / 0.5149 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.4005, allocations: 19.98 kB / 0.5149 GB, free: 16.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002707/0.4007, allocations: 419 kB / 0.5153 GB, free: 16.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4007, allocations: 3.375 kB / 0.5153 GB, free: 16.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002982/0.4037, allocations: 1.1 MB / 0.5164 GB, free: 15.36 MB / 410.7 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.003204/0.4069, allocations: 1.353 MB / 0.5177 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.408, allocations: 0.5985 MB / 0.5183 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.408, allocations: 1.375 kB / 0.5183 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000655/0.4087, allocations: 417.6 kB / 0.5187 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.4099, allocations: 355.2 kB / 0.519 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.4127, allocations: 1.943 MB / 0.5209 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.4128, allocations: 250.4 kB / 0.5211 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000579/0.4134, allocations: 422.1 kB / 0.5215 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.4135, allocations: 60.5 kB / 0.5216 GB, free: 10.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4135, allocations: 0 / 0.5216 GB, free: 10.16 MB / 410.7 MB Notification: Performance of Templates: time 0.05179/0.4653, allocations: 45.87 MB / 0.5664 GB, free: 12.69 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.711016373010352]