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.001076/0.001076, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001043/0.001043, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.323/1.323, allocations: 222.9 MB / 243 MB, free: 15.08 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.1973/0.1973, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 66.81 kB / 409.9 MB, free: 26.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1133, allocations: 60.83 MB / 470.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003396/0.1168, allocations: 2.179 MB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1182, allocations: 1.059 MB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.1183, allocations: 3.938 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.1187, allocations: 91.39 kB / 474.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.1189, allocations: 83.33 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1192, allocations: 115.5 kB / 474.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1194, allocations: 182.8 kB / 474.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.1195, allocations: 20.41 kB / 474.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1197, allocations: 71.58 kB / 474.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1198, allocations: 83.5 kB / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.1198, allocations: 8 kB / 474.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.1202, allocations: 259.6 kB / 474.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.1203, allocations: 27.84 kB / 474.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.1204, allocations: 79.36 kB / 475 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.1208, allocations: 334.6 kB / 475.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1208, allocations: 4 kB / 475.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1208, allocations: 4 kB / 475.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1208, allocations: 0 / 475.3 MB, free: 9.008 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.000648/0.1215, allocations: 0.4951 MB / 475.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1215, allocations: 11.97 kB / 475.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.1216, allocations: 24.66 kB / 475.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1218, allocations: 211.6 kB / 476 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1219, allocations: 16.81 kB / 476.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.1219, allocations: 24.12 kB / 476.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.1223, allocations: 231.2 kB / 476.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1223, allocations: 0 / 476.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1223, allocations: 8 kB / 476.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1224, allocations: 4 kB / 476.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.1228, allocations: 253.5 kB / 476.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.1237, allocations: 0.6196 MB / 477.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.124, allocations: 106.7 kB / 477.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1241, allocations: 40.84 kB / 477.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1242, allocations: 0 / 477.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1242, allocations: 38.48 kB / 477.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1242, allocations: 0 / 477.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005055/0.1247, allocations: 169.3 kB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1248, allocations: 55.41 kB / 477.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.1251, allocations: 271.2 kB / 477.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.1252, allocations: 25.7 kB / 477.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1253, allocations: 163.4 kB / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1253, allocations: 35.48 kB / 478.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.1255, allocations: 61.55 kB / 478.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1256, allocations: 334.8 kB / 478.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1258, allocations: 43.97 kB / 478.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.126, allocations: 148.8 kB / 478.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.1264, allocations: 212.5 kB / 478.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1264, allocations: 4 kB / 478.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004462/0.1269, allocations: 233.3 kB / 479.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1269, allocations: 4 kB / 479.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1269, allocations: 7.984 kB / 479.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1269, allocations: 4 kB / 479.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.1273, allocations: 79.91 kB / 479.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/0.128, allocations: 1.223 MB / 480.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.1282, allocations: 31.67 kB / 480.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.1283, allocations: 16 kB / 480.4 MB, free: 3.508 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.0001082/0.1284, allocations: 129.7 kB / 480.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.1284, allocations: 23.91 kB / 480.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.1288, allocations: 175.2 kB / 480.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1289, allocations: 7.938 kB / 480.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1289, allocations: 0 / 480.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1289, allocations: 4 kB / 480.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.1295, allocations: 452 kB / 481.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1295, allocations: 0 / 481.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.1298, allocations: 55.97 kB / 481.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1298, allocations: 0 / 481.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1298, allocations: 7.938 kB / 481.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005803/0.1304, allocations: 1.211 MB / 482.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1304, allocations: 0 / 482.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.1307, allocations: 249 kB / 482.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.1308, allocations: 96.83 kB / 482.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.1309, allocations: 4 kB / 482.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.131, allocations: 11.92 kB / 482.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.1311, allocations: 11.98 kB / 482.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1311, allocations: 12.19 kB / 482.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1313, allocations: 190 kB / 483.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1313, allocations: 3.938 kB / 483.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000361/0.1316, allocations: 63.94 kB / 483.1 MB, free: 0.6602 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.000239/0.1319, allocations: 143.2 kB / 483.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005276/0.1324, allocations: 168.4 kB / 483.4 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1324, allocations: 192 / 483.4 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.1327, allocations: 91.89 kB / 483.5 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1331, allocations: 20.88 kB / 483.5 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000753/0.1339, allocations: 402.8 kB / 483.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1342, allocations: 0.7324 MB / 484.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.274e-05/0.1343, allocations: 25.92 kB / 484.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.1343, allocations: 23.44 kB / 484.7 MB, free: 15 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1343, allocations: 0 / 484.7 MB, free: 15 MB / 366.1 MB Notification: Performance of Templates: time 0.00695/0.1413, allocations: 3.505 MB / 488.2 MB, free: 11.54 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 -s gbode -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