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.001088/0.001087, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.12 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 77.53 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1315, allocations: 62.46 MB / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004026/0.1355, allocations: 2.691 MB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.1377, allocations: 1.464 MB / 484.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1379, allocations: 4 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.1382, allocations: 119.2 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.1386, allocations: 126.8 kB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.1392, allocations: 267.1 kB / 484.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1394, allocations: 274.1 kB / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.032e-05/0.1395, allocations: 32.66 kB / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1396, allocations: 95.41 kB / 485.2 MB, free: 152 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1398, allocations: 119.2 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.1398, allocations: 11.98 kB / 485.3 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009175/0.1408, allocations: 0.6084 MB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.1409, allocations: 43.72 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.141, allocations: 127 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006602/0.1416, allocations: 0.5604 MB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1417, allocations: 0 / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.1417, allocations: 0 / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1417, allocations: 3.938 kB / 486.6 MB, free: 14.68 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.0007933/0.1425, allocations: 0.6239 MB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1425, allocations: 8.031 kB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.1426, allocations: 40.47 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1429, allocations: 247.7 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.1429, allocations: 29.38 kB / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.1429, allocations: 32.12 kB / 487.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.1436, allocations: 0.5765 MB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1437, allocations: 3.938 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.1437, allocations: 20 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.1437, allocations: 12 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.1442, allocations: 333 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.1466, allocations: 4.043 MB / 492.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1469, allocations: 98.47 kB / 492.7 MB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.147, allocations: 40.95 kB / 492.7 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.147, allocations: 7.984 kB / 492.7 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.1471, allocations: 30.56 kB / 492.8 MB, free: 8.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.1471, allocations: 0 / 492.8 MB, free: 8.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000538/0.1476, allocations: 169.1 kB / 492.9 MB, free: 7.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1477, allocations: 55.39 kB / 493 MB, free: 7.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.1481, allocations: 409.7 kB / 493.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1481, allocations: 29.7 kB / 493.4 MB, free: 7.418 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1483, allocations: 258.9 kB / 493.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1483, allocations: 23.66 kB / 493.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.1484, allocations: 73.92 kB / 493.8 MB, free: 7.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1486, allocations: 350.7 kB / 494.1 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1487, allocations: 52.61 kB / 494.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.149, allocations: 263.2 kB / 494.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.1495, allocations: 355.8 kB / 494.8 MB, free: 5.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1495, allocations: 4 kB / 494.8 MB, free: 5.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005868/0.1501, allocations: 352.9 kB / 495.1 MB, free: 5.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.1501, allocations: 8 kB / 495.1 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.1501, allocations: 8 kB / 495.1 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1502, allocations: 11.94 kB / 495.1 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.1506, allocations: 115.8 kB / 495.2 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007217/0.1514, allocations: 1.215 MB / 496.5 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.1517, allocations: 71.2 kB / 496.5 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.1517, allocations: 16 kB / 496.5 MB, free: 4.004 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.0001694/0.1519, allocations: 156.8 kB / 496.7 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.152, allocations: 39.47 kB / 496.7 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.1524, allocations: 176.8 kB / 496.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1524, allocations: 0 / 496.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1525, allocations: 0 / 496.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1525, allocations: 3.984 kB / 496.9 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.1528, allocations: 269.5 kB / 497.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.1528, allocations: 7.938 kB / 497.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1531, allocations: 55.97 kB / 497.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1531, allocations: 0 / 497.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1531, allocations: 4 kB / 497.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006611/0.1538, allocations: 1.211 MB / 498.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1538, allocations: 0 / 498.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.1542, allocations: 239.7 kB / 498.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.1543, allocations: 104.6 kB / 498.8 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.1543, allocations: 7.938 kB / 498.8 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1545, allocations: 7.984 kB / 498.8 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.1545, allocations: 7.984 kB / 498.8 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1546, allocations: 7.938 kB / 498.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003205/0.1549, allocations: 275.1 kB / 499.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1549, allocations: 0 / 499.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005656/0.1555, allocations: 116 kB / 499.2 MB, free: 1.199 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.0004162/0.1559, allocations: 183.1 kB / 499.4 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005986/0.1565, allocations: 209.5 kB / 499.6 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1565, allocations: 7.938 kB / 499.6 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.1568, allocations: 80.08 kB / 499.7 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1572, allocations: 33.97 kB / 499.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008866/0.1581, allocations: 0.5093 MB / 0.4885 GB, free: 160 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.1585, allocations: 0.7755 MB / 0.4892 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.1586, allocations: 34.95 kB / 0.4893 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.1586, allocations: 23.44 kB / 0.4893 GB, free: 15.3 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1587, allocations: 0 / 0.4893 GB, free: 15.3 MB / 382.1 MB Notification: Performance of Templates: time 0.01276/0.1714, allocations: 6.289 MB / 0.4954 GB, free: 9.059 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/jenkins/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/jenkins/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