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.001011/0.001011, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.000978/0.000978, allocations: 161.4 kB / 24.56 MB, free: 20 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.9955/0.9955, allocations: 177.1 MB / 205 MB, free: 5.617 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.2446/0.2446, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.302e-06/1.302e-06, allocations: 0 / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.235e-05, allocations: 6.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01387/0.01389, allocations: 16.83 MB / 394.9 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.02564, allocations: 13.98 MB / 408.9 MB, free: 3.684 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.02599, allocations: 27.75 kB / 408.9 MB, free: 3.656 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.02651, allocations: 250.3 kB / 409.1 MB, free: 3.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008437/0.03495, allocations: 4.968 MB / 414.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.03826, allocations: 1.947 MB / 416.1 MB, free: 12.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.04015, allocations: 2.055 MB / 418.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.04061, allocations: 450 kB / 418.5 MB, free: 9.961 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.04412, allocations: 2.708 MB / 421.3 MB, free: 7.227 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006792/0.05091, allocations: 5.464 MB / 426.7 MB, free: 1.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.05103, allocations: 72 kB / 426.8 MB, free: 1.609 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00901/0.06004, allocations: 6.789 MB / 433.6 MB, free: 10.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.0603, allocations: 303.1 kB / 433.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.06061, allocations: 327.3 kB / 434.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006797/0.06741, allocations: 5.632 MB / 439.8 MB, free: 4.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.06741, allocations: 0 / 439.8 MB, free: 4.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.06741, allocations: 0 / 439.8 MB, free: 4.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.06742, allocations: 0 / 439.8 MB, free: 4.551 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.0026/0.07002, allocations: 1.681 MB / 441.5 MB, free: 2.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.07006, allocations: 8.031 kB / 441.5 MB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.0713, allocations: 451.1 kB / 442 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.07196, allocations: 0.5318 MB / 442.5 MB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.0721, allocations: 168.7 kB / 442.6 MB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.07218, allocations: 64.38 kB / 442.7 MB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.0739, allocations: 1.323 MB / 444 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.07393, allocations: 7.875 kB / 444 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/0.07398, allocations: 35.98 kB / 444.1 MB, free: 0 / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1466/0.2206, allocations: 36.41 kB / 444.1 MB, free: 74.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.2219, allocations: 0.621 MB / 444.7 MB, free: 74.85 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.002943/0.2248, allocations: 5.382 MB / 450.1 MB, free: 71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009664/0.2258, allocations: 0.5729 MB / 450.7 MB, free: 70.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.2259, allocations: 141.5 kB / 450.8 MB, free: 70.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/0.2399, allocations: 8.694 MB / 459.5 MB, free: 70.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.24, allocations: 40.64 kB / 459.6 MB, free: 70.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.24, allocations: 3.5 kB / 459.6 MB, free: 70.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002851/0.2428, allocations: 1.713 MB / 461.3 MB, free: 70 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.2429, allocations: 164.7 kB / 461.4 MB, free: 69.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.2432, allocations: 0.5492 MB / 462 MB, free: 69.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.2432, allocations: 34.83 kB / 462 MB, free: 69.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.2434, allocations: 460.5 kB / 462.5 MB, free: 69.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-05/0.2435, allocations: 180.4 kB / 462.6 MB, free: 69.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.2436, allocations: 166.8 kB / 462.8 MB, free: 69.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.2437, allocations: 0.5465 MB / 463.4 MB, free: 68.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.2439, allocations: 139.2 kB / 463.5 MB, free: 68.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.2442, allocations: 0.686 MB / 464.2 MB, free: 68.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.2447, allocations: 0.7666 MB / 464.9 MB, free: 67.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2447, allocations: 7.344 kB / 465 MB, free: 67.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007359/0.2454, allocations: 0.7224 MB / 465.7 MB, free: 67.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2454, allocations: 9.156 kB / 465.7 MB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2454, allocations: 12.94 kB / 465.7 MB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.2456, allocations: 43.12 kB / 465.7 MB, free: 67.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.2462, allocations: 283.1 kB / 466 MB, free: 67.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000718/0.2469, allocations: 2.643 MB / 468.7 MB, free: 64.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.2472, allocations: 34.56 kB / 468.7 MB, free: 64.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.2472, allocations: 39.62 kB / 468.7 MB, free: 64.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (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.0001518/0.2474, allocations: 228.9 kB / 469 MB, free: 64.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.2475, allocations: 76 kB / 469 MB, free: 64.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.2487, allocations: 1.671 MB / 470.7 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.2488, allocations: 41.06 kB / 470.7 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2488, allocations: 0 / 470.7 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.2488, allocations: 3.375 kB / 470.7 MB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.2506, allocations: 2.32 MB / 473.1 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2506, allocations: 3.938 kB / 473.1 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.2511, allocations: 209 kB / 473.3 MB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.2513, allocations: 51.55 kB / 473.3 MB, free: 63.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.2513, allocations: 17.73 kB / 473.3 MB, free: 63.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000671/0.252, allocations: 2.618 MB / 476 MB, free: 61.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.252, allocations: 3.031 kB / 476 MB, free: 61.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.2531, allocations: 1.481 MB / 477.4 MB, free: 60.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.2532, allocations: 177.6 kB / 477.6 MB, free: 60.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.2533, allocations: 38.45 kB / 477.6 MB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.2535, allocations: 22.45 kB / 477.7 MB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.2536, allocations: 53.7 kB / 477.7 MB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.2536, allocations: 15.78 kB / 477.7 MB, free: 60.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003539/0.254, allocations: 463.1 kB / 478.2 MB, free: 60.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.254, allocations: 5.031 kB / 478.2 MB, free: 60.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002343/0.2563, allocations: 1.102 MB / 479.3 MB, free: 60.37 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.002751/0.2591, allocations: 1.298 MB / 480.6 MB, free: 60.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.2601, allocations: 0.6742 MB / 481.3 MB, free: 60.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.2601, allocations: 1.188 kB / 481.3 MB, free: 60.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006586/0.2608, allocations: 475.8 kB / 481.7 MB, free: 60.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009543/0.2617, allocations: 370.3 kB / 482.1 MB, free: 60.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.2642, allocations: 2.137 MB / 484.2 MB, free: 59.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.2644, allocations: 283.6 kB / 484.5 MB, free: 59.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000512/0.2649, allocations: 404 kB / 484.9 MB, free: 59.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.2651, allocations: 61.44 kB / 485 MB, free: 59.01 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2651, allocations: 4 kB / 485 MB, free: 59 MB / 410.7 MB Notification: Performance of Templates: time 0.03909/0.3041, allocations: 46.22 MB / 0.5187 GB, free: 29.69 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.335444782394916]