Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 166.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.333/0.333, allocations: 34.27 MB / 296.1 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.559e-05, allocations: 5.406 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01531/0.01534, allocations: 16.62 MB / 395.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.02913, allocations: 13.78 MB / 408.9 MB, free: 3.875 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.02963, allocations: 27.75 kB / 408.9 MB, free: 3.848 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000563/0.0302, allocations: 246.4 kB / 409.2 MB, free: 3.605 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009441/0.03964, allocations: 4.96 MB / 414.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.04344, allocations: 1.955 MB / 416.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.04557, allocations: 2.062 MB / 418.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.04601, allocations: 450 kB / 418.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008859/0.05487, allocations: 7.654 MB / 426.3 MB, free: 2.383 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.05798, allocations: 2.202 MB / 428.5 MB, free: 156 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.05831, allocations: 68 kB / 428.5 MB, free: 88 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/0.06973, allocations: 6.789 MB / 435.3 MB, free: 9.289 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.07018, allocations: 299.1 kB / 435.6 MB, free: 8.996 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008291/0.07101, allocations: 319.3 kB / 435.9 MB, free: 8.684 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.08476, allocations: 5.632 MB / 441.5 MB, free: 3.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.08477, allocations: 0 / 441.5 MB, free: 3.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08477, allocations: 0 / 441.5 MB, free: 3.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.08479, allocations: 0 / 441.5 MB, free: 3.039 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.004137/0.08893, allocations: 1.673 MB / 443.2 MB, free: 1.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.08898, allocations: 8.031 kB / 443.2 MB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.09071, allocations: 451.1 kB / 443.7 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/0.09156, allocations: 0.5279 MB / 444.2 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.0917, allocations: 164.7 kB / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-05/0.0918, allocations: 64.34 kB / 444.4 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1968/0.2886, allocations: 1.256 MB / 445.7 MB, free: 74.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.2886, allocations: 1.938 kB / 445.7 MB, free: 74.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.906e-05/0.2887, allocations: 31.8 kB / 445.7 MB, free: 74.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/0.2888, allocations: 45.14 kB / 445.8 MB, free: 74.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007249/0.296, allocations: 0.5551 MB / 446.3 MB, free: 74.68 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.00979/0.3058, allocations: 5.22 MB / 451.5 MB, free: 70.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.3071, allocations: 0.5466 MB / 452.1 MB, free: 70.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006176/0.3133, allocations: 114.8 kB / 452.2 MB, free: 70.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02762/0.3409, allocations: 7.433 MB / 459.6 MB, free: 70.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.3409, allocations: 40.02 kB / 459.7 MB, free: 70.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.575e-06/0.3409, allocations: 4 kB / 459.7 MB, free: 70.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.003286/0.3442, allocations: 1.458 MB / 461.1 MB, free: 70.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3443, allocations: 164.2 kB / 461.3 MB, free: 69.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.3447, allocations: 0.56 MB / 461.8 MB, free: 69.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.3447, allocations: 39.17 kB / 461.9 MB, free: 69.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.3449, allocations: 463 kB / 462.3 MB, free: 69.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/0.345, allocations: 188.5 kB / 462.5 MB, free: 69.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.3451, allocations: 185.2 kB / 462.7 MB, free: 69.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3452, allocations: 0.5528 MB / 463.3 MB, free: 68.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3454, allocations: 110.8 kB / 463.4 MB, free: 68.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.3457, allocations: 0.6912 MB / 464.1 MB, free: 68.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.3462, allocations: 0.7646 MB / 464.8 MB, free: 67.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.3462, allocations: 9.328 kB / 464.8 MB, free: 67.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007288/0.3469, allocations: 0.6907 MB / 465.5 MB, free: 67.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3469, allocations: 9.844 kB / 465.5 MB, free: 67.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.347, allocations: 13.22 kB / 465.5 MB, free: 67.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.3472, allocations: 66.44 kB / 465.6 MB, free: 67.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.3477, allocations: 270.5 kB / 465.9 MB, free: 67.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.3495, allocations: 3.861 MB / 469.7 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.3498, allocations: 40.8 kB / 469.8 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.3499, allocations: 36.62 kB / 469.8 MB, free: 63.79 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.0002407/0.3501, allocations: 224.1 kB / 470 MB, free: 63.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3502, allocations: 85.05 kB / 470.1 MB, free: 63.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.3514, allocations: 1.534 MB / 471.6 MB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.3514, allocations: 34.23 kB / 471.7 MB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3514, allocations: 3.094 kB / 471.7 MB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3514, allocations: 3.375 kB / 471.7 MB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.3532, allocations: 2.087 MB / 473.8 MB, free: 62.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3532, allocations: 3.375 kB / 473.8 MB, free: 62.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.3536, allocations: 177.6 kB / 473.9 MB, free: 62.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/0.3538, allocations: 102.9 kB / 474 MB, free: 62.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.3538, allocations: 16.55 kB / 474.1 MB, free: 62.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3549, allocations: 3.572 MB / 477.6 MB, free: 59.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3549, allocations: 0 / 477.6 MB, free: 59.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.356, allocations: 1.371 MB / 479 MB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.3562, allocations: 166.9 kB / 479.2 MB, free: 58.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.3562, allocations: 39.39 kB / 479.2 MB, free: 58.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.3564, allocations: 22.47 kB / 479.2 MB, free: 58.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.3565, allocations: 53.16 kB / 479.3 MB, free: 58.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.3565, allocations: 16.69 kB / 479.3 MB, free: 58.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.3568, allocations: 435.8 kB / 479.7 MB, free: 58.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3568, allocations: 0 / 479.7 MB, free: 58.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002686/0.3595, allocations: 1.111 MB / 480.8 MB, free: 58.62 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.003169/0.3626, allocations: 1.336 MB / 482.2 MB, free: 58.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.3638, allocations: 0.7945 MB / 483 MB, free: 58.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3638, allocations: 3.625 kB / 483 MB, free: 58.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006438/0.3644, allocations: 0.5674 MB / 483.5 MB, free: 57.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009763/0.3654, allocations: 376 kB / 483.9 MB, free: 57.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.3681, allocations: 2.112 MB / 486 MB, free: 57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.3683, allocations: 280.7 kB / 486.3 MB, free: 56.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005265/0.3689, allocations: 343.3 kB / 486.6 MB, free: 56.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/0.3694, allocations: 366.3 kB / 487 MB, free: 56.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/0.3694, allocations: 1.031 kB / 487 MB, free: 56.82 MB / 410.7 MB Notification: Performance of Templates: time 0.05603/0.4254, allocations: 52.89 MB / 0.5272 GB, free: 21.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.645337153226137]