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_roundTube_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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001786/0.001786, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.365/1.365, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2134/0.2134, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.45 kB / 409.1 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1099, allocations: 60.83 MB / 470 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004352/0.1143, allocations: 2.659 MB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1165, allocations: 1.429 MB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.1167, allocations: 11.94 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.1171, allocations: 111.2 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.1176, allocations: 130.9 kB / 474.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.1182, allocations: 255.1 kB / 474.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.1184, allocations: 278.1 kB / 474.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.546e-05/0.1185, allocations: 28.67 kB / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1186, allocations: 91.41 kB / 474.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.1188, allocations: 131.2 kB / 475.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1188, allocations: 8 kB / 475.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008571/0.1197, allocations: 0.5773 MB / 475.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.69e-05/0.1198, allocations: 47.66 kB / 475.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1199, allocations: 131 kB / 475.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.1206, allocations: 0.537 MB / 476.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1206, allocations: 0 / 476.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1206, allocations: 0 / 476.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1206, allocations: 0 / 476.4 MB, free: 7.902 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007688/0.1214, allocations: 0.6162 MB / 477 MB, free: 7.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1214, allocations: 12.03 kB / 477 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.445e-05/0.1215, allocations: 40.47 kB / 477 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1217, allocations: 251.7 kB / 477.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.1218, allocations: 29.38 kB / 477.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.1218, allocations: 36.12 kB / 477.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.1225, allocations: 0.5697 MB / 477.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1225, allocations: 7.938 kB / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1226, allocations: 20 kB / 477.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.1226, allocations: 12 kB / 477.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.1232, allocations: 333 kB / 478.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.1258, allocations: 4.054 MB / 482.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.126, allocations: 86.53 kB / 482.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.1262, allocations: 36.95 kB / 482.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1262, allocations: 11.94 kB / 482.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1262, allocations: 34.56 kB / 482.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.1263, allocations: 0 / 482.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005589/0.1268, allocations: 173.1 kB / 482.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1269, allocations: 55.41 kB / 482.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.1273, allocations: 401.7 kB / 483.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1273, allocations: 37.7 kB / 483.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.1275, allocations: 246.9 kB / 483.4 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1275, allocations: 35.64 kB / 483.4 MB, free: 372 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.1276, allocations: 65.94 kB / 483.5 MB, free: 300 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1278, allocations: 354.7 kB / 483.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.1279, allocations: 52.61 kB / 483.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.1282, allocations: 266.4 kB / 484.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.1288, allocations: 351.8 kB / 484.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.1288, allocations: 4 kB / 484.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006274/0.1294, allocations: 344.8 kB / 484.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1294, allocations: 12 kB / 484.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1295, allocations: 4 kB / 484.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.1295, allocations: 15.98 kB / 484.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.13, allocations: 111.8 kB / 485 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007764/0.1308, allocations: 1.219 MB / 486.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.1311, allocations: 63.27 kB / 486.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.1311, allocations: 24 kB / 486.3 MB, free: 13.24 MB / 366.1 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 (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.0001592/0.1313, allocations: 145.9 kB / 486.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.1313, allocations: 39.47 kB / 486.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.1318, allocations: 172.9 kB / 486.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1318, allocations: 7.984 kB / 486.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1318, allocations: 0 / 486.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1318, allocations: 0 / 486.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.1322, allocations: 273.5 kB / 486.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1322, allocations: 3.938 kB / 486.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.1325, allocations: 63.95 kB / 487 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1325, allocations: 0 / 487 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1325, allocations: 0 / 487 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006917/0.1332, allocations: 1.211 MB / 488.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1332, allocations: 4.031 kB / 488.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.1336, allocations: 243.1 kB / 488.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.1337, allocations: 104.6 kB / 488.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.1337, allocations: 7.922 kB / 488.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.1339, allocations: 4 kB / 488.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.134, allocations: 7.984 kB / 488.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.134, allocations: 11.94 kB / 488.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.1343, allocations: 271.1 kB / 488.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1343, allocations: 0 / 488.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.1349, allocations: 104 kB / 488.9 MB, free: 10.45 MB / 366.1 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 (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.0003814/0.1353, allocations: 179.2 kB / 489.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.1359, allocations: 201.8 kB / 489.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1359, allocations: 0 / 489.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.1362, allocations: 84.36 kB / 489.4 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.1367, allocations: 49.69 kB / 489.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.1376, allocations: 0.5382 MB / 490 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1379, allocations: 0.7678 MB / 490.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.138, allocations: 27.44 kB / 490.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.138, allocations: 0 / 490.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of Templates: time 0.008621/0.1466, allocations: 6.619 MB / 497.4 MB, free: 1.941 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches