Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001646, allocations: 110.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 242.5 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 44.17 MB / 336.8 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 61.22 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1039, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003661/0.1076, allocations: 2.233 MB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1093, allocations: 1.063 MB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1095, allocations: 0 / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.1098, allocations: 87.44 kB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.1102, allocations: 79.45 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1105, allocations: 87.66 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.1107, allocations: 194.8 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.1108, allocations: 16.41 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.111, allocations: 63.59 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.1111, allocations: 95.42 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.1112, allocations: 4 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.1116, allocations: 263.6 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.1116, allocations: 27.78 kB / 473.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.013e-05/0.1117, allocations: 75.47 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.112, allocations: 219.1 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.112, allocations: 0 / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.112, allocations: 4 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.112, allocations: 0 / 473.7 MB, free: 10.29 MB / 350.1 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.0005963/0.1126, allocations: 0.4912 MB / 474.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1127, allocations: 15.97 kB / 474.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.1128, allocations: 24.66 kB / 474.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.113, allocations: 213.7 kB / 474.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.113, allocations: 16.81 kB / 474.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.113, allocations: 24.12 kB / 474.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.1135, allocations: 235.2 kB / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1135, allocations: 0 / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1135, allocations: 8 kB / 474.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1135, allocations: 8 kB / 474.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.1139, allocations: 249.6 kB / 475 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.1149, allocations: 0.6196 MB / 475.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1152, allocations: 98.56 kB / 475.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.1154, allocations: 40.92 kB / 475.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1154, allocations: 4 kB / 475.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1154, allocations: 38.56 kB / 475.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1154, allocations: 0 / 475.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00053/0.116, allocations: 165.3 kB / 475.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.116, allocations: 55.41 kB / 476 MB, free: 7.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.1163, allocations: 266.9 kB / 476.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1163, allocations: 25.7 kB / 476.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1164, allocations: 167.4 kB / 476.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.1164, allocations: 39.48 kB / 476.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.1165, allocations: 53.61 kB / 476.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1166, allocations: 334.8 kB / 476.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.1168, allocations: 51.91 kB / 476.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.117, allocations: 144.8 kB / 477 MB, free: 6.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.1174, allocations: 216.5 kB / 477.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1174, allocations: 4 kB / 477.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004645/0.1179, allocations: 229.1 kB / 477.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1179, allocations: 4 kB / 477.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1179, allocations: 4 kB / 477.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1179, allocations: 8 kB / 477.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.1183, allocations: 87.89 kB / 477.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006876/0.119, allocations: 1.219 MB / 478.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.1192, allocations: 39.67 kB / 478.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1193, allocations: 12 kB / 478.8 MB, free: 4.777 MB / 350.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1194, allocations: 134.3 kB / 479 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1194, allocations: 23.72 kB / 479 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.1199, allocations: 175.1 kB / 479.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1199, allocations: 4 kB / 479.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1199, allocations: 0 / 479.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1199, allocations: 0 / 479.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.1206, allocations: 452 kB / 479.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1206, allocations: 3.938 kB / 479.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.1208, allocations: 59.97 kB / 479.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1209, allocations: 4.062 kB / 479.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1209, allocations: 8 kB / 479.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006189/0.1215, allocations: 1.207 MB / 480.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1215, allocations: 0 / 480.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.1219, allocations: 249 kB / 481.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.122, allocations: 100.8 kB / 481.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.122, allocations: 0 / 481.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1222, allocations: 15.98 kB / 481.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.1222, allocations: 8 kB / 481.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1222, allocations: 4 kB / 481.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1224, allocations: 186 kB / 481.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1224, allocations: 0 / 481.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.1228, allocations: 75.92 kB / 481.5 MB, free: 1.93 MB / 350.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/0.1231, allocations: 139.7 kB / 481.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.1236, allocations: 176.3 kB / 481.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1236, allocations: 0 / 481.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.1239, allocations: 79.95 kB / 481.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.1243, allocations: 29 kB / 481.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007918/0.1251, allocations: 493.2 kB / 482.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.1254, allocations: 0.7287 MB / 483.1 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.1255, allocations: 19.44 kB / 483.2 MB, free: 220 kB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1255, allocations: 0 / 483.2 MB, free: 220 kB / 350.1 MB Notification: Performance of Templates: time 0.006424/0.1319, allocations: 4.346 MB / 487.5 MB, free: 11.88 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches