Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 181.2 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007169/0.000717, allocations: 84.36 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2973/0.2973, allocations: 43.57 MB / 363.8 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 16 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1106, allocations: 58.85 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/0.3981, allocations: 98.81 MB / 0.5764 GB, free: 3.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.3984, allocations: 95.94 kB / 0.5765 GB, free: 3.336 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03129/0.4297, allocations: 11.32 MB / 0.5876 GB, free: 8.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4297, allocations: 0 / 0.5876 GB, free: 8.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.4297, allocations: 11.94 kB / 0.5876 GB, free: 8.02 MB / 410.7 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.0007809/0.4305, allocations: 0.5962 MB / 0.5882 GB, free: 7.375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4306, allocations: 8.031 kB / 0.5882 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/0.4307, allocations: 40.47 kB / 0.5882 GB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.431, allocations: 251.4 kB / 0.5885 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.431, allocations: 29.38 kB / 0.5885 GB, free: 7.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.431, allocations: 40.36 kB / 0.5885 GB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007152/0.4318, allocations: 0.5729 MB / 0.5891 GB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.4318, allocations: 8.688 kB / 0.5891 GB, free: 6.262 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.4319, allocations: 23.94 kB / 0.5891 GB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.4319, allocations: 12 kB / 0.5891 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.4324, allocations: 341 kB / 0.5895 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.435, allocations: 4.031 MB / 0.5934 GB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.4354, allocations: 118.5 kB / 0.5935 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.4355, allocations: 42.08 kB / 0.5935 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.4356, allocations: 7.938 kB / 0.5936 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4356, allocations: 38.56 kB / 0.5936 GB, free: 1.441 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.4356, allocations: 3.938 kB / 0.5936 GB, free: 1.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005038/0.4361, allocations: 173.2 kB / 0.5938 GB, free: 1.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.4362, allocations: 55.41 kB / 0.5938 GB, free: 1.195 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.4366, allocations: 409.7 kB / 0.5942 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.4366, allocations: 25.7 kB / 0.5942 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.4368, allocations: 251 kB / 0.5945 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.4368, allocations: 27.64 kB / 0.5945 GB, free: 492 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.4368, allocations: 8 kB / 0.5945 GB, free: 484 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4369, allocations: 346.8 kB / 0.5948 GB, free: 128 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.4371, allocations: 68.55 kB / 0.5949 GB, free: 56 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.4374, allocations: 270.3 kB / 0.5952 GB, free: 15.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.4379, allocations: 364.5 kB / 0.5955 GB, free: 15.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4379, allocations: 0 / 0.5955 GB, free: 15.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006346/0.4386, allocations: 366 kB / 0.5958 GB, free: 14.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4386, allocations: 8 kB / 0.5959 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4386, allocations: 8 kB / 0.5959 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.4387, allocations: 8.812 kB / 0.5959 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.4391, allocations: 119.8 kB / 0.596 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000691/0.4398, allocations: 1.215 MB / 0.5972 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.4401, allocations: 71.55 kB / 0.5972 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.4401, allocations: 16 kB / 0.5973 GB, free: 13.38 MB / 426.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.4402, allocations: 149.7 kB / 0.5974 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.4403, allocations: 39.52 kB / 0.5974 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.4407, allocations: 180.8 kB / 0.5976 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4408, allocations: 4 kB / 0.5976 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4408, allocations: 0 / 0.5976 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4408, allocations: 4 kB / 0.5976 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.4411, allocations: 273.5 kB / 0.5979 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4411, allocations: 3.938 kB / 0.5979 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.4414, allocations: 59.97 kB / 0.5979 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4414, allocations: 0 / 0.5979 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.4414, allocations: 7.938 kB / 0.5979 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007134/0.4422, allocations: 1.207 MB / 0.5991 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4422, allocations: 0 / 0.5991 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.4425, allocations: 254 kB / 0.5994 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.4427, allocations: 108.6 kB / 0.5995 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.4427, allocations: 0 / 0.5995 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.4429, allocations: 12 kB / 0.5995 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.4429, allocations: 11.92 kB / 0.5995 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.443, allocations: 0 / 0.5995 GB, free: 10.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002623/0.4432, allocations: 275.1 kB / 0.5998 GB, free: 10.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.4432, allocations: 4 kB / 0.5998 GB, free: 10.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006437/0.4439, allocations: 127.8 kB / 0.5999 GB, free: 10.54 MB / 426.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005316/0.4444, allocations: 246.3 kB / 0.6001 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005772/0.445, allocations: 218 kB / 0.6003 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.445, allocations: 4.188 kB / 0.6003 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.4453, allocations: 87.89 kB / 0.6004 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.4457, allocations: 30.53 kB / 0.6004 GB, free: 9.969 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008725/0.4466, allocations: 0.6046 MB / 0.601 GB, free: 9.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.4469, allocations: 0.7719 MB / 0.6018 GB, free: 8.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.447, allocations: 27.44 kB / 0.6018 GB, free: 8.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.447, allocations: 0 / 0.6018 GB, free: 8.52 MB / 426.7 MB Notification: Performance of Templates: time 0.00958/0.4566, allocations: 7.056 MB / 0.6087 GB, free: 1.48 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches