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_flatTube_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_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008956/0.0008958, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.286/1.286, 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.0007985/0.0007986, allocations: 85.42 kB / 271.9 MB, free: 8.281 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.3199/0.3199, allocations: 43.55 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 12 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1071, allocations: 58.84 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.4099, allocations: 92.47 MB / 0.5702 GB, free: 9.961 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.4102, allocations: 106.3 kB / 0.5703 GB, free: 9.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01856/0.4288, allocations: 6.833 MB / 0.577 GB, free: 3.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4288, allocations: 4 kB / 0.577 GB, free: 3.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.4289, allocations: 4 kB / 0.577 GB, free: 3.043 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005975/0.4295, allocations: 482.8 kB / 0.5775 GB, free: 2.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4295, allocations: 8.031 kB / 0.5775 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.4296, allocations: 24.66 kB / 0.5775 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.4299, allocations: 215.9 kB / 0.5777 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.4299, allocations: 20.8 kB / 0.5777 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.4299, allocations: 24.38 kB / 0.5778 GB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.4304, allocations: 223.8 kB / 0.578 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4304, allocations: 4.172 kB / 0.578 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.4304, allocations: 15.94 kB / 0.578 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4304, allocations: 4 kB / 0.578 GB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.4309, allocations: 257.6 kB / 0.5783 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009672/0.4319, allocations: 0.6157 MB / 0.5789 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.4322, allocations: 131.8 kB / 0.579 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4324, allocations: 48.83 kB / 0.579 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.4324, allocations: 0 / 0.579 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.4324, allocations: 38.56 kB / 0.5791 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.4325, allocations: 0 / 0.5791 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005227/0.433, allocations: 182 kB / 0.5792 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.433, allocations: 55.41 kB / 0.5793 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.4333, allocations: 266.9 kB / 0.5795 GB, free: 288 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4333, allocations: 25.7 kB / 0.5796 GB, free: 256 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.4334, allocations: 171.4 kB / 0.5797 GB, free: 80 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.4335, allocations: 35.55 kB / 0.5798 GB, free: 44 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.4335, allocations: 4.375 kB / 0.5798 GB, free: 40 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4337, allocations: 330.8 kB / 0.5801 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.4338, allocations: 55.95 kB / 0.5801 GB, free: 15.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.434, allocations: 150 kB / 0.5803 GB, free: 15.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.4344, allocations: 223.7 kB / 0.5805 GB, free: 15.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4344, allocations: 4 kB / 0.5805 GB, free: 15.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004587/0.4349, allocations: 252.9 kB / 0.5807 GB, free: 14.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4349, allocations: 4.438 kB / 0.5807 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4349, allocations: 8 kB / 0.5808 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4349, allocations: 4 kB / 0.5808 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.4353, allocations: 87.91 kB / 0.5808 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007572/0.4361, allocations: 1.227 MB / 0.582 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.4363, allocations: 39.62 kB / 0.5821 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4363, allocations: 8 kB / 0.5821 GB, free: 13.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0001297/0.4364, allocations: 133.8 kB / 0.5822 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.4365, allocations: 27.66 kB / 0.5822 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/0.4369, allocations: 175.3 kB / 0.5824 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.437, allocations: 4 kB / 0.5824 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.437, allocations: 4 kB / 0.5824 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.437, allocations: 3.984 kB / 0.5824 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.4376, allocations: 459.9 kB / 0.5829 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4377, allocations: 4.062 kB / 0.5829 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.4379, allocations: 59.97 kB / 0.5829 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4379, allocations: 0 / 0.5829 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.438, allocations: 8 kB / 0.5829 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006737/0.4386, allocations: 1.214 MB / 0.5841 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4387, allocations: 0 / 0.5841 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.439, allocations: 261 kB / 0.5844 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.4391, allocations: 96.77 kB / 0.5844 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.4392, allocations: 4 kB / 0.5845 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.4393, allocations: 7.984 kB / 0.5845 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.4394, allocations: 15.92 kB / 0.5845 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.4394, allocations: 4 kB / 0.5845 GB, free: 10.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.4396, allocations: 190 kB / 0.5847 GB, free: 10.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.253e-06/0.4396, allocations: 0 / 0.5847 GB, free: 10.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003872/0.44, allocations: 83.88 kB / 0.5847 GB, free: 10.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0002938/0.4403, allocations: 179.2 kB / 0.5849 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000533/0.4408, allocations: 179.7 kB / 0.5851 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4408, allocations: 0 / 0.5851 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.4411, allocations: 88.89 kB / 0.5852 GB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.4415, allocations: 38.64 kB / 0.5852 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.4422, allocations: 481.2 kB / 0.5857 GB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.4426, allocations: 0.7404 MB / 0.5864 GB, free: 8.879 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.4426, allocations: 19.44 kB / 0.5864 GB, free: 8.859 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4426, allocations: 0 / 0.5864 GB, free: 8.859 MB / 410.7 MB Notification: Performance of Templates: time 0.006337/0.449, allocations: 4.521 MB / 0.5908 GB, free: 4.348 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches