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.0025/0.0025, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.00287/0.00287, allocations: 164.8 kB / 24.27 MB, free: 156 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.581/1.581, allocations: 177 MB / 204.5 MB, free: 5.598 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.3923/0.3923, allocations: 34.25 MB / 295.2 MB, free: 0.6289 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.813e-06/1.813e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.283e-05, allocations: 4.984 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.05626/0.0563, allocations: 40.12 MB / 417.3 MB, free: 10.61 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03084/0.08714, allocations: 20.13 MB / 437.5 MB, free: 6.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009339/0.08807, allocations: 27.75 kB / 437.5 MB, free: 6.379 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.08946, allocations: 413.2 kB / 437.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01565/0.1051, allocations: 5.193 MB / 443.1 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1922/0.2973, allocations: 2.585 MB / 445.7 MB, free: 49.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.2995, allocations: 2.029 MB / 447.7 MB, free: 49.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005352/0.3, allocations: 453 kB / 448.2 MB, free: 49.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.3109, allocations: 4.432 MB / 452.6 MB, free: 48.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0113/0.3222, allocations: 5.447 MB / 458 MB, free: 46.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.3225, allocations: 73.84 kB / 458.1 MB, free: 46.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/0.3355, allocations: 7.067 MB / 465.2 MB, free: 46.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005328/0.336, allocations: 309.5 kB / 465.5 MB, free: 46.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007039/0.3368, allocations: 323.5 kB / 465.8 MB, free: 46.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.3503, allocations: 6.276 MB / 472.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3503, allocations: 0 / 472.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3503, allocations: 3 kB / 472.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3503, allocations: 0 / 472.1 MB, free: 46.37 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.004551/0.3549, allocations: 1.788 MB / 473.9 MB, free: 45.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3549, allocations: 11.72 kB / 473.9 MB, free: 45.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/0.3573, allocations: 452.5 kB / 474.3 MB, free: 45.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.3583, allocations: 0.5286 MB / 474.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3585, allocations: 169.5 kB / 475 MB, free: 44.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3586, allocations: 67.19 kB / 475.1 MB, free: 44.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.361, allocations: 1.417 MB / 476.5 MB, free: 44.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.361, allocations: 6.656 kB / 476.5 MB, free: 44.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.3611, allocations: 35.83 kB / 476.5 MB, free: 44.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/0.3611, allocations: 43.28 kB / 476.6 MB, free: 44.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.3635, allocations: 0.8107 MB / 477.4 MB, free: 44.25 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.006678/0.3702, allocations: 5.793 MB / 483.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.3722, allocations: 0.6422 MB / 483.8 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.3727, allocations: 234.7 kB / 484.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03134/0.404, allocations: 8.702 MB / 492.8 MB, free: 39.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/0.4041, allocations: 40.7 kB / 492.8 MB, free: 39.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.234e-06/0.4041, allocations: 3.938 kB / 492.8 MB, free: 39.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.005912/0.41, allocations: 2.016 MB / 494.8 MB, free: 38.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.4101, allocations: 161.8 kB / 495 MB, free: 38.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.4107, allocations: 0.673 MB / 495.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.4107, allocations: 33.05 kB / 495.7 MB, free: 37.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.411, allocations: 491.9 kB / 496.2 MB, free: 37.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.4111, allocations: 190.8 kB / 496.3 MB, free: 37.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.4114, allocations: 194.5 kB / 496.5 MB, free: 37.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4116, allocations: 0.5821 MB / 497.1 MB, free: 36.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.412, allocations: 200.2 kB / 497.3 MB, free: 36.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006568/0.4127, allocations: 0.7659 MB / 498.1 MB, free: 35.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.4137, allocations: 0.9208 MB / 499 MB, free: 34.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.4137, allocations: 3.281 kB / 499 MB, free: 34.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001454/0.4151, allocations: 0.8508 MB / 499.9 MB, free: 34.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4152, allocations: 12.97 kB / 499.9 MB, free: 34.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4152, allocations: 9.812 kB / 499.9 MB, free: 34.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/0.4155, allocations: 69.2 kB / 499.9 MB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.4166, allocations: 287.9 kB / 0.4885 GB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.4178, allocations: 2.723 MB / 0.4912 GB, free: 31.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/0.4184, allocations: 39.02 kB / 0.4912 GB, free: 31.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.4185, allocations: 40.69 kB / 0.4912 GB, free: 31.89 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.0003485/0.4188, allocations: 278.3 kB / 0.4915 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.419, allocations: 84.25 kB / 0.4916 GB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.4211, allocations: 1.748 MB / 0.4933 GB, free: 31.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.4212, allocations: 36.44 kB / 0.4933 GB, free: 31.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.4212, allocations: 2.875 kB / 0.4933 GB, free: 31.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4212, allocations: 7.125 kB / 0.4933 GB, free: 31.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.4243, allocations: 2.552 MB / 0.4958 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4243, allocations: 0 / 0.4958 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/0.4253, allocations: 212.7 kB / 0.496 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003175/0.4256, allocations: 65.95 kB / 0.4961 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.4256, allocations: 22.73 kB / 0.4961 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.4267, allocations: 2.695 MB / 0.4987 GB, free: 27.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4267, allocations: 6.094 kB / 0.4987 GB, free: 27.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.429, allocations: 1.714 MB / 0.5004 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.4293, allocations: 174.8 kB / 0.5006 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.4294, allocations: 36.23 kB / 0.5006 GB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.4299, allocations: 22.56 kB / 0.5006 GB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.43, allocations: 55.91 kB / 0.5007 GB, free: 26.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.43, allocations: 19.64 kB / 0.5007 GB, free: 26.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00061/0.4306, allocations: 0.5428 MB / 0.5012 GB, free: 26.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4306, allocations: 4.031 kB / 0.5013 GB, free: 26.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003472/0.4341, allocations: 1.101 MB / 0.5023 GB, free: 25.98 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.005661/0.4398, allocations: 1.354 MB / 0.5036 GB, free: 25.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.4421, allocations: 0.8255 MB / 0.5045 GB, free: 25.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4421, allocations: 0 / 0.5045 GB, free: 25.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.4434, allocations: 0.5501 MB / 0.505 GB, free: 25.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.4455, allocations: 369.7 kB / 0.5053 GB, free: 25.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.4486, allocations: 2.211 MB / 0.5075 GB, free: 23.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.4491, allocations: 0.5565 MB / 0.508 GB, free: 23.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007635/0.4498, allocations: 411.4 kB / 0.5084 GB, free: 22.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.45, allocations: 64.5 kB / 0.5085 GB, free: 22.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.45, allocations: 0 / 0.5085 GB, free: 22.78 MB / 410.7 MB Notification: Performance of Templates: time 0.06698/0.5169, allocations: 46.95 MB / 0.5544 GB, free: 8.469 MB / 442.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=240 -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","/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.768077874090523]