Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008743/0.0008743, allocations: 183.1 kB / 18.09 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 223.3 MB / 242.1 MB, free: 10.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007634/0.0007634, allocations: 100.6 kB / 293.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2843/0.2843, allocations: 44.15 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 12 kB / 461.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2688, allocations: 61.88 MB / 0.5107 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.3784, allocations: 94.56 MB / 0.6031 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.3786, allocations: 107.9 kB / 0.6032 GB, free: 472 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03547/0.4141, allocations: 14.46 MB / 0.6173 GB, free: 1.773 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4142, allocations: 0 / 0.6173 GB, free: 1.773 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.297e-05/0.4142, allocations: 8 kB / 0.6173 GB, free: 1.766 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001071/0.4153, allocations: 0.6475 MB / 0.618 GB, free: 1.066 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4154, allocations: 8.031 kB / 0.618 GB, free: 1.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.4155, allocations: 52.28 kB / 0.618 GB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.4159, allocations: 304.2 kB / 0.6183 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.4159, allocations: 37.69 kB / 0.6183 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.416, allocations: 56.36 kB / 0.6184 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.4171, allocations: 0.6936 MB / 0.6191 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4172, allocations: 4 kB / 0.6191 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.4172, allocations: 23.88 kB / 0.6191 GB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.098e-05/0.4173, allocations: 45.28 kB / 0.6191 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.4185, allocations: 0.7466 MB / 0.6199 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.4208, allocations: 1.441 MB / 0.6213 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.4216, allocations: 449.2 kB / 0.6217 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.4218, allocations: 161.2 kB / 0.6219 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.4219, allocations: 16.22 kB / 0.6219 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4219, allocations: 38.73 kB / 0.6219 GB, free: 12.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.003e-06/0.4219, allocations: 0 / 0.6219 GB, free: 12.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001042/0.423, allocations: 0.5482 MB / 0.6224 GB, free: 12.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.423, allocations: 55.41 kB / 0.6225 GB, free: 12.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.4237, allocations: 0.5251 MB / 0.623 GB, free: 11.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.4237, allocations: 29.7 kB / 0.623 GB, free: 11.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.4239, allocations: 236.3 kB / 0.6233 GB, free: 11.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.424, allocations: 94.64 kB / 0.6234 GB, free: 11.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.424, allocations: 8 kB / 0.6234 GB, free: 11.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4241, allocations: 362.8 kB / 0.6237 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.4244, allocations: 156.5 kB / 0.6239 GB, free: 10.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.4248, allocations: 253.8 kB / 0.6241 GB, free: 10.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.4255, allocations: 443.9 kB / 0.6245 GB, free: 10.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4255, allocations: 4 kB / 0.6245 GB, free: 10.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008486/0.4263, allocations: 0.4927 MB / 0.625 GB, free: 9.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4264, allocations: 11.94 kB / 0.625 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4264, allocations: 4 kB / 0.625 GB, free: 9.574 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4264, allocations: 4 kB / 0.625 GB, free: 9.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008298/0.4272, allocations: 220.1 kB / 0.6252 GB, free: 9.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.4309, allocations: 7.309 MB / 0.6324 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.4313, allocations: 71.61 kB / 0.6324 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.4313, allocations: 20 kB / 0.6325 GB, free: 1.676 MB / 442.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.0003084/0.4316, allocations: 234.2 kB / 0.6327 GB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.4317, allocations: 47.44 kB / 0.6327 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009498/0.4327, allocations: 0.5447 MB / 0.6333 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4327, allocations: 7.938 kB / 0.6333 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4327, allocations: 0 / 0.6333 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4327, allocations: 7.922 kB / 0.6333 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.4333, allocations: 421.2 kB / 0.6337 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4333, allocations: 0 / 0.6337 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007366/0.434, allocations: 207.9 kB / 0.6339 GB, free: 160 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4341, allocations: 0 / 0.6339 GB, free: 160 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.4341, allocations: 12 kB / 0.6339 GB, free: 148 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/0.4373, allocations: 7.325 MB / 0.641 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4373, allocations: 0 / 0.641 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/0.438, allocations: 0.5077 MB / 0.6415 GB, free: 8.012 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.4381, allocations: 132.4 kB / 0.6417 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.4382, allocations: 4 kB / 0.6417 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.4384, allocations: 11.98 kB / 0.6417 GB, free: 7.848 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.4385, allocations: 23.97 kB / 0.6417 GB, free: 7.824 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.4385, allocations: 19.98 kB / 0.6417 GB, free: 7.805 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003911/0.4389, allocations: 387 kB / 0.6421 GB, free: 7.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4389, allocations: 0 / 0.6421 GB, free: 7.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004706/0.4394, allocations: 139.8 kB / 0.6422 GB, free: 7.293 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.0002932/0.4397, allocations: 192.9 kB / 0.6424 GB, free: 7.098 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.441, allocations: 0.5353 MB / 0.6429 GB, free: 6.562 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.441, allocations: 3.938 kB / 0.6429 GB, free: 6.559 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.442, allocations: 351.6 kB / 0.6433 GB, free: 6.215 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.4425, allocations: 90.59 kB / 0.6434 GB, free: 6.125 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.4441, allocations: 1.054 MB / 0.6444 GB, free: 5.043 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.4445, allocations: 0.9013 MB / 0.6453 GB, free: 4.117 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.4448, allocations: 120.1 kB / 0.6454 GB, free: 4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.4449, allocations: 35.42 kB / 0.6454 GB, free: 3.965 MB / 458.7 MB Notification: Performance of SimCode: time 4.2e-07/0.4449, allocations: 4 kB / 0.6454 GB, free: 3.961 MB / 458.7 MB Notification: Performance of Templates: time 0.01369/0.4586, allocations: 8.313 MB / 0.6535 GB, free: 11.74 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches