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.000865/0.0008653, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.18 MB / 345.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004286, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1554, allocations: 63.56 MB / 483.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002273/0.1577, allocations: 1.899 MB / 485 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1592, allocations: 1.09 MB / 486.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.1593, allocations: 7.938 kB / 486.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.1595, allocations: 91.44 kB / 486.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1598, allocations: 67.47 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1601, allocations: 99.64 kB / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.1603, allocations: 182.9 kB / 486.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.1603, allocations: 12.41 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1605, allocations: 79.58 kB / 486.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1607, allocations: 87.5 kB / 486.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1607, allocations: 7.938 kB / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.1611, allocations: 263.6 kB / 487 MB, free: 304 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.1612, allocations: 27.84 kB / 487 MB, free: 276 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.1613, allocations: 101.1 kB / 487.1 MB, free: 168 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.1617, allocations: 334.6 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1617, allocations: 0 / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1617, allocations: 0 / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1617, allocations: 0 / 487.4 MB, free: 15.84 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005695/0.1623, allocations: 475.1 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1623, allocations: 12.88 kB / 487.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.1624, allocations: 24.66 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1626, allocations: 212 kB / 488.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1626, allocations: 12.81 kB / 488.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.1626, allocations: 28.11 kB / 488.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.163, allocations: 235.2 kB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1631, allocations: 0 / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.1631, allocations: 12 kB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1631, allocations: 4 kB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.1635, allocations: 261.5 kB / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.1645, allocations: 0.6157 MB / 489.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.1648, allocations: 102.7 kB / 489.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1649, allocations: 48.91 kB / 489.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1649, allocations: 3.984 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.165, allocations: 38.5 kB / 489.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.165, allocations: 0 / 489.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005285/0.1655, allocations: 181.6 kB / 489.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.1656, allocations: 51.5 kB / 489.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.1658, allocations: 278.8 kB / 490 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1658, allocations: 29.7 kB / 490 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.845e-05/0.166, allocations: 167.3 kB / 490.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.166, allocations: 39.55 kB / 490.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.1661, allocations: 29.64 kB / 490.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1662, allocations: 334.8 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1663, allocations: 51.97 kB / 490.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.1666, allocations: 148.8 kB / 490.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.1669, allocations: 232.5 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.167, allocations: 0 / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004793/0.1674, allocations: 241.4 kB / 491.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1675, allocations: 8 kB / 491.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.1675, allocations: 4 kB / 491.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1675, allocations: 4 kB / 491.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.1679, allocations: 91.89 kB / 491.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006873/0.1686, allocations: 1.219 MB / 492.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1688, allocations: 39.58 kB / 492.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1688, allocations: 16 kB / 492.6 MB, free: 10.3 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.0001237/0.169, allocations: 137.8 kB / 492.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.169, allocations: 23.72 kB / 492.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.1695, allocations: 179.2 kB / 492.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1695, allocations: 0 / 492.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1695, allocations: 0 / 492.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1695, allocations: 0 / 492.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.1701, allocations: 468 kB / 493.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1701, allocations: 4 kB / 493.4 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.1704, allocations: 63.91 kB / 493.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1704, allocations: 4 kB / 493.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1704, allocations: 0 / 493.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006554/0.1711, allocations: 1.215 MB / 494.7 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1711, allocations: 3.938 kB / 494.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.1715, allocations: 257.1 kB / 494.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.1715, allocations: 100.9 kB / 495 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.1716, allocations: 4 kB / 495 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1717, allocations: 19.92 kB / 495 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.1718, allocations: 7.984 kB / 495 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1718, allocations: 7.984 kB / 495.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.172, allocations: 186 kB / 495.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.172, allocations: 0 / 495.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.1724, allocations: 75.92 kB / 495.3 MB, free: 7.402 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.0002372/0.1726, allocations: 135.2 kB / 495.4 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005305/0.1732, allocations: 187.7 kB / 495.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1732, allocations: 0 / 495.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.1735, allocations: 96.83 kB / 495.7 MB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1738, allocations: 32.38 kB / 495.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.1746, allocations: 477.2 kB / 496.2 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1749, allocations: 0.7326 MB / 496.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.557e-05/0.175, allocations: 21.95 kB / 497 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.175, allocations: 23.36 kB / 497 MB, free: 5.645 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.175, allocations: 4 kB / 497 MB, free: 5.641 MB / 366.1 MB Notification: Performance of Templates: time 0.006575/0.1816, allocations: 3.313 MB / 0.4886 GB, free: 2.363 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/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches