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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 108.7 kB / 18.44 MB, free: 4.645 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.001048/0.001048, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.27/1.27, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2076/0.2076, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.301, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002806/0.3039, allocations: 2.104 MB / 0.5216 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.3059, allocations: 1.664 MB / 0.5233 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.306, allocations: 1.125 kB / 0.5233 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.3063, allocations: 93.31 kB / 0.5233 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3064, allocations: 63.78 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008059/0.3073, allocations: 348.5 kB / 0.5237 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.3074, allocations: 142.2 kB / 0.5239 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.3075, allocations: 22.22 kB / 0.5239 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.3076, allocations: 59.97 kB / 0.524 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.3077, allocations: 57.58 kB / 0.524 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3077, allocations: 3.219 kB / 0.524 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3088, allocations: 0.7655 MB / 0.5248 GB, free: 372 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.3089, allocations: 24.59 kB / 0.5248 GB, free: 360 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.3089, allocations: 76.27 kB / 0.5249 GB, free: 312 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.3096, allocations: 0.564 MB / 0.5254 GB, free: 72 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3097, allocations: 7.984 kB / 0.5254 GB, free: 64 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3097, allocations: 0 / 0.5254 GB, free: 64 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.3097, allocations: 1.219 kB / 0.5254 GB, free: 64 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006383/0.3103, allocations: 0.5063 MB / 0.5259 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3104, allocations: 9.094 kB / 0.5259 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.3104, allocations: 23.56 kB / 0.5259 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3106, allocations: 214.9 kB / 0.5261 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.3106, allocations: 15.53 kB / 0.5262 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.3107, allocations: 20.59 kB / 0.5262 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.3111, allocations: 269.4 kB / 0.5264 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3111, allocations: 1.375 kB / 0.5264 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3111, allocations: 5.375 kB / 0.5264 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.3112, allocations: 5.5 kB / 0.5264 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.3115, allocations: 163.9 kB / 0.5266 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/0.3124, allocations: 0.9003 MB / 0.5275 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3127, allocations: 63.42 kB / 0.5275 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.3128, allocations: 36.06 kB / 0.5276 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.3128, allocations: 1.375 kB / 0.5276 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3129, allocations: 31.94 kB / 0.5276 GB, free: 14.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.3129, allocations: 0 / 0.5276 GB, free: 14.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004894/0.3134, allocations: 135.2 kB / 0.5277 GB, free: 14.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.3134, allocations: 59.33 kB / 0.5278 GB, free: 13.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.3137, allocations: 262.3 kB / 0.528 GB, free: 13.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3137, allocations: 25.7 kB / 0.5281 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.3139, allocations: 185 kB / 0.5282 GB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.3139, allocations: 15.47 kB / 0.5283 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.314, allocations: 61.59 kB / 0.5283 GB, free: 13.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3142, allocations: 332.1 kB / 0.5286 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3143, allocations: 47.16 kB / 0.5287 GB, free: 13.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.3145, allocations: 186.4 kB / 0.5289 GB, free: 12.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.315, allocations: 258.2 kB / 0.5291 GB, free: 12.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.315, allocations: 1.812 kB / 0.5291 GB, free: 12.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004812/0.3155, allocations: 251.6 kB / 0.5293 GB, free: 12.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3155, allocations: 7.719 kB / 0.5294 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/0.3155, allocations: 16.88 kB / 0.5294 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3155, allocations: 10.44 kB / 0.5294 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3157, allocations: 55.19 kB / 0.5294 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.3157, allocations: 6.781 kB / 0.5294 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.316, allocations: 49.14 kB / 0.5295 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.316, allocations: 13.88 kB / 0.5295 GB, free: 12.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.3161, allocations: 137.3 kB / 0.5296 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.3161, allocations: 16.59 kB / 0.5296 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.3165, allocations: 146.8 kB / 0.5298 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.3165, allocations: 5.312 kB / 0.5298 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3166, allocations: 0 / 0.5298 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3166, allocations: 5.375 kB / 0.5298 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.3168, allocations: 212.3 kB / 0.53 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.3169, allocations: 9.156 kB / 0.53 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.3169, allocations: 8.922 kB / 0.53 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3169, allocations: 3.938 kB / 0.53 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3169, allocations: 6.719 kB / 0.53 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.317, allocations: 3.938 kB / 0.53 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.317, allocations: 0 / 0.53 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.3173, allocations: 207.8 kB / 0.5302 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.3174, allocations: 93.39 kB / 0.5303 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.3174, allocations: 5.375 kB / 0.5303 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3175, allocations: 11.83 kB / 0.5303 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.3176, allocations: 2.5 kB / 0.5303 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3176, allocations: 6.828 kB / 0.5303 GB, free: 11.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.3177, allocations: 184.5 kB / 0.5305 GB, free: 11.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3177, allocations: 0 / 0.5305 GB, free: 11.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000598/0.3184, allocations: 108.3 kB / 0.5306 GB, free: 11.56 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004012/0.3188, allocations: 192.2 kB / 0.5308 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005087/0.3193, allocations: 197.4 kB / 0.531 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3193, allocations: 0 / 0.531 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.3195, allocations: 94.62 kB / 0.5311 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3199, allocations: 24.73 kB / 0.5311 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.3205, allocations: 395.8 kB / 0.5315 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3208, allocations: 0.7288 MB / 0.5322 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3209, allocations: 22.22 kB / 0.5322 GB, free: 10.2 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3209, allocations: 0 / 0.5322 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Templates: time 0.007581/0.3285, allocations: 4.984 MB / 0.5371 GB, free: 7.621 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches