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.001768/0.001768, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002261/0.002261, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2644/0.2644, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 71.88 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3038, allocations: 62.45 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003217/0.307, allocations: 2.182 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3088, allocations: 1.103 MB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.3089, allocations: 2.188 kB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.3092, allocations: 89.95 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.3095, allocations: 90.52 kB / 0.5351 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3098, allocations: 120.4 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.3101, allocations: 180.5 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.3101, allocations: 18.02 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.3103, allocations: 79.16 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.3105, allocations: 92.3 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.3105, allocations: 5.5 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.3109, allocations: 252 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.311, allocations: 31.91 kB / 0.5358 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.311, allocations: 81.53 kB / 0.5359 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.3115, allocations: 334.1 kB / 0.5362 GB, free: 10.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3115, allocations: 0 / 0.5362 GB, free: 10.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3115, allocations: 3.938 kB / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3115, allocations: 1.094 kB / 0.5362 GB, free: 10.12 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006206/0.3121, allocations: 0.4961 MB / 0.5367 GB, free: 9.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3122, allocations: 10.31 kB / 0.5367 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.3122, allocations: 24.75 kB / 0.5367 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.3124, allocations: 221.9 kB / 0.537 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.3125, allocations: 17.31 kB / 0.537 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.3125, allocations: 21.88 kB / 0.537 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.3129, allocations: 225.8 kB / 0.5372 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.313, allocations: 5.094 kB / 0.5372 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.313, allocations: 9.125 kB / 0.5372 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.313, allocations: 5.656 kB / 0.5372 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.3134, allocations: 247 kB / 0.5375 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.3145, allocations: 0.6154 MB / 0.5381 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.3148, allocations: 111.8 kB / 0.5382 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.3149, allocations: 39.66 kB / 0.5382 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.315, allocations: 1.406 kB / 0.5382 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.315, allocations: 35.64 kB / 0.5382 GB, free: 8.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.315, allocations: 3.938 kB / 0.5382 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005204/0.3155, allocations: 168.5 kB / 0.5384 GB, free: 8.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.3156, allocations: 52.69 kB / 0.5385 GB, free: 8.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.3159, allocations: 267.1 kB / 0.5387 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3159, allocations: 26.83 kB / 0.5387 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.316, allocations: 175.2 kB / 0.5389 GB, free: 7.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.316, allocations: 36.08 kB / 0.5389 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.3161, allocations: 48.05 kB / 0.539 GB, free: 7.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3162, allocations: 345 kB / 0.5393 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.3164, allocations: 48.28 kB / 0.5394 GB, free: 7.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.3166, allocations: 151.6 kB / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.317, allocations: 209.1 kB / 0.5397 GB, free: 7.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.317, allocations: 1.031 kB / 0.5397 GB, free: 7.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005123/0.3175, allocations: 238 kB / 0.5399 GB, free: 7.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3176, allocations: 7.188 kB / 0.5399 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3176, allocations: 3.375 kB / 0.5399 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3176, allocations: 8.516 kB / 0.5399 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.318, allocations: 84.94 kB / 0.54 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007311/0.3187, allocations: 1.225 MB / 0.5412 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.319, allocations: 40.52 kB / 0.5413 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.319, allocations: 9.875 kB / 0.5413 GB, free: 5.762 MB / 398.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.0001293/0.3192, allocations: 131.6 kB / 0.5414 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.3192, allocations: 21.75 kB / 0.5414 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.3197, allocations: 173.6 kB / 0.5416 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3197, allocations: 1.375 kB / 0.5416 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3197, allocations: 0 / 0.5416 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3197, allocations: 1.188 kB / 0.5416 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.3204, allocations: 454.4 kB / 0.542 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3204, allocations: 0 / 0.542 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.3206, allocations: 56.72 kB / 0.5421 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3206, allocations: 1.969 kB / 0.5421 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3207, allocations: 2.344 kB / 0.5421 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006519/0.3213, allocations: 1.215 MB / 0.5433 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3213, allocations: 0 / 0.5433 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.3217, allocations: 254.4 kB / 0.5435 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.3218, allocations: 99.3 kB / 0.5436 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.3218, allocations: 1.219 kB / 0.5436 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.322, allocations: 8.922 kB / 0.5436 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.322, allocations: 12.61 kB / 0.5436 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3221, allocations: 3.438 kB / 0.5436 GB, free: 3.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.3222, allocations: 191.4 kB / 0.5438 GB, free: 3.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3222, allocations: 0 / 0.5438 GB, free: 3.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.3227, allocations: 62.97 kB / 0.5439 GB, free: 3.406 MB / 398.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.0002704/0.3229, allocations: 147.4 kB / 0.544 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005988/0.3236, allocations: 169.2 kB / 0.5442 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3236, allocations: 4.812 kB / 0.5442 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.3239, allocations: 90.59 kB / 0.5443 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3242, allocations: 31.59 kB / 0.5443 GB, free: 3.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.325, allocations: 422.4 kB / 0.5447 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3253, allocations: 0.7297 MB / 0.5454 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.3254, allocations: 22.86 kB / 0.5454 GB, free: 2.125 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3254, allocations: 0 / 0.5454 GB, free: 2.125 MB / 398.1 MB Notification: Performance of Templates: time 0.006478/0.3319, allocations: 4.381 MB / 0.5497 GB, free: 14.71 MB / 414.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