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.001943/0.001943, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002416/0.002416, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.498/1.498, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.4694/0.4694, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.893e-06/1.893e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.833e-05/4.023e-05, allocations: 4.844 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04932/0.04936, allocations: 35.64 MB / 412.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02933/0.07869, allocations: 18.02 MB / 430.9 MB, free: 13.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.07959, allocations: 27.75 kB / 430.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.08101, allocations: 421.2 kB / 431.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01592/0.09694, allocations: 5.186 MB / 436.5 MB, free: 7.363 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007748/0.1047, allocations: 2.598 MB / 439.1 MB, free: 4.754 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003017/0.1077, allocations: 2.027 MB / 441.1 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008316/0.1085, allocations: 440.4 kB / 441.6 MB, free: 2.281 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2099/0.3184, allocations: 4.426 MB / 446 MB, free: 50.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01382/0.3323, allocations: 5.451 MB / 451.4 MB, free: 49.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002895/0.3325, allocations: 70.84 kB / 451.5 MB, free: 49.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01794/0.3505, allocations: 7.069 MB / 458.6 MB, free: 49.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005996/0.3511, allocations: 303.8 kB / 458.9 MB, free: 49.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008563/0.3519, allocations: 328 kB / 459.2 MB, free: 49.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.3654, allocations: 6.269 MB / 465.5 MB, free: 49.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3654, allocations: 4 kB / 465.5 MB, free: 49.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3654, allocations: 1.641 kB / 465.5 MB, free: 49.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3654, allocations: 0 / 465.5 MB, free: 49.26 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.004839/0.3703, allocations: 1.644 MB / 467.1 MB, free: 48.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3703, allocations: 9.594 kB / 467.1 MB, free: 48.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.3726, allocations: 468.5 kB / 467.6 MB, free: 48.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.3736, allocations: 0.5429 MB / 468.1 MB, free: 48.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.3737, allocations: 166.7 kB / 468.3 MB, free: 48.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.3739, allocations: 66.28 kB / 468.4 MB, free: 48.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.3763, allocations: 1.442 MB / 469.8 MB, free: 47.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.3763, allocations: 1.859 kB / 469.8 MB, free: 47.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.3764, allocations: 37.69 kB / 469.8 MB, free: 47.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/0.3765, allocations: 45.83 kB / 469.9 MB, free: 47.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.3788, allocations: 1.016 MB / 470.9 MB, free: 47.42 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.005303/0.3841, allocations: 4.471 MB / 475.4 MB, free: 44.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.3865, allocations: 0.7343 MB / 476.1 MB, free: 44.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005845/0.3871, allocations: 274.6 kB / 476.4 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03538/0.4224, allocations: 8.662 MB / 485 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.4225, allocations: 38.38 kB / 485.1 MB, free: 44.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 3.376e-06/0.4225, allocations: 0 / 485.1 MB, free: 44.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.009718/0.4322, allocations: 2.297 MB / 487.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.4323, allocations: 160.5 kB / 487.5 MB, free: 43.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008177/0.4331, allocations: 0.5388 MB / 488.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.4332, allocations: 34.06 kB / 488.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.4335, allocations: 402.7 kB / 488.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.4336, allocations: 182.1 kB / 488.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.4339, allocations: 160.7 kB / 488.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.434, allocations: 368.8 kB / 489.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008494/0.4349, allocations: 283.4 kB / 489.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008628/0.4357, allocations: 0.6834 MB / 490.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.4377, allocations: 0.9038 MB / 491 MB, free: 41.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.4377, allocations: 6.75 kB / 491.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00284/0.4405, allocations: 0.9839 MB / 492 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.4405, allocations: 12.97 kB / 492.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.4406, allocations: 10.69 kB / 492.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000389/0.441, allocations: 65.56 kB / 492.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/0.4428, allocations: 302.7 kB / 492.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.4445, allocations: 1.956 MB / 494.4 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/0.4453, allocations: 50.06 kB / 494.4 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.4453, allocations: 40.38 kB / 494.5 MB, free: 39.48 MB / 410.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.0004291/0.4458, allocations: 271.5 kB / 494.7 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.446, allocations: 85.02 kB / 494.8 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00432/0.4504, allocations: 2.669 MB / 497.5 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/0.4504, allocations: 34.45 kB / 497.5 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4504, allocations: 2.078 kB / 497.5 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4504, allocations: 9.922 kB / 497.5 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005628/0.456, allocations: 3.562 MB / 0.4893 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.456, allocations: 0 / 0.4893 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.4576, allocations: 230.4 kB / 0.4896 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.4581, allocations: 90.03 kB / 0.4897 GB, free: 36.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.4582, allocations: 17.92 kB / 0.4897 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.4597, allocations: 1.972 MB / 0.4916 GB, free: 34.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4597, allocations: 6.031 kB / 0.4916 GB, free: 34.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.4634, allocations: 2.417 MB / 0.494 GB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005387/0.4639, allocations: 173.9 kB / 0.4941 GB, free: 33.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.4641, allocations: 37.58 kB / 0.4942 GB, free: 33.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/0.4649, allocations: 36.89 kB / 0.4942 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.4651, allocations: 52.17 kB / 0.4942 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.4651, allocations: 19.92 kB / 0.4943 GB, free: 33.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008858/0.466, allocations: 0.506 MB / 0.4948 GB, free: 33.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.466, allocations: 0 / 0.4948 GB, free: 33.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004915/0.4709, allocations: 1.102 MB / 0.4958 GB, free: 32.84 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.007846/0.4788, allocations: 1.349 MB / 0.4972 GB, free: 32.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003853/0.4826, allocations: 1.096 MB / 0.4982 GB, free: 32.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.4826, allocations: 3.688 kB / 0.4982 GB, free: 32.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.485, allocations: 0.7587 MB / 0.499 GB, free: 31.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/0.4879, allocations: 377 kB / 0.4993 GB, free: 31.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.4929, allocations: 2.477 MB / 0.5017 GB, free: 30.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/0.4936, allocations: 0.5644 MB / 0.5023 GB, free: 29.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001204/0.4948, allocations: 422.5 kB / 0.5027 GB, free: 29.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.495, allocations: 67.83 kB / 0.5028 GB, free: 29.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.495, allocations: 0 / 0.5028 GB, free: 29.67 MB / 410.7 MB Notification: Performance of Templates: time 0.09354/0.5886, allocations: 46.28 MB / 0.548 GB, free: 388 kB / 426.7 MB " [Timeout remaining time 659] 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.791461711982265]