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.0009721/0.0009721, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001051/0.001051, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9586/0.9586, allocations: 177.2 MB / 205 MB, free: 5.285 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.2496/0.2496, allocations: 34.26 MB / 295.7 MB, free: 0.6992 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.974e-06/1.974e-06, allocations: 0 / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.869e-05, allocations: 2.312 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01822/0.01825, allocations: 16.83 MB / 394.9 MB, free: 1.746 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.03099, allocations: 13.98 MB / 408.9 MB, free: 3.715 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.03151, allocations: 31.69 kB / 408.9 MB, free: 3.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007198/0.03223, allocations: 246.4 kB / 409.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009264/0.04149, allocations: 4.971 MB / 414.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.04499, allocations: 1.951 MB / 416.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.04689, allocations: 2.062 MB / 418.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.04746, allocations: 442 kB / 418.6 MB, free: 9.984 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009521/0.05698, allocations: 7.658 MB / 426.2 MB, free: 2.219 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.05979, allocations: 2.198 MB / 428.4 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.05992, allocations: 72 kB / 428.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009495/0.06942, allocations: 6.785 MB / 435.3 MB, free: 9.129 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.06967, allocations: 299.1 kB / 435.6 MB, free: 8.836 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.06998, allocations: 323.3 kB / 435.9 MB, free: 8.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009608/0.07959, allocations: 5.628 MB / 441.5 MB, free: 2.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.0796, allocations: 8 kB / 441.5 MB, free: 2.871 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0796, allocations: 0 / 441.5 MB, free: 2.871 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.727e-05/0.07963, allocations: 0 / 441.5 MB, free: 2.871 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.003691/0.08332, allocations: 1.677 MB / 443.2 MB, free: 1.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.08337, allocations: 12.03 kB / 443.2 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.08472, allocations: 447.1 kB / 443.6 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.08541, allocations: 0.5397 MB / 444.2 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1672/0.2526, allocations: 166.5 kB / 444.3 MB, free: 75.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.2528, allocations: 62.78 kB / 444.4 MB, free: 75.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.2546, allocations: 1.297 MB / 445.7 MB, free: 74.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.2546, allocations: 8.344 kB / 445.7 MB, free: 74.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.2547, allocations: 27.34 kB / 445.7 MB, free: 74.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/0.2547, allocations: 43.06 kB / 445.8 MB, free: 74.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.2561, allocations: 0.6258 MB / 446.4 MB, free: 74.49 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.003537/0.2596, allocations: 5.364 MB / 451.8 MB, free: 70.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.2609, allocations: 0.5807 MB / 452.3 MB, free: 70.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.2611, allocations: 145.9 kB / 452.5 MB, free: 70.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01895/0.2801, allocations: 8.695 MB / 461.2 MB, free: 70.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.2801, allocations: 40.02 kB / 461.2 MB, free: 70.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.2801, allocations: 4 kB / 461.2 MB, free: 70.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.004067/0.2842, allocations: 1.708 MB / 462.9 MB, free: 69.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.2843, allocations: 168.1 kB / 463.1 MB, free: 69.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.2848, allocations: 0.559 MB / 463.6 MB, free: 69.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.2848, allocations: 35.95 kB / 463.7 MB, free: 69.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.285, allocations: 462 kB / 464.1 MB, free: 68.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.2851, allocations: 186.1 kB / 464.3 MB, free: 68.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.2853, allocations: 175.5 kB / 464.5 MB, free: 68.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.2854, allocations: 0.5521 MB / 465 MB, free: 68.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.2856, allocations: 134.8 kB / 465.2 MB, free: 68.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.286, allocations: 0.7089 MB / 465.9 MB, free: 67.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.2867, allocations: 0.8021 MB / 466.7 MB, free: 67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.2867, allocations: 3.031 kB / 466.7 MB, free: 67 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008242/0.2876, allocations: 0.7358 MB / 467.4 MB, free: 66.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2876, allocations: 8.625 kB / 467.4 MB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.2876, allocations: 12.84 kB / 467.4 MB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.2878, allocations: 53.2 kB / 467.5 MB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.2884, allocations: 288.8 kB / 467.8 MB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000933/0.2894, allocations: 2.647 MB / 470.4 MB, free: 64.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.2897, allocations: 37.16 kB / 470.5 MB, free: 64.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.2897, allocations: 44.33 kB / 470.5 MB, free: 64.27 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.0002065/0.29, allocations: 224.9 kB / 470.7 MB, free: 64.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2901, allocations: 82.92 kB / 470.8 MB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.2913, allocations: 1.667 MB / 472.5 MB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.2914, allocations: 37.19 kB / 472.5 MB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2914, allocations: 0 / 472.5 MB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2914, allocations: 7.266 kB / 472.5 MB, free: 63.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.2935, allocations: 2.326 MB / 474.8 MB, free: 63.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.2935, allocations: 0 / 474.8 MB, free: 63.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.2941, allocations: 206 kB / 475 MB, free: 63.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/0.2943, allocations: 53.48 kB / 475.1 MB, free: 63.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.2943, allocations: 10.62 kB / 475.1 MB, free: 63.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008156/0.2951, allocations: 2.624 MB / 477.7 MB, free: 60.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2951, allocations: 3.281 kB / 477.7 MB, free: 60.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.2966, allocations: 1.479 MB / 479.2 MB, free: 60.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.2969, allocations: 173.1 kB / 479.4 MB, free: 60.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.2969, allocations: 41.14 kB / 479.4 MB, free: 60.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.2972, allocations: 19.45 kB / 479.4 MB, free: 60.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.2973, allocations: 56.53 kB / 479.5 MB, free: 60.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.2973, allocations: 18.3 kB / 479.5 MB, free: 60.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004235/0.2977, allocations: 466.5 kB / 480 MB, free: 60.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2977, allocations: 0 / 480 MB, free: 60.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003262/0.301, allocations: 1.099 MB / 481.1 MB, free: 59.93 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.003604/0.3046, allocations: 1.299 MB / 482.4 MB, free: 59.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.306, allocations: 0.6934 MB / 483.1 MB, free: 59.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.306, allocations: 1.406 kB / 483.1 MB, free: 59.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007079/0.3067, allocations: 478.8 kB / 483.5 MB, free: 59.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.3078, allocations: 368.7 kB / 483.9 MB, free: 59.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.3108, allocations: 2.144 MB / 486 MB, free: 58.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.311, allocations: 281.4 kB / 486.3 MB, free: 58.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006511/0.3116, allocations: 407.3 kB / 486.7 MB, free: 58.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3118, allocations: 66.2 kB / 486.8 MB, free: 58.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3118, allocations: 0 / 486.8 MB, free: 58.57 MB / 410.7 MB Notification: Performance of Templates: time 0.05264/0.3644, allocations: 53.27 MB / 0.5274 GB, free: 21.32 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: 6.002194071188569]