Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.00106/0.00106, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001221/0.001221, allocations: 159 kB / 24.99 MB, free: 9.266 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 1.046/1.046, allocations: 177 MB / 205.2 MB, free: 5.574 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.2787/0.2787, allocations: 34.86 MB / 296.6 MB, free: 0.5742 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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.626e-05, allocations: 2.312 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03086/0.03087, allocations: 40.23 MB / 419 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01736/0.04823, allocations: 20.14 MB / 439.1 MB, free: 5.812 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.04868, allocations: 27.75 kB / 439.2 MB, free: 5.785 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009351/0.04962, allocations: 413.3 kB / 439.6 MB, free: 5.379 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009627/0.05924, allocations: 5.193 MB / 444.8 MB, free: 168 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.206/0.2652, allocations: 2.586 MB / 447.3 MB, free: 48.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002488/0.2677, allocations: 2.003 MB / 449.3 MB, free: 48.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000707/0.2684, allocations: 437.8 kB / 449.8 MB, free: 48.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006976/0.2754, allocations: 4.409 MB / 454.2 MB, free: 47.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007819/0.2832, allocations: 5.435 MB / 459.6 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.2834, allocations: 65.78 kB / 459.7 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.294, allocations: 6.941 MB / 466.6 MB, free: 46.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.2943, allocations: 299.6 kB / 466.9 MB, free: 45.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.2946, allocations: 323.5 kB / 467.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007463/0.3021, allocations: 5.757 MB / 473 MB, free: 45.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3021, allocations: 0 / 473 MB, free: 45.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3021, allocations: 0 / 473 MB, free: 45.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.3021, allocations: 0 / 473 MB, free: 45.75 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.003609/0.3057, allocations: 1.691 MB / 474.7 MB, free: 44.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3058, allocations: 9.031 kB / 474.7 MB, free: 44.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.3073, allocations: 364.8 kB / 475 MB, free: 44.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007431/0.308, allocations: 0.5234 MB / 475.6 MB, free: 44.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.3081, allocations: 160.6 kB / 475.7 MB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.653e-05/0.3082, allocations: 65.47 kB / 475.8 MB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.3097, allocations: 1.196 MB / 477 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.3097, allocations: 6.828 kB / 477 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.3098, allocations: 31.73 kB / 477 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/0.3098, allocations: 44.05 kB / 477.1 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.311, allocations: 480.5 kB / 477.5 MB, free: 43.6 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.003654/0.3146, allocations: 5.622 MB / 483.2 MB, free: 39.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009796/0.3156, allocations: 403.2 kB / 483.5 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.3158, allocations: 113 kB / 483.7 MB, free: 39.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04689/0.3627, allocations: 26.14 MB / 0.4979 GB, free: 34.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.3628, allocations: 48.77 kB / 0.4979 GB, free: 34.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 3.186e-06/0.3628, allocations: 0.5625 kB / 0.4979 GB, free: 34.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.003956/0.3667, allocations: 1.651 MB / 0.4995 GB, free: 33.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.3668, allocations: 191.9 kB / 0.4997 GB, free: 32.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.3672, allocations: 0.5647 MB / 0.5002 GB, free: 32.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3673, allocations: 37.7 kB / 0.5003 GB, free: 32.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3674, allocations: 477.6 kB / 0.5007 GB, free: 31.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-05/0.3675, allocations: 173.1 kB / 0.5009 GB, free: 31.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3677, allocations: 164.2 kB / 0.5011 GB, free: 31.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.3678, allocations: 0.5547 MB / 0.5016 GB, free: 30.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3679, allocations: 97.92 kB / 0.5017 GB, free: 30.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.3683, allocations: 0.6942 MB / 0.5024 GB, free: 29.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.3689, allocations: 0.7671 MB / 0.5031 GB, free: 28.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3689, allocations: 4 kB / 0.5031 GB, free: 28.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009049/0.3698, allocations: 0.6697 MB / 0.5038 GB, free: 28.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.3698, allocations: 10.03 kB / 0.5038 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.3698, allocations: 12 kB / 0.5038 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/0.3715, allocations: 244 kB / 0.504 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.3721, allocations: 276.4 kB / 0.5043 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.3731, allocations: 2.664 MB / 0.5069 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.3733, allocations: 31.95 kB / 0.5069 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.3734, allocations: 47.98 kB / 0.507 GB, free: 24.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.3736, allocations: 221.5 kB / 0.5072 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3737, allocations: 75.62 kB / 0.5073 GB, free: 24.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.3747, allocations: 1.269 MB / 0.5085 GB, free: 23.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.3747, allocations: 27.95 kB / 0.5085 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3747, allocations: 0 / 0.5085 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3747, allocations: 4 kB / 0.5085 GB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.3764, allocations: 1.861 MB / 0.5103 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/0.3764, allocations: 7.438 kB / 0.5103 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.3768, allocations: 179.2 kB / 0.5105 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007897/0.3776, allocations: 250.2 kB / 0.5108 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.3776, allocations: 15.98 kB / 0.5108 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000904/0.3785, allocations: 2.641 MB / 0.5134 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3786, allocations: 6.625 kB / 0.5134 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3796, allocations: 1.312 MB / 0.5146 GB, free: 16.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.3797, allocations: 143.1 kB / 0.5148 GB, free: 16.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.3798, allocations: 31.78 kB / 0.5148 GB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.38, allocations: 8 kB / 0.5148 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.38, allocations: 36.38 kB / 0.5149 GB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.3801, allocations: 20.05 kB / 0.5149 GB, free: 16.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003663/0.3804, allocations: 466.9 kB / 0.5153 GB, free: 16.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3804, allocations: 0 / 0.5153 GB, free: 16.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003538/0.384, allocations: 1.108 MB / 0.5164 GB, free: 15.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002507/0.3865, allocations: 1.316 MB / 0.5177 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008387/0.3873, allocations: 0.6064 MB / 0.5183 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3873, allocations: 3.938 kB / 0.5183 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004722/0.3878, allocations: 395.8 kB / 0.5187 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009202/0.3887, allocations: 342.6 kB / 0.519 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3907, allocations: 1.834 MB / 0.5208 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.3908, allocations: 245.7 kB / 0.521 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003703/0.3912, allocations: 318.8 kB / 0.5213 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.3912, allocations: 56.5 kB / 0.5214 GB, free: 10.14 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3912, allocations: 0 / 0.5214 GB, free: 10.14 MB / 410.7 MB Notification: Performance of Templates: time 0.04718/0.4384, allocations: 45.01 MB / 0.5653 GB, free: 13.51 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.179221207043156]