Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009721/0.000972, allocations: 198.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 227.2 MB / 245 MB, free: 7.559 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007874/0.0007874, allocations: 106 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2733/0.2733, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002179/0.0002179, allocations: 4 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2615, allocations: 63.25 MB / 0.5192 GB, free: 43.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3649, allocations: 95.61 MB / 0.6126 GB, free: 10 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.3653, allocations: 101.6 kB / 0.6127 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03532/0.4006, allocations: 14.54 MB / 0.6269 GB, free: 11.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4007, allocations: 0 / 0.6269 GB, free: 11.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.4007, allocations: 8 kB / 0.6269 GB, free: 11.2 MB / 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.0009159/0.4016, allocations: 0.6396 MB / 0.6275 GB, free: 10.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.4016, allocations: 8.031 kB / 0.6275 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.49e-05/0.4017, allocations: 51.34 kB / 0.6276 GB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.4022, allocations: 320.6 kB / 0.6279 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.4022, allocations: 37.31 kB / 0.6279 GB, free: 10.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.4023, allocations: 51.98 kB / 0.628 GB, free: 10.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009493/0.4032, allocations: 0.6896 MB / 0.6286 GB, free: 9.312 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4033, allocations: 0 / 0.6286 GB, free: 9.312 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.4033, allocations: 16 kB / 0.6286 GB, free: 9.297 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.386e-05/0.4034, allocations: 45.23 kB / 0.6287 GB, free: 9.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009937/0.4044, allocations: 0.7545 MB / 0.6294 GB, free: 8.496 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.4064, allocations: 1.457 MB / 0.6308 GB, free: 6.984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.4071, allocations: 456.4 kB / 0.6313 GB, free: 6.531 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.4071, allocations: 16.2 kB / 0.6313 GB, free: 6.516 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.4071, allocations: 30.8 kB / 0.6313 GB, free: 6.477 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.323e-06/0.4072, allocations: 0 / 0.6313 GB, free: 6.477 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001007/0.4082, allocations: 0.5502 MB / 0.6319 GB, free: 5.922 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4082, allocations: 55.41 kB / 0.6319 GB, free: 5.855 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.4087, allocations: 484.9 kB / 0.6324 GB, free: 5.379 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.4087, allocations: 29.7 kB / 0.6324 GB, free: 5.344 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.4089, allocations: 232.4 kB / 0.6326 GB, free: 5.109 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.409, allocations: 106.5 kB / 0.6327 GB, free: 5.004 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.409, allocations: 8 kB / 0.6327 GB, free: 4.996 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4091, allocations: 358.8 kB / 0.6331 GB, free: 4.637 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.4094, allocations: 152.5 kB / 0.6332 GB, free: 4.484 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.4098, allocations: 248.3 kB / 0.6335 GB, free: 4.203 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.4101, allocations: 200.9 kB / 0.6337 GB, free: 4.008 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4101, allocations: 3.938 kB / 0.6337 GB, free: 4.004 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000811/0.4109, allocations: 0.4928 MB / 0.6341 GB, free: 3.504 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.411, allocations: 8.328 kB / 0.6341 GB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.411, allocations: 8 kB / 0.6342 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.411, allocations: 15.97 kB / 0.6342 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/0.4119, allocations: 199.7 kB / 0.6344 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.4154, allocations: 7.325 MB / 0.6415 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.4158, allocations: 67.2 kB / 0.6416 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.4158, allocations: 23.98 kB / 0.6416 GB, free: 11.58 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0002856/0.4161, allocations: 218.3 kB / 0.6418 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.4162, allocations: 47.39 kB / 0.6419 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009686/0.4171, allocations: 0.5409 MB / 0.6424 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4172, allocations: 4 kB / 0.6424 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4172, allocations: 0 / 0.6424 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4172, allocations: 11.92 kB / 0.6424 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.4177, allocations: 429.1 kB / 0.6428 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4177, allocations: 4 kB / 0.6428 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.4185, allocations: 191.8 kB / 0.643 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.4185, allocations: 7.953 kB / 0.643 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.4185, allocations: 11.98 kB / 0.643 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.4219, allocations: 7.306 MB / 0.6501 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4219, allocations: 0 / 0.6501 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007053/0.4226, allocations: 0.5117 MB / 0.6506 GB, free: 1.953 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.4228, allocations: 132.4 kB / 0.6508 GB, free: 1.805 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.4228, allocations: 7.938 kB / 0.6508 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.423, allocations: 15.98 kB / 0.6508 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.4231, allocations: 23.91 kB / 0.6508 GB, free: 1.758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.4232, allocations: 19.98 kB / 0.6508 GB, free: 1.738 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003773/0.4235, allocations: 383 kB / 0.6512 GB, free: 1.363 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4236, allocations: 0 / 0.6512 GB, free: 1.363 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004733/0.424, allocations: 143.8 kB / 0.6513 GB, free: 1.223 MB / 458.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.0002937/0.4243, allocations: 176.2 kB / 0.6515 GB, free: 1.039 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.4256, allocations: 0.4961 MB / 0.652 GB, free: 0.543 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4256, allocations: 0 / 0.652 GB, free: 0.543 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.4265, allocations: 311.6 kB / 0.6523 GB, free: 244 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.4269, allocations: 81.84 kB / 0.6524 GB, free: 164 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.4283, allocations: 1.051 MB / 0.6534 GB, free: 15.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.4287, allocations: 0.9053 MB / 0.6543 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.429, allocations: 124.1 kB / 0.6544 GB, free: 14.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.4291, allocations: 43.36 kB / 0.6544 GB, free: 13.99 MB / 474.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4291, allocations: 0 / 0.6544 GB, free: 13.99 MB / 474.7 MB Notification: Performance of Templates: time 0.01241/0.4415, allocations: 7.989 MB / 0.6622 GB, free: 6.086 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches