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_turbulent.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_turbulent,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.|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_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|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_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002395/0.002395, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 85.62 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2934/0.2934, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.78e-05, allocations: 0 / 418.3 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3972, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.5657, allocations: 92.02 MB / 0.5558 GB, free: 7.273 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/0.5661, allocations: 103.4 kB / 0.5559 GB, free: 7.176 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06239/0.6285, allocations: 13.35 MB / 0.5689 GB, free: 9.719 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6286, allocations: 0 / 0.5689 GB, free: 9.719 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.6286, allocations: 4 kB / 0.5689 GB, free: 9.715 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001236/0.6299, allocations: 0.5567 MB / 0.5695 GB, free: 9.109 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.6299, allocations: 12.03 kB / 0.5695 GB, free: 9.098 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/0.63, allocations: 31.58 kB / 0.5695 GB, free: 9.066 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.6305, allocations: 246.6 kB / 0.5697 GB, free: 8.785 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.6306, allocations: 8 kB / 0.5697 GB, free: 8.777 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.6306, allocations: 16 kB / 0.5698 GB, free: 8.762 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000626/0.6313, allocations: 233.2 kB / 0.57 GB, free: 8.535 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008168/0.6321, allocations: 373.6 kB / 0.5703 GB, free: 8.156 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.6321, allocations: 0 / 0.5703 GB, free: 8.156 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.6322, allocations: 3.938 kB / 0.5703 GB, free: 8.152 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.6322, allocations: 16.56 kB / 0.5704 GB, free: 8.133 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.6344, allocations: 1.014 MB / 0.5713 GB, free: 7.07 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.635, allocations: 207.8 kB / 0.5715 GB, free: 6.84 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.6352, allocations: 82.56 kB / 0.5716 GB, free: 6.75 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.6353, allocations: 4 kB / 0.5716 GB, free: 6.746 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.6353, allocations: 34.56 kB / 0.5717 GB, free: 6.703 MB / 411.1 MB Notification: Performance of pre-optimization done (n=14): time 3.416e-06/0.6353, allocations: 0 / 0.5717 GB, free: 6.703 MB / 411.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006757/0.636, allocations: 189.4 kB / 0.5718 GB, free: 6.512 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.6361, allocations: 110.9 kB / 0.5719 GB, free: 6.379 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.6364, allocations: 215.9 kB / 0.5722 GB, free: 6.16 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.6365, allocations: 25.7 kB / 0.5722 GB, free: 6.129 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.6367, allocations: 269.9 kB / 0.5724 GB, free: 5.863 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.6368, allocations: 47.27 kB / 0.5725 GB, free: 5.816 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.6368, allocations: 0 / 0.5725 GB, free: 5.816 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.637, allocations: 326.8 kB / 0.5728 GB, free: 5.488 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.6372, allocations: 80.17 kB / 0.5729 GB, free: 5.406 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.6376, allocations: 195.6 kB / 0.5731 GB, free: 5.16 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.6379, allocations: 119.8 kB / 0.5732 GB, free: 5.043 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.6379, allocations: 4 kB / 0.5732 GB, free: 5.039 MB / 411.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008481/0.6388, allocations: 293.5 kB / 0.5735 GB, free: 4.746 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.6388, allocations: 12.03 kB / 0.5735 GB, free: 4.734 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.961e-05/0.6389, allocations: 19.98 kB / 0.5735 GB, free: 4.715 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.639, allocations: 8 kB / 0.5735 GB, free: 4.707 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.6395, allocations: 55.89 kB / 0.5735 GB, free: 4.652 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.6395, allocations: 11.94 kB / 0.5736 GB, free: 4.641 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.6399, allocations: 39.81 kB / 0.5736 GB, free: 4.602 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.64, allocations: 16 kB / 0.5736 GB, free: 4.586 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001566/0.6402, allocations: 124.9 kB / 0.5737 GB, free: 4.457 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.6403, allocations: 19.72 kB / 0.5737 GB, free: 4.438 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.6411, allocations: 247.3 kB / 0.574 GB, free: 4.195 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.6411, allocations: 0 / 0.574 GB, free: 4.195 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6411, allocations: 4 kB / 0.574 GB, free: 4.191 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.6411, allocations: 0 / 0.574 GB, free: 4.191 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.6418, allocations: 285.8 kB / 0.5743 GB, free: 3.875 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.446e-05/0.6418, allocations: 19.98 kB / 0.5743 GB, free: 3.855 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.6421, allocations: 31.97 kB / 0.5743 GB, free: 3.824 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.6422, allocations: 0 / 0.5743 GB, free: 3.824 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.6422, allocations: 7.938 kB / 0.5743 GB, free: 3.816 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6422, allocations: 4 kB / 0.5743 GB, free: 3.812 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6422, allocations: 0 / 0.5743 GB, free: 3.812 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007158/0.6429, allocations: 466.7 kB / 0.5748 GB, free: 3.328 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.6431, allocations: 96.83 kB / 0.5749 GB, free: 3.215 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.6431, allocations: 0 / 0.5749 GB, free: 3.215 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.6436, allocations: 31.91 kB / 0.5749 GB, free: 3.184 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/0.6437, allocations: 19.97 kB / 0.5749 GB, free: 3.164 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.6437, allocations: 4 kB / 0.5749 GB, free: 3.16 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.644, allocations: 172.5 kB / 0.5751 GB, free: 2.992 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.644, allocations: 0 / 0.5751 GB, free: 2.992 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008098/0.6448, allocations: 111.6 kB / 0.5752 GB, free: 2.883 MB / 411.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0004299/0.6452, allocations: 185.8 kB / 0.5754 GB, free: 2.691 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0007187/0.646, allocations: 353.9 kB / 0.5757 GB, free: 2.309 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.646, allocations: 0 / 0.5757 GB, free: 2.309 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.6464, allocations: 246.1 kB / 0.5759 GB, free: 2.031 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.6469, allocations: 33.84 kB / 0.576 GB, free: 2 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.6483, allocations: 433.3 kB / 0.5764 GB, free: 1.543 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.6488, allocations: 0.7982 MB / 0.5772 GB, free: 0.7188 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.649, allocations: 23.42 kB / 0.5772 GB, free: 0.6953 MB / 411.1 MB Notification: Performance of SimCode: time 9.02e-07/0.649, allocations: 0 / 0.5772 GB, free: 0.6953 MB / 411.1 MB Notification: Performance of Templates: time 0.01168/0.6607, allocations: 4.703 MB / 0.5818 GB, free: 12 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches