Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.92 MB / 359.6 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 71.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2917, allocations: 65.46 MB / 0.5583 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0479/0.3396, allocations: 39.77 MB / 0.5971 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02855/0.3681, allocations: 20.33 MB / 0.617 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000897/0.369, allocations: 31.69 kB / 0.617 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.3705, allocations: 457.2 kB / 0.6174 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01431/0.3848, allocations: 5.157 MB / 0.6225 GB, free: 5.734 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007282/0.3921, allocations: 2.591 MB / 0.625 GB, free: 3.145 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00329/0.3954, allocations: 1.985 MB / 0.6269 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008986/0.3963, allocations: 413.8 kB / 0.6273 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009633/0.4059, allocations: 4.181 MB / 0.6314 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01169/0.4176, allocations: 5.483 MB / 0.6368 GB, free: 6.93 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.4179, allocations: 72 kB / 0.6368 GB, free: 6.859 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01528/0.4332, allocations: 7.274 MB / 0.6439 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.4338, allocations: 283.1 kB / 0.6442 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008881/0.4347, allocations: 450 kB / 0.6446 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.4465, allocations: 4.984 MB / 0.6495 GB, free: 9.863 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4465, allocations: 0 / 0.6495 GB, free: 9.863 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4465, allocations: 0 / 0.6495 GB, free: 9.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.4e-05/0.4465, allocations: 0 / 0.6495 GB, free: 9.863 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.005021/0.4515, allocations: 1.6 MB / 0.6511 GB, free: 8.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4516, allocations: 12.03 kB / 0.6511 GB, free: 8.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.4533, allocations: 224.3 kB / 0.6513 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.4545, allocations: 0.5025 MB / 0.6518 GB, free: 7.465 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.4547, allocations: 164.7 kB / 0.6519 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.4548, allocations: 68.11 kB / 0.652 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.457, allocations: 1.063 MB / 0.653 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.4571, allocations: 3.938 kB / 0.653 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/0.4571, allocations: 32 kB / 0.6531 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-05/0.4572, allocations: 44.97 kB / 0.6531 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.4591, allocations: 0.8193 MB / 0.6539 GB, free: 5.145 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.007213/0.4663, allocations: 5.444 MB / 0.6592 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.4677, allocations: 0.512 MB / 0.6597 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.468, allocations: 202.4 kB / 0.6599 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09355/0.5616, allocations: 26.01 MB / 0.6853 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/0.5616, allocations: 42.56 kB / 0.6854 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.625e-06/0.5616, allocations: 0 / 0.6854 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006944/0.5686, allocations: 2.086 MB / 0.6874 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.5687, allocations: 191.9 kB / 0.6876 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009171/0.5696, allocations: 0.6368 MB / 0.6882 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.5697, allocations: 41.77 kB / 0.6882 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.57, allocations: 404.3 kB / 0.6886 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.5702, allocations: 174.5 kB / 0.6888 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.5705, allocations: 158.6 kB / 0.6889 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.5707, allocations: 378.8 kB / 0.6893 GB, free: 380 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.5711, allocations: 225.9 kB / 0.6895 GB, free: 156 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007974/0.5719, allocations: 0.6052 MB / 0.6901 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.5731, allocations: 0.8561 MB / 0.6909 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.5732, allocations: 0 / 0.6909 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001679/0.5748, allocations: 0.9079 MB / 0.6918 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.5749, allocations: 11.98 kB / 0.6918 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.5749, allocations: 12 kB / 0.6919 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003335/0.5782, allocations: 268.5 kB / 0.6921 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.5795, allocations: 284 kB / 0.6924 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.5816, allocations: 2.021 MB / 0.6944 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.5822, allocations: 32.16 kB / 0.6944 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/0.5823, allocations: 43.98 kB / 0.6944 GB, free: 10.63 MB / 0.5294 GB 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.0004847/0.5828, allocations: 278.1 kB / 0.6947 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.583, allocations: 75.53 kB / 0.6948 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.5859, allocations: 2.081 MB / 0.6968 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/0.5859, allocations: 31.91 kB / 0.6968 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5859, allocations: 0 / 0.6968 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.5859, allocations: 3.984 kB / 0.6968 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004152/0.5901, allocations: 3.052 MB / 0.6998 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.5901, allocations: 7.984 kB / 0.6998 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/0.591, allocations: 187.8 kB / 0.7 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.5929, allocations: 303.9 kB / 0.7003 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/0.5929, allocations: 16 kB / 0.7003 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.5948, allocations: 2.072 MB / 0.7023 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5948, allocations: 8.188 kB / 0.7023 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.5974, allocations: 1.988 MB / 0.7043 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/0.5978, allocations: 167 kB / 0.7044 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.5979, allocations: 27.78 kB / 0.7045 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.5984, allocations: 12 kB / 0.7045 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.5985, allocations: 40.38 kB / 0.7045 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.5985, allocations: 19.98 kB / 0.7045 GB, free: 28 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008848/0.5994, allocations: 0.5732 MB / 0.7051 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5994, allocations: 0 / 0.7051 GB, free: 15.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003341/0.6028, allocations: 1.104 MB / 0.7062 GB, free: 14.36 MB / 0.545 GB 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.004948/0.6077, allocations: 1.186 MB / 0.7073 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002264/0.61, allocations: 0.9012 MB / 0.7082 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.61, allocations: 0 / 0.7082 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.6113, allocations: 0.593 MB / 0.7088 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.6136, allocations: 416.9 kB / 0.7092 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.6173, allocations: 2.223 MB / 0.7114 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.6182, allocations: 1.089 MB / 0.7124 GB, free: 7.891 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.6184, allocations: 67.44 kB / 0.7125 GB, free: 7.824 MB / 0.545 GB Notification: Performance of SimCode: time 7.32e-07/0.6184, allocations: 4 kB / 0.7125 GB, free: 7.82 MB / 0.545 GB Notification: Performance of Templates: time 0.2661/0.8845, allocations: 37.38 MB / 0.749 GB, free: 155.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.5098761850968]