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.0009491/0.0009492, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.0009464/0.0009465, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.289/1.289, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2164/0.2164, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 61.88 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1363, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02135/0.1577, allocations: 20.24 MB / 489.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006312/0.164, allocations: 4.282 MB / 493.8 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006859/0.1648, allocations: 19.88 kB / 493.8 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009207/0.1657, allocations: 314 kB / 494.1 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.1678, allocations: 0.8511 MB / 495 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.1702, allocations: 0.8978 MB / 495.9 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.1725, allocations: 1.802 MB / 497.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007548/0.1733, allocations: 460.9 kB / 498.1 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.1755, allocations: 0.9223 MB / 499 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.1766, allocations: 0.6344 MB / 499.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1767, allocations: 60 kB / 499.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000963/0.1777, allocations: 303.6 kB / 0.4883 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.1779, allocations: 263.3 kB / 0.4885 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.1784, allocations: 402.2 kB / 0.4889 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.1798, allocations: 1.071 MB / 0.49 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1798, allocations: 0 / 0.49 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1798, allocations: 0 / 0.49 GB, free: 13.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.1798, allocations: 0 / 0.49 GB, free: 13.78 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.002375/0.1822, allocations: 1.048 MB / 0.491 GB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1823, allocations: 8.031 kB / 0.491 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.1826, allocations: 92.08 kB / 0.4911 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/0.1834, allocations: 0.5015 MB / 0.4916 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.1835, allocations: 104.9 kB / 0.4917 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.1836, allocations: 44.38 kB / 0.4917 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.1848, allocations: 0.8291 MB / 0.4925 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.1848, allocations: 7.938 kB / 0.4925 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/0.1849, allocations: 24 kB / 0.4926 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/0.1849, allocations: 36.98 kB / 0.4926 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.186, allocations: 0.6439 MB / 0.4932 GB, free: 10.27 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.005/0.191, allocations: 4.229 MB / 0.4974 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009027/0.1919, allocations: 419.6 kB / 0.4978 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.1923, allocations: 213.4 kB / 0.498 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004947/0.1928, allocations: 0.5029 MB / 0.4985 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1928, allocations: 35.22 kB / 0.4985 GB, free: 4.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.734e-06/0.1928, allocations: 0 / 0.4985 GB, free: 4.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003326/0.1961, allocations: 1.527 MB / 0.5 GB, free: 2.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.1963, allocations: 132.5 kB / 0.5001 GB, free: 2.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/0.197, allocations: 0.5732 MB / 0.5007 GB, free: 2.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.197, allocations: 41.7 kB / 0.5007 GB, free: 2.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.1973, allocations: 347 kB / 0.501 GB, free: 1.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.1975, allocations: 161.7 kB / 0.5012 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.1977, allocations: 142.5 kB / 0.5013 GB, free: 1.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1978, allocations: 382.7 kB / 0.5017 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.1982, allocations: 221.9 kB / 0.5019 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.1988, allocations: 0.5162 MB / 0.5024 GB, free: 196 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2243/0.4231, allocations: 0.7787 MB / 0.5032 GB, free: 50.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4232, allocations: 2.5 kB / 0.5032 GB, free: 50.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002157/0.4253, allocations: 0.9366 MB / 0.5041 GB, free: 50.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.4254, allocations: 12.72 kB / 0.5041 GB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.4254, allocations: 10.89 kB / 0.5041 GB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.4265, allocations: 264.6 kB / 0.5044 GB, free: 50.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.427, allocations: 128.8 kB / 0.5045 GB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000892/0.4279, allocations: 0.8644 MB / 0.5053 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.4284, allocations: 26.89 kB / 0.5054 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.4285, allocations: 36.09 kB / 0.5054 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.0003441/0.4288, allocations: 247.1 kB / 0.5056 GB, free: 50.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.429, allocations: 67.59 kB / 0.5057 GB, free: 50.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.4304, allocations: 0.7164 MB / 0.5064 GB, free: 49.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.4304, allocations: 6.109 kB / 0.5064 GB, free: 49.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4304, allocations: 0 / 0.5064 GB, free: 49.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.4305, allocations: 8.422 kB / 0.5064 GB, free: 49.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.4326, allocations: 1.408 MB / 0.5078 GB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4326, allocations: 1.094 kB / 0.5078 GB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009644/0.4336, allocations: 193 kB / 0.508 GB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002417/0.4339, allocations: 57.17 kB / 0.508 GB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.4339, allocations: 15.61 kB / 0.508 GB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.4356, allocations: 2.981 MB / 0.5109 GB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4356, allocations: 2.922 kB / 0.5109 GB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.4371, allocations: 1.001 MB / 0.5119 GB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.4374, allocations: 203 kB / 0.5121 GB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.4375, allocations: 17.27 kB / 0.5121 GB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.4378, allocations: 17.05 kB / 0.5121 GB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.4379, allocations: 41.12 kB / 0.5122 GB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.438, allocations: 21.34 kB / 0.5122 GB, free: 45.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004739/0.4385, allocations: 420 kB / 0.5126 GB, free: 45.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4385, allocations: 0 / 0.5126 GB, free: 45.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007636/0.4392, allocations: 213.6 kB / 0.5128 GB, free: 45.13 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.0004281/0.4397, allocations: 233.3 kB / 0.513 GB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.4409, allocations: 0.6611 MB / 0.5137 GB, free: 44.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4409, allocations: 0 / 0.5137 GB, free: 44.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.442, allocations: 486 kB / 0.5141 GB, free: 44.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.4436, allocations: 384.4 kB / 0.5145 GB, free: 44.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.4459, allocations: 1.412 MB / 0.5159 GB, free: 43.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.4464, allocations: 0.9414 MB / 0.5168 GB, free: 43.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000774/0.4472, allocations: 209.5 kB / 0.517 GB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.4474, allocations: 61.38 kB / 0.5171 GB, free: 43.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4474, allocations: 0 / 0.5171 GB, free: 43.01 MB / 382.1 MB Notification: Performance of Templates: time 0.02307/0.4705, allocations: 15.13 MB / 0.5318 GB, free: 34.29 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 -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