Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009293/0.0009293, allocations: 97.28 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1948/0.1948, allocations: 46.18 MB / 345.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.000271, allocations: 7.984 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 63.56 MB / 483.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003064/0.1121, allocations: 2.367 MB / 486.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.1147, allocations: 1.543 MB / 487.7 MB, free: 232 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.1149, allocations: 4 kB / 487.7 MB, free: 228 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.1153, allocations: 107.4 kB / 487.8 MB, free: 120 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.1158, allocations: 107.1 kB / 487.9 MB, free: 12 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.1164, allocations: 215.3 kB / 488.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.1168, allocations: 282.1 kB / 488.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.03e-05/0.1169, allocations: 28.72 kB / 488.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.117, allocations: 91.36 kB / 488.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1173, allocations: 127.2 kB / 488.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.1173, allocations: 8 kB / 488.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.1184, allocations: 0.6046 MB / 489.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.1185, allocations: 43.66 kB / 489.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.1187, allocations: 156.7 kB / 489.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.1192, allocations: 366.7 kB / 489.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1192, allocations: 0 / 489.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1192, allocations: 3.938 kB / 489.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.1193, allocations: 0 / 489.8 MB, free: 14.1 MB / 366.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.0008216/0.1201, allocations: 0.5773 MB / 490.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1201, allocations: 8.875 kB / 490.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.1202, allocations: 40.47 kB / 490.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.1205, allocations: 247.6 kB / 490.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1206, allocations: 25.38 kB / 490.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.1206, allocations: 36.12 kB / 490.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.1214, allocations: 0.5804 MB / 491.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1214, allocations: 7.938 kB / 491.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1214, allocations: 12 kB / 491.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1215, allocations: 16 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.1221, allocations: 349 kB / 491.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.1248, allocations: 4.047 MB / 495.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1251, allocations: 98.47 kB / 495.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1252, allocations: 44.97 kB / 495.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.1253, allocations: 0 / 495.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1253, allocations: 34.55 kB / 495.9 MB, free: 7.547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1253, allocations: 0 / 495.9 MB, free: 7.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006095/0.1259, allocations: 193.1 kB / 496.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.126, allocations: 51.41 kB / 496.1 MB, free: 7.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.1264, allocations: 409.8 kB / 496.5 MB, free: 6.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1264, allocations: 29.64 kB / 496.5 MB, free: 6.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.1266, allocations: 250.9 kB / 496.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.1266, allocations: 31.64 kB / 496.8 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.1267, allocations: 37.7 kB / 496.9 MB, free: 6.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1268, allocations: 350.7 kB / 497.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.127, allocations: 60.61 kB / 497.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.1273, allocations: 266.4 kB / 497.5 MB, free: 5.746 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.1279, allocations: 368.2 kB / 497.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1279, allocations: 0 / 497.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007134/0.1286, allocations: 361.4 kB / 498.2 MB, free: 4.926 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1286, allocations: 12 kB / 498.2 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1287, allocations: 8 kB / 498.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1287, allocations: 12 kB / 498.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.1292, allocations: 111.8 kB / 498.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008148/0.13, allocations: 1.219 MB / 499.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.1303, allocations: 71.27 kB / 499.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1304, allocations: 16 kB / 499.7 MB, free: 3.434 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.000158/0.1305, allocations: 149.7 kB / 499.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.1306, allocations: 39.47 kB / 499.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.1311, allocations: 188.9 kB / 0.4883 GB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1311, allocations: 4 kB / 0.4883 GB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1311, allocations: 0 / 0.4883 GB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1311, allocations: 0 / 0.4883 GB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.1314, allocations: 273.5 kB / 0.4886 GB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1314, allocations: 7.938 kB / 0.4886 GB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.1317, allocations: 59.97 kB / 0.4887 GB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1318, allocations: 0 / 0.4887 GB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1318, allocations: 7.938 kB / 0.4887 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008583/0.1326, allocations: 1.207 MB / 0.4898 GB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1327, allocations: 0 / 0.4898 GB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.1331, allocations: 243.2 kB / 0.4901 GB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.1331, allocations: 108.6 kB / 0.4902 GB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.1332, allocations: 3.938 kB / 0.4902 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1334, allocations: 15.98 kB / 0.4902 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.1334, allocations: 15.92 kB / 0.4902 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1335, allocations: 3.984 kB / 0.4902 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000282/0.1337, allocations: 279.1 kB / 0.4905 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1338, allocations: 0 / 0.4905 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005593/0.1343, allocations: 116 kB / 0.4906 GB, free: 0.5898 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.0004519/0.1348, allocations: 167.8 kB / 0.4908 GB, free: 428 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000623/0.1354, allocations: 220.2 kB / 0.491 GB, free: 208 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1354, allocations: 1.375 kB / 0.491 GB, free: 208 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.1357, allocations: 83.95 kB / 0.491 GB, free: 124 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.1361, allocations: 41.94 kB / 0.4911 GB, free: 84 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.1371, allocations: 0.637 MB / 0.4917 GB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1375, allocations: 0.7719 MB / 0.4925 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.1376, allocations: 31.42 kB / 0.4925 GB, free: 14.58 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1376, allocations: 0 / 0.4925 GB, free: 14.58 MB / 382.1 MB Notification: Performance of Templates: time 0.01/0.1476, allocations: 6.729 MB / 0.4991 GB, free: 7.867 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches