Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.001072/0.001072, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001082/0.001082, allocations: 165.9 kB / 24.99 MB, free: 8.793 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 0.9832/0.9832, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2693/0.2693, allocations: 32.8 MB / 294.6 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.286e-05, allocations: 10.31 kB / 376 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03056/0.03059, allocations: 40.22 MB / 416.2 MB, free: 12.58 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01689/0.04748, allocations: 20.13 MB / 436.4 MB, free: 8.387 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.04789, allocations: 31.75 kB / 436.4 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008448/0.04874, allocations: 413.3 kB / 436.8 MB, free: 7.949 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00798/0.05672, allocations: 5.201 MB / 442 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004832/0.06155, allocations: 2.582 MB / 444.6 MB, free: 136 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1537/0.2152, allocations: 2.038 MB / 446.6 MB, free: 50.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006062/0.2158, allocations: 453.9 kB / 447.1 MB, free: 50.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00626/0.2221, allocations: 4.442 MB / 451.5 MB, free: 49.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006191/0.2283, allocations: 5.445 MB / 457 MB, free: 48.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.2284, allocations: 72.81 kB / 457 MB, free: 48.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008799/0.2372, allocations: 7.059 MB / 464.1 MB, free: 48.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.2374, allocations: 313.8 kB / 464.4 MB, free: 48.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.2378, allocations: 335.5 kB / 464.7 MB, free: 48.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006634/0.2444, allocations: 5.908 MB / 470.6 MB, free: 47.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2444, allocations: 3.938 kB / 470.6 MB, free: 47.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2444, allocations: 0.6562 kB / 470.6 MB, free: 47.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.2444, allocations: 0 / 470.6 MB, free: 47.96 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.002811/0.2473, allocations: 1.729 MB / 472.4 MB, free: 47.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2473, allocations: 12.06 kB / 472.4 MB, free: 47.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.2487, allocations: 447.3 kB / 472.8 MB, free: 46.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.2492, allocations: 0.5317 MB / 473.3 MB, free: 46.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-05/0.2493, allocations: 162.8 kB / 473.5 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/0.2494, allocations: 63.02 kB / 473.6 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.2506, allocations: 1.325 MB / 474.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.2506, allocations: 3.062 kB / 474.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.2507, allocations: 35.31 kB / 474.9 MB, free: 45.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.2507, allocations: 49.61 kB / 475 MB, free: 45.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007918/0.2515, allocations: 492 kB / 475.5 MB, free: 45.73 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.00277/0.2543, allocations: 5.324 MB / 480.8 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.255, allocations: 421 kB / 481.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.2552, allocations: 118.1 kB / 481.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04403/0.2992, allocations: 26.08 MB / 0.4955 GB, free: 38.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.2993, allocations: 43.73 kB / 0.4955 GB, free: 38.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.094e-06/0.2993, allocations: 2.5 kB / 0.4955 GB, free: 38.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.003123/0.3024, allocations: 1.466 MB / 0.497 GB, free: 38.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3024, allocations: 162.2 kB / 0.4971 GB, free: 37.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.3028, allocations: 0.5663 MB / 0.4977 GB, free: 37.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.3028, allocations: 39.64 kB / 0.4977 GB, free: 37.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.303, allocations: 456.6 kB / 0.4981 GB, free: 37.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.3031, allocations: 185.4 kB / 0.4983 GB, free: 36.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3032, allocations: 160.2 kB / 0.4985 GB, free: 36.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.3033, allocations: 0.5547 MB / 0.499 GB, free: 36.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.3035, allocations: 101.9 kB / 0.4991 GB, free: 36.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.3038, allocations: 0.6644 MB / 0.4998 GB, free: 35.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.3043, allocations: 0.7461 MB / 0.5005 GB, free: 34.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3043, allocations: 4 kB / 0.5005 GB, free: 34.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.000672/0.3049, allocations: 0.6561 MB / 0.5011 GB, free: 33.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.305, allocations: 15.19 kB / 0.5012 GB, free: 33.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.305, allocations: 12.84 kB / 0.5012 GB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.3052, allocations: 51.66 kB / 0.5012 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.3057, allocations: 272.3 kB / 0.5015 GB, free: 33.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007964/0.3065, allocations: 2.637 MB / 0.504 GB, free: 30.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3068, allocations: 28 kB / 0.5041 GB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.3068, allocations: 43.98 kB / 0.5041 GB, free: 30.44 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.0001818/0.307, allocations: 214.8 kB / 0.5043 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.3071, allocations: 83.56 kB / 0.5044 GB, free: 30.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.3081, allocations: 1.435 MB / 0.5058 GB, free: 28.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.3081, allocations: 27.95 kB / 0.5058 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3081, allocations: 4 kB / 0.5058 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3081, allocations: 3.469 kB / 0.5058 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.3097, allocations: 2.059 MB / 0.5078 GB, free: 26.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3097, allocations: 7.984 kB / 0.5079 GB, free: 26.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.3102, allocations: 180.7 kB / 0.508 GB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.3103, allocations: 55.58 kB / 0.5081 GB, free: 26.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.3104, allocations: 12 kB / 0.5081 GB, free: 26.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006131/0.311, allocations: 2.62 MB / 0.5107 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.311, allocations: 0 / 0.5107 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.3121, allocations: 1.312 MB / 0.5119 GB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.3123, allocations: 166.9 kB / 0.5121 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.3124, allocations: 28.94 kB / 0.5121 GB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.3127, allocations: 25.11 kB / 0.5121 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.3127, allocations: 36.44 kB / 0.5122 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.3128, allocations: 19.98 kB / 0.5122 GB, free: 22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003516/0.3131, allocations: 419 kB / 0.5126 GB, free: 21.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3131, allocations: 4 kB / 0.5126 GB, free: 21.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002861/0.316, allocations: 1.092 MB / 0.5137 GB, free: 20.49 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.003175/0.3192, allocations: 1.356 MB / 0.515 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3202, allocations: 0.6021 MB / 0.5156 GB, free: 18.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3202, allocations: 0 / 0.5156 GB, free: 18.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.3209, allocations: 409.8 kB / 0.516 GB, free: 18.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3221, allocations: 366.1 kB / 0.5163 GB, free: 17.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.3246, allocations: 1.941 MB / 0.5182 GB, free: 16.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.3247, allocations: 262.2 kB / 0.5185 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005602/0.3253, allocations: 413.7 kB / 0.5189 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.3254, allocations: 56.5 kB / 0.5189 GB, free: 15.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3254, allocations: 0 / 0.5189 GB, free: 15.29 MB / 410.7 MB Notification: Performance of Templates: time 0.05188/0.3773, allocations: 45.89 MB / 0.5637 GB, free: 1.828 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.347351421136409]