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.001926/0.001926, allocations: 100.2 kB / 20.96 MB, free: 3.59 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.002175/0.002175, allocations: 160.9 kB / 24.27 MB, free: 296 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.502/1.502, allocations: 177 MB / 204.5 MB, free: 5.625 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.3465/0.3465, allocations: 34.25 MB / 295.2 MB, free: 0.6406 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 3.357e-06/3.357e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.682e-05/5.017e-05, allocations: 6.312 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.06838/0.06843, allocations: 35.64 MB / 412.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03963/0.1081, allocations: 18.03 MB / 430.9 MB, free: 13.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.1095, allocations: 27.75 kB / 430.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.1116, allocations: 417.2 kB / 431.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02333/0.135, allocations: 5.192 MB / 436.5 MB, free: 7.363 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009038/0.144, allocations: 2.59 MB / 439.1 MB, free: 4.762 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003525/0.1475, allocations: 2.014 MB / 441.1 MB, free: 2.746 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009381/0.1485, allocations: 430 kB / 441.6 MB, free: 2.312 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1939/0.3424, allocations: 4.405 MB / 446 MB, free: 50.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008901/0.3513, allocations: 5.439 MB / 451.4 MB, free: 49.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.3515, allocations: 66.84 kB / 451.5 MB, free: 49.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.3627, allocations: 6.929 MB / 458.4 MB, free: 49.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004781/0.3632, allocations: 298.2 kB / 458.7 MB, free: 49.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005857/0.3638, allocations: 317.9 kB / 459 MB, free: 49.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.3758, allocations: 6.116 MB / 465.1 MB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3758, allocations: 0 / 465.1 MB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3758, allocations: 0 / 465.1 MB, free: 49.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3758, allocations: 3.406 kB / 465.1 MB, free: 49.34 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.006581/0.3824, allocations: 1.579 MB / 466.7 MB, free: 48.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3824, allocations: 9.625 kB / 466.7 MB, free: 48.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.384, allocations: 374.5 kB / 467.1 MB, free: 48.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/0.3848, allocations: 0.5238 MB / 467.6 MB, free: 48.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.3849, allocations: 160.9 kB / 467.7 MB, free: 48.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.385, allocations: 65.27 kB / 467.8 MB, free: 48.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.3868, allocations: 1.322 MB / 469.1 MB, free: 47.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.3869, allocations: 3.469 kB / 469.1 MB, free: 47.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.43e-05/0.387, allocations: 34.95 kB / 469.2 MB, free: 47.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/0.387, allocations: 45.47 kB / 469.2 MB, free: 47.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.3885, allocations: 0.8189 MB / 470 MB, free: 47.49 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.004396/0.3929, allocations: 4.495 MB / 474.5 MB, free: 44.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.394, allocations: 0.5189 MB / 475 MB, free: 44.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.3943, allocations: 204.3 kB / 475.2 MB, free: 44.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0844/0.4788, allocations: 26.11 MB / 0.4896 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.4788, allocations: 39.22 kB / 0.4896 GB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.4788, allocations: 0 / 0.4896 GB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.00602/0.4848, allocations: 2.115 MB / 0.4917 GB, free: 41.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.4849, allocations: 187.1 kB / 0.4919 GB, free: 41.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000558/0.4854, allocations: 0.5578 MB / 0.4924 GB, free: 40.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.4855, allocations: 36.48 kB / 0.4925 GB, free: 40.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.4857, allocations: 418.8 kB / 0.4929 GB, free: 40.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.822e-05/0.4858, allocations: 168.9 kB / 0.493 GB, free: 40.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.486, allocations: 161.7 kB / 0.4932 GB, free: 40.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.486, allocations: 372.5 kB / 0.4935 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.4864, allocations: 232.9 kB / 0.4938 GB, free: 39.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.4869, allocations: 0.6647 MB / 0.4944 GB, free: 38.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.4877, allocations: 0.867 MB / 0.4953 GB, free: 37.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.4877, allocations: 4 kB / 0.4953 GB, free: 37.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001342/0.489, allocations: 0.9176 MB / 0.4962 GB, free: 37.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.489, allocations: 10.19 kB / 0.4962 GB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.4891, allocations: 12 kB / 0.4962 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003125/0.4922, allocations: 268.5 kB / 0.4964 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.4932, allocations: 285.3 kB / 0.4967 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.4944, allocations: 2 MB / 0.4987 GB, free: 34.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/0.4949, allocations: 34.2 kB / 0.4987 GB, free: 34.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.4949, allocations: 39.98 kB / 0.4987 GB, free: 34.36 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.0003014/0.4952, allocations: 279.4 kB / 0.499 GB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.4954, allocations: 79.62 kB / 0.4991 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.4971, allocations: 2.094 MB / 0.5011 GB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.4971, allocations: 27.95 kB / 0.5011 GB, free: 31.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4971, allocations: 0 / 0.5011 GB, free: 31.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4971, allocations: 4 kB / 0.5011 GB, free: 31.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.4996, allocations: 2.816 MB / 0.5039 GB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4996, allocations: 0 / 0.5039 GB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/0.5004, allocations: 193.5 kB / 0.5041 GB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.5021, allocations: 313.1 kB / 0.5044 GB, free: 28.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.5021, allocations: 12 kB / 0.5044 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.5032, allocations: 2.058 MB / 0.5064 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5032, allocations: 0 / 0.5064 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.5049, allocations: 2.005 MB / 0.5084 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.5052, allocations: 147.1 kB / 0.5085 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/0.5053, allocations: 31.78 kB / 0.5085 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.5057, allocations: 16 kB / 0.5085 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.5058, allocations: 32.44 kB / 0.5086 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.5058, allocations: 19.98 kB / 0.5086 GB, free: 24.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004916/0.5063, allocations: 0.5068 MB / 0.5091 GB, free: 23.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5063, allocations: 128 / 0.5091 GB, free: 23.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002866/0.5091, allocations: 1.1 MB / 0.5102 GB, free: 22.51 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.003632/0.5128, allocations: 1.333 MB / 0.5115 GB, free: 21.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.5144, allocations: 0.9185 MB / 0.5124 GB, free: 20.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5144, allocations: 4 kB / 0.5124 GB, free: 20.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000998/0.5154, allocations: 0.5988 MB / 0.513 GB, free: 19.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.5173, allocations: 351.5 kB / 0.5133 GB, free: 19.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.5202, allocations: 2.106 MB / 0.5153 GB, free: 17.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.5206, allocations: 0.4968 MB / 0.5158 GB, free: 16.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006078/0.5212, allocations: 331.1 kB / 0.5161 GB, free: 16.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.5213, allocations: 60.5 kB / 0.5162 GB, free: 16.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.5213, allocations: 3.281 kB / 0.5162 GB, free: 16.48 MB / 410.7 MB Notification: Performance of Templates: time 0.06384/0.5851, allocations: 44.33 MB / 0.5595 GB, free: 4.492 MB / 442.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.306216791970655]