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.001272/0.001272, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.253/0.253, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 75.89 kB / 482 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.478, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004658/0.4827, allocations: 2.197 MB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.485, allocations: 1.092 MB / 0.5349 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.4853, allocations: 5.312 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.4858, allocations: 86.61 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.4864, allocations: 99.64 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.4869, allocations: 120.8 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.4872, allocations: 175.8 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.049e-05/0.4873, allocations: 22 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.4876, allocations: 75.98 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.4878, allocations: 92.09 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.4878, allocations: 5.781 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005712/0.4884, allocations: 259.2 kB / 0.5358 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.4885, allocations: 32.75 kB / 0.5358 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.4886, allocations: 77.27 kB / 0.5359 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.4892, allocations: 338.5 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4892, allocations: 0 / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4892, allocations: 0 / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.4893, allocations: 1.125 kB / 0.5362 GB, free: 10.08 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.0008428/0.4901, allocations: 0.4964 MB / 0.5367 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4902, allocations: 9.125 kB / 0.5367 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.4903, allocations: 24.12 kB / 0.5367 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.4905, allocations: 211.9 kB / 0.537 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.4905, allocations: 16.66 kB / 0.537 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.4906, allocations: 30.06 kB / 0.537 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.4911, allocations: 227.5 kB / 0.5372 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4911, allocations: 0 / 0.5372 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.4911, allocations: 5.281 kB / 0.5372 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.4912, allocations: 9.469 kB / 0.5372 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.4917, allocations: 247.5 kB / 0.5375 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.4929, allocations: 0.6181 MB / 0.5381 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.4932, allocations: 104.4 kB / 0.5382 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.4934, allocations: 44.23 kB / 0.5382 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.4934, allocations: 0.9375 kB / 0.5382 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.4935, allocations: 39.64 kB / 0.5382 GB, free: 8.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.4935, allocations: 0 / 0.5382 GB, free: 8.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006175/0.4941, allocations: 168.7 kB / 0.5384 GB, free: 8.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.4942, allocations: 52.75 kB / 0.5385 GB, free: 8.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.4945, allocations: 271.9 kB / 0.5387 GB, free: 8.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4945, allocations: 29.7 kB / 0.5387 GB, free: 8.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.4946, allocations: 171.9 kB / 0.5389 GB, free: 7.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.4947, allocations: 32.08 kB / 0.5389 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.4948, allocations: 48.23 kB / 0.539 GB, free: 7.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4949, allocations: 339.9 kB / 0.5393 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.4951, allocations: 49.09 kB / 0.5394 GB, free: 7.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.4953, allocations: 154.8 kB / 0.5395 GB, free: 7.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.4958, allocations: 201.7 kB / 0.5397 GB, free: 7.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4958, allocations: 2.125 kB / 0.5397 GB, free: 7.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005483/0.4963, allocations: 237.6 kB / 0.5399 GB, free: 7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4964, allocations: 9.875 kB / 0.5399 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4964, allocations: 8.5 kB / 0.5399 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4964, allocations: 8.547 kB / 0.54 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.4968, allocations: 87.92 kB / 0.54 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007733/0.4976, allocations: 1.218 MB / 0.5412 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.4979, allocations: 40.67 kB / 0.5413 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.498, allocations: 13.94 kB / 0.5413 GB, free: 5.719 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.0001447/0.4981, allocations: 129.9 kB / 0.5414 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.4982, allocations: 30.41 kB / 0.5414 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.4986, allocations: 166 kB / 0.5416 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4987, allocations: 1.062 kB / 0.5416 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4987, allocations: 0 / 0.5416 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4987, allocations: 0.9688 kB / 0.5416 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007388/0.4994, allocations: 458.2 kB / 0.542 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4994, allocations: 1.094 kB / 0.542 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.4997, allocations: 55.81 kB / 0.5421 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4997, allocations: 1.75 kB / 0.5421 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.4998, allocations: 6.75 kB / 0.5421 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007161/0.5005, allocations: 1.21 MB / 0.5433 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5005, allocations: 1.375 kB / 0.5433 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.5009, allocations: 253.6 kB / 0.5435 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/0.501, allocations: 99.27 kB / 0.5436 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.5011, allocations: 2.281 kB / 0.5436 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.5013, allocations: 12.36 kB / 0.5436 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.5013, allocations: 12.3 kB / 0.5436 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.5013, allocations: 4.188 kB / 0.5436 GB, free: 3.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.5015, allocations: 187 kB / 0.5438 GB, free: 3.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5016, allocations: 0 / 0.5438 GB, free: 3.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.502, allocations: 67.03 kB / 0.5439 GB, free: 3.359 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.0003383/0.5024, allocations: 151.1 kB / 0.544 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006158/0.503, allocations: 172.9 kB / 0.5442 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.503, allocations: 0 / 0.5442 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.5033, allocations: 80.61 kB / 0.5443 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.5038, allocations: 33.75 kB / 0.5443 GB, free: 3.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/0.5048, allocations: 431.7 kB / 0.5447 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.5051, allocations: 0.7305 MB / 0.5454 GB, free: 2.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.5052, allocations: 22.7 kB / 0.5454 GB, free: 2.074 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5052, allocations: 0 / 0.5454 GB, free: 2.074 MB / 398.1 MB Notification: Performance of Templates: time 0.008831/0.514, allocations: 4.385 MB / 0.5497 GB, free: 14.63 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