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.002237/0.002237, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.078/2.078, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001059/0.001059, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2787/0.2787, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.343e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 58.85 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5317/0.6502, allocations: 92.33 MB / 0.563 GB, free: 11.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004612/0.6508, allocations: 97.97 kB / 0.5631 GB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03836/0.6891, allocations: 6.833 MB / 0.5697 GB, free: 5.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6892, allocations: 0 / 0.5697 GB, free: 5.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.6892, allocations: 8 kB / 0.5697 GB, free: 5.43 MB / 378.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.0006948/0.6899, allocations: 463.6 kB / 0.5702 GB, free: 4.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.69, allocations: 8.031 kB / 0.5702 GB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.498e-05/0.6901, allocations: 23.72 kB / 0.5702 GB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.6904, allocations: 219.7 kB / 0.5704 GB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.6905, allocations: 12.31 kB / 0.5704 GB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.6905, allocations: 19 kB / 0.5705 GB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.691, allocations: 220.2 kB / 0.5707 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6911, allocations: 0 / 0.5707 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.6911, allocations: 10.44 kB / 0.5707 GB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.6911, allocations: 4 kB / 0.5707 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.6916, allocations: 219.4 kB / 0.5709 GB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.6931, allocations: 0.6201 MB / 0.5715 GB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.6936, allocations: 104 kB / 0.5716 GB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.6938, allocations: 26.98 kB / 0.5716 GB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.6938, allocations: 4 kB / 0.5716 GB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.6939, allocations: 30.56 kB / 0.5717 GB, free: 3.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/0.6939, allocations: 3.938 kB / 0.5717 GB, free: 3.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000427/0.6943, allocations: 113.9 kB / 0.5718 GB, free: 3.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.6944, allocations: 55.41 kB / 0.5718 GB, free: 3.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.6948, allocations: 235.8 kB / 0.572 GB, free: 3.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.6948, allocations: 25.7 kB / 0.5721 GB, free: 3.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.695, allocations: 228.2 kB / 0.5723 GB, free: 3.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.695, allocations: 30.06 kB / 0.5723 GB, free: 2.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.6951, allocations: 3.625 kB / 0.5723 GB, free: 2.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6952, allocations: 326.4 kB / 0.5726 GB, free: 2.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.6953, allocations: 35.56 kB / 0.5727 GB, free: 2.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.6956, allocations: 130.8 kB / 0.5728 GB, free: 2.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.6958, allocations: 63.03 kB / 0.5728 GB, free: 2.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.6958, allocations: 0 / 0.5728 GB, free: 2.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005412/0.6963, allocations: 202.2 kB / 0.573 GB, free: 2.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.6964, allocations: 8.438 kB / 0.573 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6964, allocations: 8 kB / 0.5731 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.6964, allocations: 4 kB / 0.5731 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.6971, allocations: 87.45 kB / 0.5731 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009335/0.6981, allocations: 1.217 MB / 0.5743 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.6986, allocations: 39.2 kB / 0.5744 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.6986, allocations: 15.98 kB / 0.5744 GB, free: 0.8516 MB / 378.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 () * 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.0001153/0.6987, allocations: 118.7 kB / 0.5745 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.6988, allocations: 19.77 kB / 0.5745 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005201/0.6994, allocations: 160.5 kB / 0.5747 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.6994, allocations: 4 kB / 0.5747 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6994, allocations: 0 / 0.5747 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6994, allocations: 0 / 0.5747 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007593/0.7002, allocations: 431 kB / 0.5751 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.7002, allocations: 0 / 0.5751 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/0.7007, allocations: 55.97 kB / 0.5751 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.7007, allocations: 0 / 0.5751 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.7008, allocations: 4 kB / 0.5751 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008775/0.7017, allocations: 1.224 MB / 0.5763 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7017, allocations: 0 / 0.5763 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.7021, allocations: 246.5 kB / 0.5766 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.7023, allocations: 96.81 kB / 0.5767 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.7023, allocations: 4 kB / 0.5767 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.7027, allocations: 4 kB / 0.5767 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.7028, allocations: 23.22 kB / 0.5767 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.7028, allocations: 4 kB / 0.5767 GB, free: 14.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002832/0.7031, allocations: 182.1 kB / 0.5769 GB, free: 14.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7031, allocations: 4 kB / 0.5769 GB, free: 14.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006113/0.7038, allocations: 82.47 kB / 0.577 GB, free: 14.19 MB / 394.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 () * 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.0005051/0.7043, allocations: 169.5 kB / 0.5771 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007807/0.7051, allocations: 129 kB / 0.5772 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.7051, allocations: 0 / 0.5772 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.7055, allocations: 70.59 kB / 0.5773 GB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.706, allocations: 26.84 kB / 0.5773 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009042/0.7069, allocations: 261 kB / 0.5776 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.7074, allocations: 0.7285 MB / 0.5783 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.7075, allocations: 23.42 kB / 0.5783 GB, free: 12.77 MB / 394.7 MB Notification: Performance of SimCode: time 4.919e-06/0.7075, allocations: 0 / 0.5783 GB, free: 12.77 MB / 394.7 MB Notification: Performance of Templates: time 0.01097/0.7185, allocations: 4.435 MB / 0.5826 GB, free: 8.352 MB / 394.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