Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 209.7 kB / 18.79 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.763/1.763, allocations: 227.4 MB / 246.9 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2543/0.2543, allocations: 46.1 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 74.38 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1409, allocations: 62.45 MB / 480 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00434/0.1453, allocations: 2.245 MB / 482.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1475, allocations: 1.114 MB / 483.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.1478, allocations: 0 / 483.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.1482, allocations: 83.5 kB / 483.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.1487, allocations: 75.39 kB / 483.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.1491, allocations: 95.7 kB / 483.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.1494, allocations: 190.9 kB / 483.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.048e-05/0.1495, allocations: 12.41 kB / 483.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.1498, allocations: 75.53 kB / 483.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.15, allocations: 87.48 kB / 483.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.15, allocations: 8 kB / 483.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.1505, allocations: 263.6 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.844e-05/0.1506, allocations: 27.78 kB / 484.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1507, allocations: 79.41 kB / 484.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.1511, allocations: 227.1 kB / 484.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1511, allocations: 0 / 484.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1511, allocations: 0 / 484.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1511, allocations: 0 / 484.5 MB, free: 1.109 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.0008356/0.152, allocations: 499 kB / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.152, allocations: 12.88 kB / 485 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.1521, allocations: 28.59 kB / 485 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1524, allocations: 204 kB / 485.2 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1524, allocations: 20.81 kB / 485.3 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.1525, allocations: 28.11 kB / 485.3 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.1529, allocations: 223.3 kB / 485.5 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.153, allocations: 3.984 kB / 485.5 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.153, allocations: 11.94 kB / 485.5 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.153, allocations: 8 kB / 485.5 MB, free: 0 / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.1535, allocations: 249.5 kB / 485.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1546, allocations: 0.6235 MB / 486.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.155, allocations: 94.66 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1551, allocations: 48.89 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1552, allocations: 0 / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1552, allocations: 42.5 kB / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.1552, allocations: 0 / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000592/0.1558, allocations: 161.3 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.1558, allocations: 55.41 kB / 486.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.1561, allocations: 270.9 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1562, allocations: 29.7 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1563, allocations: 163.4 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.1563, allocations: 39.48 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.1564, allocations: 45.7 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1566, allocations: 342.7 kB / 487.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.1567, allocations: 51.95 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.157, allocations: 140.8 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.1574, allocations: 216.5 kB / 488.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1574, allocations: 0 / 488.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000511/0.1579, allocations: 241 kB / 488.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1579, allocations: 4 kB / 488.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1579, allocations: 4 kB / 488.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.158, allocations: 8 kB / 488.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.1584, allocations: 80.34 kB / 488.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008008/0.1592, allocations: 1.223 MB / 489.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.1595, allocations: 39.62 kB / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1595, allocations: 8 kB / 489.7 MB, free: 11.6 MB / 366.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.0001445/0.1597, allocations: 137.9 kB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.1597, allocations: 23.72 kB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.1602, allocations: 179.5 kB / 490 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1602, allocations: 0 / 490 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1602, allocations: 0 / 490 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1602, allocations: 3.984 kB / 490 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.1609, allocations: 452 kB / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.161, allocations: 0 / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.1612, allocations: 60.03 kB / 490.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1613, allocations: 0 / 490.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1613, allocations: 4 kB / 490.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006867/0.162, allocations: 1.215 MB / 491.7 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.162, allocations: 4.188 kB / 491.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.1624, allocations: 248.8 kB / 492 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.1625, allocations: 92.83 kB / 492.1 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.1625, allocations: 3.984 kB / 492.1 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1627, allocations: 12 kB / 492.1 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.1628, allocations: 15.92 kB / 492.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1628, allocations: 4 kB / 492.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.163, allocations: 186 kB / 492.3 MB, free: 8.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.163, allocations: 0 / 492.3 MB, free: 8.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004509/0.1635, allocations: 67.94 kB / 492.3 MB, free: 8.754 MB / 366.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.0003321/0.1638, allocations: 151.2 kB / 492.5 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006053/0.1644, allocations: 171.7 kB / 492.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1644, allocations: 0 / 492.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.1648, allocations: 91.83 kB / 492.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.1653, allocations: 18.02 kB / 492.8 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.1662, allocations: 491.4 kB / 493.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.1665, allocations: 0.7287 MB / 494 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.1666, allocations: 19.44 kB / 494 MB, free: 7.027 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1666, allocations: 4 kB / 494 MB, free: 7.023 MB / 366.1 MB Notification: Performance of Templates: time 0.007856/0.1745, allocations: 4.357 MB / 498.4 MB, free: 2.676 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches