Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009676/0.0009676, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9796/0.9796, allocations: 177 MB / 205.2 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2568/0.2568, allocations: 34.86 MB / 296.6 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.893e-05, allocations: 6.5 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01995/0.01997, allocations: 16.79 MB / 342.8 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.03536, allocations: 13.99 MB / 356.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.03576, allocations: 35.69 kB / 356.8 MB, free: 8.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.03629, allocations: 242.4 kB / 357 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008757/0.04505, allocations: 4.527 MB / 361.6 MB, free: 3.414 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.04877, allocations: 1.869 MB / 363.4 MB, free: 1.539 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.05066, allocations: 2.078 MB / 365.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005128/0.05117, allocations: 454 kB / 365.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007841/0.05902, allocations: 7.664 MB / 373.6 MB, free: 7.211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/0.06126, allocations: 2.167 MB / 375.8 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.06135, allocations: 72 kB / 375.8 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009246/0.0706, allocations: 7.262 MB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.07084, allocations: 311.1 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.07113, allocations: 327.3 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006657/0.07779, allocations: 5.639 MB / 389.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.07779, allocations: 0 / 389.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.07779, allocations: 0 / 389.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.0778, allocations: 0 / 389.4 MB, free: 7.398 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.002603/0.08041, allocations: 1.532 MB / 390.9 MB, free: 5.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.08044, allocations: 8.031 kB / 390.9 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.08178, allocations: 451.5 kB / 391.3 MB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.08238, allocations: 467.3 kB / 391.8 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.08249, allocations: 160.7 kB / 392 MB, free: 4.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.0826, allocations: 68.3 kB / 392 MB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.08384, allocations: 1.191 MB / 393.2 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.08386, allocations: 11.92 kB / 393.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.08391, allocations: 28 kB / 393.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/0.08395, allocations: 41.3 kB / 393.3 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/0.08457, allocations: 407.2 kB / 393.7 MB, free: 2.801 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.002693/0.08726, allocations: 3.635 MB / 397.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.08781, allocations: 361.7 kB / 397.7 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/0.0879, allocations: 85.67 kB / 397.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2872/0.3752, allocations: 67.24 MB / 465 MB, free: 91.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.3752, allocations: 44.91 kB / 465.1 MB, free: 91.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.465e-06/0.3752, allocations: 4 kB / 465.1 MB, free: 91.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.002683/0.3779, allocations: 1.151 MB / 466.2 MB, free: 90.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.3779, allocations: 164.8 kB / 466.4 MB, free: 90.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.3782, allocations: 0.49 MB / 466.9 MB, free: 90.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3782, allocations: 33.58 kB / 466.9 MB, free: 90.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3783, allocations: 369.5 kB / 467.3 MB, free: 90.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/0.3784, allocations: 176.5 kB / 467.4 MB, free: 89.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3785, allocations: 157.6 kB / 467.6 MB, free: 89.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.3786, allocations: 380.6 kB / 468 MB, free: 89.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.3787, allocations: 69.95 kB / 468 MB, free: 89.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3789, allocations: 0.5224 MB / 468.5 MB, free: 88.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.3793, allocations: 0.5807 MB / 469.1 MB, free: 88.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3793, allocations: 4 kB / 469.1 MB, free: 88.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004787/0.3798, allocations: 0.5029 MB / 469.6 MB, free: 87.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3798, allocations: 11.94 kB / 469.6 MB, free: 87.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3799, allocations: 16 kB / 469.7 MB, free: 87.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/0.38, allocations: 42.8 kB / 469.7 MB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.3806, allocations: 268.3 kB / 470 MB, free: 87.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006257/0.3812, allocations: 1.778 MB / 471.7 MB, free: 85.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.3814, allocations: 30.56 kB / 471.8 MB, free: 85.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.3815, allocations: 31.67 kB / 471.8 MB, free: 85.46 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.0001676/0.3816, allocations: 177.2 kB / 472 MB, free: 85.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.3817, allocations: 63.38 kB / 472 MB, free: 85.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008058/0.3825, allocations: 1.298 MB / 473.3 MB, free: 84.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.3825, allocations: 27.08 kB / 473.4 MB, free: 84.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3825, allocations: 0 / 473.4 MB, free: 84.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3825, allocations: 3.984 kB / 473.4 MB, free: 84.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3837, allocations: 1.627 MB / 475 MB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3837, allocations: 4.031 kB / 475 MB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.3841, allocations: 172.4 kB / 475.2 MB, free: 82.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.3842, allocations: 47.59 kB / 475.2 MB, free: 82.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.3843, allocations: 10.8 kB / 475.2 MB, free: 82.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004883/0.3848, allocations: 1.767 MB / 477 MB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3848, allocations: 3.984 kB / 477 MB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.3854, allocations: 1.07 MB / 478.1 MB, free: 79.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.3855, allocations: 139.9 kB / 478.2 MB, free: 79.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.3855, allocations: 27.03 kB / 478.2 MB, free: 79.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.3857, allocations: 19.55 kB / 478.2 MB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.3858, allocations: 32.19 kB / 478.3 MB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.3858, allocations: 15.8 kB / 478.3 MB, free: 79.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.386, allocations: 255 kB / 478.5 MB, free: 79.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.386, allocations: 0 / 478.5 MB, free: 79.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002029/0.388, allocations: 1.103 MB / 479.6 MB, free: 78.16 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.002641/0.3906, allocations: 1.365 MB / 481 MB, free: 76.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.3913, allocations: 0.5028 MB / 481.5 MB, free: 76.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/0.3913, allocations: 12.5 kB / 481.5 MB, free: 76.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.3917, allocations: 327.4 kB / 481.8 MB, free: 76.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.3926, allocations: 363.6 kB / 482.2 MB, free: 75.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.3946, allocations: 1.912 MB / 484.1 MB, free: 74.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.3947, allocations: 246.3 kB / 484.4 MB, free: 73.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004335/0.3952, allocations: 363.4 kB / 484.7 MB, free: 73.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/0.3956, allocations: 315.2 kB / 485 MB, free: 73.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3956, allocations: 0 / 485 MB, free: 73.3 MB / 410.7 MB Notification: Performance of Templates: time 0.04221/0.4378, allocations: 50.24 MB / 0.5227 GB, free: 23.72 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 5.078129381872714]