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.001794/0.001794, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001972/0.001972, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.363/1.363, allocations: 222.9 MB / 243 MB, free: 15.15 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.2158/0.2158, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 63.09 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02166/0.1386, allocations: 20.25 MB / 491 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006099/0.1447, allocations: 4.278 MB / 495.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006941/0.1455, allocations: 19.88 kB / 495.3 MB, free: 5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1465, allocations: 314 kB / 495.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.1489, allocations: 0.851 MB / 496.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.1512, allocations: 0.9004 MB / 497.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.1535, allocations: 1.794 MB / 499.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007421/0.1542, allocations: 457.3 kB / 499.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.1562, allocations: 0.9262 MB / 0.4888 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.1574, allocations: 0.6344 MB / 0.4894 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.1576, allocations: 60 kB / 0.4894 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009552/0.1586, allocations: 307.6 kB / 0.4897 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.159, allocations: 259.3 kB / 0.49 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006352/0.1596, allocations: 398.2 kB / 0.4903 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.1612, allocations: 1.083 MB / 0.4914 GB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1612, allocations: 0 / 0.4914 GB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1612, allocations: 0 / 0.4914 GB, free: 13.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.1612, allocations: 0 / 0.4914 GB, free: 13.03 MB / 382.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.002462/0.1637, allocations: 1.056 MB / 0.4924 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1638, allocations: 8.031 kB / 0.4924 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.1641, allocations: 88.09 kB / 0.4925 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.1652, allocations: 0.5327 MB / 0.493 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.1653, allocations: 104.9 kB / 0.4931 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.1654, allocations: 52.36 kB / 0.4932 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.1666, allocations: 0.8174 MB / 0.494 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.1667, allocations: 7.938 kB / 0.494 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/0.1668, allocations: 23.98 kB / 0.494 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.558e-05/0.1668, allocations: 36.98 kB / 0.4941 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.1679, allocations: 0.64 MB / 0.4947 GB, free: 9.492 MB / 382.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.005057/0.173, allocations: 4.213 MB / 0.4988 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008996/0.1739, allocations: 427.9 kB / 0.4992 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.1742, allocations: 205.4 kB / 0.4994 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005051/0.1748, allocations: 0.499 MB / 0.4999 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1748, allocations: 38.89 kB / 0.4999 GB, free: 3.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.1748, allocations: 0 / 0.4999 GB, free: 3.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003412/0.1782, allocations: 1.532 MB / 0.5014 GB, free: 2.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.1783, allocations: 132.5 kB / 0.5016 GB, free: 1.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/0.179, allocations: 0.5693 MB / 0.5021 GB, free: 1.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.1791, allocations: 37.7 kB / 0.5021 GB, free: 1.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.1794, allocations: 355 kB / 0.5025 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.1795, allocations: 161.7 kB / 0.5026 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.1797, allocations: 142.5 kB / 0.5028 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1799, allocations: 378.7 kB / 0.5031 GB, free: 304 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.1803, allocations: 217.9 kB / 0.5033 GB, free: 88 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1927/0.373, allocations: 0.5204 MB / 0.5038 GB, free: 51.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009405/0.374, allocations: 0.7784 MB / 0.5046 GB, free: 50.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.374, allocations: 7.656 kB / 0.5046 GB, free: 50.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00204/0.3761, allocations: 0.9314 MB / 0.5055 GB, free: 50.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.3761, allocations: 9.5 kB / 0.5055 GB, free: 50.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.3761, allocations: 10.53 kB / 0.5055 GB, free: 50.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.3773, allocations: 269.5 kB / 0.5058 GB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.3777, allocations: 124.3 kB / 0.5059 GB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008715/0.3786, allocations: 0.8632 MB / 0.5068 GB, free: 50.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.3792, allocations: 31.08 kB / 0.5068 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.3792, allocations: 33.5 kB / 0.5068 GB, free: 50.23 MB / 382.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.0003059/0.3796, allocations: 245.5 kB / 0.5071 GB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.3797, allocations: 65.91 kB / 0.5071 GB, free: 50.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.3811, allocations: 0.7161 MB / 0.5078 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.3811, allocations: 9.344 kB / 0.5078 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3811, allocations: 1.406 kB / 0.5078 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3811, allocations: 2.812 kB / 0.5078 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.3835, allocations: 1.405 MB / 0.5092 GB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3835, allocations: 6.062 kB / 0.5092 GB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009481/0.3845, allocations: 190.5 kB / 0.5094 GB, free: 48.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.3847, allocations: 52.56 kB / 0.5094 GB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.3848, allocations: 17.55 kB / 0.5095 GB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.3865, allocations: 2.987 MB / 0.5124 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3865, allocations: 2.281 kB / 0.5124 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.388, allocations: 1.004 MB / 0.5134 GB, free: 45.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.3883, allocations: 199.3 kB / 0.5136 GB, free: 45.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.787e-05/0.3884, allocations: 16.61 kB / 0.5136 GB, free: 45.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.3888, allocations: 16.67 kB / 0.5136 GB, free: 45.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.3889, allocations: 39.83 kB / 0.5136 GB, free: 45.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.389, allocations: 21.75 kB / 0.5136 GB, free: 45.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004673/0.3894, allocations: 420.8 kB / 0.514 GB, free: 45.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3895, allocations: 0 / 0.514 GB, free: 45.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008091/0.3903, allocations: 207 kB / 0.5142 GB, free: 45.09 MB / 382.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.000431/0.3907, allocations: 234.1 kB / 0.5145 GB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.3918, allocations: 0.6065 MB / 0.5151 GB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3919, allocations: 1.281 kB / 0.5151 GB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.393, allocations: 484.7 kB / 0.5155 GB, free: 44.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.3945, allocations: 373.9 kB / 0.5159 GB, free: 44.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.3973, allocations: 1.39 MB / 0.5172 GB, free: 43.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.3978, allocations: 0.9436 MB / 0.5182 GB, free: 43.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007054/0.3985, allocations: 210.7 kB / 0.5184 GB, free: 43.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3986, allocations: 62.58 kB / 0.5184 GB, free: 43.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3986, allocations: 0 / 0.5184 GB, free: 43.02 MB / 382.1 MB Notification: Performance of Templates: time 0.02088/0.4195, allocations: 15.12 MB / 0.5332 GB, free: 34.02 MB / 382.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/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