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_laminar.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_laminar,tolerance=1e-07,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_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002123/0.002123, allocations: 185.8 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.971/1.971, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001105/0.001105, allocations: 91.28 kB / 270.9 MB, free: 8.363 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.4966/0.4966, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.000501, allocations: 16 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1206, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4599/0.5805, allocations: 93.86 MB / 0.5704 GB, free: 8.816 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/0.5809, allocations: 99.92 kB / 0.5705 GB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0546/0.6355, allocations: 12.28 MB / 0.5825 GB, free: 12.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6356, allocations: 0 / 0.5825 GB, free: 12.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.6356, allocations: 4 kB / 0.5825 GB, free: 12.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001592/0.6372, allocations: 0.6857 MB / 0.5832 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6373, allocations: 12.02 kB / 0.5832 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.6375, allocations: 50.88 kB / 0.5832 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.638, allocations: 301.3 kB / 0.5835 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.6381, allocations: 29 kB / 0.5836 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.6382, allocations: 48 kB / 0.5836 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.64, allocations: 0.6674 MB / 0.5843 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.6401, allocations: 0 / 0.5843 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.6401, allocations: 21.03 kB / 0.5843 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/0.6402, allocations: 21 kB / 0.5843 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.6419, allocations: 0.4956 MB / 0.5848 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.6455, allocations: 1.546 MB / 0.5863 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.6466, allocations: 311.6 kB / 0.5866 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.035e-05/0.6467, allocations: 15.97 kB / 0.5866 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.6468, allocations: 42.5 kB / 0.5866 GB, free: 7.871 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.166e-06/0.6468, allocations: 0 / 0.5866 GB, free: 7.871 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.002434/0.6492, allocations: 0.7568 MB / 0.5874 GB, free: 7.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.6493, allocations: 106.8 kB / 0.5875 GB, free: 6.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/0.6503, allocations: 496.8 kB / 0.588 GB, free: 6.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.6504, allocations: 33.64 kB / 0.588 GB, free: 6.398 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.6506, allocations: 258.6 kB / 0.5882 GB, free: 6.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.6507, allocations: 71 kB / 0.5883 GB, free: 6.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.6508, allocations: 8 kB / 0.5883 GB, free: 6.066 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6509, allocations: 330.8 kB / 0.5886 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.6516, allocations: 164.1 kB / 0.5888 GB, free: 5.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000804/0.6524, allocations: 289.1 kB / 0.5891 GB, free: 5.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/0.6532, allocations: 207.7 kB / 0.5893 GB, free: 5.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.6533, allocations: 0 / 0.5893 GB, free: 5.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0018/0.6551, allocations: 0.4886 MB / 0.5897 GB, free: 4.539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.6551, allocations: 4 kB / 0.5897 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.6553, allocations: 43.97 kB / 0.5898 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.6553, allocations: 4 kB / 0.5898 GB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.6557, allocations: 52.11 kB / 0.5898 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.6558, allocations: 8 kB / 0.5898 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.6564, allocations: 71.34 kB / 0.5899 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.6565, allocations: 20 kB / 0.5899 GB, free: 4.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * 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.0003997/0.6569, allocations: 213.6 kB / 0.5901 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.6571, allocations: 43.44 kB / 0.5902 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.6587, allocations: 464.8 kB / 0.5906 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.6587, allocations: 7.984 kB / 0.5906 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6587, allocations: 4 kB / 0.5906 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.6588, allocations: 0 / 0.5906 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009514/0.6597, allocations: 393.2 kB / 0.591 GB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001152/0.6599, allocations: 39.91 kB / 0.591 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.6602, allocations: 27.97 kB / 0.5911 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.6602, allocations: 3.938 kB / 0.5911 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.6603, allocations: 15.94 kB / 0.5911 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/0.6603, allocations: 7.984 kB / 0.5911 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6603, allocations: 4 kB / 0.5911 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.662, allocations: 0.6418 MB / 0.5917 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.6622, allocations: 132.5 kB / 0.5918 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.6623, allocations: 4 kB / 0.5919 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005116/0.6628, allocations: 23.97 kB / 0.5919 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.663, allocations: 31.91 kB / 0.5919 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.663, allocations: 11.94 kB / 0.5919 GB, free: 2.188 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007431/0.6638, allocations: 391 kB / 0.5923 GB, free: 1.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6638, allocations: 4 kB / 0.5923 GB, free: 1.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009327/0.6648, allocations: 143.8 kB / 0.5924 GB, free: 1.66 MB / 410.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.0005148/0.6653, allocations: 203.9 kB / 0.5926 GB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.6671, allocations: 0.6841 MB / 0.5933 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6672, allocations: 0 / 0.5933 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009113/0.6681, allocations: 496.7 kB / 0.5938 GB, free: 144 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009749/0.6691, allocations: 113.9 kB / 0.5939 GB, free: 28 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.6719, allocations: 1.007 MB / 0.5949 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.6725, allocations: 0.8701 MB / 0.5957 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.6727, allocations: 27.44 kB / 0.5957 GB, free: 14.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6727, allocations: 0 / 0.5957 GB, free: 14.06 MB / 426.7 MB Notification: Performance of Templates: time 0.02645/0.6992, allocations: 8.459 MB / 0.604 GB, free: 5.641 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches