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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 203.9 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 226.5 MB / 245.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007727/0.0007727, allocations: 98.94 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3452/0.3452, allocations: 44.82 MB / 394.3 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002702, allocations: 8 kB / 467.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3375, allocations: 62.95 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.471, allocations: 101.1 MB / 0.6171 GB, free: 4.199 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.4714, allocations: 103.9 kB / 0.6172 GB, free: 4.102 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03382/0.5052, allocations: 11.71 MB / 0.6287 GB, free: 8.348 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.779e-06/0.5053, allocations: 0 / 0.6287 GB, free: 8.348 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.5053, allocations: 7.938 kB / 0.6287 GB, free: 8.34 MB / 442.7 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.0009126/0.5062, allocations: 0.5928 MB / 0.6292 GB, free: 7.695 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.5063, allocations: 8.031 kB / 0.6292 GB, free: 7.688 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.5064, allocations: 40.47 kB / 0.6293 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.5068, allocations: 248.3 kB / 0.6295 GB, free: 7.367 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.5068, allocations: 29.38 kB / 0.6295 GB, free: 7.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.5069, allocations: 36.38 kB / 0.6296 GB, free: 7.305 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007514/0.5076, allocations: 0.5732 MB / 0.6301 GB, free: 6.598 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.5077, allocations: 4.125 kB / 0.6301 GB, free: 6.594 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.5077, allocations: 27.88 kB / 0.6302 GB, free: 6.566 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.5077, allocations: 16 kB / 0.6302 GB, free: 6.551 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.5083, allocations: 337 kB / 0.6305 GB, free: 6.223 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.5111, allocations: 4.047 MB / 0.6345 GB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.5115, allocations: 102.7 kB / 0.6346 GB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.5116, allocations: 44.83 kB / 0.6346 GB, free: 1.816 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.5116, allocations: 11.92 kB / 0.6346 GB, free: 1.805 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.5117, allocations: 30.69 kB / 0.6346 GB, free: 1.766 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.5117, allocations: 0 / 0.6346 GB, free: 1.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005295/0.5122, allocations: 181.2 kB / 0.6348 GB, free: 1.582 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.5123, allocations: 55.39 kB / 0.6349 GB, free: 1.516 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.5128, allocations: 405.7 kB / 0.6353 GB, free: 1.113 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.5128, allocations: 25.7 kB / 0.6353 GB, free: 1.082 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.513, allocations: 255 kB / 0.6355 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.513, allocations: 27.64 kB / 0.6356 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.5131, allocations: 8 kB / 0.6356 GB, free: 0.793 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5132, allocations: 354.8 kB / 0.6359 GB, free: 448 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.5134, allocations: 56.62 kB / 0.636 GB, free: 388 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.5137, allocations: 275.2 kB / 0.6362 GB, free: 8 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.5142, allocations: 355.9 kB / 0.6366 GB, free: 15.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.5142, allocations: 4 kB / 0.6366 GB, free: 15.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006765/0.5149, allocations: 357.2 kB / 0.6369 GB, free: 15.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.515, allocations: 12.14 kB / 0.6369 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.515, allocations: 15.94 kB / 0.6369 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.515, allocations: 8 kB / 0.6369 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.5154, allocations: 107.9 kB / 0.637 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007665/0.5162, allocations: 1.226 MB / 0.6382 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.5165, allocations: 63.36 kB / 0.6383 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.5166, allocations: 24 kB / 0.6383 GB, free: 13.7 MB / 458.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.5168, allocations: 149.7 kB / 0.6385 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.5168, allocations: 35.53 kB / 0.6385 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.5173, allocations: 189.3 kB / 0.6387 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5173, allocations: 0 / 0.6387 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5173, allocations: 0 / 0.6387 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5173, allocations: 7.969 kB / 0.6387 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.5177, allocations: 265.5 kB / 0.6389 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5177, allocations: 0 / 0.6389 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.5179, allocations: 55.97 kB / 0.639 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.5179, allocations: 7.938 kB / 0.639 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.518, allocations: 7.938 kB / 0.639 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006542/0.5186, allocations: 1.199 MB / 0.6402 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5186, allocations: 0 / 0.6402 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.519, allocations: 259.3 kB / 0.6404 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.5191, allocations: 108.6 kB / 0.6405 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.5192, allocations: 0 / 0.6405 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.5193, allocations: 15.98 kB / 0.6405 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.5194, allocations: 15.94 kB / 0.6406 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.5194, allocations: 4 kB / 0.6406 GB, free: 11.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002683/0.5197, allocations: 267.1 kB / 0.6408 GB, free: 10.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5197, allocations: 0 / 0.6408 GB, free: 10.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006964/0.5204, allocations: 147.8 kB / 0.641 GB, free: 10.85 MB / 458.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006321/0.521, allocations: 258.1 kB / 0.6412 GB, free: 10.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.5216, allocations: 217.6 kB / 0.6414 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5216, allocations: 0 / 0.6414 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.5219, allocations: 79.91 kB / 0.6415 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.5223, allocations: 37.95 kB / 0.6415 GB, free: 10.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009528/0.5233, allocations: 0.5693 MB / 0.6421 GB, free: 9.672 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5236, allocations: 0.768 MB / 0.6428 GB, free: 8.879 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.5238, allocations: 46.89 kB / 0.6429 GB, free: 8.828 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.5239, allocations: 23.38 kB / 0.6429 GB, free: 8.805 MB / 458.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5239, allocations: 4 kB / 0.6429 GB, free: 8.801 MB / 458.7 MB Notification: Performance of Templates: time 0.01429/0.5382, allocations: 7.131 MB / 0.6499 GB, free: 1.715 MB / 458.7 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","../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