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.001437/0.001437, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001179/0.001179, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.022/1.022, allocations: 177 MB / 204.8 MB, free: 5.574 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.3156/0.3156, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.234e-06/2.234e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.643e-05, allocations: 2.312 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.0159/0.01593, allocations: 16.83 MB / 395.6 MB, free: 1.148 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.0302, allocations: 13.98 MB / 409.6 MB, free: 3.117 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/0.03076, allocations: 27.75 kB / 409.6 MB, free: 3.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.03138, allocations: 246.4 kB / 409.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.04176, allocations: 4.972 MB / 414.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.04579, allocations: 1.947 MB / 416.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.0479, allocations: 2.062 MB / 418.8 MB, free: 9.836 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007421/0.04864, allocations: 442 kB / 419.3 MB, free: 9.391 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01033/0.05897, allocations: 7.661 MB / 426.9 MB, free: 1.621 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.06248, allocations: 2.198 MB / 429.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.06263, allocations: 72 kB / 429.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.07422, allocations: 6.785 MB / 436 MB, free: 8.531 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.07452, allocations: 303.1 kB / 436.3 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006092/0.07513, allocations: 327.3 kB / 436.6 MB, free: 7.914 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00918/0.08431, allocations: 5.632 MB / 442.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.08432, allocations: 0 / 442.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.08432, allocations: 4 kB / 442.2 MB, free: 2.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.08433, allocations: 0 / 442.2 MB, free: 2.266 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.003707/0.08804, allocations: 1.669 MB / 443.9 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.08808, allocations: 8.031 kB / 443.9 MB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.08988, allocations: 451.1 kB / 444.4 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1784/0.2683, allocations: 0.535 MB / 444.9 MB, free: 70.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.2685, allocations: 172.9 kB / 445.1 MB, free: 70.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.2685, allocations: 66.06 kB / 445.1 MB, free: 70.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.2699, allocations: 1.288 MB / 446.4 MB, free: 69.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.2699, allocations: 8.719 kB / 446.4 MB, free: 69.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.27, allocations: 33.72 kB / 446.5 MB, free: 69.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/0.27, allocations: 41.58 kB / 446.5 MB, free: 69.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009769/0.271, allocations: 0.6234 MB / 447.1 MB, free: 69.5 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.002885/0.2739, allocations: 5.372 MB / 452.5 MB, free: 65.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2749, allocations: 0.568 MB / 453.1 MB, free: 65.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.275, allocations: 140.5 kB / 453.2 MB, free: 65.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01377/0.2888, allocations: 8.699 MB / 461.9 MB, free: 65.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.2888, allocations: 40.17 kB / 461.9 MB, free: 65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.234e-06/0.2889, allocations: 0 / 461.9 MB, free: 65 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002803/0.2917, allocations: 1.71 MB / 463.7 MB, free: 64.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.2917, allocations: 161.1 kB / 463.8 MB, free: 64.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.2921, allocations: 0.5679 MB / 464.4 MB, free: 64.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.2921, allocations: 35.64 kB / 464.4 MB, free: 64.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.2923, allocations: 466.9 kB / 464.9 MB, free: 63.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.2924, allocations: 187.3 kB / 465.1 MB, free: 63.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.2925, allocations: 174.7 kB / 465.2 MB, free: 63.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.2926, allocations: 0.5463 MB / 465.8 MB, free: 63.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.2928, allocations: 141.1 kB / 465.9 MB, free: 63.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.2931, allocations: 0.7133 MB / 466.6 MB, free: 62.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.2937, allocations: 0.7977 MB / 467.4 MB, free: 61.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2937, allocations: 6.938 kB / 467.4 MB, free: 61.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007583/0.2944, allocations: 0.7267 MB / 468.1 MB, free: 61.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2944, allocations: 12.88 kB / 468.2 MB, free: 61.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.2944, allocations: 9.281 kB / 468.2 MB, free: 61.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.2946, allocations: 48.17 kB / 468.2 MB, free: 61.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.2952, allocations: 295.7 kB / 468.5 MB, free: 61.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006935/0.2959, allocations: 2.64 MB / 471.1 MB, free: 59.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.2962, allocations: 36.7 kB / 471.2 MB, free: 59.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.2962, allocations: 48.88 kB / 471.2 MB, free: 59.23 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,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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.2963, allocations: 222.2 kB / 471.4 MB, free: 59.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.2964, allocations: 81.66 kB / 471.5 MB, free: 59.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.2977, allocations: 1.667 MB / 473.2 MB, free: 58.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.2977, allocations: 34.5 kB / 473.2 MB, free: 58.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2977, allocations: 0 / 473.2 MB, free: 58.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2977, allocations: 3.328 kB / 473.2 MB, free: 58.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.2995, allocations: 2.326 MB / 475.6 MB, free: 58.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2995, allocations: 4.031 kB / 475.6 MB, free: 58.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.3, allocations: 204.5 kB / 475.8 MB, free: 58.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/0.3002, allocations: 61.97 kB / 475.8 MB, free: 58.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.3002, allocations: 16.59 kB / 475.8 MB, free: 58.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005959/0.3008, allocations: 2.617 MB / 478.5 MB, free: 55.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3008, allocations: 0 / 478.5 MB, free: 55.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.3021, allocations: 1.484 MB / 479.9 MB, free: 55.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3023, allocations: 175.9 kB / 480.1 MB, free: 55.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.3024, allocations: 32.34 kB / 480.1 MB, free: 55.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.3026, allocations: 21.44 kB / 480.2 MB, free: 55.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.3027, allocations: 51.83 kB / 480.2 MB, free: 55.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.3027, allocations: 20.55 kB / 480.2 MB, free: 55.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000377/0.3031, allocations: 472.1 kB / 480.7 MB, free: 54.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3031, allocations: 0 / 480.7 MB, free: 54.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002414/0.3055, allocations: 1.104 MB / 481.8 MB, free: 54.92 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.003008/0.3085, allocations: 1.299 MB / 483.1 MB, free: 54.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.3097, allocations: 0.6815 MB / 483.8 MB, free: 54.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3097, allocations: 0 / 483.8 MB, free: 54.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.3104, allocations: 484.1 kB / 484.3 MB, free: 54.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009829/0.3114, allocations: 368.1 kB / 484.6 MB, free: 54.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.3141, allocations: 2.151 MB / 486.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3143, allocations: 271.1 kB / 487 MB, free: 53.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005327/0.3149, allocations: 422.3 kB / 487.4 MB, free: 53.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.315, allocations: 67 kB / 487.5 MB, free: 53.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.315, allocations: 0 / 487.5 MB, free: 53.57 MB / 410.7 MB Notification: Performance of Templates: time 0.04556/0.3605, allocations: 53.24 MB / 0.5281 GB, free: 17.01 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: 6.324092593044043]