Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.001707/0.001707, allocations: 74.97 kB / 19.93 MB, free: 1.77 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.002053/0.002053, allocations: 173.2 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2186/0.2186, allocations: 32.37 MB / 269.6 MB, free: 4.652 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 407.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.561e-05, allocations: 2.281 kB / 407.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05951/0.05953, allocations: 39.54 MB / 446.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00746/0.06699, allocations: 4.055 MB / 451 MB, free: 7.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008109/0.0678, allocations: 27.69 kB / 451 MB, free: 7.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.069, allocations: 309.9 kB / 451.3 MB, free: 6.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.07159, allocations: 0.9048 MB / 452.2 MB, free: 5.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.07423, allocations: 0.947 MB / 453.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002678/0.07691, allocations: 1.832 MB / 455 MB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009645/0.07787, allocations: 405.5 kB / 455.4 MB, free: 2.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3537/0.4316, allocations: 44.5 MB / 499.9 MB, free: 21.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01818/0.4498, allocations: 7.898 MB / 0.4959 GB, free: 19.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.45, allocations: 59.53 kB / 0.4959 GB, free: 19.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0246/0.4746, allocations: 10.59 MB / 0.5063 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006724/0.4753, allocations: 281.1 kB / 0.5065 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.4759, allocations: 278.1 kB / 0.5068 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.4776, allocations: 1.121 MB / 0.5079 GB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4776, allocations: 2.625 kB / 0.5079 GB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4776, allocations: 0 / 0.5079 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4776, allocations: 3.469 kB / 0.5079 GB, free: 13.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002097/0.4797, allocations: 0.9916 MB / 0.5089 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4798, allocations: 9.031 kB / 0.5089 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.4801, allocations: 87.91 kB / 0.509 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.4809, allocations: 478.2 kB / 0.5094 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.481, allocations: 160.1 kB / 0.5096 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.4811, allocations: 44.34 kB / 0.5096 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.4822, allocations: 1.104 MB / 0.5107 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.4822, allocations: 4 kB / 0.5107 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.4823, allocations: 24 kB / 0.5107 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-05/0.4823, allocations: 40.97 kB / 0.5108 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.4832, allocations: 0.648 MB / 0.5114 GB, free: 10.29 MB / 398.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.00349/0.4867, allocations: 3.33 MB / 0.5147 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/0.4875, allocations: 387.2 kB / 0.515 GB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.4878, allocations: 201.2 kB / 0.5152 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.488, allocations: 56.28 kB / 0.5153 GB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.4881, allocations: 38.89 kB / 0.5153 GB, free: 6.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.964e-06/0.4881, allocations: 3.656 kB / 0.5153 GB, free: 6.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.002761/0.4908, allocations: 1.453 MB / 0.5167 GB, free: 4.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4909, allocations: 144 kB / 0.5169 GB, free: 4.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.4913, allocations: 0.5181 MB / 0.5174 GB, free: 4.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.4913, allocations: 29.7 kB / 0.5174 GB, free: 4.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.4915, allocations: 370.9 kB / 0.5178 GB, free: 3.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.4916, allocations: 168.5 kB / 0.5179 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.4917, allocations: 138.6 kB / 0.518 GB, free: 3.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.4918, allocations: 370.8 kB / 0.5184 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.4921, allocations: 221.9 kB / 0.5186 GB, free: 2.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.4926, allocations: 0.5953 MB / 0.5192 GB, free: 2.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008145/0.4934, allocations: 0.7859 MB / 0.52 GB, free: 1.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4934, allocations: 4 kB / 0.52 GB, free: 1.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001545/0.495, allocations: 0.9327 MB / 0.5209 GB, free: 268 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.495, allocations: 12 kB / 0.5209 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.495, allocations: 8 kB / 0.5209 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.4961, allocations: 266.1 kB / 0.5211 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.4965, allocations: 133.9 kB / 0.5213 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.4977, allocations: 0.8488 MB / 0.5221 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.4981, allocations: 31.98 kB / 0.5221 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.4982, allocations: 32 kB / 0.5222 GB, free: 14.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003907/0.4986, allocations: 248 kB / 0.5224 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.4987, allocations: 71.56 kB / 0.5225 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.5003, allocations: 0.7159 MB / 0.5232 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.5003, allocations: 7.938 kB / 0.5232 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5003, allocations: 0.875 kB / 0.5232 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.5003, allocations: 3.984 kB / 0.5232 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.5026, allocations: 1.232 MB / 0.5244 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.5026, allocations: 4 kB / 0.5244 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.5036, allocations: 186.7 kB / 0.5246 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.5039, allocations: 68.95 kB / 0.5246 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.5039, allocations: 10.44 kB / 0.5246 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.5067, allocations: 2.731 MB / 0.5273 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5067, allocations: 0 / 0.5273 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.5084, allocations: 0.9953 MB / 0.5283 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.5087, allocations: 117.7 kB / 0.5284 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-05/0.5088, allocations: 18.31 kB / 0.5284 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.5092, allocations: 19.98 kB / 0.5284 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5093, allocations: 38.56 kB / 0.5285 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/0.5094, allocations: 24.11 kB / 0.5285 GB, free: 8.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004613/0.5098, allocations: 346.8 kB / 0.5288 GB, free: 7.895 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5098, allocations: 0 / 0.5288 GB, free: 7.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008538/0.5107, allocations: 207.9 kB / 0.529 GB, free: 7.691 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005979/0.5113, allocations: 245.2 kB / 0.5293 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.5125, allocations: 0.5892 MB / 0.5298 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5125, allocations: 3.469 kB / 0.5298 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.5138, allocations: 473.5 kB / 0.5303 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.5153, allocations: 321.5 kB / 0.5306 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.5177, allocations: 1.299 MB / 0.5319 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.5182, allocations: 349 kB / 0.5322 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005872/0.5188, allocations: 194.2 kB / 0.5324 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.5189, allocations: 60.48 kB / 0.5324 GB, free: 4.242 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5189, allocations: 2.297 kB / 0.5324 GB, free: 4.242 MB / 414.1 MB Notification: Performance of Templates: time 0.02627/0.5452, allocations: 13.82 MB / 0.5459 GB, free: 6.574 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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: 6.09819832444191]