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.001055/0.001055, allocations: 108.8 kB / 17.77 MB, free: 5.266 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.001089/0.00109, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.293/1.293, allocations: 222.9 MB / 242.4 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.2039/0.2039, allocations: 44.2 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.89 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3562, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002843/0.3591, allocations: 2.101 MB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.3613, allocations: 1.661 MB / 0.5226 GB, free: 1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.3615, allocations: 0 / 0.5226 GB, free: 1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.3618, allocations: 92.97 kB / 0.5227 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.362, allocations: 72.27 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.3628, allocations: 344.3 kB / 0.5231 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.363, allocations: 142.5 kB / 0.5232 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.363, allocations: 18.56 kB / 0.5232 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.3631, allocations: 55.31 kB / 0.5233 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.3632, allocations: 59.42 kB / 0.5233 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3633, allocations: 2.656 kB / 0.5233 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.3644, allocations: 0.7642 MB / 0.5241 GB, free: 384 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.3645, allocations: 24.98 kB / 0.5241 GB, free: 372 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.3645, allocations: 79.45 kB / 0.5242 GB, free: 320 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.3653, allocations: 0.5674 MB / 0.5247 GB, free: 76 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3653, allocations: 1.75 kB / 0.5247 GB, free: 76 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3653, allocations: 0 / 0.5247 GB, free: 76 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3653, allocations: 0 / 0.5247 GB, free: 76 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.0007646/0.3661, allocations: 0.517 MB / 0.5253 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3661, allocations: 10.19 kB / 0.5253 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.3662, allocations: 22.98 kB / 0.5253 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3664, allocations: 221.2 kB / 0.5255 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3664, allocations: 20.69 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.3664, allocations: 21.38 kB / 0.5255 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.3668, allocations: 261.8 kB / 0.5258 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3669, allocations: 0 / 0.5258 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3669, allocations: 6.75 kB / 0.5258 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3669, allocations: 5.5 kB / 0.5258 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.3672, allocations: 162.5 kB / 0.526 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009461/0.3682, allocations: 0.9098 MB / 0.5268 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3684, allocations: 61.73 kB / 0.5269 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3685, allocations: 33.22 kB / 0.5269 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.3685, allocations: 0.9062 kB / 0.5269 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.3685, allocations: 31.47 kB / 0.527 GB, free: 14.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3685, allocations: 0 / 0.527 GB, free: 14.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004229/0.369, allocations: 135 kB / 0.5271 GB, free: 14.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.369, allocations: 64.36 kB / 0.5272 GB, free: 13.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.3693, allocations: 266.5 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3693, allocations: 25.7 kB / 0.5274 GB, free: 13.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3694, allocations: 181 kB / 0.5276 GB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.3694, allocations: 18.88 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.3695, allocations: 66.73 kB / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3696, allocations: 328.6 kB / 0.528 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3698, allocations: 45.91 kB / 0.528 GB, free: 13.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.37, allocations: 186.8 kB / 0.5282 GB, free: 12.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.3703, allocations: 257.7 kB / 0.5285 GB, free: 12.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3704, allocations: 2.875 kB / 0.5285 GB, free: 12.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004608/0.3708, allocations: 254.9 kB / 0.5287 GB, free: 12.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3708, allocations: 11.56 kB / 0.5287 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.3709, allocations: 17.81 kB / 0.5287 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3709, allocations: 6.75 kB / 0.5287 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3711, allocations: 50.25 kB / 0.5288 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3711, allocations: 10.86 kB / 0.5288 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.3712, allocations: 45.41 kB / 0.5288 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3713, allocations: 17.75 kB / 0.5289 GB, free: 12.48 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.0001072/0.3714, allocations: 132.7 kB / 0.529 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.3714, allocations: 25.48 kB / 0.529 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.3718, allocations: 138.3 kB / 0.5291 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3718, allocations: 9.438 kB / 0.5292 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3718, allocations: 0 / 0.5292 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3718, allocations: 1.656 kB / 0.5292 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.372, allocations: 220 kB / 0.5294 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.3721, allocations: 9.406 kB / 0.5294 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.3721, allocations: 8.609 kB / 0.5294 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3721, allocations: 0 / 0.5294 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3721, allocations: 6.656 kB / 0.5294 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3722, allocations: 3.938 kB / 0.5294 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3722, allocations: 1.281 kB / 0.5294 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.3725, allocations: 211 kB / 0.5296 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.3725, allocations: 93.19 kB / 0.5297 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3726, allocations: 1.531 kB / 0.5297 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3727, allocations: 15.7 kB / 0.5297 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.3727, allocations: 2.75 kB / 0.5297 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.3727, allocations: 2.344 kB / 0.5297 GB, free: 11.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.3729, allocations: 189.2 kB / 0.5299 GB, free: 11.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3729, allocations: 0 / 0.5299 GB, free: 11.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005215/0.3734, allocations: 103.8 kB / 0.53 GB, free: 11.55 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.0004048/0.3738, allocations: 195.8 kB / 0.5302 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.3743, allocations: 196.8 kB / 0.5304 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3743, allocations: 0.75 kB / 0.5304 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.3745, allocations: 94.34 kB / 0.5305 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.3749, allocations: 29.16 kB / 0.5305 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.3755, allocations: 363.5 kB / 0.5308 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3758, allocations: 0.7331 MB / 0.5315 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.3759, allocations: 29.62 kB / 0.5316 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.3759, allocations: 15.72 kB / 0.5316 GB, free: 10.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3759, allocations: 0 / 0.5316 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Templates: time 0.01055/0.3865, allocations: 6.19 MB / 0.5376 GB, free: 7.152 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/jenkins/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/jenkins/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