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.0009792/0.0009792, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001002/0.001002, allocations: 161 kB / 24.56 MB, free: 12 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.981/0.981, allocations: 177.1 MB / 205 MB, free: 5.59 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.2846/0.2846, allocations: 32.81 MB / 294.3 MB, free: 1.195 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.713e-06/1.713e-06, allocations: 0 / 376 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.606e-05, allocations: 13.56 kB / 376 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02151/0.02154, allocations: 16.83 MB / 392.9 MB, free: 3.699 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02283/0.04437, allocations: 13.99 MB / 406.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.04555, allocations: 31.69 kB / 406.9 MB, free: 5.629 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.04658, allocations: 238.3 kB / 407.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.06027, allocations: 4.964 MB / 412.1 MB, free: 420 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003998/0.06427, allocations: 1.947 MB / 414 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002141/0.06641, allocations: 2.073 MB / 416.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006717/0.06708, allocations: 469.9 kB / 416.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.07085, allocations: 2.7 MB / 419.3 MB, free: 9.184 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006668/0.07752, allocations: 5.452 MB / 424.7 MB, free: 3.648 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.07764, allocations: 76 kB / 424.8 MB, free: 3.574 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009233/0.08687, allocations: 6.789 MB / 431.6 MB, free: 12.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.08713, allocations: 315 kB / 431.9 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.08745, allocations: 331.3 kB / 432.2 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007523/0.09497, allocations: 5.643 MB / 437.8 MB, free: 6.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.09497, allocations: 0 / 437.8 MB, free: 6.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09498, allocations: 3.938 kB / 437.9 MB, free: 6.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.09499, allocations: 0 / 437.9 MB, free: 6.484 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.00299/0.09798, allocations: 1.665 MB / 439.5 MB, free: 4.773 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.09802, allocations: 12.03 kB / 439.5 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.09929, allocations: 439.2 kB / 440 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.09996, allocations: 0.5357 MB / 440.5 MB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.1001, allocations: 168.7 kB / 440.7 MB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.1002, allocations: 68.38 kB / 440.7 MB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.1018, allocations: 1.312 MB / 442 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1018, allocations: 11.88 kB / 442.1 MB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.1019, allocations: 31.98 kB / 442.1 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/0.1019, allocations: 41.3 kB / 442.1 MB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007791/0.1027, allocations: 499 kB / 442.6 MB, free: 1.41 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.1802/0.283, allocations: 5.306 MB / 447.9 MB, free: 72.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009173/0.2839, allocations: 426.3 kB / 448.3 MB, free: 71.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.2841, allocations: 119.6 kB / 448.4 MB, free: 71.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0486/0.3327, allocations: 26.07 MB / 474.5 MB, free: 70.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.947e-05/0.3328, allocations: 49.16 kB / 474.6 MB, free: 70.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.866e-06/0.3328, allocations: 0 / 474.6 MB, free: 70.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.003755/0.3365, allocations: 1.473 MB / 476 MB, free: 70 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3366, allocations: 164.2 kB / 476.2 MB, free: 69.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.3371, allocations: 0.5589 MB / 476.8 MB, free: 69.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.3372, allocations: 35.27 kB / 476.8 MB, free: 69.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.3374, allocations: 463.7 kB / 477.2 MB, free: 69.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.3375, allocations: 176 kB / 477.4 MB, free: 69.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.3377, allocations: 168.6 kB / 477.6 MB, free: 69.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3378, allocations: 0.5487 MB / 478.1 MB, free: 68.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.338, allocations: 98.94 kB / 478.2 MB, free: 68.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.3384, allocations: 0.6733 MB / 478.9 MB, free: 67.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.3389, allocations: 0.739 MB / 479.6 MB, free: 67.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3389, allocations: 6.406 kB / 479.6 MB, free: 67.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008453/0.3398, allocations: 0.6571 MB / 480.3 MB, free: 67.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3398, allocations: 15.62 kB / 480.3 MB, free: 67.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3398, allocations: 14 kB / 480.3 MB, free: 67.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.34, allocations: 47.48 kB / 480.4 MB, free: 67.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.3406, allocations: 276.7 kB / 480.6 MB, free: 67.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008193/0.3414, allocations: 2.64 MB / 483.3 MB, free: 64.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.3417, allocations: 30.17 kB / 483.3 MB, free: 64.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.3417, allocations: 40.69 kB / 483.4 MB, free: 64.62 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.0001658/0.3419, allocations: 222.4 kB / 483.6 MB, free: 64.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.974e-05/0.342, allocations: 83.92 kB / 483.7 MB, free: 64.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.3432, allocations: 1.424 MB / 485.1 MB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.3432, allocations: 27.59 kB / 485.1 MB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3432, allocations: 2.719 kB / 485.1 MB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3432, allocations: 5.938 kB / 485.1 MB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.345, allocations: 2.065 MB / 487.2 MB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.345, allocations: 0 / 487.2 MB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.3455, allocations: 187.7 kB / 487.4 MB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/0.3457, allocations: 55.84 kB / 487.4 MB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.3457, allocations: 11.16 kB / 487.4 MB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006533/0.3464, allocations: 2.62 MB / 490 MB, free: 61.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3464, allocations: 4.266 kB / 490.1 MB, free: 61.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3474, allocations: 1.307 MB / 491.4 MB, free: 60.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.3476, allocations: 171.6 kB / 491.5 MB, free: 60.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.3476, allocations: 22.55 kB / 491.5 MB, free: 60.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.3478, allocations: 24.27 kB / 491.6 MB, free: 60.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.3479, allocations: 39.19 kB / 491.6 MB, free: 60.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.348, allocations: 18.66 kB / 491.6 MB, free: 60.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003279/0.3483, allocations: 427.4 kB / 492 MB, free: 60.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3483, allocations: 0 / 492 MB, free: 60.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002438/0.3507, allocations: 1.093 MB / 493.1 MB, free: 60.35 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.00282/0.3535, allocations: 1.294 MB / 494.4 MB, free: 60.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008832/0.3544, allocations: 0.5942 MB / 495 MB, free: 60.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3544, allocations: 1.312 kB / 495 MB, free: 60.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.3549, allocations: 417.2 kB / 495.4 MB, free: 60.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009016/0.3559, allocations: 363.9 kB / 495.8 MB, free: 60.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.358, allocations: 1.937 MB / 497.7 MB, free: 59.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.3582, allocations: 255.9 kB / 498 MB, free: 59.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004851/0.3587, allocations: 418.9 kB / 498.4 MB, free: 59.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/0.3587, allocations: 64.91 kB / 498.4 MB, free: 59.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.3587, allocations: 0 / 498.4 MB, free: 59.1 MB / 410.7 MB Notification: Performance of Templates: time 0.03637/0.3951, allocations: 45.11 MB / 0.5308 GB, free: 18.5 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: 5.35479410784319]