Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_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.001448/0.001449, allocations: 193.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 226.5 MB / 244.1 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007441/0.000744, allocations: 95.91 kB / 296.1 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3052/0.3052, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.000255, allocations: 12 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3013, allocations: 62.96 MB / 0.5165 GB, free: 37.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.4461, allocations: 101 MB / 0.6152 GB, free: 4.324 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/0.4465, allocations: 103.9 kB / 0.6153 GB, free: 4.223 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04108/0.4876, allocations: 11.71 MB / 0.6267 GB, free: 8.477 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4877, allocations: 4 kB / 0.6267 GB, free: 8.473 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.4877, allocations: 8 kB / 0.6267 GB, free: 8.465 MB / 442.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.0008709/0.4886, allocations: 0.585 MB / 0.6273 GB, free: 7.828 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4886, allocations: 8.031 kB / 0.6273 GB, free: 7.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.4887, allocations: 40.47 kB / 0.6273 GB, free: 7.781 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.4891, allocations: 252.3 kB / 0.6276 GB, free: 7.496 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.31e-05/0.4892, allocations: 21.38 kB / 0.6276 GB, free: 7.477 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.4893, allocations: 40.38 kB / 0.6276 GB, free: 7.438 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.4901, allocations: 0.5771 MB / 0.6282 GB, free: 6.727 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.4902, allocations: 4.125 kB / 0.6282 GB, free: 6.723 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.4902, allocations: 23.88 kB / 0.6282 GB, free: 6.699 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.4903, allocations: 12 kB / 0.6282 GB, free: 6.688 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/0.4909, allocations: 345 kB / 0.6286 GB, free: 6.352 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.4937, allocations: 4.047 MB / 0.6325 GB, free: 2.102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.4941, allocations: 106.5 kB / 0.6326 GB, free: 1.988 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.4942, allocations: 48.95 kB / 0.6327 GB, free: 1.938 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.4943, allocations: 3.938 kB / 0.6327 GB, free: 1.934 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.4943, allocations: 30.69 kB / 0.6327 GB, free: 1.895 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.023e-06/0.4943, allocations: 4 kB / 0.6327 GB, free: 1.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006016/0.4949, allocations: 185.2 kB / 0.6329 GB, free: 1.703 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.495, allocations: 55.39 kB / 0.6329 GB, free: 1.637 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.4954, allocations: 409.7 kB / 0.6333 GB, free: 1.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.4955, allocations: 25.7 kB / 0.6333 GB, free: 1.199 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.4956, allocations: 251 kB / 0.6336 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.4957, allocations: 27.64 kB / 0.6336 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.4957, allocations: 8 kB / 0.6336 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4958, allocations: 350.8 kB / 0.6339 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.496, allocations: 68.55 kB / 0.634 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.4964, allocations: 267.2 kB / 0.6343 GB, free: 132 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/0.4969, allocations: 360 kB / 0.6346 GB, free: 15.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.497, allocations: 7.938 kB / 0.6346 GB, free: 15.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007277/0.4977, allocations: 352.7 kB / 0.635 GB, free: 15.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4977, allocations: 8 kB / 0.635 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4977, allocations: 11.98 kB / 0.635 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.4978, allocations: 8 kB / 0.635 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.4982, allocations: 112.5 kB / 0.6351 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007652/0.499, allocations: 1.222 MB / 0.6363 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.4994, allocations: 63.36 kB / 0.6363 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.4994, allocations: 28.19 kB / 0.6364 GB, free: 13.82 MB / 458.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 (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.0001886/0.4996, allocations: 147.3 kB / 0.6365 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.4997, allocations: 35.53 kB / 0.6365 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.5002, allocations: 188.8 kB / 0.6367 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5003, allocations: 0 / 0.6367 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5003, allocations: 0 / 0.6367 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5003, allocations: 0 / 0.6367 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.5006, allocations: 269.5 kB / 0.637 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5007, allocations: 8 kB / 0.637 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.501, allocations: 55.91 kB / 0.637 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.501, allocations: 4 kB / 0.637 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.501, allocations: 3.938 kB / 0.6371 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007105/0.5017, allocations: 1.203 MB / 0.6382 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5017, allocations: 4.031 kB / 0.6382 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.5021, allocations: 247.1 kB / 0.6385 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.5023, allocations: 108.6 kB / 0.6386 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.5023, allocations: 3.984 kB / 0.6386 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.5025, allocations: 11.98 kB / 0.6386 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.5026, allocations: 7.938 kB / 0.6386 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.5026, allocations: 11.94 kB / 0.6386 GB, free: 11.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000299/0.5029, allocations: 267.1 kB / 0.6389 GB, free: 11.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5029, allocations: 0 / 0.6389 GB, free: 11.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007169/0.5036, allocations: 151.8 kB / 0.639 GB, free: 10.98 MB / 458.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 (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.0005376/0.5042, allocations: 265.7 kB / 0.6393 GB, free: 10.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006757/0.5049, allocations: 217.6 kB / 0.6395 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5049, allocations: 4 kB / 0.6395 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.5053, allocations: 83.91 kB / 0.6395 GB, free: 10.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.5057, allocations: 33.95 kB / 0.6396 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.5065, allocations: 0.6042 MB / 0.6402 GB, free: 9.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.5069, allocations: 0.768 MB / 0.6409 GB, free: 8.957 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.5069, allocations: 35.36 kB / 0.641 GB, free: 8.922 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.507, allocations: 0 / 0.641 GB, free: 8.922 MB / 458.7 MB Notification: Performance of Templates: time 0.01032/0.5173, allocations: 7.189 MB / 0.648 GB, free: 1.75 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches