Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 183.1 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2278/0.2278, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.89 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4057, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003491/0.4093, allocations: 2.121 MB / 0.521 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.4115, allocations: 1.376 MB / 0.5223 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.4117, allocations: 0.9688 kB / 0.5223 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.4121, allocations: 87.27 kB / 0.5224 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.4124, allocations: 57.78 kB / 0.5225 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.413, allocations: 212.7 kB / 0.5227 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.4132, allocations: 150.1 kB / 0.5228 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.948e-05/0.4133, allocations: 15.05 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.4135, allocations: 59.84 kB / 0.5229 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.4136, allocations: 66.28 kB / 0.523 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.4136, allocations: 3.25 kB / 0.523 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000787/0.4144, allocations: 424.3 kB / 0.5234 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.4145, allocations: 25.05 kB / 0.5234 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.4146, allocations: 74.14 kB / 0.5235 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007013/0.4153, allocations: 435.3 kB / 0.5239 GB, free: 424 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4153, allocations: 0 / 0.5239 GB, free: 424 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4153, allocations: 0 / 0.5239 GB, free: 424 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.4154, allocations: 0 / 0.5239 GB, free: 424 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007198/0.4161, allocations: 0.4935 MB / 0.5244 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4161, allocations: 8.844 kB / 0.5244 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.4162, allocations: 27.47 kB / 0.5244 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.4164, allocations: 218.2 kB / 0.5246 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.4165, allocations: 15.33 kB / 0.5246 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.4165, allocations: 19.84 kB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.4169, allocations: 203.8 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.417, allocations: 0.5156 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.417, allocations: 6.094 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.417, allocations: 7.688 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.4173, allocations: 150.3 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/0.4183, allocations: 0.5724 MB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.4185, allocations: 63.59 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4186, allocations: 30.11 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.4187, allocations: 4.609 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.4187, allocations: 34.31 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4187, allocations: 0 / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005197/0.4192, allocations: 136.9 kB / 0.5258 GB, free: 14.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4193, allocations: 53.53 kB / 0.5259 GB, free: 14.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.4196, allocations: 259.4 kB / 0.5261 GB, free: 14.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.4196, allocations: 33.64 kB / 0.5261 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.4197, allocations: 169 kB / 0.5263 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.4198, allocations: 16.16 kB / 0.5263 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.4198, allocations: 36.22 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.42, allocations: 339.5 kB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4202, allocations: 37.41 kB / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.4204, allocations: 127.8 kB / 0.5268 GB, free: 14.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.4207, allocations: 183 kB / 0.527 GB, free: 13.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4208, allocations: 1.375 kB / 0.527 GB, free: 13.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004214/0.4212, allocations: 200 kB / 0.5272 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4212, allocations: 5.5 kB / 0.5272 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/0.4213, allocations: 12.22 kB / 0.5272 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.4213, allocations: 8.062 kB / 0.5272 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.4214, allocations: 39.28 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.4215, allocations: 9.188 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.4216, allocations: 34.66 kB / 0.5273 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.4216, allocations: 12.89 kB / 0.5273 GB, free: 13.74 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.4218, allocations: 131.5 kB / 0.5274 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.4218, allocations: 16.59 kB / 0.5275 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.4222, allocations: 139.2 kB / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4222, allocations: 1 kB / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4222, allocations: 0 / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4222, allocations: 1.594 kB / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.4225, allocations: 224.5 kB / 0.5278 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/0.4225, allocations: 12.78 kB / 0.5278 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.4226, allocations: 15.7 kB / 0.5278 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.4226, allocations: 1.375 kB / 0.5278 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4226, allocations: 5.562 kB / 0.5278 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4226, allocations: 1.562 kB / 0.5278 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4226, allocations: 0 / 0.5278 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.4229, allocations: 207.6 kB / 0.528 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.423, allocations: 97.36 kB / 0.5281 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.423, allocations: 1.906 kB / 0.5281 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.4231, allocations: 7.703 kB / 0.5281 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.4232, allocations: 7.312 kB / 0.5281 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.4232, allocations: 1.562 kB / 0.5281 GB, free: 12.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.4234, allocations: 179.8 kB / 0.5283 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4234, allocations: 0 / 0.5283 GB, free: 12.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.4238, allocations: 69.38 kB / 0.5284 GB, free: 12.84 MB / 398.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003239/0.4241, allocations: 173.6 kB / 0.5285 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000471/0.4246, allocations: 166.6 kB / 0.5287 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4246, allocations: 0.875 kB / 0.5287 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.4249, allocations: 111 kB / 0.5288 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.4252, allocations: 21.12 kB / 0.5288 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.4259, allocations: 363.7 kB / 0.5292 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4262, allocations: 0.7357 MB / 0.5299 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.835e-05/0.4263, allocations: 16.7 kB / 0.5299 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.4263, allocations: 15.22 kB / 0.5299 GB, free: 11.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4263, allocations: 0 / 0.5299 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Templates: time 0.008337/0.4347, allocations: 4.155 MB / 0.534 GB, free: 9.457 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches