Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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.StraightPipe.kc_overall_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 197.5 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 244.1 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007518/0.0007517, allocations: 99.34 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2995/0.2995, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 8 kB / 465.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3152, allocations: 62.95 MB / 0.5165 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4264, allocations: 100.6 MB / 0.6148 GB, free: 4.703 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.4267, allocations: 110.5 kB / 0.6149 GB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06447/0.4912, allocations: 24.09 MB / 0.6384 GB, free: 12.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4912, allocations: 0 / 0.6384 GB, free: 12.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.4913, allocations: 8 kB / 0.6384 GB, free: 12.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001175/0.4924, allocations: 0.7059 MB / 0.6391 GB, free: 11.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4925, allocations: 12.03 kB / 0.6391 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.466e-05/0.4926, allocations: 52.28 kB / 0.6392 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.493, allocations: 311.5 kB / 0.6394 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.493, allocations: 41.69 kB / 0.6395 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.149e-05/0.4931, allocations: 56.38 kB / 0.6395 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.4942, allocations: 0.7409 MB / 0.6403 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4943, allocations: 4.188 kB / 0.6403 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/0.4943, allocations: 31.91 kB / 0.6403 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.4944, allocations: 45.3 kB / 0.6403 GB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.4955, allocations: 0.8013 MB / 0.6411 GB, free: 9.418 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.4976, allocations: 1.504 MB / 0.6426 GB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.4983, allocations: 464.3 kB / 0.643 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.4986, allocations: 157.2 kB / 0.6432 GB, free: 7.238 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.4986, allocations: 8.219 kB / 0.6432 GB, free: 7.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4987, allocations: 46.72 kB / 0.6432 GB, free: 7.176 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.4987, allocations: 0 / 0.6432 GB, free: 7.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.001014/0.4997, allocations: 0.5493 MB / 0.6438 GB, free: 6.621 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.4997, allocations: 55.41 kB / 0.6438 GB, free: 6.555 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.5003, allocations: 0.5759 MB / 0.6444 GB, free: 5.969 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.5004, allocations: 29.7 kB / 0.6444 GB, free: 5.934 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.5005, allocations: 275.4 kB / 0.6447 GB, free: 5.656 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.5006, allocations: 106.6 kB / 0.6448 GB, free: 5.551 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.5006, allocations: 8 kB / 0.6448 GB, free: 5.543 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5008, allocations: 362.7 kB / 0.6451 GB, free: 5.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.5011, allocations: 196.9 kB / 0.6453 GB, free: 4.988 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.5016, allocations: 429.1 kB / 0.6457 GB, free: 4.457 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008229/0.5024, allocations: 0.6717 MB / 0.6464 GB, free: 3.672 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5024, allocations: 4 kB / 0.6464 GB, free: 3.668 MB / 458.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001027/0.5034, allocations: 0.676 MB / 0.6471 GB, free: 2.984 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5035, allocations: 12 kB / 0.6471 GB, free: 2.973 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5035, allocations: 8 kB / 0.6471 GB, free: 2.965 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.5035, allocations: 8 kB / 0.6471 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.5046, allocations: 252.5 kB / 0.6473 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/0.5081, allocations: 7.313 MB / 0.6545 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.5085, allocations: 79.55 kB / 0.6545 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.5086, allocations: 35.98 kB / 0.6546 GB, free: 11 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000321/0.5089, allocations: 264.1 kB / 0.6548 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.509, allocations: 51.38 kB / 0.6549 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.5101, allocations: 0.5565 MB / 0.6554 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.5101, allocations: 0 / 0.6554 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.5101, allocations: 4 kB / 0.6554 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5101, allocations: 4 kB / 0.6554 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.5106, allocations: 437.2 kB / 0.6558 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5106, allocations: 3.938 kB / 0.6558 GB, free: 9.633 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008298/0.5115, allocations: 211.8 kB / 0.656 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.5115, allocations: 3.938 kB / 0.6561 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.5115, allocations: 11.98 kB / 0.6561 GB, free: 9.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/0.5149, allocations: 7.298 MB / 0.6632 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5149, allocations: 0 / 0.6632 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/0.5157, allocations: 0.5234 MB / 0.6637 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.5159, allocations: 124.5 kB / 0.6638 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.516, allocations: 4 kB / 0.6638 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.5162, allocations: 11.98 kB / 0.6638 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.5163, allocations: 27.97 kB / 0.6639 GB, free: 1.109 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.5164, allocations: 23.92 kB / 0.6639 GB, free: 1.086 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004857/0.5169, allocations: 406.8 kB / 0.6643 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5169, allocations: 0 / 0.6643 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008831/0.5178, allocations: 203.7 kB / 0.6645 GB, free: 0.4922 MB / 474.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005942/0.5184, allocations: 282.8 kB / 0.6647 GB, free: 212 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.52, allocations: 0.6224 MB / 0.6653 GB, free: 15.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.52, allocations: 0 / 0.6653 GB, free: 15.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000997/0.521, allocations: 359.7 kB / 0.6657 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.5216, allocations: 109.8 kB / 0.6658 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.5231, allocations: 1.12 MB / 0.6669 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.5236, allocations: 0.8937 MB / 0.6678 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.5237, allocations: 51.42 kB / 0.6678 GB, free: 13.01 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5237, allocations: 0 / 0.6678 GB, free: 13.01 MB / 490.7 MB Notification: Performance of Templates: time 0.2521/0.7758, allocations: 32.79 MB / 0.6998 GB, free: 129.6 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches