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.001586/0.001586, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.00191/0.00191, allocations: 214.5 kB / 24.48 MB, free: 3.93 MB / 14.72 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.46/1.46, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 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.226/0.226, allocations: 46.96 MB / 361.6 MB, free: 4.012 MB / 286.1 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 0.002429/0.002429, allocations: 87.84 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3452, allocations: 66.09 MB / 0.5619 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04541/0.3906, allocations: 35.86 MB / 0.597 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02664/0.4172, allocations: 18.04 MB / 0.6146 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009197/0.4182, allocations: 35.69 kB / 0.6146 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.4196, allocations: 405.5 kB / 0.615 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01487/0.4344, allocations: 5.133 MB / 0.62 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007715/0.4422, allocations: 2.531 MB / 0.6225 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003074/0.4452, allocations: 1.996 MB / 0.6244 GB, free: 3.777 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008118/0.446, allocations: 421.7 kB / 0.6248 GB, free: 3.352 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009749/0.4558, allocations: 4.184 MB / 0.6289 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01188/0.4677, allocations: 5.49 MB / 0.6343 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004314/0.4681, allocations: 68 kB / 0.6343 GB, free: 9.473 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01797/0.4861, allocations: 7.044 MB / 0.6412 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007037/0.4868, allocations: 287.1 kB / 0.6415 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.4878, allocations: 382.4 kB / 0.6419 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.5023, allocations: 5.113 MB / 0.6469 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.5023, allocations: 4 kB / 0.6469 GB, free: 12.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5023, allocations: 0 / 0.6469 GB, free: 12.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.075e-05/0.5024, allocations: 4 kB / 0.6469 GB, free: 12.63 MB / 494.1 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.006395/0.5088, allocations: 1.655 MB / 0.6485 GB, free: 10.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5088, allocations: 12.03 kB / 0.6485 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/0.5113, allocations: 292.2 kB / 0.6488 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5127, allocations: 0.5298 MB / 0.6493 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.5129, allocations: 168.7 kB / 0.6494 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.5131, allocations: 64.11 kB / 0.6495 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/0.5163, allocations: 1.44 MB / 0.6509 GB, free: 8.234 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.5164, allocations: 11.94 kB / 0.6509 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.051e-05/0.5164, allocations: 24 kB / 0.6509 GB, free: 8.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.267e-05/0.5165, allocations: 41.3 kB / 0.651 GB, free: 8.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.5194, allocations: 1.02 MB / 0.652 GB, free: 7.141 MB / 494.1 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.00714/0.5265, allocations: 4.467 MB / 0.6563 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.529, allocations: 0.7405 MB / 0.6571 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006309/0.5296, allocations: 277.6 kB / 0.6573 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03316/0.5628, allocations: 8.654 MB / 0.6658 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.5629, allocations: 50.5 kB / 0.6658 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 3.236e-06/0.5629, allocations: 3.938 kB / 0.6658 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.007963/0.5708, allocations: 2.209 MB / 0.668 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.571, allocations: 166.6 kB / 0.6682 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008157/0.5718, allocations: 0.5415 MB / 0.6687 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/0.5718, allocations: 37.7 kB / 0.6687 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.5722, allocations: 400.1 kB / 0.6691 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.5724, allocations: 182.5 kB / 0.6693 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.5727, allocations: 158.6 kB / 0.6694 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002499/0.573, allocations: 370.8 kB / 0.6698 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007251/0.5737, allocations: 285.8 kB / 0.67 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.5748, allocations: 0.6758 MB / 0.6707 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.5766, allocations: 0.9026 MB / 0.6716 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.5766, allocations: 4 kB / 0.6716 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002221/0.5788, allocations: 0.957 MB / 0.6725 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.5788, allocations: 15.98 kB / 0.6725 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.5789, allocations: 8 kB / 0.6726 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.5792, allocations: 60.83 kB / 0.6726 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.5805, allocations: 308.1 kB / 0.6729 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.5826, allocations: 1.952 MB / 0.6748 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/0.5833, allocations: 48.03 kB / 0.6749 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.5834, allocations: 44 kB / 0.6749 GB, free: 14.91 MB / 0.5137 GB 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.0005062/0.5839, allocations: 265.5 kB / 0.6751 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.5841, allocations: 63.62 kB / 0.6752 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003859/0.5879, allocations: 2.652 MB / 0.6778 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.538e-05/0.588, allocations: 39.97 kB / 0.6778 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.588, allocations: 0 / 0.6778 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.588, allocations: 7.938 kB / 0.6778 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005568/0.5936, allocations: 3.573 MB / 0.6813 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5936, allocations: 3.938 kB / 0.6813 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.5947, allocations: 223.7 kB / 0.6816 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/0.5951, allocations: 96.73 kB / 0.6816 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.5951, allocations: 15.94 kB / 0.6817 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.597, allocations: 1.976 MB / 0.6836 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.597, allocations: 0 / 0.6836 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.6008, allocations: 2.398 MB / 0.6859 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/0.6013, allocations: 174.9 kB / 0.6861 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.6015, allocations: 43.66 kB / 0.6861 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.602, allocations: 31.97 kB / 0.6862 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.6021, allocations: 56.39 kB / 0.6862 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.6022, allocations: 16 kB / 0.6862 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008384/0.603, allocations: 0.499 MB / 0.6867 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.603, allocations: 64 / 0.6867 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003817/0.6068, allocations: 1.108 MB / 0.6878 GB, free: 1.469 MB / 0.5137 GB 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.005323/0.6122, allocations: 1.211 MB / 0.689 GB, free: 248 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003009/0.6152, allocations: 1.084 MB / 0.6901 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.6152, allocations: 0 / 0.6901 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/0.617, allocations: 0.7384 MB / 0.6908 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.6191, allocations: 344.5 kB / 0.6911 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.624, allocations: 2.584 MB / 0.6936 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000773/0.6248, allocations: 0.5595 MB / 0.6942 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.6251, allocations: 75.41 kB / 0.6942 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of SimCode: time 1.163e-06/0.6251, allocations: 4 kB / 0.6942 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.06291/0.688, allocations: 39.49 MB / 0.7328 GB, free: 3.324 MB / 0.5606 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/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: 12.853143607266247]