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.002492/0.002492, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003052/0.003052, allocations: 160.8 kB / 24.27 MB, free: 160 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.59/1.59, allocations: 177 MB / 204.5 MB, free: 5.617 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.3636/0.3636, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.315e-05, allocations: 4.844 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.05778/0.05782, allocations: 40.13 MB / 417.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03106/0.08888, allocations: 20.13 MB / 437.5 MB, free: 6.418 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007775/0.08966, allocations: 27.75 kB / 437.5 MB, free: 6.391 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.09099, allocations: 425.2 kB / 437.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01462/0.1056, allocations: 5.185 MB / 443.1 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2263/0.3319, allocations: 2.584 MB / 445.7 MB, free: 49.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.3343, allocations: 2.008 MB / 447.7 MB, free: 49.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007392/0.335, allocations: 442.6 kB / 448.1 MB, free: 49.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.3453, allocations: 4.413 MB / 452.5 MB, free: 48.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/0.3565, allocations: 5.432 MB / 458 MB, free: 46.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.3568, allocations: 65.94 kB / 458 MB, free: 46.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/0.3688, allocations: 6.93 MB / 465 MB, free: 46.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004344/0.3693, allocations: 304.8 kB / 465.3 MB, free: 46.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006223/0.3699, allocations: 319.1 kB / 465.6 MB, free: 46.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.3813, allocations: 6.123 MB / 471.7 MB, free: 46.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3813, allocations: 0 / 471.7 MB, free: 46.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3813, allocations: 0.75 kB / 471.7 MB, free: 46.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3813, allocations: 0 / 471.7 MB, free: 46.42 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.004082/0.3854, allocations: 1.74 MB / 473.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3855, allocations: 15.88 kB / 473.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.387, allocations: 364.4 kB / 473.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009843/0.388, allocations: 0.5177 MB / 474.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.3882, allocations: 166.2 kB / 474.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.3883, allocations: 60.34 kB / 474.6 MB, free: 45.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.39, allocations: 1.338 MB / 475.9 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.39, allocations: 6.375 kB / 475.9 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.3901, allocations: 34.11 kB / 475.9 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.3902, allocations: 45.23 kB / 476 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.3915, allocations: 0.6607 MB / 476.6 MB, free: 44.29 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.005315/0.3968, allocations: 5.971 MB / 482.6 MB, free: 39.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.398, allocations: 0.4954 MB / 483.1 MB, free: 39.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.3984, allocations: 178.3 kB / 483.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08797/0.4864, allocations: 26.15 MB / 0.4975 GB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.4864, allocations: 47.52 kB / 0.4975 GB, free: 34.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.003e-06/0.4864, allocations: 0 / 0.4975 GB, free: 34.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.005748/0.4922, allocations: 1.96 MB / 0.4994 GB, free: 32.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4922, allocations: 190.9 kB / 0.4996 GB, free: 32.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/0.4928, allocations: 0.6961 MB / 0.5003 GB, free: 31.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.4929, allocations: 33.7 kB / 0.5003 GB, free: 31.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.4931, allocations: 493.4 kB / 0.5008 GB, free: 31.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.4932, allocations: 182.5 kB / 0.501 GB, free: 31.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.4934, allocations: 192.2 kB / 0.5012 GB, free: 30.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4936, allocations: 0.5859 MB / 0.5017 GB, free: 30.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.4938, allocations: 169.9 kB / 0.5019 GB, free: 30.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.4943, allocations: 0.792 MB / 0.5027 GB, free: 29.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008104/0.4951, allocations: 0.9348 MB / 0.5036 GB, free: 28.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.4951, allocations: 4 kB / 0.5036 GB, free: 28.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001127/0.4963, allocations: 0.8226 MB / 0.5044 GB, free: 27.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4963, allocations: 12 kB / 0.5044 GB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.4963, allocations: 12 kB / 0.5044 GB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/0.4995, allocations: 268 kB / 0.5047 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.5005, allocations: 277.3 kB / 0.5049 GB, free: 26.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.5019, allocations: 2.77 MB / 0.5076 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.5024, allocations: 28 kB / 0.5077 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.5024, allocations: 43.98 kB / 0.5077 GB, free: 23.74 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.0002999/0.5027, allocations: 277.6 kB / 0.508 GB, free: 23.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.5029, allocations: 83.61 kB / 0.5081 GB, free: 23.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.5044, allocations: 1.348 MB / 0.5094 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.5044, allocations: 19.97 kB / 0.5094 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.5044, allocations: 0 / 0.5094 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5044, allocations: 3.984 kB / 0.5094 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.5067, allocations: 2.066 MB / 0.5114 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.5067, allocations: 0 / 0.5114 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.5075, allocations: 182.7 kB / 0.5116 GB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/0.5091, allocations: 271.2 kB / 0.5118 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.5092, allocations: 16 kB / 0.5119 GB, free: 19.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.5104, allocations: 2.732 MB / 0.5145 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5104, allocations: 11.19 kB / 0.5145 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.5124, allocations: 1.517 MB / 0.516 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.5128, allocations: 139.1 kB / 0.5162 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.5129, allocations: 31.83 kB / 0.5162 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.5134, allocations: 13.06 kB / 0.5162 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.5135, allocations: 39.44 kB / 0.5162 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.5135, allocations: 15.98 kB / 0.5162 GB, free: 14.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008182/0.5144, allocations: 0.5458 MB / 0.5168 GB, free: 14.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5144, allocations: 0 / 0.5168 GB, free: 14.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004646/0.519, allocations: 1.1 MB / 0.5179 GB, free: 13.17 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.007451/0.5265, allocations: 1.335 MB / 0.5192 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.5291, allocations: 0.734 MB / 0.5199 GB, free: 11.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.5291, allocations: 8.125 kB / 0.5199 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.5303, allocations: 443.8 kB / 0.5203 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.5329, allocations: 355.8 kB / 0.5206 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.5361, allocations: 1.907 MB / 0.5225 GB, free: 8.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.5365, allocations: 0.4927 MB / 0.523 GB, free: 8.031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007906/0.5372, allocations: 321.8 kB / 0.5233 GB, free: 7.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.5374, allocations: 56.5 kB / 0.5234 GB, free: 7.664 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5374, allocations: 0 / 0.5234 GB, free: 7.664 MB / 410.7 MB Notification: Performance of Templates: time 0.07217/0.6096, allocations: 45 MB / 0.5673 GB, free: 11.04 MB / 458.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=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","/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.377300722058862]