Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001193/0.001193, allocations: 184.8 kB / 15.76 MB, free: 6.367 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.716/1.716, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001158/0.001158, allocations: 98.78 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2059/0.2059, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 8 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 58.85 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.4508, allocations: 93.87 MB / 0.5704 GB, free: 5.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.451, allocations: 96.69 kB / 0.5705 GB, free: 5.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03342/0.4845, allocations: 12.28 MB / 0.5825 GB, free: 11.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4845, allocations: 0 / 0.5825 GB, free: 11.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.4845, allocations: 4 kB / 0.5825 GB, free: 11.09 MB / 394.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.001131/0.4857, allocations: 0.6851 MB / 0.5832 GB, free: 10.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.4858, allocations: 8.031 kB / 0.5832 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.4859, allocations: 51.39 kB / 0.5833 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.4863, allocations: 301.2 kB / 0.5835 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.4864, allocations: 32.38 kB / 0.5836 GB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.4865, allocations: 47.06 kB / 0.5836 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4875, allocations: 0.6594 MB / 0.5843 GB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4875, allocations: 4 kB / 0.5843 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.4875, allocations: 19.25 kB / 0.5843 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.4876, allocations: 21 kB / 0.5843 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008324/0.4884, allocations: 0.499 MB / 0.5848 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.4904, allocations: 1.546 MB / 0.5863 GB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.491, allocations: 318.1 kB / 0.5866 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.4911, allocations: 11.92 kB / 0.5866 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.4911, allocations: 38.5 kB / 0.5867 GB, free: 7.211 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.4911, allocations: 0 / 0.5867 GB, free: 7.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001304/0.4924, allocations: 0.7557 MB / 0.5874 GB, free: 6.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.4925, allocations: 114.8 kB / 0.5875 GB, free: 6.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005274/0.493, allocations: 493.1 kB / 0.588 GB, free: 5.902 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.4931, allocations: 29.58 kB / 0.588 GB, free: 5.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4932, allocations: 233 kB / 0.5882 GB, free: 5.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.4933, allocations: 61.78 kB / 0.5883 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.4933, allocations: 10.62 kB / 0.5883 GB, free: 5.648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4935, allocations: 356.1 kB / 0.5886 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.4938, allocations: 166.3 kB / 0.5888 GB, free: 5.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.4943, allocations: 292.5 kB / 0.5891 GB, free: 4.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.4947, allocations: 202.9 kB / 0.5893 GB, free: 4.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4947, allocations: 0 / 0.5893 GB, free: 4.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009653/0.4957, allocations: 0.5159 MB / 0.5898 GB, free: 4.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4957, allocations: 10.34 kB / 0.5898 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.358e-05/0.4958, allocations: 40.45 kB / 0.5898 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.4958, allocations: 12 kB / 0.5898 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.4961, allocations: 46.91 kB / 0.5899 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.4961, allocations: 11.92 kB / 0.5899 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.4965, allocations: 66.05 kB / 0.5899 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.4965, allocations: 31.17 kB / 0.59 GB, free: 3.992 MB / 394.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.0002367/0.4968, allocations: 210.8 kB / 0.5902 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/0.4969, allocations: 39.53 kB / 0.5902 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008788/0.4977, allocations: 465.3 kB / 0.5907 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4978, allocations: 4 kB / 0.5907 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4978, allocations: 0 / 0.5907 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4978, allocations: 4 kB / 0.5907 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.4983, allocations: 386.4 kB / 0.591 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.758e-05/0.4984, allocations: 43.16 kB / 0.5911 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.4986, allocations: 31.97 kB / 0.5911 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4986, allocations: 4 kB / 0.5911 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.4986, allocations: 11.98 kB / 0.5911 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4987, allocations: 3.938 kB / 0.5911 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4987, allocations: 3.938 kB / 0.5911 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008725/0.4995, allocations: 0.6567 MB / 0.5918 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.4997, allocations: 120.6 kB / 0.5919 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.4997, allocations: 7.812 kB / 0.5919 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.5, allocations: 21.67 kB / 0.5919 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.5001, allocations: 31.34 kB / 0.5919 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.5002, allocations: 11.98 kB / 0.592 GB, free: 2.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003869/0.5005, allocations: 390.7 kB / 0.5923 GB, free: 1.711 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.775e-06/0.5006, allocations: 0 / 0.5923 GB, free: 1.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005974/0.5012, allocations: 146.3 kB / 0.5925 GB, free: 1.578 MB / 394.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.0003421/0.5015, allocations: 215.9 kB / 0.5927 GB, free: 1.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009826/0.5025, allocations: 0.6811 MB / 0.5933 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5025, allocations: 0 / 0.5933 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.503, allocations: 496.3 kB / 0.5938 GB, free: 112 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.5035, allocations: 114.2 kB / 0.5939 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.5051, allocations: 0.9841 MB / 0.5949 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.5055, allocations: 0.8749 MB / 0.5957 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.5057, allocations: 87.28 kB / 0.5958 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.5058, allocations: 31.42 kB / 0.5958 GB, free: 14.04 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5058, allocations: 4 kB / 0.5959 GB, free: 14.04 MB / 410.7 MB Notification: Performance of Templates: time 0.01274/0.5185, allocations: 8.234 MB / 0.6039 GB, free: 5.832 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches