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.00173/0.001731, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001978/0.001978, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 75.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3944, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004109/0.3986, allocations: 2.186 MB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.4003, allocations: 1.095 MB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.4005, allocations: 5.375 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.4008, allocations: 94.55 kB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.4012, allocations: 91.69 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.4015, allocations: 122.1 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.4017, allocations: 179.8 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.721e-05/0.4018, allocations: 13.78 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.402, allocations: 78.83 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.4021, allocations: 88.91 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.4022, allocations: 5.469 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.4026, allocations: 264.2 kB / 0.5351 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.4027, allocations: 23.59 kB / 0.5352 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.4028, allocations: 80.98 kB / 0.5352 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004934/0.4033, allocations: 339 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4033, allocations: 0 / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4033, allocations: 4 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.4033, allocations: 1.25 kB / 0.5356 GB, free: 10.11 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.0007142/0.404, allocations: 0.4922 MB / 0.536 GB, free: 9.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4041, allocations: 9.906 kB / 0.5361 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.4042, allocations: 24.56 kB / 0.5361 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.4044, allocations: 221.3 kB / 0.5363 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.4045, allocations: 13.56 kB / 0.5363 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.4045, allocations: 30.3 kB / 0.5363 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.405, allocations: 226.7 kB / 0.5365 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.405, allocations: 0 / 0.5365 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.405, allocations: 9.438 kB / 0.5366 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.405, allocations: 5.188 kB / 0.5366 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.4055, allocations: 246.8 kB / 0.5368 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.4066, allocations: 0.6311 MB / 0.5374 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.4069, allocations: 96.08 kB / 0.5375 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.4071, allocations: 40.22 kB / 0.5375 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.4071, allocations: 13.27 kB / 0.5376 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.4071, allocations: 31.81 kB / 0.5376 GB, free: 8.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.4071, allocations: 7.938 kB / 0.5376 GB, free: 8.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005716/0.4077, allocations: 163.6 kB / 0.5377 GB, free: 8.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.4078, allocations: 61.42 kB / 0.5378 GB, free: 8.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.408, allocations: 263.5 kB / 0.5381 GB, free: 8.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4081, allocations: 25.7 kB / 0.5381 GB, free: 8.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4082, allocations: 175.7 kB / 0.5382 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.4083, allocations: 28.56 kB / 0.5383 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.4083, allocations: 55.52 kB / 0.5383 GB, free: 7.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4085, allocations: 336.9 kB / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.4087, allocations: 48.67 kB / 0.5387 GB, free: 7.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.4089, allocations: 146.9 kB / 0.5388 GB, free: 7.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.4093, allocations: 217.4 kB / 0.539 GB, free: 7.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4093, allocations: 1.438 kB / 0.539 GB, free: 7.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004722/0.4097, allocations: 234 kB / 0.5393 GB, free: 7.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4098, allocations: 6 kB / 0.5393 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4098, allocations: 4.406 kB / 0.5393 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4098, allocations: 3.688 kB / 0.5393 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.4102, allocations: 84.16 kB / 0.5394 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008451/0.4111, allocations: 1.222 MB / 0.5406 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.4113, allocations: 37.34 kB / 0.5406 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.4113, allocations: 13.84 kB / 0.5406 GB, free: 5.75 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.000136/0.4115, allocations: 134.7 kB / 0.5407 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.4115, allocations: 26.34 kB / 0.5408 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.412, allocations: 162.5 kB / 0.5409 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.412, allocations: 1.125 kB / 0.5409 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.412, allocations: 3.984 kB / 0.5409 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.412, allocations: 5.125 kB / 0.5409 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.4127, allocations: 451.1 kB / 0.5414 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4127, allocations: 0 / 0.5414 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4129, allocations: 60.44 kB / 0.5414 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4129, allocations: 1.375 kB / 0.5414 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.413, allocations: 3 kB / 0.5414 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006477/0.4136, allocations: 1.214 MB / 0.5426 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4136, allocations: 1.219 kB / 0.5426 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.414, allocations: 253.4 kB / 0.5428 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.4141, allocations: 99.7 kB / 0.5429 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.4141, allocations: 9.578 kB / 0.5429 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.4143, allocations: 8.156 kB / 0.543 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.4143, allocations: 13.3 kB / 0.543 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.4144, allocations: 7.906 kB / 0.543 GB, free: 3.516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.4145, allocations: 190.5 kB / 0.5432 GB, free: 3.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4146, allocations: 0 / 0.5432 GB, free: 3.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.4149, allocations: 62.59 kB / 0.5432 GB, free: 3.379 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.0002781/0.4152, allocations: 151.5 kB / 0.5434 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005479/0.4158, allocations: 173.3 kB / 0.5435 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4158, allocations: 5.562 kB / 0.5435 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.4161, allocations: 86.39 kB / 0.5436 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.4165, allocations: 18.58 kB / 0.5436 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.4173, allocations: 396.2 kB / 0.544 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4176, allocations: 0.7337 MB / 0.5447 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.588e-05/0.4177, allocations: 24.86 kB / 0.5448 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.4178, allocations: 17.19 kB / 0.5448 GB, free: 2.121 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4178, allocations: 0 / 0.5448 GB, free: 2.121 MB / 398.1 MB Notification: Performance of Templates: time 0.007224/0.425, allocations: 3.554 MB / 0.5482 GB, free: 15.54 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/jenkins/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/jenkins/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