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.001524/0.001524, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001638/0.001638, allocations: 192 kB / 18.56 MB, free: 4.434 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.345/1.345, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2145/0.2145, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.16 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.115, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003669/0.1187, allocations: 2.18 MB / 471.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1203, allocations: 1.059 MB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1204, allocations: 0 / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.1207, allocations: 95.36 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.1211, allocations: 87.27 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1214, allocations: 107.6 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.1216, allocations: 186.9 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.881e-05/0.1217, allocations: 20.39 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1218, allocations: 67.59 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.1219, allocations: 87.48 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.122, allocations: 8 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.1224, allocations: 259.6 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.1224, allocations: 31.78 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.1225, allocations: 83.42 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.1229, allocations: 330.6 kB / 473.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1229, allocations: 0 / 473.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1229, allocations: 0 / 473.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.123, allocations: 0 / 473.8 MB, free: 9.762 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.0005978/0.1236, allocations: 0.4911 MB / 474.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1236, allocations: 12.03 kB / 474.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.1237, allocations: 24.66 kB / 474.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1239, allocations: 213.6 kB / 474.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1239, allocations: 24.81 kB / 474.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1239, allocations: 24.12 kB / 474.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.1243, allocations: 227.2 kB / 474.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1243, allocations: 0 / 474.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1243, allocations: 4 kB / 474.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1244, allocations: 8 kB / 474.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.1248, allocations: 249.5 kB / 475.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009156/0.1257, allocations: 0.6157 MB / 475.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.126, allocations: 98.5 kB / 475.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.1261, allocations: 48.98 kB / 475.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1261, allocations: 3.938 kB / 475.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1262, allocations: 34.56 kB / 475.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1262, allocations: 0 / 475.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005104/0.1267, allocations: 165.3 kB / 476.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.1267, allocations: 55.41 kB / 476.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.127, allocations: 274.9 kB / 476.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.127, allocations: 29.7 kB / 476.4 MB, free: 7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1271, allocations: 167.4 kB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1272, allocations: 35.48 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.1273, allocations: 49.61 kB / 476.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1274, allocations: 338.8 kB / 477 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1275, allocations: 47.97 kB / 477 MB, free: 6.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.1277, allocations: 148.8 kB / 477.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.1281, allocations: 208.6 kB / 477.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1281, allocations: 0 / 477.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004426/0.1285, allocations: 233.1 kB / 477.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1286, allocations: 4 kB / 477.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1286, allocations: 4 kB / 477.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1286, allocations: 8.438 kB / 477.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.129, allocations: 91.89 kB / 477.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006437/0.1296, allocations: 1.211 MB / 478.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1298, allocations: 39.86 kB / 479 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1299, allocations: 12 kB / 479 MB, free: 4.266 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.0001137/0.13, allocations: 133.7 kB / 479.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.13, allocations: 23.72 kB / 479.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.1304, allocations: 175.5 kB / 479.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1305, allocations: 3.984 kB / 479.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1305, allocations: 3.938 kB / 479.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1305, allocations: 0 / 479.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.1311, allocations: 456.1 kB / 479.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1311, allocations: 3.938 kB / 479.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.1313, allocations: 59.91 kB / 479.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1313, allocations: 0 / 479.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1314, allocations: 8 kB / 479.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006365/0.132, allocations: 1.211 MB / 481 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.132, allocations: 4 kB / 481 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.1324, allocations: 252.8 kB / 481.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.1325, allocations: 92.92 kB / 481.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.1325, allocations: 4 kB / 481.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.1327, allocations: 15.98 kB / 481.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.1327, allocations: 7.984 kB / 481.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1328, allocations: 4 kB / 481.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1329, allocations: 186 kB / 481.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1329, allocations: 0 / 481.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.1333, allocations: 67.94 kB / 481.7 MB, free: 1.414 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.0002676/0.1336, allocations: 139.2 kB / 481.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.1341, allocations: 179.7 kB / 482 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1342, allocations: 0 / 482 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.1345, allocations: 83.89 kB / 482.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.1349, allocations: 34.09 kB / 482.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007813/0.1356, allocations: 413.9 kB / 482.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.136, allocations: 0.7285 MB / 483.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.055e-05/0.1361, allocations: 21.94 kB / 483.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1361, allocations: 15.44 kB / 483.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1361, allocations: 4 kB / 483.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Templates: time 0.007207/0.1433, allocations: 3.494 MB / 486.8 MB, free: 12.3 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/jenkins/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/jenkins/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