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.00106/0.00106, allocations: 85.81 kB / 21.43 MB, free: 3.07 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.001119/0.001119, allocations: 166.6 kB / 24.82 MB, free: 8.93 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.02/1.02, allocations: 177 MB / 205.1 MB, free: 5.457 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.5 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 2.244e-06/2.244e-06, allocations: 4 kB / 379.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.402e-05, allocations: 3.156 kB / 379.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01371/0.01373, allocations: 16.63 MB / 395.9 MB, free: 1.102 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.02526, allocations: 13.77 MB / 409.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.02557, allocations: 27.75 kB / 409.7 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.02606, allocations: 238.4 kB / 409.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007922/0.03398, allocations: 4.976 MB / 414.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003191/0.03717, allocations: 1.943 MB / 416.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.03866, allocations: 2.058 MB / 418.9 MB, free: 10.01 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.03908, allocations: 450 kB / 419.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00766/0.04674, allocations: 7.654 MB / 427 MB, free: 1.793 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.04886, allocations: 2.208 MB / 429.2 MB, free: 15.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.888e-05/0.04895, allocations: 72 kB / 429.3 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007964/0.05691, allocations: 6.785 MB / 436.1 MB, free: 8.691 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.05714, allocations: 299.1 kB / 436.3 MB, free: 8.398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.0574, allocations: 327.3 kB / 436.7 MB, free: 8.078 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006119/0.06352, allocations: 5.624 MB / 442.3 MB, free: 2.441 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.06352, allocations: 4 kB / 442.3 MB, free: 2.438 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.06352, allocations: 0 / 442.3 MB, free: 2.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.06353, allocations: 0 / 442.3 MB, free: 2.438 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.00281/0.06634, allocations: 1.669 MB / 444 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.06639, allocations: 8.031 kB / 444 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.06787, allocations: 451.1 kB / 444.4 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2168/0.2847, allocations: 0.5197 MB / 444.9 MB, free: 75.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.2848, allocations: 172.5 kB / 445.1 MB, free: 74.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.2849, allocations: 61.75 kB / 445.2 MB, free: 74.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.2863, allocations: 1.255 MB / 446.4 MB, free: 74.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.2863, allocations: 3.281 kB / 446.4 MB, free: 74.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.2863, allocations: 33 kB / 446.4 MB, free: 74.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.2864, allocations: 40.5 kB / 446.5 MB, free: 74.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009151/0.2873, allocations: 0.549 MB / 447 MB, free: 74.25 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.002995/0.2903, allocations: 5.227 MB / 452.3 MB, free: 70.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008874/0.2912, allocations: 0.5514 MB / 452.8 MB, free: 70.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.2913, allocations: 119.7 kB / 452.9 MB, free: 70.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/0.3047, allocations: 7.421 MB / 460.4 MB, free: 69.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.3047, allocations: 43.58 kB / 460.4 MB, free: 69.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 1.974e-06/0.3047, allocations: 1.641 kB / 460.4 MB, free: 69.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002783/0.3075, allocations: 1.465 MB / 461.9 MB, free: 69.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.3075, allocations: 164.2 kB / 462 MB, free: 69.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.3079, allocations: 0.562 MB / 462.6 MB, free: 69.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3079, allocations: 32.52 kB / 462.6 MB, free: 69.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.3081, allocations: 474 kB / 463.1 MB, free: 68.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.3081, allocations: 185.8 kB / 463.3 MB, free: 68.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.3083, allocations: 177.9 kB / 463.4 MB, free: 68.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.3084, allocations: 0.5518 MB / 464 MB, free: 68.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3085, allocations: 114.1 kB / 464.1 MB, free: 68.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.3088, allocations: 0.6961 MB / 464.8 MB, free: 67.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.3093, allocations: 0.7638 MB / 465.6 MB, free: 67.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3093, allocations: 5.969 kB / 465.6 MB, free: 67.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007669/0.3101, allocations: 0.6893 MB / 466.3 MB, free: 66.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3101, allocations: 9.688 kB / 466.3 MB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.3101, allocations: 13.16 kB / 466.3 MB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.3103, allocations: 62.61 kB / 466.3 MB, free: 66.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.3109, allocations: 275.3 kB / 466.6 MB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.3126, allocations: 3.854 MB / 470.5 MB, free: 63.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.3128, allocations: 38.94 kB / 470.5 MB, free: 63.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.3129, allocations: 35.72 kB / 470.5 MB, free: 63.34 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 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.313, allocations: 227.6 kB / 470.8 MB, free: 63.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.3131, allocations: 82.19 kB / 470.8 MB, free: 63.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.3142, allocations: 1.54 MB / 472.4 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.3142, allocations: 32.81 kB / 472.4 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3142, allocations: 0.875 kB / 472.4 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.3142, allocations: 10.55 kB / 472.4 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.3158, allocations: 2.089 MB / 474.5 MB, free: 62.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3158, allocations: 0 / 474.5 MB, free: 62.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.3162, allocations: 176.9 kB / 474.7 MB, free: 62.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001924/0.3164, allocations: 109.3 kB / 474.8 MB, free: 62.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.3165, allocations: 16.56 kB / 474.8 MB, free: 62.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009018/0.3174, allocations: 3.573 MB / 478.4 MB, free: 58.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3174, allocations: 3.938 kB / 478.4 MB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009604/0.3183, allocations: 1.36 MB / 479.7 MB, free: 58.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.3185, allocations: 166.9 kB / 479.9 MB, free: 58.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.3185, allocations: 40.33 kB / 479.9 MB, free: 58.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.3187, allocations: 23.52 kB / 480 MB, free: 58.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.3188, allocations: 53.78 kB / 480 MB, free: 58.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.3188, allocations: 16.91 kB / 480 MB, free: 58.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.319, allocations: 436.8 kB / 480.5 MB, free: 58.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.319, allocations: 0 / 480.5 MB, free: 58.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002503/0.3215, allocations: 1.1 MB / 481.6 MB, free: 58.07 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 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002749/0.3243, allocations: 1.326 MB / 482.9 MB, free: 57.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.3253, allocations: 0.8031 MB / 483.7 MB, free: 57.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3253, allocations: 0 / 483.7 MB, free: 57.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006185/0.3259, allocations: 0.5607 MB / 484.2 MB, free: 57.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.3268, allocations: 378.6 kB / 484.6 MB, free: 57.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.3292, allocations: 2.124 MB / 486.7 MB, free: 56.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.3295, allocations: 275.3 kB / 487 MB, free: 56.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005033/0.33, allocations: 346.2 kB / 487.3 MB, free: 56.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.3305, allocations: 365.7 kB / 487.7 MB, free: 56.29 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.3305, allocations: 4 kB / 487.7 MB, free: 56.29 MB / 410.7 MB Notification: Performance of Templates: time 0.04845/0.3789, allocations: 52.87 MB / 0.5279 GB, free: 20.69 MB / 410.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.307968913577497]