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.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_cpp_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_cpp_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.001015/0.001015, allocations: 197.8 kB / 16.1 MB, free: 5.527 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.6 MB / 243.4 MB, free: 8.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007575/0.0007575, allocations: 95.53 kB / 295.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3059/0.3059, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002944, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2998, allocations: 62.96 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.001806/0.3017, allocations: 1.783 MB / 0.5176 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3034, allocations: 1.29 MB / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.549e-05/0.3035, allocations: 0 / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.3038, allocations: 77.14 kB / 0.519 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.3039, allocations: 51.69 kB / 0.519 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.3043, allocations: 171.6 kB / 0.5192 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.3045, allocations: 155.6 kB / 0.5193 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.3046, allocations: 15.5 kB / 0.5193 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3047, allocations: 55.38 kB / 0.5194 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.3048, allocations: 63.27 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.3048, allocations: 2.906 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.3053, allocations: 405.2 kB / 0.5198 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.3054, allocations: 25.84 kB / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.3054, allocations: 92.58 kB / 0.52 GB, free: 34.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.3057, allocations: 282.8 kB / 0.5202 GB, free: 34.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3057, allocations: 0 / 0.5202 GB, free: 34.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3057, allocations: 0 / 0.5202 GB, free: 34.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.3057, allocations: 0 / 0.5202 GB, free: 34.21 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.0005526/0.3063, allocations: 477 kB / 0.5207 GB, free: 33.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3063, allocations: 12.62 kB / 0.5207 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.3064, allocations: 24.25 kB / 0.5207 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3066, allocations: 211.1 kB / 0.5209 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.3066, allocations: 14.16 kB / 0.5209 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.3066, allocations: 23.84 kB / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.307, allocations: 206.3 kB / 0.5212 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.307, allocations: 0 / 0.5212 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.307, allocations: 10.97 kB / 0.5212 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.307, allocations: 2.969 kB / 0.5212 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.3073, allocations: 154.9 kB / 0.5213 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007388/0.308, allocations: 0.578 MB / 0.5219 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3082, allocations: 68.8 kB / 0.5219 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3083, allocations: 39.61 kB / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3084, allocations: 6.547 kB / 0.522 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.3084, allocations: 33.8 kB / 0.522 GB, free: 32.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.3084, allocations: 0 / 0.522 GB, free: 32.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000419/0.3088, allocations: 153.6 kB / 0.5222 GB, free: 32.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.3089, allocations: 51.41 kB / 0.5222 GB, free: 32.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3091, allocations: 259.9 kB / 0.5225 GB, free: 32.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3091, allocations: 25.7 kB / 0.5225 GB, free: 32.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.3092, allocations: 166.5 kB / 0.5226 GB, free: 32.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.3092, allocations: 17.61 kB / 0.5227 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.3093, allocations: 4 kB / 0.5227 GB, free: 32.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.3093, allocations: 335.8 kB / 0.523 GB, free: 32.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3095, allocations: 39.64 kB / 0.523 GB, free: 32.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.3096, allocations: 139.9 kB / 0.5232 GB, free: 31.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.31, allocations: 189.7 kB / 0.5233 GB, free: 31.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.31, allocations: 4 kB / 0.5233 GB, free: 31.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004213/0.3104, allocations: 211.5 kB / 0.5235 GB, free: 31.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.3104, allocations: 5.469 kB / 0.5236 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/0.3105, allocations: 16.16 kB / 0.5236 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.3105, allocations: 7.219 kB / 0.5236 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3107, allocations: 35.02 kB / 0.5236 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3107, allocations: 9.375 kB / 0.5236 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3108, allocations: 36.45 kB / 0.5237 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3109, allocations: 14.5 kB / 0.5237 GB, free: 31.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.311, allocations: 129 kB / 0.5238 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.3111, allocations: 20 kB / 0.5238 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.3115, allocations: 150 kB / 0.5239 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3115, allocations: 2.344 kB / 0.524 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3115, allocations: 0 / 0.524 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3115, allocations: 0 / 0.524 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3117, allocations: 221 kB / 0.5242 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.3117, allocations: 8.25 kB / 0.5242 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.3118, allocations: 12.88 kB / 0.5242 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3118, allocations: 2.625 kB / 0.5242 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3118, allocations: 4 kB / 0.5242 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3118, allocations: 3 kB / 0.5242 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3118, allocations: 4.125 kB / 0.5242 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.3121, allocations: 225.1 kB / 0.5244 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.3122, allocations: 98.02 kB / 0.5245 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.3122, allocations: 0 / 0.5245 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.3123, allocations: 9.094 kB / 0.5245 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.3123, allocations: 2.844 kB / 0.5245 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3123, allocations: 6.844 kB / 0.5245 GB, free: 30.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.3125, allocations: 184.2 kB / 0.5247 GB, free: 30.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3125, allocations: 0 / 0.5247 GB, free: 30.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.3129, allocations: 70.31 kB / 0.5248 GB, free: 30.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002847/0.3132, allocations: 172.4 kB / 0.5249 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000399/0.3136, allocations: 180.8 kB / 0.5251 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3136, allocations: 0 / 0.5251 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.3138, allocations: 105.2 kB / 0.5252 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3141, allocations: 29.94 kB / 0.5252 GB, free: 30.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.3147, allocations: 451.1 kB / 0.5257 GB, free: 30.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.3149, allocations: 0.7279 MB / 0.5264 GB, free: 29.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.3149, allocations: 20.03 kB / 0.5264 GB, free: 29.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3149, allocations: 0 / 0.5264 GB, free: 29.5 MB / 378.7 MB Notification: Performance of Templates: time 0.005122/0.32, allocations: 4.409 MB / 0.5307 GB, free: 29.15 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches