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.001532/0.001532, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001594/0.001594, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.323/1.323, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 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.2008/0.2008, allocations: 46.93 MB / 361.5 MB, free: 4.191 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.00214/0.00214, allocations: 75.88 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2746, allocations: 66.08 MB / 0.562 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04097/0.3155, allocations: 39.76 MB / 0.6008 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02424/0.3398, allocations: 20.33 MB / 0.6207 GB, free: 7.938 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007284/0.3405, allocations: 27.75 kB / 0.6207 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.3418, allocations: 453.3 kB / 0.6211 GB, free: 7.465 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01271/0.3545, allocations: 5.152 MB / 0.6261 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006445/0.361, allocations: 2.6 MB / 0.6287 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002749/0.3637, allocations: 2.008 MB / 0.6306 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007931/0.3645, allocations: 421.8 kB / 0.631 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008612/0.3731, allocations: 4.203 MB / 0.6352 GB, free: 9.016 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.3836, allocations: 5.494 MB / 0.6405 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.3839, allocations: 68 kB / 0.6406 GB, free: 3.371 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01375/0.3976, allocations: 7.43 MB / 0.6478 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000468/0.3981, allocations: 291.1 kB / 0.6481 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007453/0.3988, allocations: 457.9 kB / 0.6486 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.4091, allocations: 5.12 MB / 0.6536 GB, free: 6.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4091, allocations: 4 kB / 0.6536 GB, free: 6.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4091, allocations: 0 / 0.6536 GB, free: 6.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.328e-05/0.4091, allocations: 0 / 0.6536 GB, free: 6.062 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.004493/0.4136, allocations: 1.662 MB / 0.6552 GB, free: 4.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4136, allocations: 12.03 kB / 0.6552 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/0.4158, allocations: 296.2 kB / 0.6555 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.4168, allocations: 0.5298 MB / 0.656 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.417, allocations: 168.7 kB / 0.6562 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.4171, allocations: 60.12 kB / 0.6562 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.4196, allocations: 1.189 MB / 0.6574 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.4197, allocations: 7.938 kB / 0.6574 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/0.4197, allocations: 31.98 kB / 0.6574 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/0.4198, allocations: 41.3 kB / 0.6574 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.4223, allocations: 1.023 MB / 0.6584 GB, free: 0.8672 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.006456/0.4287, allocations: 5.5 MB / 0.6638 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.4309, allocations: 0.7288 MB / 0.6645 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.4315, allocations: 281.5 kB / 0.6648 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02964/0.4611, allocations: 8.623 MB / 0.6732 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.4612, allocations: 42.5 kB / 0.6733 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.4612, allocations: 0 / 0.6733 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.006636/0.4678, allocations: 2.223 MB / 0.6754 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.4679, allocations: 158.7 kB / 0.6756 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007765/0.4687, allocations: 0.6133 MB / 0.6762 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.4687, allocations: 33.7 kB / 0.6762 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.469, allocations: 404.3 kB / 0.6766 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.4692, allocations: 182.5 kB / 0.6768 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.4694, allocations: 158.6 kB / 0.6769 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4696, allocations: 378.8 kB / 0.6773 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.4702, allocations: 277.8 kB / 0.6776 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/0.471, allocations: 0.6122 MB / 0.6781 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.4725, allocations: 0.9026 MB / 0.679 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.4725, allocations: 4 kB / 0.679 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00184/0.4744, allocations: 0.9606 MB / 0.68 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4744, allocations: 12.94 kB / 0.68 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.4744, allocations: 8 kB / 0.68 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.4747, allocations: 68.81 kB / 0.6801 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.4759, allocations: 299.5 kB / 0.6803 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.4776, allocations: 1.975 MB / 0.6823 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.4781, allocations: 43.97 kB / 0.6823 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.4781, allocations: 40 kB / 0.6824 GB, free: 7.438 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.0003558/0.4785, allocations: 265.5 kB / 0.6826 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.4786, allocations: 79.61 kB / 0.6827 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/0.4819, allocations: 2.645 MB / 0.6853 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/0.482, allocations: 35.94 kB / 0.6853 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.482, allocations: 0 / 0.6853 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.482, allocations: 11.92 kB / 0.6853 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004685/0.4867, allocations: 3.838 MB / 0.6891 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4867, allocations: 3.938 kB / 0.6891 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.4877, allocations: 235.7 kB / 0.6893 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/0.4881, allocations: 84.72 kB / 0.6894 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.4881, allocations: 20 kB / 0.6894 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.4897, allocations: 1.991 MB / 0.6913 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4897, allocations: 0 / 0.6913 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.4928, allocations: 2.413 MB / 0.6937 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.4931, allocations: 187 kB / 0.6939 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4933, allocations: 39.72 kB / 0.6939 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.4937, allocations: 27.97 kB / 0.6939 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.4938, allocations: 52.41 kB / 0.694 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.4939, allocations: 19.98 kB / 0.694 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007043/0.4946, allocations: 0.5576 MB / 0.6945 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4946, allocations: 0 / 0.6945 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002949/0.4975, allocations: 1.104 MB / 0.6956 GB, free: 9.594 MB / 0.5294 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.004446/0.502, allocations: 1.21 MB / 0.6968 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002616/0.5046, allocations: 1.084 MB / 0.6979 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5046, allocations: 0 / 0.6979 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.5061, allocations: 0.7423 MB / 0.6986 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.5081, allocations: 396.1 kB / 0.699 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.5123, allocations: 2.607 MB / 0.7015 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009703/0.5132, allocations: 1.153 MB / 0.7026 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.5134, allocations: 79.42 kB / 0.7027 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.5134, allocations: 0 / 0.7027 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.2506/0.764, allocations: 39.73 MB / 0.7415 GB, free: 163.2 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: 11.114749100990593]