Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008286/0.0008285, allocations: 97.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 203.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.18 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004529, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003719/0.1675, allocations: 2.371 MB / 485.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.1706, allocations: 1.547 MB / 487 MB, free: 240 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.171, allocations: 4 kB / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.1714, allocations: 99.41 kB / 487.1 MB, free: 136 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.1721, allocations: 119 kB / 487.2 MB, free: 16 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.1729, allocations: 211.5 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005072/0.1734, allocations: 278 kB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1735, allocations: 28.73 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1737, allocations: 91.36 kB / 487.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.174, allocations: 127.2 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.174, allocations: 8 kB / 488 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1753, allocations: 0.5968 MB / 488.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1754, allocations: 47.64 kB / 488.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.1756, allocations: 156.7 kB / 488.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.1767, allocations: 0.5486 MB / 489.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.1767, allocations: 0 / 489.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1767, allocations: 0 / 489.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.003e-05/0.1768, allocations: 0 / 489.3 MB, free: 13.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001253/0.178, allocations: 0.5772 MB / 489.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.1781, allocations: 12.88 kB / 489.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.1782, allocations: 36.47 kB / 489.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.1786, allocations: 251.7 kB / 490.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.1787, allocations: 33.31 kB / 490.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.1787, allocations: 40.12 kB / 490.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.1796, allocations: 0.5804 MB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1797, allocations: 3.938 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.1797, allocations: 20 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.1798, allocations: 12 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006761/0.1804, allocations: 341.1 kB / 491.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.1835, allocations: 4.039 MB / 495.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.1838, allocations: 102.5 kB / 495.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.1839, allocations: 48.89 kB / 495.4 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.184, allocations: 0 / 495.4 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.184, allocations: 34.56 kB / 495.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.184, allocations: 0 / 495.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006305/0.1847, allocations: 181.2 kB / 495.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1847, allocations: 55.41 kB / 495.6 MB, free: 7.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.1852, allocations: 405.8 kB / 496 MB, free: 6.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1852, allocations: 25.7 kB / 496.1 MB, free: 6.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.1854, allocations: 258.9 kB / 496.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.1855, allocations: 23.66 kB / 496.3 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.1856, allocations: 37.7 kB / 496.4 MB, free: 6.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1857, allocations: 350.7 kB / 496.7 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1859, allocations: 72.55 kB / 496.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.1862, allocations: 266.4 kB / 497 MB, free: 5.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.1868, allocations: 363.8 kB / 497.4 MB, free: 5.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.1868, allocations: 4 kB / 497.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006902/0.1875, allocations: 360.5 kB / 497.8 MB, free: 4.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1875, allocations: 8 kB / 497.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.1875, allocations: 8.844 kB / 497.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.1876, allocations: 12 kB / 497.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.1881, allocations: 111.9 kB / 497.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007605/0.1888, allocations: 1.226 MB / 499.1 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.1892, allocations: 67.47 kB / 499.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.1892, allocations: 20.39 kB / 499.2 MB, free: 3.254 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.1894, allocations: 152.3 kB / 499.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.1895, allocations: 43.41 kB / 499.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.19, allocations: 181 kB / 499.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.19, allocations: 3.938 kB / 499.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.19, allocations: 0 / 499.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.19, allocations: 8 kB / 499.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.1904, allocations: 273.5 kB / 499.9 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1904, allocations: 7.938 kB / 499.9 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.1907, allocations: 59.91 kB / 499.9 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.1907, allocations: 0 / 499.9 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1907, allocations: 4 kB / 499.9 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006846/0.1914, allocations: 1.203 MB / 0.4894 GB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1914, allocations: 0 / 0.4894 GB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.1918, allocations: 255.2 kB / 0.4896 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.192, allocations: 108.6 kB / 0.4897 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.192, allocations: 7.922 kB / 0.4897 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.1922, allocations: 8 kB / 0.4897 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.1922, allocations: 7.984 kB / 0.4898 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1923, allocations: 4 kB / 0.4898 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002895/0.1926, allocations: 279.1 kB / 0.49 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1926, allocations: 0 / 0.49 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006501/0.1932, allocations: 116 kB / 0.4901 GB, free: 424 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004483/0.1937, allocations: 179.8 kB / 0.4903 GB, free: 236 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005958/0.1943, allocations: 213.5 kB / 0.4905 GB, free: 24 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1943, allocations: 0 / 0.4905 GB, free: 24 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.1946, allocations: 87.83 kB / 0.4906 GB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.195, allocations: 42.08 kB / 0.4906 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009042/0.1959, allocations: 0.6157 MB / 0.4912 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.1963, allocations: 0.7641 MB / 0.492 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.1964, allocations: 38.95 kB / 0.492 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.1965, allocations: 23.44 kB / 0.492 GB, free: 14.41 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1965, allocations: 0 / 0.492 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01151/0.208, allocations: 6.074 MB / 0.498 GB, free: 8.383 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches