Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.001654/0.001655, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1959/0.1959, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001624, allocations: 67.38 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07976/0.0814, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002506/0.08394, allocations: 1.766 MB / 443.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.08498, allocations: 0.8342 MB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.08506, allocations: 4 kB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.08529, allocations: 43.75 kB / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.08551, allocations: 71.64 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.08573, allocations: 71.69 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.08589, allocations: 147.3 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.08594, allocations: 21.11 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.08605, allocations: 67.64 kB / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.996e-05/0.08615, allocations: 75.66 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.08618, allocations: 8 kB / 445.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.08641, allocations: 155.8 kB / 445.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.08647, allocations: 31.91 kB / 445.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.08652, allocations: 55.61 kB / 445.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.08676, allocations: 203.2 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.08677, allocations: 4 kB / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08678, allocations: 0 / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.08679, allocations: 3.984 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005042/0.0873, allocations: 443 kB / 446 MB, free: 2.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.08733, allocations: 15.83 kB / 446 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.08738, allocations: 16.75 kB / 446 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.08753, allocations: 204 kB / 446.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.08755, allocations: 4.375 kB / 446.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.08757, allocations: 20.12 kB / 446.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.08785, allocations: 169.5 kB / 446.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.08786, allocations: 3.938 kB / 446.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.08788, allocations: 0 / 446.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.08791, allocations: 11.98 kB / 446.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.08819, allocations: 167.8 kB / 446.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.08879, allocations: 496 kB / 447 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.08913, allocations: 154.5 kB / 447.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.08926, allocations: 56.75 kB / 447.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.0893, allocations: 4 kB / 447.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.08932, allocations: 38.56 kB / 447.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.08932, allocations: 0 / 447.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004482/0.08977, allocations: 193.4 kB / 447.5 MB, free: 448 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/0.0898, allocations: 55.41 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.08993, allocations: 199.4 kB / 447.7 MB, free: 168 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.08995, allocations: 33.7 kB / 447.8 MB, free: 128 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.08999, allocations: 108 kB / 447.9 MB, free: 16 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.09004, allocations: 35.62 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.0901, allocations: 29.7 kB / 447.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.09021, allocations: 330.8 kB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.09036, allocations: 47.94 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.09051, allocations: 66.53 kB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.09078, allocations: 142.7 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0908, allocations: 0 / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003366/0.09114, allocations: 165.3 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.09116, allocations: 5.094 kB / 448.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.09117, allocations: 8.062 kB / 448.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.09119, allocations: 0 / 448.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.09146, allocations: 43.97 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006481/0.09212, allocations: 1.223 MB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.09225, allocations: 20.03 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.09227, allocations: 7.938 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.09245, allocations: 151.7 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.09249, allocations: 15.75 kB / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.09291, allocations: 183 kB / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.09292, allocations: 0 / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.09294, allocations: 11.92 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.09294, allocations: 0 / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.09319, allocations: 217.5 kB / 450.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.09321, allocations: 3.938 kB / 450.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.09344, allocations: 43.97 kB / 450.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.09345, allocations: 4 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.09347, allocations: 4 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006363/0.09411, allocations: 1.227 MB / 451.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.09413, allocations: 0 / 451.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.0945, allocations: 247.2 kB / 452.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.09456, allocations: 85.2 kB / 452.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.0946, allocations: 15.92 kB / 452.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.09473, allocations: 4 kB / 452.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.09478, allocations: 7.984 kB / 452.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.09479, allocations: 4 kB / 452.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.09492, allocations: 153.2 kB / 452.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09493, allocations: 0 / 452.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.09522, allocations: 43.91 kB / 452.4 MB, free: 11.29 MB / 334.1 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002008/0.09543, allocations: 139.3 kB / 452.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.09588, allocations: 143.8 kB / 452.6 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0959, allocations: 4.125 kB / 452.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.09617, allocations: 87.88 kB / 452.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.09648, allocations: 31.73 kB / 452.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.09711, allocations: 347.4 kB / 453.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.09741, allocations: 0.7279 MB / 453.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.84e-05/0.09753, allocations: 33.06 kB / 453.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.09757, allocations: 15.42 kB / 453.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09758, allocations: 4 kB / 453.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of Templates: time 0.005668/0.1033, allocations: 2.583 MB / 456.5 MB, free: 7.164 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches