Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.0009956/0.0009956, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001067/0.001067, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.04/1.04, allocations: 177 MB / 205.2 MB, free: 5.539 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.2883/0.2883, allocations: 34.86 MB / 296.6 MB, free: 0.5508 MB / 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.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.141e-05, allocations: 2.312 kB / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.03783/0.03785, allocations: 40.22 MB / 419 MB, free: 10.05 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.05483, allocations: 20.13 MB / 439.1 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.05547, allocations: 31.69 kB / 439.1 MB, free: 5.824 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009629/0.05643, allocations: 417.2 kB / 439.5 MB, free: 5.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.06723, allocations: 5.193 MB / 444.7 MB, free: 204 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1695/0.2367, allocations: 2.583 MB / 447.3 MB, free: 49.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.2386, allocations: 2.025 MB / 449.3 MB, free: 48.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006034/0.2392, allocations: 445.8 kB / 449.8 MB, free: 48.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006102/0.2453, allocations: 4.436 MB / 454.2 MB, free: 47.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007282/0.2526, allocations: 5.447 MB / 459.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.2528, allocations: 69.75 kB / 459.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/0.266, allocations: 7.066 MB / 466.8 MB, free: 46.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005712/0.2665, allocations: 311.1 kB / 467.1 MB, free: 46.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008156/0.2673, allocations: 332.5 kB / 467.4 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.2795, allocations: 5.896 MB / 473.3 MB, free: 45.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2795, allocations: 0.6094 kB / 473.3 MB, free: 45.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2795, allocations: 0 / 473.3 MB, free: 45.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.2795, allocations: 0 / 473.3 MB, free: 45.85 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.003423/0.283, allocations: 1.744 MB / 475.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.283, allocations: 10.19 kB / 475.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.2846, allocations: 452.4 kB / 475.5 MB, free: 44.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.2852, allocations: 0.5313 MB / 476.1 MB, free: 44.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.2853, allocations: 163.8 kB / 476.2 MB, free: 44.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.2854, allocations: 66.58 kB / 476.3 MB, free: 44.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.287, allocations: 1.32 MB / 477.6 MB, free: 43.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.2871, allocations: 6.094 kB / 477.6 MB, free: 43.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.2871, allocations: 33.38 kB / 477.6 MB, free: 43.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.2872, allocations: 47.95 kB / 477.7 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.2885, allocations: 0.6194 MB / 478.3 MB, free: 43.71 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.003701/0.2922, allocations: 5.392 MB / 483.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.2936, allocations: 0.579 MB / 484.3 MB, free: 39.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.2938, allocations: 142.7 kB / 484.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0183/0.3121, allocations: 8.699 MB / 493.1 MB, free: 39.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.105e-05/0.3122, allocations: 40.39 kB / 493.1 MB, free: 38.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 4.558e-06/0.3122, allocations: 0 / 493.1 MB, free: 38.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.004985/0.3172, allocations: 1.72 MB / 494.9 MB, free: 38.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3172, allocations: 164.5 kB / 495 MB, free: 38.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/0.3178, allocations: 0.5476 MB / 495.6 MB, free: 37.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.3178, allocations: 37.2 kB / 495.6 MB, free: 37.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.318, allocations: 458.4 kB / 496.1 MB, free: 37.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.3182, allocations: 179.5 kB / 496.2 MB, free: 37.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.3183, allocations: 168.1 kB / 496.4 MB, free: 37.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3185, allocations: 0.546 MB / 496.9 MB, free: 36.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.3187, allocations: 139 kB / 497.1 MB, free: 36.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.3192, allocations: 0.6816 MB / 497.8 MB, free: 35.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.3199, allocations: 0.7787 MB / 498.5 MB, free: 35.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3199, allocations: 3.531 kB / 498.5 MB, free: 35.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001106/0.3211, allocations: 0.7081 MB / 499.3 MB, free: 35.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.3211, allocations: 9.469 kB / 499.3 MB, free: 35.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.3211, allocations: 9.625 kB / 499.3 MB, free: 35.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.3214, allocations: 50.5 kB / 499.3 MB, free: 34.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/0.3222, allocations: 287.6 kB / 499.6 MB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.3232, allocations: 2.635 MB / 0.4905 GB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.3236, allocations: 44.11 kB / 0.4905 GB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.3237, allocations: 42.95 kB / 0.4906 GB, free: 32.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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.0002369/0.3239, allocations: 219.8 kB / 0.4908 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3241, allocations: 83.67 kB / 0.4908 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.3257, allocations: 1.671 MB / 0.4925 GB, free: 31.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.3257, allocations: 33.78 kB / 0.4925 GB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3257, allocations: 0 / 0.4925 GB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3257, allocations: 7.828 kB / 0.4925 GB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.328, allocations: 2.323 MB / 0.4948 GB, free: 30.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.328, allocations: 0 / 0.4948 GB, free: 30.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/0.3287, allocations: 208 kB / 0.495 GB, free: 30.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/0.3289, allocations: 52.3 kB / 0.495 GB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.329, allocations: 19 kB / 0.495 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000782/0.3297, allocations: 2.626 MB / 0.4976 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.3298, allocations: 3.938 kB / 0.4976 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.3312, allocations: 1.476 MB / 0.4991 GB, free: 27.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.3314, allocations: 171.7 kB / 0.4992 GB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.3315, allocations: 36.25 kB / 0.4993 GB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.3318, allocations: 24.92 kB / 0.4993 GB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.3319, allocations: 54.27 kB / 0.4993 GB, free: 27.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.3319, allocations: 17.95 kB / 0.4993 GB, free: 27.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004002/0.3323, allocations: 464.2 kB / 0.4998 GB, free: 27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3323, allocations: 4.031 kB / 0.4998 GB, free: 27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003088/0.3354, allocations: 1.105 MB / 0.5009 GB, free: 26.82 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.003508/0.3389, allocations: 1.348 MB / 0.5022 GB, free: 26.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.3403, allocations: 0.6779 MB / 0.5029 GB, free: 26.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3403, allocations: 0 / 0.5029 GB, free: 26.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.3411, allocations: 475.5 kB / 0.5033 GB, free: 26.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.3424, allocations: 376.2 kB / 0.5037 GB, free: 26.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.3455, allocations: 2.131 MB / 0.5057 GB, free: 25.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.3457, allocations: 277.9 kB / 0.506 GB, free: 25.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006314/0.3463, allocations: 416 kB / 0.5064 GB, free: 25.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3464, allocations: 61.78 kB / 0.5065 GB, free: 25.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3464, allocations: 4 kB / 0.5065 GB, free: 25.01 MB / 410.7 MB Notification: Performance of Templates: time 0.05382/0.4003, allocations: 46.97 MB / 0.5523 GB, free: 11.13 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_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.3938190878834575]