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.0009606/0.0009607, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008745/0.0008745, allocations: 94.62 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 45.15 MB / 383.7 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.48e-05, allocations: 3.828 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1301, allocations: 63.24 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.58, allocations: 94.88 MB / 0.597 GB, free: 7.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.5803, allocations: 95.81 kB / 0.5971 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0354/0.6157, allocations: 14.39 MB / 0.6112 GB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.6158, allocations: 0 / 0.6112 GB, free: 11.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.6158, allocations: 8 kB / 0.6112 GB, free: 11.52 MB / 410.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.0009255/0.6167, allocations: 0.6275 MB / 0.6118 GB, free: 10.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.6168, allocations: 12.03 kB / 0.6118 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.6169, allocations: 51.34 kB / 0.6119 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.6173, allocations: 309.7 kB / 0.6122 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.6173, allocations: 16 kB / 0.6122 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.6174, allocations: 28 kB / 0.6122 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007617/0.6182, allocations: 0.6256 MB / 0.6128 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008524/0.619, allocations: 0.5956 MB / 0.6134 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.619, allocations: 0 / 0.6134 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.6191, allocations: 0 / 0.6134 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.548e-05/0.6191, allocations: 43.28 kB / 0.6134 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.6213, allocations: 1.308 MB / 0.6147 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.622, allocations: 0.4967 MB / 0.6152 GB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.6222, allocations: 171.3 kB / 0.6154 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.6223, allocations: 11.48 kB / 0.6154 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.6223, allocations: 38.5 kB / 0.6154 GB, free: 7.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.843e-06/0.6224, allocations: 0 / 0.6154 GB, free: 7.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007305/0.6231, allocations: 407.1 kB / 0.6158 GB, free: 7.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.6231, allocations: 55.41 kB / 0.6158 GB, free: 7.199 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.6234, allocations: 170.3 kB / 0.616 GB, free: 7.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.6234, allocations: 25.7 kB / 0.616 GB, free: 7.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.6236, allocations: 242.5 kB / 0.6163 GB, free: 6.793 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.6237, allocations: 120.2 kB / 0.6164 GB, free: 6.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.6237, allocations: 0 / 0.6164 GB, free: 6.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.6239, allocations: 336.6 kB / 0.6167 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.6242, allocations: 158.1 kB / 0.6169 GB, free: 6.223 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.6245, allocations: 260.6 kB / 0.6171 GB, free: 5.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.6248, allocations: 204 kB / 0.6173 GB, free: 5.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6248, allocations: 0 / 0.6173 GB, free: 5.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007112/0.6255, allocations: 480.5 kB / 0.6178 GB, free: 5.348 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6256, allocations: 9.031 kB / 0.6178 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6256, allocations: 4 kB / 0.6178 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.6256, allocations: 11.88 kB / 0.6178 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009675/0.6266, allocations: 214.6 kB / 0.618 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.6302, allocations: 7.349 MB / 0.6252 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.6305, allocations: 23.83 kB / 0.6252 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.6306, allocations: 19.38 kB / 0.6252 GB, free: 13.53 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * 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.0001704/0.6307, allocations: 136.2 kB / 0.6253 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.6308, allocations: 23.72 kB / 0.6254 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008915/0.6317, allocations: 0.5374 MB / 0.6259 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.6317, allocations: 4 kB / 0.6259 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6317, allocations: 0 / 0.6259 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.6317, allocations: 3.984 kB / 0.6259 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.6323, allocations: 397.6 kB / 0.6263 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6323, allocations: 0 / 0.6263 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008689/0.6332, allocations: 211.2 kB / 0.6265 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.6332, allocations: 0 / 0.6265 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.6332, allocations: 11.98 kB / 0.6265 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.6367, allocations: 7.34 MB / 0.6336 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6367, allocations: 0 / 0.6336 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.6374, allocations: 0.4996 MB / 0.6341 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.6374, allocations: 100.8 kB / 0.6342 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.6375, allocations: 0 / 0.6342 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.6377, allocations: 11.98 kB / 0.6342 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.6378, allocations: 30.67 kB / 0.6343 GB, free: 4.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.6378, allocations: 22.23 kB / 0.6343 GB, free: 4.098 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.6379, allocations: 131.2 kB / 0.6344 GB, free: 3.984 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6379, allocations: 4 kB / 0.6344 GB, free: 3.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005911/0.6385, allocations: 153.9 kB / 0.6346 GB, free: 3.832 MB / 426.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 (37): * Single equations (assignments): 25 * 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.0003271/0.6389, allocations: 198.2 kB / 0.6348 GB, free: 3.633 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.6401, allocations: 499.4 kB / 0.6352 GB, free: 3.188 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6401, allocations: 4 kB / 0.6352 GB, free: 3.184 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008357/0.641, allocations: 318.3 kB / 0.6355 GB, free: 2.895 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.6412, allocations: 23 kB / 0.6356 GB, free: 2.879 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.6424, allocations: 0.6567 MB / 0.6362 GB, free: 2.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.6428, allocations: 0.9107 MB / 0.6371 GB, free: 1.305 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.643, allocations: 109.9 kB / 0.6372 GB, free: 1.195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.6431, allocations: 23.44 kB / 0.6372 GB, free: 1.172 MB / 426.7 MB Notification: Performance of SimCode: time 3.9e-07/0.6431, allocations: 0 / 0.6372 GB, free: 1.172 MB / 426.7 MB Notification: Performance of Templates: time 0.009056/0.6522, allocations: 5.245 MB / 0.6423 GB, free: 11.97 MB / 442.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