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.001255/0.001255, allocations: 110.9 kB / 17.33 MB, free: 5.672 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.001277/0.001278, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.381/1.381, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2074/0.2074, allocations: 44.19 MB / 336.3 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 64.23 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1207, allocations: 60.82 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003303/0.1241, allocations: 2.244 MB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1255, allocations: 1.052 MB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.1256, allocations: 0 / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1259, allocations: 79.5 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1262, allocations: 83.39 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1264, allocations: 91.72 kB / 472.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1266, allocations: 182.9 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.1267, allocations: 12.41 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1268, allocations: 71.59 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1269, allocations: 87.48 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.127, allocations: 11.94 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.1273, allocations: 263.6 kB / 472.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.1274, allocations: 31.77 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.1275, allocations: 87.36 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.1279, allocations: 318.7 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1279, allocations: 4 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1279, allocations: 0 / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1279, allocations: 0 / 473.3 MB, free: 10.09 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.0005681/0.1285, allocations: 0.4951 MB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1285, allocations: 12.03 kB / 473.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.1286, allocations: 24.66 kB / 473.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1288, allocations: 215.6 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1288, allocations: 16.81 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1288, allocations: 24.12 kB / 474.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.1293, allocations: 231.2 kB / 474.3 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1293, allocations: 3.984 kB / 474.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1293, allocations: 8 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1293, allocations: 4 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.1297, allocations: 253.6 kB / 474.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.1307, allocations: 0.6118 MB / 475.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.1309, allocations: 102.5 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.1311, allocations: 44.98 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1311, allocations: 0 / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1311, allocations: 34.55 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.1312, allocations: 0 / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004978/0.1317, allocations: 165.3 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1317, allocations: 59.41 kB / 475.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.132, allocations: 270.9 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.132, allocations: 25.7 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.1321, allocations: 167.4 kB / 476.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.1321, allocations: 39.48 kB / 476.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.1322, allocations: 46.08 kB / 476.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1323, allocations: 338.8 kB / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.1325, allocations: 47.97 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.1327, allocations: 152.8 kB / 476.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.1331, allocations: 212.5 kB / 476.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1331, allocations: 4 kB / 476.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004591/0.1335, allocations: 233.5 kB / 477.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1336, allocations: 8 kB / 477.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.1336, allocations: 4 kB / 477.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1336, allocations: 4 kB / 477.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.134, allocations: 83.89 kB / 477.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006979/0.1347, allocations: 1.223 MB / 478.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.1349, allocations: 39.67 kB / 478.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.135, allocations: 15.98 kB / 478.5 MB, free: 4.582 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.0001284/0.1351, allocations: 129.7 kB / 478.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.1351, allocations: 23.72 kB / 478.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.1356, allocations: 175.2 kB / 478.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1356, allocations: 7.938 kB / 478.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1356, allocations: 0 / 478.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1356, allocations: 0 / 478.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/0.1363, allocations: 459.9 kB / 479.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1363, allocations: 0 / 479.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.1365, allocations: 55.97 kB / 479.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1366, allocations: 0 / 479.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1366, allocations: 4 kB / 479.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006613/0.1372, allocations: 1.215 MB / 480.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1373, allocations: 0 / 480.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.1376, allocations: 253 kB / 480.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.1377, allocations: 96.83 kB / 480.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.1377, allocations: 0 / 480.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1379, allocations: 7.984 kB / 480.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.138, allocations: 15.98 kB / 480.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.138, allocations: 4 kB / 480.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.1381, allocations: 186 kB / 481.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1381, allocations: 0 / 481.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.1385, allocations: 67.94 kB / 481.2 MB, free: 1.742 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.0002603/0.1388, allocations: 147.8 kB / 481.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.1393, allocations: 175.7 kB / 481.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1393, allocations: 3.938 kB / 481.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.1396, allocations: 80.89 kB / 481.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.14, allocations: 28.94 kB / 481.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/0.1408, allocations: 462.7 kB / 482 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1411, allocations: 0.7324 MB / 482.8 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.509e-05/0.1411, allocations: 17.94 kB / 482.8 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.1412, allocations: 23.44 kB / 482.8 MB, free: 24 kB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1412, allocations: 0 / 482.8 MB, free: 24 kB / 350.1 MB Notification: Performance of Templates: time 0.006866/0.1481, allocations: 3.431 MB / 486.2 MB, free: 12.63 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