Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC,tolerance=1e-06,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,tolerance=1e-06,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 198.5 kB / 16.79 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.5 MB / 244.1 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007881/0.000788, allocations: 101.9 kB / 296.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3136/0.3136, allocations: 44.82 MB / 392.9 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.0002479, allocations: 11.98 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2792, allocations: 62.95 MB / 0.5165 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3915, allocations: 99.76 MB / 0.6139 GB, free: 5.605 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.3918, allocations: 99.94 kB / 0.614 GB, free: 5.508 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05272/0.4445, allocations: 20.9 MB / 0.6344 GB, free: 404 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4446, allocations: 0 / 0.6344 GB, free: 404 kB / 442.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.4446, allocations: 8 kB / 0.6344 GB, free: 396 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0009583/0.4456, allocations: 0.6825 MB / 0.6351 GB, free: 15.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4456, allocations: 16.03 kB / 0.6351 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.66e-05/0.4457, allocations: 56.22 kB / 0.6352 GB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.446, allocations: 300.2 kB / 0.6355 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.4461, allocations: 41.67 kB / 0.6355 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.4462, allocations: 44.38 kB / 0.6355 GB, free: 15.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009474/0.4471, allocations: 0.6974 MB / 0.6362 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4471, allocations: 0 / 0.6362 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.4472, allocations: 24 kB / 0.6362 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/0.4472, allocations: 49.28 kB / 0.6363 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.4483, allocations: 0.7467 MB / 0.637 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.4502, allocations: 1.426 MB / 0.6384 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.4509, allocations: 448.5 kB / 0.6388 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.4512, allocations: 161.2 kB / 0.639 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.4513, allocations: 8.219 kB / 0.639 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4513, allocations: 46.73 kB / 0.639 GB, free: 11.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.4513, allocations: 0 / 0.639 GB, free: 11.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.001022/0.4523, allocations: 0.5493 MB / 0.6396 GB, free: 10.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.4524, allocations: 55.41 kB / 0.6396 GB, free: 10.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.4529, allocations: 0.529 MB / 0.6401 GB, free: 10.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.4529, allocations: 29.7 kB / 0.6402 GB, free: 10.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.4531, allocations: 252 kB / 0.6404 GB, free: 10.04 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/0.4532, allocations: 94.64 kB / 0.6405 GB, free: 9.949 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.4532, allocations: 8 kB / 0.6405 GB, free: 9.941 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4533, allocations: 358.8 kB / 0.6409 GB, free: 9.582 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.4536, allocations: 168.6 kB / 0.641 GB, free: 9.414 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.454, allocations: 293.6 kB / 0.6413 GB, free: 9.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.4547, allocations: 0.4929 MB / 0.6418 GB, free: 8.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4547, allocations: 3.984 kB / 0.6418 GB, free: 8.516 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008511/0.4555, allocations: 0.5355 MB / 0.6423 GB, free: 7.973 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4556, allocations: 11.92 kB / 0.6423 GB, free: 7.961 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4556, allocations: 4.109 kB / 0.6423 GB, free: 7.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4556, allocations: 12.5 kB / 0.6423 GB, free: 7.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/0.4565, allocations: 227.8 kB / 0.6425 GB, free: 7.723 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003326/0.4599, allocations: 7.318 MB / 0.6497 GB, free: 128 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.4602, allocations: 71.2 kB / 0.6498 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.4602, allocations: 27.94 kB / 0.6498 GB, free: 28 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002694/0.4605, allocations: 233.6 kB / 0.65 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.4606, allocations: 43.44 kB / 0.6501 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009647/0.4616, allocations: 0.5331 MB / 0.6506 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4616, allocations: 0 / 0.6506 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4616, allocations: 7.984 kB / 0.6506 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4616, allocations: 7.938 kB / 0.6506 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.4621, allocations: 429.2 kB / 0.651 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4621, allocations: 0 / 0.651 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008132/0.4629, allocations: 199.9 kB / 0.6512 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4629, allocations: 0 / 0.6512 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.463, allocations: 16 kB / 0.6512 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.4662, allocations: 7.309 MB / 0.6583 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4662, allocations: 0 / 0.6583 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.4669, allocations: 0.5233 MB / 0.6589 GB, free: 6.379 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.467, allocations: 120.6 kB / 0.659 GB, free: 6.242 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.4671, allocations: 4 kB / 0.659 GB, free: 6.238 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.4673, allocations: 15.98 kB / 0.659 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.4674, allocations: 23.97 kB / 0.659 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.4674, allocations: 20 kB / 0.659 GB, free: 6.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003896/0.4678, allocations: 379 kB / 0.6594 GB, free: 5.812 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4678, allocations: 0 / 0.6594 GB, free: 5.812 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006173/0.4684, allocations: 195.7 kB / 0.6596 GB, free: 5.621 MB / 474.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004383/0.4689, allocations: 276.1 kB / 0.6598 GB, free: 5.344 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.4703, allocations: 0.5513 MB / 0.6604 GB, free: 4.793 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4703, allocations: 0 / 0.6604 GB, free: 4.793 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009998/0.4713, allocations: 351.6 kB / 0.6607 GB, free: 4.449 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.4719, allocations: 93.8 kB / 0.6608 GB, free: 4.355 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.4733, allocations: 1.085 MB / 0.6619 GB, free: 3.238 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.4737, allocations: 0.8858 MB / 0.6627 GB, free: 2.324 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.4738, allocations: 35.42 kB / 0.6628 GB, free: 2.289 MB / 474.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4738, allocations: 3.938 kB / 0.6628 GB, free: 2.285 MB / 474.7 MB Notification: Performance of Templates: time 0.2124/0.6863, allocations: 30.21 MB / 0.6923 GB, free: 131.3 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC/kc_evenGapOverall_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches