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.00113/0.00113, allocations: 88.33 kB / 21.44 MB, free: 3.113 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.003497/0.003497, allocations: 153.4 kB / 24.69 MB, free: 9.43 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.8726/0.8726, allocations: 177 MB / 204.9 MB, free: 5.699 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.235/0.235, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 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.352e-06/1.352e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.87e-05, allocations: 2.281 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2002/0.2002, allocations: 35.64 MB / 479.1 MB, free: 21.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.2135, allocations: 18.03 MB / 497.1 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009226/0.2144, allocations: 28.31 kB / 497.1 MB, free: 9.637 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.2155, allocations: 415.9 kB / 497.5 MB, free: 9.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01287/0.2284, allocations: 5.195 MB / 0.491 GB, free: 7.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006432/0.2348, allocations: 2.604 MB / 0.4935 GB, free: 5.832 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.2373, allocations: 2.022 MB / 0.4955 GB, free: 4.887 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000719/0.238, allocations: 425 kB / 0.4959 GB, free: 4.688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0082/0.2462, allocations: 4.424 MB / 0.5002 GB, free: 2.688 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009292/0.2555, allocations: 5.459 MB / 0.5055 GB, free: 284 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.2558, allocations: 70.88 kB / 0.5056 GB, free: 284 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/0.2677, allocations: 7.07 MB / 0.5125 GB, free: 13.05 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005444/0.2683, allocations: 301.5 kB / 0.5128 GB, free: 12.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007238/0.269, allocations: 326.3 kB / 0.5131 GB, free: 12.69 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.2827, allocations: 6.267 MB / 0.5192 GB, free: 8.102 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2827, allocations: 0 / 0.5192 GB, free: 8.102 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2827, allocations: 0 / 0.5192 GB, free: 8.102 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.012e-05/0.2827, allocations: 0 / 0.5192 GB, free: 8.102 MB / 426.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.004436/0.2871, allocations: 1.647 MB / 0.5208 GB, free: 6.418 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2872, allocations: 8.031 kB / 0.5208 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.2884, allocations: 308.1 kB / 0.5211 GB, free: 6.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.2892, allocations: 0.5149 MB / 0.5216 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.2893, allocations: 172.7 kB / 0.5218 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.2894, allocations: 60.33 kB / 0.5218 GB, free: 5.316 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.2911, allocations: 1.437 MB / 0.5233 GB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.2912, allocations: 7.875 kB / 0.5233 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.2912, allocations: 35.98 kB / 0.5233 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.2913, allocations: 45.23 kB / 0.5233 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.2928, allocations: 1.023 MB / 0.5243 GB, free: 2.609 MB / 426.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.004102/0.2969, allocations: 4.441 MB / 0.5287 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.2982, allocations: 0.7366 MB / 0.5294 GB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.2986, allocations: 281.5 kB / 0.5297 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01574/0.3143, allocations: 8.649 MB / 0.5381 GB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.3143, allocations: 38.56 kB / 0.5381 GB, free: 4.277 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.375e-06/0.3143, allocations: 3.938 kB / 0.5381 GB, free: 4.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.004136/0.3185, allocations: 2.218 MB / 0.5403 GB, free: 2.023 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.3186, allocations: 166.7 kB / 0.5405 GB, free: 1.824 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.319, allocations: 0.5378 MB / 0.541 GB, free: 1.277 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.3191, allocations: 37.7 kB / 0.541 GB, free: 1.234 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.3193, allocations: 404.1 kB / 0.5414 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.3194, allocations: 182.4 kB / 0.5416 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.3195, allocations: 158.6 kB / 0.5417 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3196, allocations: 370.8 kB / 0.5421 GB, free: 128 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.32, allocations: 277.8 kB / 0.5424 GB, free: 15.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.3205, allocations: 0.6878 MB / 0.543 GB, free: 14.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009432/0.3215, allocations: 0.8998 MB / 0.5439 GB, free: 13.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3215, allocations: 4 kB / 0.5439 GB, free: 13.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001162/0.3226, allocations: 0.9552 MB / 0.5449 GB, free: 12.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3227, allocations: 8 kB / 0.5449 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3227, allocations: 12 kB / 0.5449 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.3229, allocations: 68.7 kB / 0.5449 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.3235, allocations: 303.7 kB / 0.5452 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.3247, allocations: 1.955 MB / 0.5471 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.325, allocations: 43.97 kB / 0.5472 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.3251, allocations: 44.23 kB / 0.5472 GB, free: 10.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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.0003265/0.3254, allocations: 273.4 kB / 0.5475 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.3255, allocations: 67.58 kB / 0.5475 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.3275, allocations: 2.662 MB / 0.5501 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/0.3276, allocations: 35.94 kB / 0.5502 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3276, allocations: 0 / 0.5502 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3276, allocations: 7.922 kB / 0.5502 GB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.3306, allocations: 3.573 MB / 0.5537 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3306, allocations: 0 / 0.5537 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.3311, allocations: 223.7 kB / 0.5539 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/0.3313, allocations: 88.73 kB / 0.554 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.3313, allocations: 23.86 kB / 0.554 GB, free: 3.422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.3324, allocations: 1.97 MB / 0.5559 GB, free: 1.332 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/0.3324, allocations: 7.969 kB / 0.5559 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.3344, allocations: 2.404 MB / 0.5583 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.3347, allocations: 182.9 kB / 0.5584 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.3347, allocations: 39.8 kB / 0.5585 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.335, allocations: 31.97 kB / 0.5585 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.414e-05/0.3351, allocations: 52.33 kB / 0.5586 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3351, allocations: 23.98 kB / 0.5586 GB, free: 14.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004577/0.3355, allocations: 0.5029 MB / 0.5591 GB, free: 14.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3355, allocations: 0 / 0.5591 GB, free: 14.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003521/0.3391, allocations: 1.096 MB / 0.5602 GB, free: 12.96 MB / 474.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.004224/0.3433, allocations: 1.354 MB / 0.5615 GB, free: 11.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.345, allocations: 1.085 MB / 0.5625 GB, free: 10.53 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.345, allocations: 0 / 0.5625 GB, free: 10.53 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008873/0.3459, allocations: 0.75 MB / 0.5633 GB, free: 9.773 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.347, allocations: 344 kB / 0.5636 GB, free: 9.469 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.3497, allocations: 2.477 MB / 0.566 GB, free: 6.953 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.3501, allocations: 0.5634 MB / 0.5666 GB, free: 6.355 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.3503, allocations: 72.5 kB / 0.5666 GB, free: 6.281 MB / 474.7 MB Notification: Performance of SimCode: time 1.313e-06/0.3503, allocations: 0 / 0.5666 GB, free: 6.281 MB / 474.7 MB Notification: Performance of Templates: time 0.04135/0.3916, allocations: 39.65 MB / 0.6053 GB, free: 14.66 MB / 0.5105 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.402879728004336]