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.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,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001528, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.966/1.966, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001134/0.001134, allocations: 96.3 kB / 270.9 MB, free: 8.383 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.5319/0.5319, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004943, allocations: 8 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1505, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4966/0.6471, allocations: 99.31 MB / 0.5757 GB, free: 3.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/0.6476, allocations: 95.94 kB / 0.5758 GB, free: 3.141 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1125/0.7601, allocations: 24.17 MB / 0.5994 GB, free: 10.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.7602, allocations: 0 / 0.5994 GB, free: 10.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.7602, allocations: 7.938 kB / 0.5994 GB, free: 10.82 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001783/0.762, allocations: 0.7677 MB / 0.6002 GB, free: 10 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.7621, allocations: 12.02 kB / 0.6002 GB, free: 9.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.7623, allocations: 54.78 kB / 0.6002 GB, free: 9.941 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.7629, allocations: 306.4 kB / 0.6005 GB, free: 9.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.763, allocations: 41.31 kB / 0.6006 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.7631, allocations: 52 kB / 0.6006 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.7652, allocations: 0.7735 MB / 0.6014 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.7653, allocations: 0 / 0.6014 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/0.7654, allocations: 25.03 kB / 0.6014 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.209e-05/0.7654, allocations: 29.31 kB / 0.6014 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.7673, allocations: 0.571 MB / 0.602 GB, free: 8.098 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.7711, allocations: 1.708 MB / 0.6037 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.7722, allocations: 315.5 kB / 0.604 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.847e-05/0.7723, allocations: 12.12 kB / 0.604 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.7724, allocations: 38.5 kB / 0.604 GB, free: 5.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.417e-06/0.7724, allocations: 4 kB / 0.604 GB, free: 5.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002424/0.7748, allocations: 0.7634 MB / 0.6048 GB, free: 5.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.7749, allocations: 118.8 kB / 0.6049 GB, free: 4.961 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.7761, allocations: 0.5603 MB / 0.6054 GB, free: 4.395 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.7761, allocations: 29.7 kB / 0.6054 GB, free: 4.359 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.7764, allocations: 322.1 kB / 0.6058 GB, free: 4.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.7766, allocations: 75 kB / 0.6058 GB, free: 3.969 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.7766, allocations: 8 kB / 0.6058 GB, free: 3.961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.7768, allocations: 338.8 kB / 0.6062 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007878/0.7776, allocations: 200.9 kB / 0.6063 GB, free: 3.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009666/0.7786, allocations: 477.4 kB / 0.6068 GB, free: 2.836 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/0.7795, allocations: 274.5 kB / 0.6071 GB, free: 2.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.7795, allocations: 4 kB / 0.6071 GB, free: 2.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002223/0.7818, allocations: 0.6805 MB / 0.6077 GB, free: 1.879 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.7818, allocations: 8 kB / 0.6077 GB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.782, allocations: 51.95 kB / 0.6078 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/0.782, allocations: 12.56 kB / 0.6078 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.7825, allocations: 79.83 kB / 0.6079 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.887e-05/0.7826, allocations: 23.88 kB / 0.6079 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007592/0.7834, allocations: 91.2 kB / 0.608 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.7835, allocations: 35.98 kB / 0.608 GB, free: 1.582 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.000464/0.7839, allocations: 257.5 kB / 0.6083 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.7841, allocations: 47.42 kB / 0.6083 GB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.7859, allocations: 497.3 kB / 0.6088 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.7859, allocations: 4 kB / 0.6088 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7859, allocations: 0 / 0.6088 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.7859, allocations: 11.94 kB / 0.6088 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.7869, allocations: 405.2 kB / 0.6092 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001224/0.7871, allocations: 39.95 kB / 0.6092 GB, free: 288 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.7874, allocations: 35.97 kB / 0.6093 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.7874, allocations: 0 / 0.6093 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.7874, allocations: 11.94 kB / 0.6093 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.7874, allocations: 4 kB / 0.6093 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7875, allocations: 0 / 0.6093 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.7892, allocations: 0.6717 MB / 0.6099 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.7894, allocations: 132.4 kB / 0.6101 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.7896, allocations: 4 kB / 0.6101 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.7901, allocations: 27.97 kB / 0.6101 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.7903, allocations: 23.98 kB / 0.6101 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.7903, allocations: 11.98 kB / 0.6101 GB, free: 15.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008677/0.7912, allocations: 442.7 kB / 0.6105 GB, free: 14.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.7912, allocations: 0 / 0.6105 GB, free: 14.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001346/0.7926, allocations: 203.9 kB / 0.6107 GB, free: 14.69 MB / 442.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.000822/0.7934, allocations: 294.2 kB / 0.611 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.7956, allocations: 0.7678 MB / 0.6118 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/0.7957, allocations: 4 kB / 0.6118 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000938/0.7966, allocations: 488.3 kB / 0.6122 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009983/0.7977, allocations: 122.2 kB / 0.6124 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.8009, allocations: 1.113 MB / 0.6134 GB, free: 11.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.8015, allocations: 0.8974 MB / 0.6143 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.8017, allocations: 35.44 kB / 0.6144 GB, free: 10.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.8017, allocations: 3.938 kB / 0.6144 GB, free: 10.77 MB / 442.7 MB Notification: Performance of Templates: time 0.02505/0.8268, allocations: 10.28 MB / 0.6244 GB, free: 0.5312 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches