Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009542/0.0009541, allocations: 109.5 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3162/0.3162, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3, allocations: 62.02 MB / 0.5152 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002765/0.3028, allocations: 2.18 MB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3043, allocations: 1.431 MB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.795e-05/0.3044, allocations: 0 / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.3046, allocations: 81.7 kB / 0.5188 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3048, allocations: 54.53 kB / 0.5188 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.3052, allocations: 183.3 kB / 0.519 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3053, allocations: 162 kB / 0.5192 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.3054, allocations: 16.53 kB / 0.5192 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3055, allocations: 65.39 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.3056, allocations: 59.12 kB / 0.5193 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3056, allocations: 2.625 kB / 0.5193 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.3061, allocations: 433.4 kB / 0.5197 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.3062, allocations: 18.19 kB / 0.5197 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.3062, allocations: 78.39 kB / 0.5198 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.3066, allocations: 428.8 kB / 0.5202 GB, free: 34.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3066, allocations: 0 / 0.5202 GB, free: 34.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3067, allocations: 3.938 kB / 0.5202 GB, free: 34.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3067, allocations: 0 / 0.5202 GB, free: 34.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000489/0.3072, allocations: 0.4971 MB / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.3072, allocations: 8.781 kB / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.3072, allocations: 24.06 kB / 0.5207 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3074, allocations: 213.9 kB / 0.5209 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3074, allocations: 18.16 kB / 0.521 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3074, allocations: 19.44 kB / 0.521 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.3077, allocations: 204.8 kB / 0.5212 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3078, allocations: 7.938 kB / 0.5212 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3078, allocations: 10.42 kB / 0.5212 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3078, allocations: 2.812 kB / 0.5212 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.308, allocations: 144.4 kB / 0.5213 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.3087, allocations: 0.5824 MB / 0.5219 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.3089, allocations: 70.39 kB / 0.522 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.965e-05/0.309, allocations: 28.05 kB / 0.522 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.3091, allocations: 5.938 kB / 0.522 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.3091, allocations: 30.56 kB / 0.522 GB, free: 33.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.3091, allocations: 0 / 0.522 GB, free: 33.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004026/0.3095, allocations: 141.1 kB / 0.5222 GB, free: 33.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.3095, allocations: 51.41 kB / 0.5222 GB, free: 33.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3097, allocations: 255.9 kB / 0.5224 GB, free: 32.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.3097, allocations: 25.7 kB / 0.5225 GB, free: 32.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.3098, allocations: 172.1 kB / 0.5226 GB, free: 32.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.3098, allocations: 14.66 kB / 0.5227 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.3099, allocations: 35.94 kB / 0.5227 GB, free: 32.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.3099, allocations: 338.8 kB / 0.523 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.31, allocations: 37.73 kB / 0.523 GB, free: 32.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3102, allocations: 132.3 kB / 0.5232 GB, free: 32.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.3104, allocations: 184.3 kB / 0.5233 GB, free: 32.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3104, allocations: 2.594 kB / 0.5233 GB, free: 32.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003448/0.3108, allocations: 199 kB / 0.5235 GB, free: 32.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3108, allocations: 8.219 kB / 0.5235 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.3108, allocations: 12.72 kB / 0.5236 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3109, allocations: 5.25 kB / 0.5236 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.311, allocations: 28.31 kB / 0.5236 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.311, allocations: 8.359 kB / 0.5236 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.3111, allocations: 32.84 kB / 0.5236 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3111, allocations: 11.42 kB / 0.5236 GB, free: 32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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 (17): * Single equations (assignments): 15 * 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 7.648e-05/0.3112, allocations: 137.9 kB / 0.5238 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.3113, allocations: 22.41 kB / 0.5238 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.3116, allocations: 134.1 kB / 0.5239 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3116, allocations: 6.281 kB / 0.5239 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3116, allocations: 0 / 0.5239 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3116, allocations: 0 / 0.5239 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.3118, allocations: 227.6 kB / 0.5241 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.3118, allocations: 17.75 kB / 0.5242 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.3119, allocations: 2.594 kB / 0.5242 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3119, allocations: 2.812 kB / 0.5242 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3119, allocations: 0 / 0.5242 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3119, allocations: 6.719 kB / 0.5242 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3119, allocations: 3.328 kB / 0.5242 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.3124, allocations: 0.8128 MB / 0.525 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.3124, allocations: 90.64 kB / 0.5251 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3125, allocations: 0 / 0.5251 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3126, allocations: 9.594 kB / 0.5251 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3126, allocations: 12.61 kB / 0.5251 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3126, allocations: 6.562 kB / 0.5251 GB, free: 30.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.3128, allocations: 180.7 kB / 0.5253 GB, free: 30.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3128, allocations: 0 / 0.5253 GB, free: 30.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004344/0.3132, allocations: 73.7 kB / 0.5253 GB, free: 30.56 MB / 378.7 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.000261/0.3135, allocations: 162.4 kB / 0.5255 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.3139, allocations: 172.2 kB / 0.5256 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3139, allocations: 0 / 0.5256 GB, free: 30.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.3141, allocations: 104.5 kB / 0.5257 GB, free: 30.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.3144, allocations: 24.83 kB / 0.5258 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.315, allocations: 0.5133 MB / 0.5263 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.3151, allocations: 0.7312 MB / 0.527 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.923e-05/0.3152, allocations: 26.06 kB / 0.527 GB, free: 29.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.3152, allocations: 15.03 kB / 0.527 GB, free: 29.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3152, allocations: 0 / 0.527 GB, free: 29.16 MB / 378.7 MB Notification: Performance of Templates: time 0.006333/0.3216, allocations: 4.087 MB / 0.531 GB, free: 28.87 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches