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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 110.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 187.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.209/0.209, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 75.88 kB / 471.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3242, allocations: 60.81 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003129/0.3274, allocations: 2.159 MB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3288, allocations: 0.9018 MB / 0.5226 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.3289, allocations: 5.625 kB / 0.5226 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.3292, allocations: 72.69 kB / 0.5227 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.3297, allocations: 152.3 kB / 0.5228 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.3299, allocations: 89.52 kB / 0.5229 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.3304, allocations: 489.2 kB / 0.5234 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.132e-05/0.3305, allocations: 60.5 kB / 0.5234 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.3308, allocations: 182.3 kB / 0.5236 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.331, allocations: 228.6 kB / 0.5238 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.3311, allocations: 11.62 kB / 0.5238 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.3314, allocations: 185.9 kB / 0.524 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.3316, allocations: 113.6 kB / 0.5241 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.3318, allocations: 193.3 kB / 0.5243 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006571/0.3324, allocations: 0.5384 MB / 0.5248 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3324, allocations: 3.938 kB / 0.5248 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3325, allocations: 0 / 0.5248 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.3325, allocations: 0 / 0.5248 GB, free: 0.5039 MB / 382.1 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.001068/0.3335, allocations: 0.7475 MB / 0.5256 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3336, allocations: 8.25 kB / 0.5256 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.717e-05/0.3337, allocations: 55.66 kB / 0.5256 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.3341, allocations: 300.1 kB / 0.5259 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.3342, allocations: 37.56 kB / 0.5259 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.3342, allocations: 46.23 kB / 0.526 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3354, allocations: 0.7155 MB / 0.5267 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3354, allocations: 0 / 0.5267 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.3355, allocations: 20.11 kB / 0.5267 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-05/0.3356, allocations: 53.34 kB / 0.5267 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.3368, allocations: 0.7488 MB / 0.5275 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.3392, allocations: 1.434 MB / 0.5289 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.34, allocations: 454.2 kB / 0.5293 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.3403, allocations: 168.4 kB / 0.5295 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.3403, allocations: 8.844 kB / 0.5295 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.3404, allocations: 40.77 kB / 0.5295 GB, free: 13.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.794e-06/0.3404, allocations: 0 / 0.5295 GB, free: 13.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001128/0.3415, allocations: 0.535 MB / 0.53 GB, free: 13.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3416, allocations: 58.25 kB / 0.5301 GB, free: 13.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.3422, allocations: 0.5269 MB / 0.5306 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.3422, allocations: 31.3 kB / 0.5306 GB, free: 13.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.3424, allocations: 237.4 kB / 0.5309 GB, free: 12.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/0.3425, allocations: 100.5 kB / 0.531 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3426, allocations: 83.47 kB / 0.531 GB, free: 12.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3428, allocations: 365.1 kB / 0.5314 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.3431, allocations: 154.2 kB / 0.5315 GB, free: 12.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.3434, allocations: 254.3 kB / 0.5318 GB, free: 12.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.3442, allocations: 437.9 kB / 0.5322 GB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3442, allocations: 0 / 0.5322 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008844/0.3451, allocations: 0.4971 MB / 0.5327 GB, free: 11.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3451, allocations: 7.344 kB / 0.5327 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3451, allocations: 2.125 kB / 0.5327 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3451, allocations: 5.188 kB / 0.5327 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009518/0.3461, allocations: 208.8 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.3501, allocations: 7.316 MB / 0.54 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.3506, allocations: 56.86 kB / 0.5401 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.3507, allocations: 19 kB / 0.5401 GB, free: 4.254 MB / 398.1 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 (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003584/0.351, allocations: 244.1 kB / 0.5403 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.819e-05/0.3511, allocations: 47.34 kB / 0.5404 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.3522, allocations: 0.534 MB / 0.5409 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.3523, allocations: 9.094 kB / 0.5409 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3523, allocations: 0 / 0.5409 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3524, allocations: 130 kB / 0.541 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.337e-05/0.3525, allocations: 5.094 kB / 0.5411 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.3528, allocations: 8.625 kB / 0.5411 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.3528, allocations: 32.52 kB / 0.5411 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001835/0.3547, allocations: 0.7711 MB / 0.5418 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001183/0.3559, allocations: 0.8076 MB / 0.5426 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003155/0.3562, allocations: 164.2 kB / 0.5428 GB, free: 2.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004645/0.3567, allocations: 391.7 kB / 0.5432 GB, free: 2.391 MB / 398.1 MB Notification: Performance of Backend: time 7.01e-07/0.3567, allocations: 0 / 0.5432 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.3585, allocations: 0.501 MB / 0.5437 GB, free: 2.156 MB / 398.1 MB Notification: Performance of SimCode: time 0.001958/0.3605, allocations: 1.423 MB / 0.545 GB, free: 1.113 MB / 398.1 MB Notification: Performance of Templates: time 0.01482/0.3753, allocations: 9.063 MB / 0.5539 GB, free: 8.324 MB / 414.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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