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.001642/0.001642, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002314/0.002314, allocations: 217.7 kB / 22.99 MB, free: 4.977 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.601/1.601, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.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.2404/0.2404, allocations: 44.27 MB / 330.3 MB, free: 9.289 MB / 270.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002292/0.002292, allocations: 71.91 kB / 468 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1339, allocations: 61.04 MB / 0.5167 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3076/0.4415, allocations: 39.64 MB / 0.5554 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.4474, allocations: 4.076 MB / 0.5593 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006675/0.4481, allocations: 26.44 kB / 0.5594 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.449, allocations: 309 kB / 0.5597 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.4511, allocations: 0.8803 MB / 0.5605 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.4539, allocations: 0.9262 MB / 0.5614 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.4562, allocations: 1.811 MB / 0.5632 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.4569, allocations: 394.1 kB / 0.5636 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09795/0.5548, allocations: 44.11 MB / 0.6067 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01937/0.5742, allocations: 7.915 MB / 0.6144 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.5745, allocations: 60 kB / 0.6144 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02592/0.6004, allocations: 10.55 MB / 0.6247 GB, free: 2.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006181/0.601, allocations: 271.1 kB / 0.625 GB, free: 2.234 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006911/0.6017, allocations: 334.6 kB / 0.6253 GB, free: 1.906 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.6037, allocations: 1.082 MB / 0.6264 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6038, allocations: 0 / 0.6264 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6038, allocations: 0 / 0.6264 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.6038, allocations: 3.938 kB / 0.6264 GB, free: 0.8164 MB / 462.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.002386/0.6062, allocations: 1.003 MB / 0.6274 GB, free: 15.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.6062, allocations: 12.03 kB / 0.6274 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.6066, allocations: 88.47 kB / 0.6275 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009957/0.6076, allocations: 474.6 kB / 0.6279 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.6078, allocations: 156.3 kB / 0.6281 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6079, allocations: 53.27 kB / 0.6281 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.6094, allocations: 1.101 MB / 0.6292 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.6094, allocations: 4 kB / 0.6292 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.6095, allocations: 16 kB / 0.6292 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.856e-05/0.6096, allocations: 44.97 kB / 0.6292 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.6108, allocations: 0.6438 MB / 0.6299 GB, free: 13.02 MB / 478.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.005128/0.6159, allocations: 3.336 MB / 0.6331 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009721/0.6169, allocations: 402.3 kB / 0.6335 GB, free: 9.168 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.6172, allocations: 194.1 kB / 0.6337 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.6175, allocations: 56.28 kB / 0.6338 GB, free: 8.922 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.6175, allocations: 38.83 kB / 0.6338 GB, free: 8.875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 3.847e-06/0.6176, allocations: 4 kB / 0.6338 GB, free: 8.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003478/0.621, allocations: 1.458 MB / 0.6352 GB, free: 7.371 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.6211, allocations: 140.4 kB / 0.6354 GB, free: 7.203 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.6218, allocations: 0.5181 MB / 0.6359 GB, free: 6.672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/0.6219, allocations: 37.7 kB / 0.6359 GB, free: 6.629 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.6222, allocations: 372.3 kB / 0.6362 GB, free: 6.262 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.6224, allocations: 170.6 kB / 0.6364 GB, free: 6.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.6226, allocations: 142.6 kB / 0.6365 GB, free: 5.949 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.6228, allocations: 366.8 kB / 0.6369 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.6232, allocations: 229.9 kB / 0.6371 GB, free: 5.355 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007363/0.6239, allocations: 0.5964 MB / 0.6377 GB, free: 4.602 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.6251, allocations: 0.7757 MB / 0.6385 GB, free: 3.699 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6251, allocations: 4 kB / 0.6385 GB, free: 3.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001974/0.6271, allocations: 0.9255 MB / 0.6394 GB, free: 2.758 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.6271, allocations: 8 kB / 0.6394 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.6271, allocations: 12.84 kB / 0.6394 GB, free: 2.738 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.6283, allocations: 271.6 kB / 0.6396 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.6288, allocations: 127.8 kB / 0.6398 GB, free: 2.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.6299, allocations: 0.8573 MB / 0.6406 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.6304, allocations: 31.98 kB / 0.6406 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.6305, allocations: 36 kB / 0.6407 GB, free: 1.398 MB / 478.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.0003948/0.6308, allocations: 238.5 kB / 0.6409 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.631, allocations: 75.62 kB / 0.641 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.6324, allocations: 0.7122 MB / 0.6417 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.6324, allocations: 11.94 kB / 0.6417 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6324, allocations: 0 / 0.6417 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.6324, allocations: 3.984 kB / 0.6417 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.6347, allocations: 1.232 MB / 0.6429 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.6347, allocations: 0 / 0.6429 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.6357, allocations: 191.8 kB / 0.6431 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.636, allocations: 66.48 kB / 0.6431 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.636, allocations: 15.94 kB / 0.6431 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/0.6387, allocations: 2.727 MB / 0.6458 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.6387, allocations: 7.969 kB / 0.6458 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.6405, allocations: 1.001 MB / 0.6468 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.6408, allocations: 124.5 kB / 0.6469 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/0.6409, allocations: 16.12 kB / 0.6469 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.6413, allocations: 23.98 kB / 0.6469 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6414, allocations: 31.94 kB / 0.647 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.6414, allocations: 23.98 kB / 0.647 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005275/0.642, allocations: 346.8 kB / 0.6473 GB, free: 10.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.642, allocations: 0 / 0.6473 GB, free: 10.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009609/0.6429, allocations: 207.9 kB / 0.6475 GB, free: 10.05 MB / 494.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.0007452/0.6437, allocations: 247.7 kB / 0.6478 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.6451, allocations: 0.5698 MB / 0.6483 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.6451, allocations: 4 kB / 0.6483 GB, free: 9.238 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.6464, allocations: 470 kB / 0.6488 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.6479, allocations: 330.7 kB / 0.6491 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.6506, allocations: 1.407 MB / 0.6505 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.6511, allocations: 341.1 kB / 0.6508 GB, free: 6.656 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007244/0.6518, allocations: 200.7 kB / 0.651 GB, free: 6.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.652, allocations: 59.42 kB / 0.651 GB, free: 6.418 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.652, allocations: 0 / 0.651 GB, free: 6.418 MB / 494.1 MB Notification: Performance of Templates: time 0.02921/0.6812, allocations: 14.85 MB / 0.6655 GB, free: 7.598 MB / 0.4981 GB " [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.170551182702184]