Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001343/0.001343, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.0009842/0.0009842, allocations: 171.5 kB / 24.91 MB, free: 9.227 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.9714/0.9714, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2548/0.2548, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.328e-05, allocations: 3.078 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01355/0.01358, allocations: 16.79 MB / 342.1 MB, free: 6.793 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.02597, allocations: 13.99 MB / 356.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005192/0.02649, allocations: 27.75 kB / 356.1 MB, free: 8.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.02704, allocations: 250.4 kB / 356.4 MB, free: 8.484 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008758/0.0358, allocations: 4.531 MB / 360.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.03917, allocations: 1.87 MB / 362.8 MB, free: 2.059 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001929/0.0411, allocations: 2.074 MB / 364.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000505/0.0416, allocations: 461.9 kB / 365.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008368/0.04997, allocations: 7.657 MB / 372.9 MB, free: 7.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.05251, allocations: 2.166 MB / 375.1 MB, free: 5.539 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.05267, allocations: 76 kB / 375.2 MB, free: 5.465 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/0.06285, allocations: 7.268 MB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004083/0.06326, allocations: 303.1 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.06377, allocations: 331.3 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009669/0.07344, allocations: 5.643 MB / 388.7 MB, free: 7.914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.07345, allocations: 0 / 388.7 MB, free: 7.914 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.07345, allocations: 0 / 388.7 MB, free: 7.914 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.07346, allocations: 4 kB / 388.7 MB, free: 7.91 MB / 362.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.002489/0.07594, allocations: 1.517 MB / 390.2 MB, free: 6.363 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.07598, allocations: 12.03 kB / 390.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.07729, allocations: 463.5 kB / 390.7 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.07784, allocations: 463.2 kB / 391.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.854e-05/0.07793, allocations: 160.7 kB / 391.3 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.07801, allocations: 64.36 kB / 391.4 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.07917, allocations: 1.195 MB / 392.6 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.07919, allocations: 7.875 kB / 392.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.07924, allocations: 35.98 kB / 392.6 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.07928, allocations: 41.3 kB / 392.6 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005993/0.07988, allocations: 399.3 kB / 393 MB, free: 3.324 MB / 362.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.002631/0.08251, allocations: 3.631 MB / 396.7 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.08307, allocations: 367.2 kB / 397 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.38e-05/0.08317, allocations: 90.48 kB / 397.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.267/0.3502, allocations: 67.25 MB / 464.4 MB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.3503, allocations: 42.89 kB / 464.4 MB, free: 92.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.394e-06/0.3503, allocations: 0 / 464.4 MB, free: 92.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.002615/0.3529, allocations: 1.156 MB / 465.6 MB, free: 91.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.3529, allocations: 161.4 kB / 465.7 MB, free: 91.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.3532, allocations: 499.7 kB / 466.2 MB, free: 91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.3533, allocations: 36.77 kB / 466.2 MB, free: 90.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3534, allocations: 363.3 kB / 466.6 MB, free: 90.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.04e-05/0.3535, allocations: 183.6 kB / 466.8 MB, free: 90.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3536, allocations: 152.3 kB / 466.9 MB, free: 90.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.3537, allocations: 381.8 kB / 467.3 MB, free: 90.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3538, allocations: 73.98 kB / 467.4 MB, free: 90.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.354, allocations: 0.5207 MB / 467.9 MB, free: 89.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.3544, allocations: 0.5875 MB / 468.5 MB, free: 88.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3544, allocations: 5.641 kB / 468.5 MB, free: 88.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.000519/0.3549, allocations: 0.4937 MB / 469 MB, free: 88.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3549, allocations: 12.72 kB / 469 MB, free: 88.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3549, allocations: 12 kB / 469 MB, free: 88.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.3551, allocations: 44.83 kB / 469 MB, free: 88.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.3557, allocations: 270.5 kB / 469.3 MB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006586/0.3563, allocations: 1.773 MB / 471.1 MB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.3566, allocations: 35.55 kB / 471.1 MB, free: 86.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.3566, allocations: 31.56 kB / 471.1 MB, free: 86.13 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 (ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1],fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.medium.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.0001621/0.3568, allocations: 177.7 kB / 471.3 MB, free: 85.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.36e-05/0.3569, allocations: 55.62 kB / 471.4 MB, free: 85.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007306/0.3576, allocations: 1.296 MB / 472.7 MB, free: 84.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.3576, allocations: 34.52 kB / 472.7 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3576, allocations: 0 / 472.7 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3576, allocations: 3.984 kB / 472.7 MB, free: 84.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.3588, allocations: 1.627 MB / 474.3 MB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3588, allocations: 0 / 474.3 MB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.3592, allocations: 173.7 kB / 474.5 MB, free: 83.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.3593, allocations: 58.03 kB / 474.6 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.3594, allocations: 7.688 kB / 474.6 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004809/0.3598, allocations: 1.774 MB / 476.3 MB, free: 81.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3599, allocations: 0 / 476.3 MB, free: 81.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.3605, allocations: 1.062 MB / 477.4 MB, free: 80.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3606, allocations: 130.6 kB / 477.5 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.3606, allocations: 33.73 kB / 477.6 MB, free: 80.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.3608, allocations: 18.42 kB / 477.6 MB, free: 80.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.3609, allocations: 32.31 kB / 477.6 MB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.3609, allocations: 21.41 kB / 477.6 MB, free: 80.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.3611, allocations: 262.3 kB / 477.9 MB, free: 79.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3611, allocations: 0 / 477.9 MB, free: 79.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002164/0.3632, allocations: 1.098 MB / 479 MB, free: 78.91 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.002842/0.3661, allocations: 1.37 MB / 480.4 MB, free: 77.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.3667, allocations: 0.5019 MB / 480.9 MB, free: 77.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/0.3668, allocations: 14.75 kB / 480.9 MB, free: 77.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.3671, allocations: 321.1 kB / 481.2 MB, free: 76.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/0.368, allocations: 351.1 kB / 481.5 MB, free: 76.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.37, allocations: 1.914 MB / 483.4 MB, free: 74.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.3701, allocations: 246.3 kB / 483.7 MB, free: 74.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004306/0.3706, allocations: 354.1 kB / 484 MB, free: 74.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.371, allocations: 314.9 kB / 484.3 MB, free: 74.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.552e-06/0.371, allocations: 1.859 kB / 484.3 MB, free: 74.06 MB / 410.7 MB Notification: Performance of Templates: time 0.0418/0.4128, allocations: 50.26 MB / 0.5221 GB, free: 24.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 4.952245601918548]