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.001026/0.001026, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001158/0.001158, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.29/1.29, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2018/0.2018, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.83 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3384, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004216/0.3427, allocations: 2.674 MB / 0.5222 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.3454, allocations: 1.426 MB / 0.5236 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.3457, allocations: 2.281 kB / 0.5236 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.3462, allocations: 119.5 kB / 0.5237 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006164/0.3468, allocations: 134.3 kB / 0.5239 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3479, allocations: 260.5 kB / 0.5241 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.3484, allocations: 275.3 kB / 0.5244 GB, free: 364 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.3485, allocations: 30.5 kB / 0.5244 GB, free: 348 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.3487, allocations: 101.5 kB / 0.5245 GB, free: 296 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.349, allocations: 117.4 kB / 0.5246 GB, free: 240 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.349, allocations: 7.094 kB / 0.5246 GB, free: 240 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.3504, allocations: 0.5844 MB / 0.5252 GB, free: 56 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.3505, allocations: 50.41 kB / 0.5252 GB, free: 20 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.3507, allocations: 130.4 kB / 0.5254 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.3518, allocations: 0.5365 MB / 0.5259 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3518, allocations: 0.6094 kB / 0.5259 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3518, allocations: 4 kB / 0.5259 GB, free: 15.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.3519, allocations: 0 / 0.5259 GB, free: 15.7 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.001165/0.353, allocations: 0.622 MB / 0.5265 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3531, allocations: 8.812 kB / 0.5265 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.3532, allocations: 39.69 kB / 0.5265 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.3535, allocations: 246.5 kB / 0.5268 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.3536, allocations: 27.75 kB / 0.5268 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.3536, allocations: 39.25 kB / 0.5268 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.3544, allocations: 0.5823 MB / 0.5274 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3544, allocations: 5.438 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.3545, allocations: 15.47 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.3545, allocations: 11.53 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.3551, allocations: 334.6 kB / 0.5278 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.3579, allocations: 4.042 MB / 0.5317 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.3581, allocations: 95.41 kB / 0.5318 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.3583, allocations: 33.66 kB / 0.5318 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.3583, allocations: 13.25 kB / 0.5318 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3584, allocations: 30.56 kB / 0.5319 GB, free: 9.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3584, allocations: 1.625 kB / 0.5319 GB, free: 9.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005597/0.3589, allocations: 165.9 kB / 0.532 GB, free: 9.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.359, allocations: 52.34 kB / 0.5321 GB, free: 9.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.3595, allocations: 413 kB / 0.5325 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3595, allocations: 27.52 kB / 0.5325 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.3597, allocations: 249 kB / 0.5327 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.3597, allocations: 28.83 kB / 0.5328 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3598, allocations: 73.55 kB / 0.5328 GB, free: 9.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.36, allocations: 354.4 kB / 0.5332 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.3602, allocations: 56.36 kB / 0.5332 GB, free: 8.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.3605, allocations: 260.8 kB / 0.5335 GB, free: 8.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.361, allocations: 356 kB / 0.5338 GB, free: 8.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.361, allocations: 6.031 kB / 0.5338 GB, free: 8.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006867/0.3617, allocations: 352.3 kB / 0.5342 GB, free: 7.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3617, allocations: 13.06 kB / 0.5342 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3618, allocations: 7.094 kB / 0.5342 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.3618, allocations: 10.28 kB / 0.5342 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.3623, allocations: 106.1 kB / 0.5343 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007198/0.363, allocations: 1.22 MB / 0.5355 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.3634, allocations: 69.09 kB / 0.5355 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.3634, allocations: 18.12 kB / 0.5356 GB, free: 6.699 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.0001638/0.3636, allocations: 158.2 kB / 0.5357 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.3636, allocations: 35.16 kB / 0.5357 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.3641, allocations: 175 kB / 0.5359 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.3641, allocations: 5.125 kB / 0.5359 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3641, allocations: 0 / 0.5359 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3641, allocations: 0.9375 kB / 0.5359 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.3645, allocations: 271.2 kB / 0.5362 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3645, allocations: 7.938 kB / 0.5362 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.3648, allocations: 61.38 kB / 0.5362 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3648, allocations: 3.938 kB / 0.5362 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3648, allocations: 2.5 kB / 0.5363 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006433/0.3655, allocations: 1.204 MB / 0.5374 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3655, allocations: 0 / 0.5374 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.3658, allocations: 235.8 kB / 0.5377 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.366, allocations: 108.8 kB / 0.5378 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.366, allocations: 5.312 kB / 0.5378 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3662, allocations: 11.08 kB / 0.5378 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.3663, allocations: 8.562 kB / 0.5378 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3663, allocations: 2.719 kB / 0.5378 GB, free: 4.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002805/0.3666, allocations: 276.3 kB / 0.538 GB, free: 4.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3666, allocations: 0 / 0.538 GB, free: 4.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006807/0.3673, allocations: 110.1 kB / 0.5382 GB, free: 4.418 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.0005056/0.3678, allocations: 164.7 kB / 0.5383 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.3684, allocations: 214.6 kB / 0.5385 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3684, allocations: 0 / 0.5385 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.3687, allocations: 78.2 kB / 0.5386 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.3691, allocations: 41.88 kB / 0.5386 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009602/0.3701, allocations: 0.517 MB / 0.5391 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3705, allocations: 0.7705 MB / 0.5399 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.3705, allocations: 29.19 kB / 0.5399 GB, free: 3.055 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3705, allocations: 4 kB / 0.5399 GB, free: 3.051 MB / 398.1 MB Notification: Performance of Templates: time 0.0114/0.382, allocations: 6.672 MB / 0.5464 GB, free: 15.54 MB / 414.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