Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_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.0009649/0.0009649, allocations: 198.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 94 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1905/0.1905, allocations: 45.14 MB / 383.7 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.661e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4136/0.5286, allocations: 91.43 MB / 0.5937 GB, free: 11.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.529, allocations: 99.17 kB / 0.5938 GB, free: 11.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01869/0.5477, allocations: 6.93 MB / 0.6005 GB, free: 5.301 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5477, allocations: 4 kB / 0.6005 GB, free: 5.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.5478, allocations: 4 kB / 0.6005 GB, free: 5.293 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.0005201/0.5483, allocations: 416.3 kB / 0.6009 GB, free: 4.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5483, allocations: 12.03 kB / 0.6009 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.5484, allocations: 7.906 kB / 0.601 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.5486, allocations: 205.6 kB / 0.6011 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.5487, allocations: 0 / 0.6011 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.5487, allocations: 12 kB / 0.6012 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002081/0.5489, allocations: 119.3 kB / 0.6013 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.5491, allocations: 138.7 kB / 0.6014 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5492, allocations: 0.9375 kB / 0.6014 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.5492, allocations: 0 / 0.6014 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.5492, allocations: 11.98 kB / 0.6014 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.5499, allocations: 449.9 kB / 0.6018 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.5503, allocations: 132.8 kB / 0.602 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.5504, allocations: 46.81 kB / 0.602 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.5504, allocations: 80 / 0.602 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.5504, allocations: 37.06 kB / 0.6021 GB, free: 3.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.5504, allocations: 8 kB / 0.6021 GB, free: 3.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002836/0.5507, allocations: 114.4 kB / 0.6022 GB, free: 3.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.5508, allocations: 51.41 kB / 0.6022 GB, free: 3.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.5509, allocations: 125.4 kB / 0.6023 GB, free: 3.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5509, allocations: 25.7 kB / 0.6024 GB, free: 3.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.551, allocations: 126.1 kB / 0.6025 GB, free: 3.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.551, allocations: 27 kB / 0.6025 GB, free: 3.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.5511, allocations: 0 / 0.6025 GB, free: 3.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5512, allocations: 326.2 kB / 0.6028 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.5512, allocations: 43.09 kB / 0.6029 GB, free: 2.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.5513, allocations: 54.42 kB / 0.6029 GB, free: 2.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/0.5514, allocations: 43.83 kB / 0.603 GB, free: 2.789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5514, allocations: 0 / 0.603 GB, free: 2.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000203/0.5516, allocations: 128.8 kB / 0.6031 GB, free: 2.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5516, allocations: 5.719 kB / 0.6031 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5517, allocations: 4.062 kB / 0.6031 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5517, allocations: 4 kB / 0.6031 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.5519, allocations: 47.89 kB / 0.6031 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006129/0.5526, allocations: 1.225 MB / 0.6043 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.5527, allocations: 12.02 kB / 0.6043 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.5527, allocations: 7.875 kB / 0.6044 GB, free: 1.336 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 () * 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 9.194e-05/0.5528, allocations: 104.9 kB / 0.6045 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.5528, allocations: 11.86 kB / 0.6045 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.5531, allocations: 159 kB / 0.6046 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.5531, allocations: 4 kB / 0.6046 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.5531, allocations: 4.094 kB / 0.6046 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5531, allocations: 0 / 0.6046 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.5534, allocations: 198.9 kB / 0.6048 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5534, allocations: 0 / 0.6048 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.5536, allocations: 43.95 kB / 0.6049 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5536, allocations: 4 kB / 0.6049 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.5536, allocations: 0 / 0.6049 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006448/0.5543, allocations: 1.228 MB / 0.6061 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5543, allocations: 4 kB / 0.6061 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.5545, allocations: 217.2 kB / 0.6063 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.5546, allocations: 85.02 kB / 0.6063 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.5546, allocations: 4.188 kB / 0.6064 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.5547, allocations: 7.984 kB / 0.6064 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.5548, allocations: 7.984 kB / 0.6064 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5548, allocations: 7.984 kB / 0.6064 GB, free: 15.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.314e-05/0.5549, allocations: 102.6 kB / 0.6065 GB, free: 15.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5549, allocations: 0 / 0.6065 GB, free: 15.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.5552, allocations: 59.42 kB / 0.6065 GB, free: 15.03 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 () * 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.0002337/0.5554, allocations: 143.1 kB / 0.6067 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.5557, allocations: 107.4 kB / 0.6068 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5557, allocations: 384 / 0.6068 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.5559, allocations: 70.38 kB / 0.6068 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.5561, allocations: 15.75 kB / 0.6069 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.5566, allocations: 191.2 kB / 0.607 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5568, allocations: 0.7275 MB / 0.6077 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.305e-05/0.5569, allocations: 28.39 kB / 0.6078 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.557, allocations: 14.69 kB / 0.6078 GB, free: 13.72 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.557, allocations: 7.875 kB / 0.6078 GB, free: 13.71 MB / 410.7 MB Notification: Performance of Templates: time 0.004359/0.5613, allocations: 1.805 MB / 0.6096 GB, free: 11.96 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches