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.001524/0.001523, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.925/1.925, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001117/0.001116, allocations: 92.69 kB / 270.9 MB, free: 8.379 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.5031/0.5031, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006288/0.0006288, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.124, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.5829, allocations: 92.43 MB / 0.569 GB, free: 10.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003649/0.5833, allocations: 95.94 kB / 0.5691 GB, free: 10.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03116/0.6145, allocations: 6.844 MB / 0.5758 GB, free: 3.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6146, allocations: 0 / 0.5758 GB, free: 3.355 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.6146, allocations: 0 / 0.5758 GB, free: 3.355 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.000709/0.6153, allocations: 482.6 kB / 0.5762 GB, free: 2.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6154, allocations: 16.02 kB / 0.5763 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.6155, allocations: 23.72 kB / 0.5763 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.6157, allocations: 210.1 kB / 0.5765 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.6158, allocations: 20.44 kB / 0.5765 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.6158, allocations: 20 kB / 0.5765 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006305/0.6165, allocations: 231.2 kB / 0.5767 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6165, allocations: 0.875 kB / 0.5767 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.6165, allocations: 8 kB / 0.5767 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.6165, allocations: 4 kB / 0.5768 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.6173, allocations: 254.6 kB / 0.577 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.6187, allocations: 0.6389 MB / 0.5776 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.6193, allocations: 118.7 kB / 0.5777 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.6193, allocations: 0 / 0.5777 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.6194, allocations: 34.56 kB / 0.5778 GB, free: 1.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.6194, allocations: 0 / 0.5778 GB, free: 1.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008655/0.6202, allocations: 186.2 kB / 0.5779 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.6203, allocations: 51.41 kB / 0.578 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.6207, allocations: 242 kB / 0.5782 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.6207, allocations: 25.7 kB / 0.5782 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.6208, allocations: 225.8 kB / 0.5785 GB, free: 440 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.6209, allocations: 31.62 kB / 0.5785 GB, free: 408 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.6209, allocations: 8 kB / 0.5785 GB, free: 400 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6211, allocations: 322.8 kB / 0.5788 GB, free: 68 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.6213, allocations: 52.34 kB / 0.5789 GB, free: 16 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.6217, allocations: 144.8 kB / 0.579 GB, free: 15.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.622, allocations: 76.17 kB / 0.5791 GB, free: 15.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6221, allocations: 4 kB / 0.5791 GB, free: 15.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007799/0.6229, allocations: 245.5 kB / 0.5793 GB, free: 15.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.6229, allocations: 7.984 kB / 0.5793 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.6229, allocations: 4 kB / 0.5793 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.6229, allocations: 4 kB / 0.5793 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.6236, allocations: 83.89 kB / 0.5794 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008854/0.6245, allocations: 1.224 MB / 0.5806 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.6249, allocations: 39.62 kB / 0.5806 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.6249, allocations: 8 kB / 0.5806 GB, free: 14.09 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.0001763/0.6251, allocations: 141.9 kB / 0.5808 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.6252, allocations: 23.72 kB / 0.5808 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/0.6259, allocations: 183.2 kB / 0.581 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.626, allocations: 0 / 0.581 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.626, allocations: 0 / 0.581 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.626, allocations: 0 / 0.581 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.627, allocations: 467.9 kB / 0.5814 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.627, allocations: 4 kB / 0.5814 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.6275, allocations: 55.91 kB / 0.5815 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.6276, allocations: 4 kB / 0.5815 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.6276, allocations: 3.984 kB / 0.5815 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008246/0.6284, allocations: 1.211 MB / 0.5827 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.6285, allocations: 4.031 kB / 0.5827 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.6291, allocations: 280.5 kB / 0.5829 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.6292, allocations: 104.8 kB / 0.583 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.6293, allocations: 4 kB / 0.583 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.6296, allocations: 11.98 kB / 0.5831 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.6297, allocations: 7.984 kB / 0.5831 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.6297, allocations: 4 kB / 0.5831 GB, free: 11.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002536/0.63, allocations: 186 kB / 0.5832 GB, free: 11.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.315e-06/0.63, allocations: 0 / 0.5832 GB, free: 11.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005637/0.6306, allocations: 79.88 kB / 0.5833 GB, free: 11.17 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.0003963/0.631, allocations: 184.8 kB / 0.5835 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009017/0.6319, allocations: 168 kB / 0.5837 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6319, allocations: 0 / 0.5837 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004901/0.6324, allocations: 75.89 kB / 0.5837 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.6327, allocations: 30.08 kB / 0.5838 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.6338, allocations: 497.2 kB / 0.5842 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.6342, allocations: 0.7442 MB / 0.585 GB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.6343, allocations: 19.44 kB / 0.585 GB, free: 9.406 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.6343, allocations: 0 / 0.585 GB, free: 9.406 MB / 410.7 MB Notification: Performance of Templates: time 0.009723/0.644, allocations: 4.434 MB / 0.5893 GB, free: 4.992 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