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.001531/0.001531, allocations: 112.9 kB / 18.46 MB, free: 4.594 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.001871/0.001871, allocations: 183 kB / 19.39 MB, free: 3.672 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.345/1.345, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2095/0.2095, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3527, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003381/0.3561, allocations: 2.669 MB / 0.5222 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.3584, allocations: 1.426 MB / 0.5236 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.3586, allocations: 1.188 kB / 0.5236 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.359, allocations: 123.7 kB / 0.5237 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.3595, allocations: 136.7 kB / 0.5239 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007408/0.3602, allocations: 263 kB / 0.5241 GB, free: 492 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.3605, allocations: 276.5 kB / 0.5244 GB, free: 348 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.3606, allocations: 28.62 kB / 0.5244 GB, free: 332 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3607, allocations: 97.98 kB / 0.5245 GB, free: 284 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3609, allocations: 120.8 kB / 0.5246 GB, free: 224 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.3609, allocations: 7.25 kB / 0.5246 GB, free: 224 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008843/0.3618, allocations: 0.596 MB / 0.5252 GB, free: 28 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.3619, allocations: 45.58 kB / 0.5253 GB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.362, allocations: 126.8 kB / 0.5254 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008012/0.3628, allocations: 0.5417 MB / 0.5259 GB, free: 15.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3629, allocations: 0.6562 kB / 0.5259 GB, free: 15.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3629, allocations: 0 / 0.5259 GB, free: 15.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3629, allocations: 1.094 kB / 0.5259 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.0008468/0.3637, allocations: 0.6396 MB / 0.5265 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3638, allocations: 7.75 kB / 0.5265 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.3639, allocations: 43.94 kB / 0.5266 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.3642, allocations: 249.6 kB / 0.5268 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.3642, allocations: 24.62 kB / 0.5268 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.3643, allocations: 38.44 kB / 0.5269 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.365, allocations: 0.5749 MB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.365, allocations: 6.688 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.365, allocations: 18.88 kB / 0.5275 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3651, allocations: 11 kB / 0.5275 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.3656, allocations: 339.3 kB / 0.5278 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.3682, allocations: 4.046 MB / 0.5317 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.3685, allocations: 91.97 kB / 0.5318 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3687, allocations: 49 kB / 0.5319 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3687, allocations: 1.375 kB / 0.5319 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3687, allocations: 31.84 kB / 0.5319 GB, free: 9.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.3687, allocations: 0 / 0.5319 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005788/0.3693, allocations: 167.1 kB / 0.5321 GB, free: 9.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.3694, allocations: 51.41 kB / 0.5321 GB, free: 9.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.3698, allocations: 416.8 kB / 0.5325 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3699, allocations: 27.33 kB / 0.5325 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.37, allocations: 258.1 kB / 0.5328 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.3701, allocations: 32.61 kB / 0.5328 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3702, allocations: 69.12 kB / 0.5329 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3703, allocations: 347.2 kB / 0.5332 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.3705, allocations: 60.14 kB / 0.5333 GB, free: 8.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.3708, allocations: 261.2 kB / 0.5335 GB, free: 8.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.3714, allocations: 359.6 kB / 0.5339 GB, free: 8.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3714, allocations: 6.688 kB / 0.5339 GB, free: 8.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006326/0.372, allocations: 352 kB / 0.5342 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3721, allocations: 7.969 kB / 0.5342 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3721, allocations: 8.25 kB / 0.5342 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.3721, allocations: 10.62 kB / 0.5342 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.3726, allocations: 106.8 kB / 0.5343 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000772/0.3734, allocations: 1.223 MB / 0.5355 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.3738, allocations: 72.84 kB / 0.5356 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.3738, allocations: 18 kB / 0.5356 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.0001559/0.374, allocations: 154.3 kB / 0.5358 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.374, allocations: 43.38 kB / 0.5358 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.3745, allocations: 167.1 kB / 0.536 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3745, allocations: 1.094 kB / 0.536 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3745, allocations: 0 / 0.536 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/0.3746, allocations: 109.9 kB / 0.5361 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.3747, allocations: 5.031 kB / 0.5361 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3749, allocations: 11.3 kB / 0.5361 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.375, allocations: 8.359 kB / 0.5361 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006198/0.3756, allocations: 248.6 kB / 0.5363 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005231/0.3761, allocations: 359.2 kB / 0.5367 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001393/0.3763, allocations: 45.94 kB / 0.5367 GB, free: 5.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.3765, allocations: 273.5 kB / 0.537 GB, free: 5.594 MB / 398.1 MB Notification: Performance of Backend: time 6.71e-07/0.3766, allocations: 0 / 0.537 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.3779, allocations: 335.2 kB / 0.5373 GB, free: 5.422 MB / 398.1 MB Notification: Performance of SimCode: time 0.001204/0.3791, allocations: 0.9839 MB / 0.5383 GB, free: 4.594 MB / 398.1 MB Notification: Performance of Templates: time 0.01268/0.3918, allocations: 6.647 MB / 0.5448 GB, free: 1.363 MB / 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/jenkins1/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/jenkins1/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