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.002225/0.002225, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00111/0.00111, allocations: 84.44 kB / 270.9 MB, free: 8.367 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.5027/0.5027, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004803, allocations: 8 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1275, allocations: 58.83 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4796/0.6071, allocations: 98.72 MB / 0.5751 GB, free: 3.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/0.6076, allocations: 107.9 kB / 0.5752 GB, free: 3.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05521/0.6628, allocations: 11.31 MB / 0.5863 GB, free: 8.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6629, allocations: 4 kB / 0.5863 GB, free: 8.566 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.368e-05/0.6629, allocations: 8 kB / 0.5863 GB, free: 8.559 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.001042/0.6639, allocations: 0.596 MB / 0.5869 GB, free: 7.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.664, allocations: 8.031 kB / 0.5869 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.6641, allocations: 42.97 kB / 0.5869 GB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.6645, allocations: 234.5 kB / 0.5872 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.6646, allocations: 33 kB / 0.5872 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.6647, allocations: 32 kB / 0.5872 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.6657, allocations: 0.5802 MB / 0.5878 GB, free: 6.824 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.6658, allocations: 3.938 kB / 0.5878 GB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.6658, allocations: 20 kB / 0.5878 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.6659, allocations: 13.03 kB / 0.5878 GB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008778/0.6668, allocations: 341 kB / 0.5881 GB, free: 6.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/0.6705, allocations: 4.043 MB / 0.5921 GB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006076/0.6712, allocations: 110.5 kB / 0.5922 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.6712, allocations: 0 / 0.5922 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.6713, allocations: 38.56 kB / 0.5922 GB, free: 2.047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.6713, allocations: 0 / 0.5922 GB, free: 2.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008957/0.6722, allocations: 185.2 kB / 0.5924 GB, free: 1.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.6723, allocations: 59.34 kB / 0.5925 GB, free: 1.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.6729, allocations: 353 kB / 0.5928 GB, free: 1.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.6729, allocations: 25.7 kB / 0.5928 GB, free: 1.406 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.6731, allocations: 297.6 kB / 0.5931 GB, free: 1.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.6732, allocations: 28.39 kB / 0.5931 GB, free: 1.086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.6732, allocations: 12 kB / 0.5932 GB, free: 1.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6734, allocations: 322.8 kB / 0.5935 GB, free: 0.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.6737, allocations: 60.55 kB / 0.5935 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.6741, allocations: 262.4 kB / 0.5938 GB, free: 336 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.6745, allocations: 110.3 kB / 0.5939 GB, free: 228 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.6746, allocations: 4 kB / 0.5939 GB, free: 224 kB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001206/0.6758, allocations: 341.4 kB / 0.5942 GB, free: 15.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.6758, allocations: 11.94 kB / 0.5942 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.6759, allocations: 8 kB / 0.5942 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.6759, allocations: 11.98 kB / 0.5942 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/0.6767, allocations: 115.8 kB / 0.5943 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.6779, allocations: 1.215 MB / 0.5955 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.6784, allocations: 67.36 kB / 0.5956 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.6785, allocations: 20 kB / 0.5956 GB, free: 14.39 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.000232/0.6787, allocations: 153.6 kB / 0.5958 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.6789, allocations: 39.72 kB / 0.5958 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/0.6796, allocations: 176.9 kB / 0.596 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6796, allocations: 4 kB / 0.596 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.6797, allocations: 3.953 kB / 0.596 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.6797, allocations: 3.984 kB / 0.596 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.6802, allocations: 277.4 kB / 0.5962 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6802, allocations: 0 / 0.5962 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.6807, allocations: 59.95 kB / 0.5963 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.6807, allocations: 3.938 kB / 0.5963 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.6807, allocations: 4 kB / 0.5963 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.6818, allocations: 1.207 MB / 0.5975 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.6818, allocations: 0 / 0.5975 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.6825, allocations: 248 kB / 0.5977 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.6826, allocations: 108.7 kB / 0.5978 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/0.6827, allocations: 0 / 0.5978 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.683, allocations: 19.92 kB / 0.5978 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.6831, allocations: 7.984 kB / 0.5979 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.6831, allocations: 0 / 0.5979 GB, free: 11.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004479/0.6836, allocations: 275.1 kB / 0.5981 GB, free: 11.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6836, allocations: 0 / 0.5981 GB, free: 11.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008524/0.6844, allocations: 123.9 kB / 0.5982 GB, free: 11.57 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.0006823/0.6851, allocations: 249.6 kB / 0.5985 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.6862, allocations: 204.2 kB / 0.5987 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6862, allocations: 5.375 kB / 0.5987 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.6867, allocations: 71.95 kB / 0.5987 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.6871, allocations: 39.12 kB / 0.5988 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.6885, allocations: 0.6156 MB / 0.5994 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.689, allocations: 0.7758 MB / 0.6001 GB, free: 9.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.6891, allocations: 23.44 kB / 0.6002 GB, free: 9.543 MB / 426.7 MB Notification: Performance of SimCode: time 3.567e-06/0.6891, allocations: 3.938 kB / 0.6002 GB, free: 9.539 MB / 426.7 MB Notification: Performance of Templates: time 0.01629/0.7054, allocations: 7.003 MB / 0.607 GB, free: 2.559 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