Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, 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.283/1.283, 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.0009605/0.0009605, allocations: 97.7 kB / 296.7 MB, free: 6.422 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3344/0.3344, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3016, allocations: 62.02 MB / 0.5152 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.00334/0.305, allocations: 2.74 MB / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.307, allocations: 1.566 MB / 0.5194 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.3071, allocations: 0 / 0.5194 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.3075, allocations: 103.8 kB / 0.5195 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.3078, allocations: 112.3 kB / 0.5196 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.3083, allocations: 212.8 kB / 0.5198 GB, free: 34.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.3085, allocations: 285.2 kB / 0.5201 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.499e-05/0.3085, allocations: 27.39 kB / 0.5201 GB, free: 34.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.3086, allocations: 98.14 kB / 0.5202 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.3088, allocations: 121.8 kB / 0.5203 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.3088, allocations: 5.875 kB / 0.5203 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007687/0.3096, allocations: 0.6039 MB / 0.5209 GB, free: 34.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.3097, allocations: 44.55 kB / 0.5209 GB, free: 34.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.526e-05/0.3098, allocations: 131.9 kB / 0.5211 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.3103, allocations: 0.5498 MB / 0.5216 GB, free: 33.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3103, allocations: 0 / 0.5216 GB, free: 33.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3103, allocations: 0 / 0.5216 GB, free: 33.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3103, allocations: 0 / 0.5216 GB, free: 33.7 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000634/0.3109, allocations: 0.6231 MB / 0.5222 GB, free: 33.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.311, allocations: 14.03 kB / 0.5222 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.311, allocations: 38.22 kB / 0.5223 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.3112, allocations: 248.6 kB / 0.5225 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3113, allocations: 26.62 kB / 0.5225 GB, free: 32.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.3113, allocations: 43.84 kB / 0.5226 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.3118, allocations: 0.5739 MB / 0.5231 GB, free: 32.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3119, allocations: 6.688 kB / 0.5231 GB, free: 32.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.3119, allocations: 17.41 kB / 0.5231 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3119, allocations: 17.03 kB / 0.5232 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.3124, allocations: 323.5 kB / 0.5235 GB, free: 32.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3139, allocations: 4.059 MB / 0.5274 GB, free: 28.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.3142, allocations: 85.23 kB / 0.5275 GB, free: 28.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3143, allocations: 38.27 kB / 0.5275 GB, free: 28.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3143, allocations: 2.531 kB / 0.5275 GB, free: 28.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.3143, allocations: 38.5 kB / 0.5276 GB, free: 28.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.3144, allocations: 0 / 0.5276 GB, free: 28.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004651/0.3148, allocations: 170.6 kB / 0.5277 GB, free: 28.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.3149, allocations: 51.41 kB / 0.5278 GB, free: 28.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.3152, allocations: 410.4 kB / 0.5282 GB, free: 27.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.3152, allocations: 29.64 kB / 0.5282 GB, free: 27.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3153, allocations: 248.7 kB / 0.5285 GB, free: 27.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.3153, allocations: 28.22 kB / 0.5285 GB, free: 27.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.3154, allocations: 73.53 kB / 0.5286 GB, free: 27.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.3155, allocations: 352.1 kB / 0.5289 GB, free: 27.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3156, allocations: 56.59 kB / 0.5289 GB, free: 27.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3158, allocations: 261.4 kB / 0.5292 GB, free: 26.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.3162, allocations: 353.4 kB / 0.5295 GB, free: 26.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3162, allocations: 2.812 kB / 0.5295 GB, free: 26.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005108/0.3167, allocations: 351.2 kB / 0.5299 GB, free: 26.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3168, allocations: 7.125 kB / 0.5299 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3168, allocations: 7.625 kB / 0.5299 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.3168, allocations: 13.89 kB / 0.5299 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.3172, allocations: 108.8 kB / 0.53 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004606/0.3177, allocations: 1.222 MB / 0.5312 GB, free: 25.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.318, allocations: 67.05 kB / 0.5313 GB, free: 25.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.318, allocations: 29.72 kB / 0.5313 GB, free: 25.23 MB / 378.7 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.0001039/0.3181, allocations: 152.6 kB / 0.5314 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.3182, allocations: 37.81 kB / 0.5315 GB, free: 25.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.3186, allocations: 170.4 kB / 0.5316 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3186, allocations: 3.141 kB / 0.5316 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3186, allocations: 6.75 kB / 0.5316 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3186, allocations: 0 / 0.5316 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.3188, allocations: 275.5 kB / 0.5319 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3188, allocations: 6.688 kB / 0.5319 GB, free: 24.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3191, allocations: 49.83 kB / 0.532 GB, free: 24.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3191, allocations: 0 / 0.532 GB, free: 24.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3191, allocations: 6.875 kB / 0.532 GB, free: 24.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003466/0.3195, allocations: 1.206 MB / 0.5331 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3195, allocations: 0 / 0.5331 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.3201, allocations: 0.8864 MB / 0.534 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.3202, allocations: 108.8 kB / 0.5341 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/0.3202, allocations: 2.969 kB / 0.5341 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.3204, allocations: 6.375 kB / 0.5341 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.3204, allocations: 10.14 kB / 0.5341 GB, free: 22.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3205, allocations: 2.938 kB / 0.5341 GB, free: 22.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.3207, allocations: 275.4 kB / 0.5344 GB, free: 22.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3207, allocations: 0 / 0.5344 GB, free: 22.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005833/0.3213, allocations: 122.1 kB / 0.5345 GB, free: 22.46 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 (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.0003444/0.3216, allocations: 179.9 kB / 0.5347 GB, free: 22.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.3221, allocations: 203.3 kB / 0.5349 GB, free: 22.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3221, allocations: 384 / 0.5349 GB, free: 22.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.3224, allocations: 83.75 kB / 0.535 GB, free: 22.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3228, allocations: 42.17 kB / 0.535 GB, free: 22.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008706/0.3237, allocations: 0.7039 MB / 0.5357 GB, free: 21.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.3239, allocations: 0.7733 MB / 0.5364 GB, free: 21.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.324, allocations: 34.55 kB / 0.5365 GB, free: 21.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.3241, allocations: 24.66 kB / 0.5365 GB, free: 21.05 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3241, allocations: 0 / 0.5365 GB, free: 21.05 MB / 378.7 MB Notification: Performance of Templates: time 0.01226/0.3363, allocations: 6.203 MB / 0.5425 GB, free: 20.74 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches