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.001531/0.001532, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002062/0.002062, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 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.2084/0.2084, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3182, 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_flatTube_KC): time 0.003153/0.3214, allocations: 2.193 MB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3229, allocations: 1.096 MB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.323, allocations: 1.375 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.3232, allocations: 95.92 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.3235, allocations: 86.31 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.3238, allocations: 120.8 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.324, allocations: 179.7 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.3241, allocations: 18.02 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3242, allocations: 80.52 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.3244, allocations: 92.09 kB / 0.5355 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.3244, allocations: 5.25 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.3248, allocations: 259.2 kB / 0.5358 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.3249, allocations: 28.38 kB / 0.5358 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.325, allocations: 84.86 kB / 0.5359 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.3254, allocations: 339.3 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3254, allocations: 0 / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3254, allocations: 0 / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3254, allocations: 0 / 0.5362 GB, free: 10.1 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.0006053/0.326, allocations: 0.493 MB / 0.5367 GB, free: 9.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3261, allocations: 9.219 kB / 0.5367 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.3261, allocations: 24.22 kB / 0.5367 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.3263, allocations: 222.4 kB / 0.537 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3264, allocations: 16.62 kB / 0.537 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.3264, allocations: 25.88 kB / 0.537 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.3268, allocations: 222.9 kB / 0.5372 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3268, allocations: 0 / 0.5372 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.3268, allocations: 10.06 kB / 0.5372 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.3269, allocations: 5.812 kB / 0.5372 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.3273, allocations: 246.5 kB / 0.5375 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.3284, allocations: 0.6272 MB / 0.5381 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.3287, allocations: 100.1 kB / 0.5382 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3288, allocations: 39.44 kB / 0.5382 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3289, allocations: 9.031 kB / 0.5382 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3289, allocations: 35.56 kB / 0.5382 GB, free: 8.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3289, allocations: 0 / 0.5382 GB, free: 8.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005202/0.3294, allocations: 164.4 kB / 0.5384 GB, free: 8.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.3295, allocations: 52.56 kB / 0.5385 GB, free: 8.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.3297, allocations: 267.4 kB / 0.5387 GB, free: 8.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3297, allocations: 30.8 kB / 0.5387 GB, free: 8.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3299, allocations: 172.2 kB / 0.5389 GB, free: 7.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.3299, allocations: 32.14 kB / 0.5389 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.33, allocations: 51.73 kB / 0.539 GB, free: 7.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3301, allocations: 336.2 kB / 0.5393 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3303, allocations: 53.45 kB / 0.5394 GB, free: 7.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.3305, allocations: 153.1 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.3308, allocations: 210 kB / 0.5397 GB, free: 7.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3309, allocations: 1.125 kB / 0.5397 GB, free: 7.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004564/0.3313, allocations: 237 kB / 0.5399 GB, free: 7.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3313, allocations: 6.844 kB / 0.5399 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3313, allocations: 4.188 kB / 0.5399 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3314, allocations: 4.281 kB / 0.5399 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.3318, allocations: 89.47 kB / 0.54 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007006/0.3325, allocations: 1.221 MB / 0.5412 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.3327, allocations: 40.7 kB / 0.5413 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.3327, allocations: 13.09 kB / 0.5413 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.0001151/0.3328, allocations: 135.7 kB / 0.5414 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.3329, allocations: 29.56 kB / 0.5414 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000444/0.3334, allocations: 166.1 kB / 0.5416 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3334, allocations: 0 / 0.5416 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3334, allocations: 5.141 kB / 0.5416 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.3334, allocations: 97.92 kB / 0.5417 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.3335, allocations: 1.5 kB / 0.5417 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.3336, allocations: 7.266 kB / 0.5417 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.3337, allocations: 8.547 kB / 0.5417 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006033/0.3343, allocations: 264 kB / 0.542 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005724/0.3349, allocations: 357 kB / 0.5423 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000134/0.335, allocations: 48.19 kB / 0.5423 GB, free: 4.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.3352, allocations: 187.5 kB / 0.5425 GB, free: 4.766 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3352, allocations: 0 / 0.5425 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008549/0.3361, allocations: 247 kB / 0.5428 GB, free: 4.637 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009221/0.337, allocations: 0.8456 MB / 0.5436 GB, free: 3.875 MB / 398.1 MB Notification: Performance of Templates: time 0.007952/0.345, allocations: 3.941 MB / 0.5474 GB, free: 1.18 MB / 398.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