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.00131/0.00131, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009185/0.0009185, allocations: 165 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 1.108/1.108, allocations: 177.1 MB / 205 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.2801/0.2801, allocations: 32.8 MB / 294.3 MB, free: 0.707 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.293e-06/1.293e-06, allocations: 0 / 376 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.083e-05, allocations: 2.312 kB / 376 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.0154/0.01542, allocations: 16.82 MB / 392.9 MB, free: 3.586 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.02901, allocations: 13.99 MB / 406.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006288/0.02964, allocations: 27.75 kB / 406.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.03035, allocations: 242.4 kB / 407.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.0409, allocations: 4.972 MB / 412.1 MB, free: 292 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004358/0.04525, allocations: 1.947 MB / 414 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.04786, allocations: 2.07 MB / 416.1 MB, free: 12.26 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.0491, allocations: 454 kB / 416.5 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/0.0602, allocations: 7.661 MB / 424.2 MB, free: 4.031 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.06324, allocations: 2.202 MB / 426.4 MB, free: 1.801 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.06343, allocations: 72 kB / 426.5 MB, free: 1.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/0.07386, allocations: 6.788 MB / 433.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000393/0.07426, allocations: 307 kB / 433.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005251/0.07478, allocations: 331.3 kB / 433.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.08602, allocations: 5.636 MB / 439.5 MB, free: 4.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.08603, allocations: 4 kB / 439.5 MB, free: 4.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.08603, allocations: 0 / 439.5 MB, free: 4.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.171e-05/0.08606, allocations: 3.938 kB / 439.5 MB, free: 4.656 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.003802/0.08987, allocations: 1.657 MB / 441.2 MB, free: 2.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.08992, allocations: 12.03 kB / 441.2 MB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.09131, allocations: 439.1 kB / 441.6 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009962/0.0923, allocations: 0.5435 MB / 442.2 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.09243, allocations: 164.7 kB / 442.3 MB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.09251, allocations: 64.38 kB / 442.4 MB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.09393, allocations: 1.299 MB / 443.7 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.09395, allocations: 7.875 kB / 443.7 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.09401, allocations: 35.98 kB / 443.7 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/0.09406, allocations: 41.3 kB / 443.8 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1791/0.2732, allocations: 490.3 kB / 444.3 MB, free: 76.57 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.003462/0.2767, allocations: 5.296 MB / 449.6 MB, free: 72.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.2774, allocations: 421.9 kB / 450 MB, free: 72.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.2775, allocations: 120.7 kB / 450.1 MB, free: 72.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05612/0.3336, allocations: 26.07 MB / 476.2 MB, free: 71.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.3337, allocations: 46.27 kB / 476.2 MB, free: 70.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 4.638e-06/0.3337, allocations: 0 / 476.2 MB, free: 70.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.004034/0.3378, allocations: 1.47 MB / 477.7 MB, free: 70.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.3378, allocations: 160.8 kB / 477.8 MB, free: 70.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00065/0.3385, allocations: 0.58 MB / 478.4 MB, free: 70.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.3385, allocations: 33.05 kB / 478.4 MB, free: 70.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.3388, allocations: 470.5 kB / 478.9 MB, free: 69.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.3389, allocations: 180.7 kB / 479.1 MB, free: 69.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.3391, allocations: 171.3 kB / 479.3 MB, free: 69.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3392, allocations: 0.5506 MB / 479.8 MB, free: 69.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.3394, allocations: 102.6 kB / 479.9 MB, free: 69.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.3398, allocations: 0.697 MB / 480.6 MB, free: 68.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.3405, allocations: 0.7829 MB / 481.4 MB, free: 67.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3405, allocations: 3.5 kB / 481.4 MB, free: 67.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008769/0.3414, allocations: 0.6725 MB / 482.1 MB, free: 67.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.3414, allocations: 15.2 kB / 482.1 MB, free: 67.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.3414, allocations: 9.719 kB / 482.1 MB, free: 67.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/0.3417, allocations: 49.69 kB / 482.1 MB, free: 67.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.3424, allocations: 284.4 kB / 482.4 MB, free: 67.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.3436, allocations: 2.637 MB / 485 MB, free: 65.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.344, allocations: 30.59 kB / 485.1 MB, free: 65.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.344, allocations: 41.23 kB / 485.1 MB, free: 65.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (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.0002465/0.3443, allocations: 228.9 kB / 485.3 MB, free: 64.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3444, allocations: 80.23 kB / 485.4 MB, free: 64.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.3458, allocations: 1.428 MB / 486.8 MB, free: 64.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/0.3459, allocations: 29.28 kB / 486.9 MB, free: 64.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3459, allocations: 7.469 kB / 486.9 MB, free: 64.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.3459, allocations: 6.078 kB / 486.9 MB, free: 64.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.348, allocations: 2.062 MB / 489 MB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.348, allocations: 4.453 kB / 489 MB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.3484, allocations: 179.1 kB / 489.1 MB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002261/0.3487, allocations: 58.59 kB / 489.2 MB, free: 64.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.3487, allocations: 14.97 kB / 489.2 MB, free: 64.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008272/0.3495, allocations: 2.615 MB / 491.8 MB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3495, allocations: 3.969 kB / 491.8 MB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3506, allocations: 1.307 MB / 493.1 MB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.3508, allocations: 171.1 kB / 493.3 MB, free: 61.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.3509, allocations: 23.5 kB / 493.3 MB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.3511, allocations: 20.8 kB / 493.3 MB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/0.3511, allocations: 37.27 kB / 493.4 MB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.3512, allocations: 18.27 kB / 493.4 MB, free: 61.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003532/0.3515, allocations: 430 kB / 493.8 MB, free: 60.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3515, allocations: 3.828 kB / 493.8 MB, free: 60.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003019/0.3545, allocations: 1.094 MB / 494.9 MB, free: 60.82 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.002934/0.3575, allocations: 1.299 MB / 496.2 MB, free: 60.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.3586, allocations: 0.6047 MB / 496.8 MB, free: 60.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3586, allocations: 2.125 kB / 496.8 MB, free: 60.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.3591, allocations: 410.8 kB / 497.2 MB, free: 60.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009336/0.3601, allocations: 370.4 kB / 497.6 MB, free: 60.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.3627, allocations: 1.938 MB / 499.5 MB, free: 59.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.3628, allocations: 252.2 kB / 499.8 MB, free: 58.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005502/0.3634, allocations: 436 kB / 0.4885 GB, free: 58.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3635, allocations: 60.31 kB / 0.4885 GB, free: 58.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.903e-06/0.3635, allocations: 0 / 0.4885 GB, free: 58.57 MB / 410.7 MB Notification: Performance of Templates: time 0.0512/0.4147, allocations: 51.92 MB / 0.5392 GB, free: 10.65 MB / 410.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: 6.461381061002612]