Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002285/0.002285, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001102/0.001101, allocations: 95.22 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.5044/0.5044, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004669, allocations: 16 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1304, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.477/0.6074, allocations: 90 MB / 0.5666 GB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004084/0.6079, allocations: 91.94 kB / 0.5667 GB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04122/0.6492, allocations: 6.747 MB / 0.5733 GB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6492, allocations: 0 / 0.5733 GB, free: 5.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.6492, allocations: 0 / 0.5733 GB, free: 5.871 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007889/0.65, allocations: 442.7 kB / 0.5737 GB, free: 5.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.6501, allocations: 8.031 kB / 0.5737 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.6502, allocations: 19.81 kB / 0.5738 GB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.6505, allocations: 194.4 kB / 0.5739 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.6505, allocations: 15.94 kB / 0.574 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.6506, allocations: 12 kB / 0.574 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.6511, allocations: 169.5 kB / 0.5741 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6511, allocations: 0 / 0.5741 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.6512, allocations: 4 kB / 0.5741 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.6512, allocations: 16.48 kB / 0.5742 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/0.6518, allocations: 183.1 kB / 0.5743 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.653, allocations: 496 kB / 0.5748 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.6537, allocations: 158.4 kB / 0.575 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.533e-05/0.6537, allocations: 11.98 kB / 0.575 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.6538, allocations: 30.56 kB / 0.575 GB, free: 3.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/0.6538, allocations: 4 kB / 0.575 GB, free: 3.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009426/0.6547, allocations: 209.5 kB / 0.5752 GB, free: 3.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.6548, allocations: 55.41 kB / 0.5753 GB, free: 3.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.6551, allocations: 186.6 kB / 0.5754 GB, free: 3.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.6551, allocations: 25.7 kB / 0.5755 GB, free: 3.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.6552, allocations: 174.4 kB / 0.5756 GB, free: 3.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.6553, allocations: 31.55 kB / 0.5756 GB, free: 3.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.6553, allocations: 4 kB / 0.5757 GB, free: 3.281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6555, allocations: 314.8 kB / 0.576 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.6557, allocations: 64.31 kB / 0.576 GB, free: 2.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.656, allocations: 66.53 kB / 0.5761 GB, free: 2.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.6563, allocations: 63.88 kB / 0.5761 GB, free: 2.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6563, allocations: 8 kB / 0.5761 GB, free: 2.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006268/0.6569, allocations: 165.5 kB / 0.5763 GB, free: 2.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.657, allocations: 6.812 kB / 0.5763 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.657, allocations: 0 / 0.5763 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.657, allocations: 8.062 kB / 0.5763 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.6575, allocations: 47.95 kB / 0.5764 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009703/0.6585, allocations: 1.219 MB / 0.5776 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.6588, allocations: 32 kB / 0.5776 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.6588, allocations: 3.984 kB / 0.5776 GB, free: 1.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.659, allocations: 137.8 kB / 0.5777 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.6591, allocations: 11.81 kB / 0.5777 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007542/0.6598, allocations: 202.9 kB / 0.5779 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.6599, allocations: 0 / 0.5779 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6599, allocations: 0 / 0.5779 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6599, allocations: 0 / 0.5779 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.6603, allocations: 225.6 kB / 0.5781 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6603, allocations: 0 / 0.5781 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.6608, allocations: 47.91 kB / 0.5782 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6608, allocations: 4 kB / 0.5782 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.6608, allocations: 4 kB / 0.5782 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009437/0.6618, allocations: 1.211 MB / 0.5794 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6618, allocations: 3.938 kB / 0.5794 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.6625, allocations: 267.5 kB / 0.5796 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.6626, allocations: 92.95 kB / 0.5797 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.6627, allocations: 3.938 kB / 0.5797 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.6629, allocations: 15.98 kB / 0.5797 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.663, allocations: 11.92 kB / 0.5798 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.663, allocations: 12 kB / 0.5798 GB, free: 14.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002359/0.6633, allocations: 145.2 kB / 0.5799 GB, free: 14.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6633, allocations: 0 / 0.5799 GB, free: 14.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004993/0.6638, allocations: 44 kB / 0.5799 GB, free: 14.68 MB / 410.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003501/0.6642, allocations: 143.8 kB / 0.5801 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008717/0.6651, allocations: 147.8 kB / 0.5802 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6651, allocations: 0 / 0.5802 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.6656, allocations: 91.98 kB / 0.5803 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.666, allocations: 28.83 kB / 0.5803 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.667, allocations: 417.6 kB / 0.5807 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.6674, allocations: 0.7318 MB / 0.5815 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.6675, allocations: 19.38 kB / 0.5815 GB, free: 13.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6675, allocations: 0 / 0.5815 GB, free: 13.05 MB / 410.7 MB Notification: Performance of Templates: time 0.008593/0.6761, allocations: 3.473 MB / 0.5849 GB, free: 9.594 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches