Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000953/0.000953, allocations: 193.5 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.5 MB / 244.1 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008024/0.0008023, allocations: 105 kB / 296.1 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3076/0.3076, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002405, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2916, allocations: 62.95 MB / 0.5165 GB, free: 37.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.4013, allocations: 92.03 MB / 0.6064 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.4016, allocations: 98.56 kB / 0.6065 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.018/0.4196, allocations: 6.991 MB / 0.6133 GB, free: 6.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4197, allocations: 0 / 0.6133 GB, free: 6.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.4197, allocations: 4 kB / 0.6133 GB, free: 6.191 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004981/0.4202, allocations: 435.3 kB / 0.6137 GB, free: 5.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.4202, allocations: 8.031 kB / 0.6137 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.4203, allocations: 12.84 kB / 0.6137 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.4205, allocations: 208 kB / 0.6139 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.4205, allocations: 8.375 kB / 0.6139 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.4205, allocations: 8.375 kB / 0.6139 GB, free: 5.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.4208, allocations: 179.9 kB / 0.6141 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4209, allocations: 192 / 0.6141 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4209, allocations: 3.938 kB / 0.6141 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.4209, allocations: 15.98 kB / 0.6141 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.4213, allocations: 175.8 kB / 0.6143 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006925/0.422, allocations: 488.1 kB / 0.6148 GB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.4223, allocations: 166.4 kB / 0.6149 GB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.4225, allocations: 60.81 kB / 0.615 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.4225, allocations: 3.938 kB / 0.615 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.4226, allocations: 34.5 kB / 0.615 GB, free: 4.258 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.4226, allocations: 0 / 0.615 GB, free: 4.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005118/0.4231, allocations: 217.3 kB / 0.6152 GB, free: 4.039 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.4231, allocations: 51.41 kB / 0.6153 GB, free: 3.977 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.4233, allocations: 208.3 kB / 0.6155 GB, free: 3.758 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.4233, allocations: 29.7 kB / 0.6155 GB, free: 3.723 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.4234, allocations: 112 kB / 0.6156 GB, free: 3.609 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.4234, allocations: 27.56 kB / 0.6156 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.4234, allocations: 4 kB / 0.6156 GB, free: 3.578 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.4235, allocations: 326.8 kB / 0.616 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4237, allocations: 55.88 kB / 0.616 GB, free: 3.195 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4238, allocations: 79.34 kB / 0.6161 GB, free: 3.109 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.4241, allocations: 142.4 kB / 0.6162 GB, free: 2.961 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4241, allocations: 0 / 0.6162 GB, free: 2.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003323/0.4244, allocations: 177.4 kB / 0.6164 GB, free: 2.781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4245, allocations: 8 kB / 0.6164 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.4245, allocations: 0 / 0.6164 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4245, allocations: 480 / 0.6164 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.4248, allocations: 47.97 kB / 0.6164 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006485/0.4254, allocations: 1.227 MB / 0.6176 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.4255, allocations: 19.88 kB / 0.6177 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4256, allocations: 11.97 kB / 0.6177 GB, free: 1.422 MB / 426.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.0001114/0.4257, allocations: 133.7 kB / 0.6178 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.4257, allocations: 15.81 kB / 0.6178 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.4261, allocations: 198.9 kB / 0.618 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4261, allocations: 0 / 0.618 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4262, allocations: 0 / 0.618 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4262, allocations: 3.984 kB / 0.618 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.4264, allocations: 217.8 kB / 0.6182 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4264, allocations: 7.938 kB / 0.6182 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.4266, allocations: 47.97 kB / 0.6183 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.4266, allocations: 0 / 0.6183 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4267, allocations: 7.938 kB / 0.6183 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005505/0.4272, allocations: 1.223 MB / 0.6195 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4272, allocations: 0 / 0.6195 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.4276, allocations: 267.3 kB / 0.6197 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.4276, allocations: 88.92 kB / 0.6198 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.4277, allocations: 0 / 0.6198 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.4278, allocations: 19.92 kB / 0.6198 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.4279, allocations: 15.86 kB / 0.6198 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.4279, allocations: 4 kB / 0.6198 GB, free: 15.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.428, allocations: 145.2 kB / 0.62 GB, free: 14.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.428, allocations: 0 / 0.62 GB, free: 14.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.4283, allocations: 51.94 kB / 0.62 GB, free: 14.86 MB / 442.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.0002263/0.4285, allocations: 154.1 kB / 0.6202 GB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.429, allocations: 151.8 kB / 0.6203 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.429, allocations: 4.125 kB / 0.6203 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.4293, allocations: 96.09 kB / 0.6204 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.4296, allocations: 19.98 kB / 0.6204 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.4302, allocations: 436.5 kB / 0.6209 GB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.4305, allocations: 0.724 MB / 0.6216 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.4305, allocations: 15.44 kB / 0.6216 GB, free: 13.21 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4305, allocations: 0 / 0.6216 GB, free: 13.21 MB / 442.7 MB Notification: Performance of Templates: time 0.004762/0.4353, allocations: 3.549 MB / 0.625 GB, free: 9.676 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches