Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.000988/0.000988, 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.001683/0.001683, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9825/0.9825, allocations: 177 MB / 205.2 MB, free: 5.047 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.2546/0.2546, allocations: 34.86 MB / 296.6 MB, free: 464 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.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.289e-05, allocations: 3.734 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.016/0.01603, allocations: 16.79 MB / 342.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.03066, allocations: 14 MB / 356.8 MB, free: 8.215 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006822/0.03134, allocations: 27.75 kB / 356.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007056/0.03205, allocations: 246.3 kB / 357 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009627/0.04168, allocations: 4.531 MB / 361.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.04521, allocations: 1.869 MB / 363.4 MB, free: 1.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002096/0.0473, allocations: 2.058 MB / 365.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006593/0.04796, allocations: 450 kB / 365.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008423/0.05638, allocations: 7.657 MB / 373.6 MB, free: 7.223 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.05901, allocations: 2.167 MB / 375.7 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.05918, allocations: 75.94 kB / 375.8 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.06943, allocations: 7.262 MB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.06981, allocations: 303.1 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.0703, allocations: 327.3 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.08087, allocations: 5.624 MB / 389.3 MB, free: 7.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.08088, allocations: 3.938 kB / 389.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08088, allocations: 0 / 389.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.0809, allocations: 0 / 389.3 MB, free: 7.426 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.003485/0.08438, allocations: 1.536 MB / 390.9 MB, free: 5.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.08442, allocations: 12.03 kB / 390.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.08582, allocations: 467.5 kB / 391.3 MB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.08643, allocations: 459.3 kB / 391.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.08653, allocations: 164.7 kB / 391.9 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.08661, allocations: 60.36 kB / 392 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.08792, allocations: 1.198 MB / 393.2 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.08794, allocations: 11.88 kB / 393.2 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.08798, allocations: 31.98 kB / 393.2 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.08803, allocations: 37.3 kB / 393.3 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.08894, allocations: 0.5303 MB / 393.8 MB, free: 2.695 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.002837/0.09178, allocations: 3.686 MB / 397.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009696/0.09275, allocations: 0.5151 MB / 398 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.09287, allocations: 110.4 kB / 398.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2506/0.3434, allocations: 47.82 MB / 445.9 MB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.3435, allocations: 40.47 kB / 446 MB, free: 98.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.164e-06/0.3435, allocations: 0 / 446 MB, free: 98.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002994/0.3465, allocations: 1.376 MB / 447.3 MB, free: 98.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.3465, allocations: 161.8 kB / 447.5 MB, free: 98.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.3468, allocations: 494.1 kB / 448 MB, free: 97.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.3468, allocations: 39.98 kB / 448 MB, free: 97.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.347, allocations: 358.6 kB / 448.4 MB, free: 97.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.222e-05/0.3471, allocations: 185.9 kB / 448.6 MB, free: 97.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3472, allocations: 157.4 kB / 448.7 MB, free: 97.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.3473, allocations: 377 kB / 449.1 MB, free: 97.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3474, allocations: 104 kB / 449.2 MB, free: 97.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.3477, allocations: 0.5399 MB / 449.7 MB, free: 96.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.3481, allocations: 0.6174 MB / 450.3 MB, free: 96.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3481, allocations: 2.906 kB / 450.3 MB, free: 96.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005221/0.3486, allocations: 0.5498 MB / 450.9 MB, free: 96.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3486, allocations: 15.41 kB / 450.9 MB, free: 96.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3486, allocations: 9.938 kB / 450.9 MB, free: 96.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.3488, allocations: 39.78 kB / 451 MB, free: 96.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.3494, allocations: 274.8 kB / 451.2 MB, free: 96.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007387/0.3501, allocations: 1.78 MB / 453 MB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.3504, allocations: 33.25 kB / 453 MB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.3505, allocations: 36.39 kB / 453.1 MB, free: 94.61 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 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,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]) * 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.0001803/0.3507, allocations: 187.7 kB / 453.3 MB, free: 94.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.318e-05/0.3508, allocations: 60.61 kB / 453.3 MB, free: 94.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.3518, allocations: 1.512 MB / 454.8 MB, free: 94.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.3519, allocations: 38.77 kB / 454.9 MB, free: 94.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.3519, allocations: 0 / 454.9 MB, free: 94.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3519, allocations: 3.469 kB / 454.9 MB, free: 94.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.3535, allocations: 1.853 MB / 456.7 MB, free: 93.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3536, allocations: 3.938 kB / 456.7 MB, free: 93.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.354, allocations: 194 kB / 456.9 MB, free: 93.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.3542, allocations: 47.02 kB / 457 MB, free: 93.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.3542, allocations: 13.66 kB / 457 MB, free: 93.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000546/0.3548, allocations: 1.778 MB / 458.8 MB, free: 91.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3548, allocations: 3.375 kB / 458.8 MB, free: 91.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.3556, allocations: 1.194 MB / 459.9 MB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.3557, allocations: 137.9 kB / 460.1 MB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.3558, allocations: 39.44 kB / 460.1 MB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.356, allocations: 24.44 kB / 460.1 MB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.356, allocations: 48.66 kB / 460.2 MB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.3561, allocations: 17.33 kB / 460.2 MB, free: 91.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.3562, allocations: 295.2 kB / 460.5 MB, free: 91.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3562, allocations: 0 / 460.5 MB, free: 91.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002713/0.359, allocations: 1.099 MB / 461.6 MB, free: 91.5 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.002715/0.3617, allocations: 1.371 MB / 463 MB, free: 91.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009225/0.3626, allocations: 0.5655 MB / 463.5 MB, free: 90.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-05/0.3626, allocations: 10.92 kB / 463.5 MB, free: 90.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.3631, allocations: 379.5 kB / 463.9 MB, free: 90.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.364, allocations: 376.8 kB / 464.3 MB, free: 90.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.3662, allocations: 2.109 MB / 466.4 MB, free: 88.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3663, allocations: 265.4 kB / 466.7 MB, free: 88.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.3667, allocations: 352 kB / 467 MB, free: 88.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.3671, allocations: 308.4 kB / 467.3 MB, free: 88.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/0.3671, allocations: 1.531 kB / 467.3 MB, free: 88.05 MB / 410.7 MB Notification: Performance of Templates: time 0.048/0.4151, allocations: 51.51 MB / 0.5066 GB, free: 39.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.1725764269940555]