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_roundTube_KC.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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 108.8 kB / 17.78 MB, free: 5.281 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.001152/0.001151, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2002/0.2002, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.328, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003401/0.3314, allocations: 2.678 MB / 0.5216 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3335, allocations: 1.426 MB / 0.523 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.3338, allocations: 1.188 kB / 0.523 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.3343, allocations: 120 kB / 0.5231 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004376/0.3348, allocations: 131.6 kB / 0.5232 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007527/0.3355, allocations: 263.3 kB / 0.5234 GB, free: 488 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.3359, allocations: 271.9 kB / 0.5237 GB, free: 348 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.336, allocations: 29.12 kB / 0.5237 GB, free: 332 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3362, allocations: 97.14 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.3364, allocations: 125.5 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.3365, allocations: 7.25 kB / 0.524 GB, free: 220 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3377, allocations: 0.5843 MB / 0.5245 GB, free: 36 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.3378, allocations: 46.41 kB / 0.5246 GB, free: 4 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.338, allocations: 133.4 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.339, allocations: 0.5363 MB / 0.5252 GB, free: 15.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.339, allocations: 3.141 kB / 0.5252 GB, free: 15.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.339, allocations: 0 / 0.5252 GB, free: 15.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.3391, allocations: 4 kB / 0.5252 GB, free: 15.68 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000965/0.34, allocations: 0.6361 MB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3401, allocations: 9.625 kB / 0.5259 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.734e-05/0.3402, allocations: 43.91 kB / 0.5259 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3405, allocations: 241.2 kB / 0.5261 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.3405, allocations: 28.5 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.3406, allocations: 39.5 kB / 0.5262 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.3413, allocations: 0.57 MB / 0.5267 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3413, allocations: 10.38 kB / 0.5268 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.3413, allocations: 18.72 kB / 0.5268 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.3414, allocations: 19.61 kB / 0.5268 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.3419, allocations: 322.5 kB / 0.5271 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/0.3448, allocations: 4.058 MB / 0.5311 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.3452, allocations: 95.34 kB / 0.5312 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.3453, allocations: 37.59 kB / 0.5312 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.3453, allocations: 1.375 kB / 0.5312 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3454, allocations: 35.88 kB / 0.5312 GB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3454, allocations: 0 / 0.5312 GB, free: 9.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005554/0.3459, allocations: 178.4 kB / 0.5314 GB, free: 9.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.346, allocations: 52.78 kB / 0.5314 GB, free: 9.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.3464, allocations: 412.3 kB / 0.5318 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3464, allocations: 27.11 kB / 0.5319 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.3466, allocations: 258.2 kB / 0.5321 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3466, allocations: 33.2 kB / 0.5321 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/0.3467, allocations: 65.42 kB / 0.5322 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3469, allocations: 350.8 kB / 0.5325 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.347, allocations: 62.83 kB / 0.5326 GB, free: 8.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.3473, allocations: 262.3 kB / 0.5329 GB, free: 8.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.3478, allocations: 356.4 kB / 0.5332 GB, free: 8.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.3478, allocations: 2.219 kB / 0.5332 GB, free: 8.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006074/0.3484, allocations: 349 kB / 0.5335 GB, free: 7.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3485, allocations: 7.781 kB / 0.5335 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3485, allocations: 7.188 kB / 0.5335 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.3485, allocations: 17.52 kB / 0.5336 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.349, allocations: 107 kB / 0.5337 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007411/0.3497, allocations: 1.22 MB / 0.5349 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.3501, allocations: 69.22 kB / 0.5349 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.3501, allocations: 22.41 kB / 0.5349 GB, free: 6.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001487/0.3503, allocations: 154.1 kB / 0.5351 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.3504, allocations: 40.05 kB / 0.5351 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.3508, allocations: 174.9 kB / 0.5353 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3508, allocations: 1 kB / 0.5353 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3508, allocations: 0 / 0.5353 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3508, allocations: 0.9688 kB / 0.5353 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.3512, allocations: 270.8 kB / 0.5355 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3512, allocations: 3.938 kB / 0.5356 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.3515, allocations: 53.17 kB / 0.5356 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.3515, allocations: 4.984 kB / 0.5356 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.3515, allocations: 10.34 kB / 0.5356 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006344/0.3522, allocations: 1.203 MB / 0.5368 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3522, allocations: 192 / 0.5368 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.3526, allocations: 240.2 kB / 0.537 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3527, allocations: 109.4 kB / 0.5371 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.3527, allocations: 5.031 kB / 0.5371 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.3529, allocations: 3.188 kB / 0.5371 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.353, allocations: 12.17 kB / 0.5371 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.353, allocations: 7.281 kB / 0.5372 GB, free: 4.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002782/0.3533, allocations: 275.9 kB / 0.5374 GB, free: 4.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3533, allocations: 0 / 0.5374 GB, free: 4.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006652/0.354, allocations: 110.2 kB / 0.5375 GB, free: 4.367 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 (7): * Single equations (assignments): 5 * 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.000384/0.3543, allocations: 183.9 kB / 0.5377 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005641/0.3549, allocations: 206.7 kB / 0.5379 GB, free: 4.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3549, allocations: 0 / 0.5379 GB, free: 4.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.3552, allocations: 82.58 kB / 0.538 GB, free: 4.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3556, allocations: 31.95 kB / 0.538 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.3565, allocations: 0.5049 MB / 0.5385 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3568, allocations: 0.7666 MB / 0.5392 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.357, allocations: 42.11 kB / 0.5393 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.357, allocations: 25.97 kB / 0.5393 GB, free: 2.996 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.357, allocations: 5.031 kB / 0.5393 GB, free: 2.992 MB / 398.1 MB Notification: Performance of Templates: time 0.01074/0.3678, allocations: 6.208 MB / 0.5454 GB, free: 0 / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches