Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001363/0.001363, allocations: 110.4 kB / 17.78 MB, free: 5.285 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.001487/0.001487, allocations: 183.9 kB / 18.7 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4154, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0228/0.4382, allocations: 20.26 MB / 0.5387 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007647/0.4459, allocations: 4.279 MB / 0.5429 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009181/0.4469, allocations: 19.22 kB / 0.5429 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.4479, allocations: 310.1 kB / 0.5432 GB, free: 484 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002663/0.4507, allocations: 0.8552 MB / 0.544 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.4534, allocations: 0.9024 MB / 0.5449 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.456, allocations: 1.792 MB / 0.5466 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007882/0.4568, allocations: 460.1 kB / 0.5471 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.4592, allocations: 0.9386 MB / 0.548 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.4603, allocations: 0.634 MB / 0.5486 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.4605, allocations: 60.03 kB / 0.5487 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.4615, allocations: 298.9 kB / 0.549 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.4618, allocations: 271.1 kB / 0.5492 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004503/0.4623, allocations: 392.5 kB / 0.5496 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.464, allocations: 1.08 MB / 0.5506 GB, free: 11.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.464, allocations: 0 / 0.5506 GB, free: 11.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.464, allocations: 0 / 0.5506 GB, free: 11.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.464, allocations: 3.938 kB / 0.5507 GB, free: 11.5 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.002104/0.4661, allocations: 1.052 MB / 0.5517 GB, free: 10.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4662, allocations: 11.97 kB / 0.5517 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.4665, allocations: 88.08 kB / 0.5518 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/0.4674, allocations: 0.5326 MB / 0.5523 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.4675, allocations: 112.9 kB / 0.5524 GB, free: 9.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.439e-05/0.4676, allocations: 48.38 kB / 0.5524 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.4688, allocations: 0.8135 MB / 0.5532 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.4689, allocations: 4 kB / 0.5532 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.4689, allocations: 23.98 kB / 0.5533 GB, free: 8.648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-05/0.469, allocations: 44.98 kB / 0.5533 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.4702, allocations: 0.6399 MB / 0.5539 GB, free: 7.961 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.00612/0.4764, allocations: 4.217 MB / 0.5581 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.4773, allocations: 408 kB / 0.5584 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.4776, allocations: 205.4 kB / 0.5586 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004927/0.4781, allocations: 0.5067 MB / 0.5591 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.4781, allocations: 46.83 kB / 0.5592 GB, free: 2.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/0.4782, allocations: 0 / 0.5592 GB, free: 2.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003109/0.4813, allocations: 1.524 MB / 0.5607 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.4814, allocations: 140.5 kB / 0.5608 GB, free: 432 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.482, allocations: 0.5654 MB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.4821, allocations: 33.7 kB / 0.5614 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.4824, allocations: 355 kB / 0.5617 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.4825, allocations: 165.7 kB / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.4827, allocations: 146.5 kB / 0.562 GB, free: 15.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4829, allocations: 378.7 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.4832, allocations: 221.9 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.4838, allocations: 0.524 MB / 0.5631 GB, free: 13.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009771/0.4848, allocations: 0.7718 MB / 0.5639 GB, free: 12.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4848, allocations: 4 kB / 0.5639 GB, free: 12.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001652/0.4865, allocations: 0.9415 MB / 0.5648 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.4865, allocations: 8 kB / 0.5648 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.4866, allocations: 8 kB / 0.5648 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.4877, allocations: 268.1 kB / 0.5651 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.4881, allocations: 127.8 kB / 0.5652 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009162/0.489, allocations: 0.8645 MB / 0.566 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.4895, allocations: 24 kB / 0.566 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.4895, allocations: 36 kB / 0.5661 GB, free: 10.68 MB / 430.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.0003265/0.4899, allocations: 245.5 kB / 0.5663 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.49, allocations: 71.09 kB / 0.5664 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.4913, allocations: 0.7173 MB / 0.5671 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4913, allocations: 7.938 kB / 0.5671 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4913, allocations: 3.938 kB / 0.5671 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4914, allocations: 0 / 0.5671 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.4935, allocations: 1.4 MB / 0.5685 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4935, allocations: 7.922 kB / 0.5685 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/0.4944, allocations: 192 kB / 0.5687 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/0.4947, allocations: 56.73 kB / 0.5687 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.4947, allocations: 19.98 kB / 0.5687 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.4973, allocations: 2.975 MB / 0.5716 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.4974, allocations: 12.03 kB / 0.5716 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.4989, allocations: 1.001 MB / 0.5726 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.4992, allocations: 200.2 kB / 0.5728 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/0.4993, allocations: 11.98 kB / 0.5728 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.4996, allocations: 16 kB / 0.5728 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.4997, allocations: 35.95 kB / 0.5729 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.4998, allocations: 23.98 kB / 0.5729 GB, free: 3.262 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005281/0.5003, allocations: 427 kB / 0.5733 GB, free: 2.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5003, allocations: 0 / 0.5733 GB, free: 2.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008035/0.5011, allocations: 204 kB / 0.5735 GB, free: 2.645 MB / 430.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.0004916/0.5016, allocations: 235 kB / 0.5737 GB, free: 2.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.5028, allocations: 0.6166 MB / 0.5743 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5028, allocations: 4 kB / 0.5743 GB, free: 1.801 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.504, allocations: 486.2 kB / 0.5748 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.5057, allocations: 384.5 kB / 0.5752 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.508, allocations: 1.391 MB / 0.5765 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.5086, allocations: 0.9346 MB / 0.5774 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006283/0.5092, allocations: 202.9 kB / 0.5776 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.5094, allocations: 63.42 kB / 0.5777 GB, free: 14.3 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5094, allocations: 4 kB / 0.5777 GB, free: 14.29 MB / 446.1 MB Notification: Performance of Templates: time 0.0288/0.5382, allocations: 15.51 MB / 0.5928 GB, free: 14.98 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches