Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001093, allocations: 200.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 226.5 MB / 243.4 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009473/0.0009473, allocations: 94.95 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3006/0.3006, allocations: 44.83 MB / 392.3 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002633, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3016, allocations: 62.96 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00223/0.3039, allocations: 1.838 MB / 0.5177 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3052, allocations: 1.011 MB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3053, allocations: 0 / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.3056, allocations: 76.17 kB / 0.5187 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.3058, allocations: 80.73 kB / 0.5188 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.3061, allocations: 90.8 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.3062, allocations: 172.1 kB / 0.5191 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.3063, allocations: 18.8 kB / 0.5191 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3065, allocations: 67.44 kB / 0.5192 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3066, allocations: 87.58 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.3066, allocations: 3 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.307, allocations: 255.7 kB / 0.5195 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.307, allocations: 25.56 kB / 0.5195 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.3071, allocations: 101.2 kB / 0.5196 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.3073, allocations: 223.2 kB / 0.5198 GB, free: 34.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3074, allocations: 0 / 0.5198 GB, free: 34.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3074, allocations: 0 / 0.5198 GB, free: 34.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3074, allocations: 0 / 0.5198 GB, free: 34.71 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004821/0.3079, allocations: 469.5 kB / 0.5203 GB, free: 34.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3079, allocations: 10.12 kB / 0.5203 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.3079, allocations: 25.59 kB / 0.5203 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3081, allocations: 213.7 kB / 0.5205 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3081, allocations: 16.66 kB / 0.5205 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.3082, allocations: 25.88 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.3085, allocations: 237.1 kB / 0.5208 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3086, allocations: 3.234 kB / 0.5208 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.3086, allocations: 11 kB / 0.5208 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3086, allocations: 3.062 kB / 0.5208 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.309, allocations: 257.7 kB / 0.521 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/0.3098, allocations: 0.6194 MB / 0.5216 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.31, allocations: 107.4 kB / 0.5217 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.3102, allocations: 48.62 kB / 0.5218 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.3102, allocations: 0 / 0.5218 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3102, allocations: 33.53 kB / 0.5218 GB, free: 33.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.525e-06/0.3102, allocations: 4 kB / 0.5218 GB, free: 33.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005452/0.3108, allocations: 183.1 kB / 0.522 GB, free: 33.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3108, allocations: 51.41 kB / 0.522 GB, free: 33.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.3111, allocations: 272.3 kB / 0.5223 GB, free: 32.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3111, allocations: 25.7 kB / 0.5223 GB, free: 32.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.3112, allocations: 169.3 kB / 0.5225 GB, free: 32.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3112, allocations: 32.78 kB / 0.5225 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.3112, allocations: 4 kB / 0.5225 GB, free: 32.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.3113, allocations: 339.2 kB / 0.5229 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3115, allocations: 54.97 kB / 0.5229 GB, free: 32.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.3117, allocations: 159.5 kB / 0.5231 GB, free: 32.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.312, allocations: 209.8 kB / 0.5233 GB, free: 32.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.312, allocations: 2.875 kB / 0.5233 GB, free: 32.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004287/0.3124, allocations: 247.1 kB / 0.5235 GB, free: 32.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3125, allocations: 12.16 kB / 0.5235 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3125, allocations: 2.719 kB / 0.5235 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.3125, allocations: 3.25 kB / 0.5235 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.3129, allocations: 90.52 kB / 0.5236 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004748/0.3134, allocations: 1.216 MB / 0.5248 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3136, allocations: 45.06 kB / 0.5248 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.3136, allocations: 17.94 kB / 0.5248 GB, free: 30.79 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.3137, allocations: 132.6 kB / 0.525 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.3138, allocations: 23.53 kB / 0.525 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.3142, allocations: 187.5 kB / 0.5252 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3142, allocations: 0 / 0.5252 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3142, allocations: 0 / 0.5252 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3142, allocations: 2.906 kB / 0.5252 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.3148, allocations: 462.3 kB / 0.5256 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3148, allocations: 0 / 0.5256 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.315, allocations: 62.42 kB / 0.5257 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.315, allocations: 0 / 0.5257 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.315, allocations: 7.094 kB / 0.5257 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000369/0.3154, allocations: 1.209 MB / 0.5269 GB, free: 28.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3154, allocations: 7.062 kB / 0.5269 GB, free: 28.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3157, allocations: 262.2 kB / 0.5271 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.3158, allocations: 98.44 kB / 0.5272 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3158, allocations: 2.938 kB / 0.5272 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.316, allocations: 9.812 kB / 0.5272 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.316, allocations: 10.88 kB / 0.5272 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.316, allocations: 3.469 kB / 0.5272 GB, free: 28.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3162, allocations: 185.5 kB / 0.5274 GB, free: 28.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3162, allocations: 0 / 0.5274 GB, free: 28.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000356/0.3165, allocations: 71.53 kB / 0.5275 GB, free: 28.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002323/0.3168, allocations: 136.2 kB / 0.5276 GB, free: 28.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000503/0.3173, allocations: 182.8 kB / 0.5278 GB, free: 28.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3173, allocations: 256 / 0.5278 GB, free: 28.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.3176, allocations: 96.34 kB / 0.5279 GB, free: 28.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.318, allocations: 30.52 kB / 0.5279 GB, free: 28.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.3187, allocations: 497.2 kB / 0.5284 GB, free: 28.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.3188, allocations: 0.7297 MB / 0.5291 GB, free: 27.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.3189, allocations: 18.5 kB / 0.5291 GB, free: 27.34 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3189, allocations: 0 / 0.5291 GB, free: 27.34 MB / 378.7 MB Notification: Performance of Templates: time 0.005201/0.3241, allocations: 4.344 MB / 0.5334 GB, free: 27.02 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches