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.001052/0.001052, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 83.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3265, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003797/0.3303, allocations: 2.696 MB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.3326, allocations: 1.479 MB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.3328, allocations: 1.281 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.3331, allocations: 112.9 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.3336, allocations: 134.5 kB / 0.536 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.3341, allocations: 258.1 kB / 0.5363 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.3344, allocations: 280.2 kB / 0.5365 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.604e-05/0.3345, allocations: 34.11 kB / 0.5366 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3346, allocations: 97.77 kB / 0.5366 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.3348, allocations: 122.2 kB / 0.5368 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.3349, allocations: 6.656 kB / 0.5368 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009786/0.3358, allocations: 0.6095 MB / 0.5374 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.3359, allocations: 39.34 kB / 0.5374 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3361, allocations: 139.7 kB / 0.5375 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006391/0.3367, allocations: 0.5486 MB / 0.5381 GB, free: 8.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3368, allocations: 4 kB / 0.5381 GB, free: 8.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3368, allocations: 0 / 0.5381 GB, free: 8.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3368, allocations: 1.375 kB / 0.5381 GB, free: 8.73 MB / 398.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.0007755/0.3376, allocations: 0.6286 MB / 0.5387 GB, free: 8.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.3376, allocations: 9.5 kB / 0.5387 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/0.3377, allocations: 42.91 kB / 0.5387 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.3379, allocations: 249.5 kB / 0.539 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.3379, allocations: 32.3 kB / 0.539 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.338, allocations: 38.53 kB / 0.539 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.3387, allocations: 0.5768 MB / 0.5396 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3387, allocations: 7 kB / 0.5396 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.3388, allocations: 19.06 kB / 0.5396 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3388, allocations: 11.28 kB / 0.5396 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.3393, allocations: 330.6 kB / 0.54 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.3419, allocations: 4.046 MB / 0.5439 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3421, allocations: 94.84 kB / 0.544 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3423, allocations: 37.86 kB / 0.544 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3423, allocations: 5.203 kB / 0.544 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.3423, allocations: 31.78 kB / 0.5441 GB, free: 2.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.3423, allocations: 0 / 0.5441 GB, free: 2.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000558/0.3429, allocations: 170.4 kB / 0.5442 GB, free: 2.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.343, allocations: 52.84 kB / 0.5443 GB, free: 2.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.3434, allocations: 412.5 kB / 0.5447 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3434, allocations: 27.11 kB / 0.5447 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.3436, allocations: 252.7 kB / 0.5449 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.3436, allocations: 21.78 kB / 0.545 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3438, allocations: 76.64 kB / 0.545 GB, free: 2.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3439, allocations: 355.5 kB / 0.5454 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.3441, allocations: 56.05 kB / 0.5454 GB, free: 1.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.3444, allocations: 268.8 kB / 0.5457 GB, free: 1.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.3449, allocations: 352.4 kB / 0.546 GB, free: 1.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3449, allocations: 2.375 kB / 0.546 GB, free: 1.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006657/0.3456, allocations: 349.2 kB / 0.5464 GB, free: 1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3456, allocations: 14.72 kB / 0.5464 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3456, allocations: 7.344 kB / 0.5464 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.3457, allocations: 9.156 kB / 0.5464 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.3462, allocations: 114.6 kB / 0.5465 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007468/0.3469, allocations: 1.213 MB / 0.5477 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.3472, allocations: 72.42 kB / 0.5478 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.3473, allocations: 18.62 kB / 0.5478 GB, free: 15.71 MB / 414.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.0001373/0.3474, allocations: 153 kB / 0.5479 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.3475, allocations: 39.75 kB / 0.548 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.348, allocations: 171.2 kB / 0.5481 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.348, allocations: 1.281 kB / 0.5481 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.348, allocations: 0 / 0.5481 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.348, allocations: 7.984 kB / 0.5481 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.3483, allocations: 271.2 kB / 0.5484 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3483, allocations: 7.938 kB / 0.5484 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.3486, allocations: 58.03 kB / 0.5484 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3486, allocations: 0 / 0.5484 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3487, allocations: 2.406 kB / 0.5485 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006415/0.3493, allocations: 1.208 MB / 0.5496 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3493, allocations: 0 / 0.5496 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.3497, allocations: 227.8 kB / 0.5498 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.3498, allocations: 108.4 kB / 0.55 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.3498, allocations: 13.06 kB / 0.55 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.35, allocations: 7.359 kB / 0.55 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.3501, allocations: 12.7 kB / 0.55 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3501, allocations: 3.344 kB / 0.55 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.3504, allocations: 271.9 kB / 0.5502 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3504, allocations: 0 / 0.5502 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000559/0.351, allocations: 116.6 kB / 0.5504 GB, free: 13.43 MB / 414.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.0004186/0.3514, allocations: 182.6 kB / 0.5505 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006405/0.352, allocations: 213.2 kB / 0.5507 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.352, allocations: 1.188 kB / 0.5507 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.3523, allocations: 70.38 kB / 0.5508 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.3528, allocations: 46.81 kB / 0.5508 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.3537, allocations: 0.5192 MB / 0.5514 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.354, allocations: 0.7678 MB / 0.5521 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.3541, allocations: 35.36 kB / 0.5521 GB, free: 11.83 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3541, allocations: 4 kB / 0.5521 GB, free: 11.83 MB / 414.1 MB Notification: Performance of Templates: time 0.008563/0.3627, allocations: 6.814 MB / 0.5588 GB, free: 5.027 MB / 414.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