Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 181.3 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007036/0.0007033, allocations: 78.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.298/0.298, allocations: 43.55 MB / 363.8 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 16 kB / 432.6 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1032, allocations: 58.85 MB / 491.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2921/0.3953, allocations: 98.62 MB / 0.5763 GB, free: 3.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.3956, allocations: 102.8 kB / 0.5764 GB, free: 3.652 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06027/0.4559, allocations: 23.53 MB / 0.5993 GB, free: 11.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.456, allocations: 0 / 0.5993 GB, free: 11.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.456, allocations: 8 kB / 0.5994 GB, free: 11.96 MB / 426.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.001062/0.4571, allocations: 0.7016 MB / 0.6 GB, free: 11.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.4571, allocations: 12.03 kB / 0.6001 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.4572, allocations: 52.28 kB / 0.6001 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.4576, allocations: 307.5 kB / 0.6004 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.4576, allocations: 53.67 kB / 0.6004 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.4577, allocations: 52.38 kB / 0.6005 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4588, allocations: 0.737 MB / 0.6012 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4588, allocations: 192 / 0.6012 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.4588, allocations: 27.92 kB / 0.6012 GB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.522e-05/0.4589, allocations: 49.28 kB / 0.6013 GB, free: 9.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.4601, allocations: 0.8014 MB / 0.6021 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.4622, allocations: 1.504 MB / 0.6035 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.4629, allocations: 459.9 kB / 0.604 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.4632, allocations: 161.2 kB / 0.6041 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.4632, allocations: 16.2 kB / 0.6042 GB, free: 6.891 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.4633, allocations: 30.8 kB / 0.6042 GB, free: 6.852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.4633, allocations: 0 / 0.6042 GB, free: 6.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001032/0.4643, allocations: 0.5544 MB / 0.6047 GB, free: 6.293 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.4644, allocations: 59.34 kB / 0.6048 GB, free: 6.223 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.465, allocations: 0.5681 MB / 0.6053 GB, free: 5.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.465, allocations: 33.7 kB / 0.6054 GB, free: 5.605 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.4652, allocations: 275.5 kB / 0.6056 GB, free: 5.332 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.4653, allocations: 102.6 kB / 0.6057 GB, free: 5.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.4653, allocations: 8 kB / 0.6057 GB, free: 5.223 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4655, allocations: 366.7 kB / 0.6061 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.4658, allocations: 188.9 kB / 0.6063 GB, free: 4.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.4663, allocations: 443.5 kB / 0.6067 GB, free: 4.129 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/0.4672, allocations: 0.6678 MB / 0.6073 GB, free: 3.348 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4672, allocations: 4 kB / 0.6073 GB, free: 3.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00107/0.4683, allocations: 0.6804 MB / 0.608 GB, free: 2.656 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4683, allocations: 15.98 kB / 0.608 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4683, allocations: 8 kB / 0.608 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4683, allocations: 12 kB / 0.608 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.4694, allocations: 239.8 kB / 0.6083 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003899/0.4733, allocations: 7.325 MB / 0.6154 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.4738, allocations: 75.27 kB / 0.6155 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.4738, allocations: 35.98 kB / 0.6155 GB, free: 10.67 MB / 442.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.0003392/0.4742, allocations: 265.6 kB / 0.6158 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.4743, allocations: 51.38 kB / 0.6158 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.4753, allocations: 0.5526 MB / 0.6164 GB, free: 9.793 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4754, allocations: 0 / 0.6164 GB, free: 9.793 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4754, allocations: 4 kB / 0.6164 GB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4754, allocations: 3.984 kB / 0.6164 GB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.4759, allocations: 429.2 kB / 0.6168 GB, free: 9.316 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4759, allocations: 0 / 0.6168 GB, free: 9.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008605/0.4768, allocations: 215.8 kB / 0.617 GB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.4768, allocations: 11.86 kB / 0.617 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.4769, allocations: 12 kB / 0.617 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003663/0.4805, allocations: 7.294 MB / 0.6241 GB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4805, allocations: 0 / 0.6241 GB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.4813, allocations: 0.5232 MB / 0.6247 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.4815, allocations: 124.5 kB / 0.6248 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.4815, allocations: 8 kB / 0.6248 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.4818, allocations: 11.98 kB / 0.6248 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.4818, allocations: 27.97 kB / 0.6248 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.4819, allocations: 15.92 kB / 0.6248 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004579/0.4823, allocations: 406.8 kB / 0.6252 GB, free: 380 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4823, allocations: 0 / 0.6252 GB, free: 380 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007514/0.4831, allocations: 191.8 kB / 0.6254 GB, free: 188 kB / 442.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.0004819/0.4836, allocations: 283 kB / 0.6257 GB, free: 15.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.4852, allocations: 0.6182 MB / 0.6263 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4852, allocations: 0 / 0.6263 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.4862, allocations: 356 kB / 0.6266 GB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.4868, allocations: 109.8 kB / 0.6267 GB, free: 14.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.4884, allocations: 1.117 MB / 0.6278 GB, free: 13.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.4888, allocations: 0.9015 MB / 0.6287 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.489, allocations: 47.41 kB / 0.6287 GB, free: 12.71 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.489, allocations: 0 / 0.6287 GB, free: 12.71 MB / 458.7 MB Notification: Performance of Templates: time 0.03229/0.5213, allocations: 32.67 MB / 0.6606 GB, free: 12.03 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches