Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 112.7 kB / 17.04 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 196.1 kB / 17.97 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2006/0.2006, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 79.88 kB / 442.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1137, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02056/0.1343, allocations: 20.26 MB / 0.5083 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.1404, allocations: 4.29 MB / 0.5125 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000651/0.1411, allocations: 19.88 kB / 0.5125 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009378/0.1421, allocations: 314 kB / 0.5128 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.1441, allocations: 0.8472 MB / 0.5136 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.1463, allocations: 0.896 MB / 0.5145 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001989/0.1483, allocations: 1.801 MB / 0.5163 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006426/0.149, allocations: 457.3 kB / 0.5167 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.1507, allocations: 0.9146 MB / 0.5176 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008926/0.1516, allocations: 0.6422 MB / 0.5182 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1517, allocations: 60 kB / 0.5183 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000746/0.1525, allocations: 311.6 kB / 0.5186 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.1528, allocations: 255.3 kB / 0.5188 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.1532, allocations: 390.2 kB / 0.5192 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.1546, allocations: 1.087 MB / 0.5202 GB, free: 11.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1546, allocations: 0 / 0.5202 GB, free: 11.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1546, allocations: 0 / 0.5202 GB, free: 11.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1546, allocations: 0 / 0.5202 GB, free: 11.19 MB / 414.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.002271/0.1569, allocations: 1.048 MB / 0.5213 GB, free: 10.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.157, allocations: 15.89 kB / 0.5213 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.1574, allocations: 91.94 kB / 0.5214 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008031/0.1582, allocations: 0.5326 MB / 0.5219 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.1583, allocations: 104.9 kB / 0.522 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-05/0.1584, allocations: 44.38 kB / 0.522 GB, free: 9.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.1596, allocations: 0.8252 MB / 0.5228 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.1596, allocations: 3.938 kB / 0.5228 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.1597, allocations: 24 kB / 0.5229 GB, free: 8.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.895e-05/0.1597, allocations: 36.98 kB / 0.5229 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.1608, allocations: 0.6478 MB / 0.5235 GB, free: 7.641 MB / 414.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.004564/0.1653, allocations: 4.217 MB / 0.5276 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/0.1662, allocations: 415.9 kB / 0.528 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.1665, allocations: 205.4 kB / 0.5282 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000463/0.167, allocations: 0.4989 MB / 0.5287 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1671, allocations: 42.83 kB / 0.5288 GB, free: 1.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.284e-06/0.1671, allocations: 4 kB / 0.5288 GB, free: 1.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003138/0.1702, allocations: 1.525 MB / 0.5303 GB, free: 280 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.1703, allocations: 136.5 kB / 0.5304 GB, free: 112 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2291/0.3994, allocations: 0.5657 MB / 0.5309 GB, free: 42.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.3995, allocations: 32.48 kB / 0.531 GB, free: 42.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.3998, allocations: 351.1 kB / 0.5313 GB, free: 42.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3999, allocations: 171.5 kB / 0.5315 GB, free: 42.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.4002, allocations: 137.2 kB / 0.5316 GB, free: 42.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.4003, allocations: 382.2 kB / 0.532 GB, free: 42.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.4006, allocations: 221.7 kB / 0.5322 GB, free: 42.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.4011, allocations: 0.5188 MB / 0.5327 GB, free: 41.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009008/0.402, allocations: 0.779 MB / 0.5334 GB, free: 41.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4021, allocations: 2.469 kB / 0.5335 GB, free: 41.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001863/0.4039, allocations: 0.9438 MB / 0.5344 GB, free: 41.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.404, allocations: 9.594 kB / 0.5344 GB, free: 41.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.404, allocations: 8.844 kB / 0.5344 GB, free: 41.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.4052, allocations: 265.7 kB / 0.5346 GB, free: 41.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.4056, allocations: 126 kB / 0.5348 GB, free: 41.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008751/0.4065, allocations: 0.863 MB / 0.5356 GB, free: 40.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.407, allocations: 25.94 kB / 0.5356 GB, free: 40.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.4071, allocations: 36.94 kB / 0.5357 GB, free: 40.82 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.0003476/0.4074, allocations: 248.5 kB / 0.5359 GB, free: 40.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.4076, allocations: 67.69 kB / 0.536 GB, free: 40.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.4089, allocations: 0.7149 MB / 0.5367 GB, free: 40.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.409, allocations: 5.469 kB / 0.5367 GB, free: 40.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.409, allocations: 0.8438 kB / 0.5367 GB, free: 40.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.409, allocations: 8.859 kB / 0.5367 GB, free: 40.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.411, allocations: 1.399 MB / 0.538 GB, free: 39.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.411, allocations: 4.656 kB / 0.5381 GB, free: 39.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009468/0.4119, allocations: 188.9 kB / 0.5382 GB, free: 39.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/0.4122, allocations: 56.7 kB / 0.5383 GB, free: 39.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.4122, allocations: 17.78 kB / 0.5383 GB, free: 39.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.4139, allocations: 2.983 MB / 0.5412 GB, free: 36.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4139, allocations: 3.156 kB / 0.5412 GB, free: 36.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.4154, allocations: 1.003 MB / 0.5422 GB, free: 36.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.4158, allocations: 199.5 kB / 0.5424 GB, free: 36.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.4158, allocations: 12.81 kB / 0.5424 GB, free: 36.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.4162, allocations: 18.41 kB / 0.5424 GB, free: 36.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4163, allocations: 40.52 kB / 0.5425 GB, free: 36.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.4164, allocations: 21.03 kB / 0.5425 GB, free: 36.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000542/0.4169, allocations: 424 kB / 0.5429 GB, free: 35.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4169, allocations: 3.828 kB / 0.5429 GB, free: 35.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008346/0.4178, allocations: 209.1 kB / 0.5431 GB, free: 35.83 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.0005253/0.4183, allocations: 226.4 kB / 0.5433 GB, free: 35.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.4196, allocations: 0.6147 MB / 0.5439 GB, free: 35.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4196, allocations: 0 / 0.5439 GB, free: 35.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.4207, allocations: 477.7 kB / 0.5444 GB, free: 35.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.4225, allocations: 374.4 kB / 0.5447 GB, free: 35.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.425, allocations: 1.439 MB / 0.5461 GB, free: 34.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.4255, allocations: 0.9365 MB / 0.547 GB, free: 33.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.4257, allocations: 66.95 kB / 0.5471 GB, free: 33.69 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4257, allocations: 1.25 kB / 0.5471 GB, free: 33.69 MB / 414.1 MB Notification: Performance of Templates: time 0.02362/0.4493, allocations: 15.53 MB / 0.5623 GB, free: 27.41 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches