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.001158/0.001158, allocations: 110.9 kB / 17.09 MB, free: 5.988 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.001376/0.001376, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.426/1.426, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2255/0.2255, allocations: 43.52 MB / 314.8 MB, free: 456 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.001804/0.001805, allocations: 67.89 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1366, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02339/0.1601, allocations: 20.26 MB / 0.5083 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006947/0.1671, allocations: 4.298 MB / 0.5125 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006997/0.1678, allocations: 19.88 kB / 0.5126 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009553/0.1688, allocations: 318 kB / 0.5129 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.1707, allocations: 0.8433 MB / 0.5137 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.173, allocations: 0.8961 MB / 0.5146 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.1751, allocations: 1.79 MB / 0.5163 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006241/0.1758, allocations: 473.3 kB / 0.5168 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.1777, allocations: 0.9301 MB / 0.5177 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000987/0.1787, allocations: 0.6267 MB / 0.5183 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.1788, allocations: 60 kB / 0.5183 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009062/0.1797, allocations: 307.6 kB / 0.5186 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.18, allocations: 267.2 kB / 0.5189 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.1804, allocations: 390.2 kB / 0.5193 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1818, allocations: 1.083 MB / 0.5203 GB, free: 11.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1818, allocations: 0 / 0.5203 GB, free: 11.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1818, allocations: 4 kB / 0.5203 GB, free: 11.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.1818, allocations: 0 / 0.5203 GB, free: 11.13 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.002194/0.184, allocations: 1.043 MB / 0.5213 GB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1841, allocations: 15.89 kB / 0.5214 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.1844, allocations: 91.98 kB / 0.5214 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/0.1853, allocations: 0.5327 MB / 0.522 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.1854, allocations: 101 kB / 0.5221 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/0.1855, allocations: 52.36 kB / 0.5221 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.1867, allocations: 0.8213 MB / 0.5229 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.1867, allocations: 4 kB / 0.5229 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.908e-05/0.1868, allocations: 20 kB / 0.5229 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.095e-05/0.1868, allocations: 44.86 kB / 0.523 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000982/0.1878, allocations: 0.6439 MB / 0.5236 GB, free: 7.59 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.004694/0.1925, allocations: 4.217 MB / 0.5277 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.1934, allocations: 415.8 kB / 0.5281 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.1938, allocations: 213.4 kB / 0.5283 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005822/0.1943, allocations: 0.4989 MB / 0.5288 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1944, allocations: 38.89 kB / 0.5288 GB, free: 1.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.525e-06/0.1944, allocations: 0 / 0.5288 GB, free: 1.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003224/0.1976, allocations: 1.533 MB / 0.5303 GB, free: 220 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.1977, allocations: 132.5 kB / 0.5305 GB, free: 56 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2685/0.4662, allocations: 0.5685 MB / 0.531 GB, free: 42.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.4664, allocations: 33.89 kB / 0.5311 GB, free: 42.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.4667, allocations: 349.2 kB / 0.5314 GB, free: 42.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.4668, allocations: 170 kB / 0.5316 GB, free: 42.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.467, allocations: 140.1 kB / 0.5317 GB, free: 42.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.4671, allocations: 381.5 kB / 0.532 GB, free: 42.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.4675, allocations: 221.5 kB / 0.5323 GB, free: 42.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.468, allocations: 0.5168 MB / 0.5328 GB, free: 41.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.4689, allocations: 0.7805 MB / 0.5335 GB, free: 41.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.469, allocations: 2.719 kB / 0.5335 GB, free: 41.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001966/0.4709, allocations: 0.9347 MB / 0.5344 GB, free: 41.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.471, allocations: 8.906 kB / 0.5345 GB, free: 41.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.471, allocations: 9.531 kB / 0.5345 GB, free: 41.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.4723, allocations: 266.8 kB / 0.5347 GB, free: 41.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.4728, allocations: 132.4 kB / 0.5348 GB, free: 41.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.4738, allocations: 0.8591 MB / 0.5357 GB, free: 40.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/0.4743, allocations: 31.95 kB / 0.5357 GB, free: 40.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/0.4744, allocations: 34.38 kB / 0.5357 GB, free: 40.78 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.0003792/0.4748, allocations: 249.6 kB / 0.536 GB, free: 40.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.475, allocations: 70.19 kB / 0.536 GB, free: 40.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.4766, allocations: 0.717 MB / 0.5367 GB, free: 40.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.4766, allocations: 2.016 kB / 0.5367 GB, free: 40.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4766, allocations: 2 kB / 0.5368 GB, free: 40.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.4769, allocations: 189 kB / 0.5369 GB, free: 40.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.477, allocations: 15.33 kB / 0.5369 GB, free: 40.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.4773, allocations: 15.78 kB / 0.537 GB, free: 40.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4774, allocations: 27.31 kB / 0.537 GB, free: 40.3 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001729/0.4791, allocations: 0.7259 MB / 0.5377 GB, free: 39.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001273/0.4804, allocations: 0.9755 MB / 0.5386 GB, free: 39.46 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003526/0.4808, allocations: 235 kB / 0.5389 GB, free: 39.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004537/0.4812, allocations: 404.2 kB / 0.5393 GB, free: 39.2 MB / 414.1 MB Notification: Performance of Backend: time 1.153e-06/0.4812, allocations: 0 / 0.5393 GB, free: 39.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.4831, allocations: 0.6271 MB / 0.5399 GB, free: 38.99 MB / 414.1 MB Notification: Performance of SimCode: time 0.002893/0.486, allocations: 1.889 MB / 0.5417 GB, free: 37.88 MB / 414.1 MB Notification: Performance of Templates: time 0.02545/0.5114, allocations: 14.47 MB / 0.5558 GB, free: 32.91 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