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_evenGapTurbulent.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_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001294, allocations: 110.8 kB / 18.45 MB, free: 4.645 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.001348/0.001348, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.331/1.331, allocations: 222.9 MB / 243.1 MB, free: 15.2 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.1986/0.1986, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3137, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002707/0.3165, allocations: 1.893 MB / 0.5214 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3179, allocations: 1.094 MB / 0.5225 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.3179, allocations: 2.25 kB / 0.5225 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.3182, allocations: 47.41 kB / 0.5225 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3184, allocations: 61.83 kB / 0.5226 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.3188, allocations: 164.4 kB / 0.5228 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.3191, allocations: 230.4 kB / 0.523 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/0.3192, allocations: 20.19 kB / 0.523 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.3193, allocations: 87.42 kB / 0.5231 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3194, allocations: 107.7 kB / 0.5232 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.3195, allocations: 8.375 kB / 0.5232 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.3199, allocations: 233 kB / 0.5234 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.3199, allocations: 58.11 kB / 0.5235 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.32, allocations: 92.22 kB / 0.5236 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.3205, allocations: 326.1 kB / 0.5239 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.3205, allocations: 0 / 0.5239 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3205, allocations: 0 / 0.5239 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3205, allocations: 1.75 kB / 0.5239 GB, free: 0.9336 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008874/0.3214, allocations: 0.5499 MB / 0.5244 GB, free: 480 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3214, allocations: 14.19 kB / 0.5244 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.3215, allocations: 24.97 kB / 0.5244 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3217, allocations: 225.4 kB / 0.5247 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3217, allocations: 11.16 kB / 0.5247 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.3217, allocations: 17.38 kB / 0.5247 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.3223, allocations: 279.5 kB / 0.525 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3223, allocations: 4 kB / 0.525 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.3223, allocations: 10.44 kB / 0.525 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.3223, allocations: 13.69 kB / 0.525 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.3229, allocations: 220.5 kB / 0.5252 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.324, allocations: 0.7726 MB / 0.5259 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.3245, allocations: 237.7 kB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.3248, allocations: 100.8 kB / 0.5263 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.3248, allocations: 3.547 kB / 0.5263 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3249, allocations: 36.67 kB / 0.5263 GB, free: 15.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3249, allocations: 4 kB / 0.5263 GB, free: 15.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009144/0.3258, allocations: 318.6 kB / 0.5266 GB, free: 15.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.3259, allocations: 108.4 kB / 0.5267 GB, free: 15.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.3261, allocations: 281.5 kB / 0.527 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3262, allocations: 31.08 kB / 0.527 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.3263, allocations: 134.9 kB / 0.5271 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.3263, allocations: 44.8 kB / 0.5272 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.3264, allocations: 40.83 kB / 0.5272 GB, free: 14.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3265, allocations: 333.7 kB / 0.5275 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.3268, allocations: 89.81 kB / 0.5276 GB, free: 14.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.327, allocations: 119.3 kB / 0.5277 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.3275, allocations: 216.6 kB / 0.5279 GB, free: 14.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3275, allocations: 3.938 kB / 0.528 GB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006097/0.3282, allocations: 264 kB / 0.5282 GB, free: 13.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3282, allocations: 9.719 kB / 0.5282 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/0.3282, allocations: 17.19 kB / 0.5282 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3283, allocations: 1.594 kB / 0.5282 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.3285, allocations: 33.92 kB / 0.5283 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3285, allocations: 5.625 kB / 0.5283 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3287, allocations: 30.52 kB / 0.5283 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.3287, allocations: 14.86 kB / 0.5283 GB, free: 13.87 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.3288, allocations: 145.6 kB / 0.5284 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.3289, allocations: 25.5 kB / 0.5285 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.3294, allocations: 228.9 kB / 0.5287 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3294, allocations: 6.203 kB / 0.5287 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3295, allocations: 1.531 kB / 0.5287 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3295, allocations: 1.531 kB / 0.5287 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.3299, allocations: 270.7 kB / 0.529 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.3299, allocations: 7.125 kB / 0.529 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.3301, allocations: 27.28 kB / 0.529 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3301, allocations: 5.406 kB / 0.529 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3301, allocations: 12.14 kB / 0.529 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3301, allocations: 1.5 kB / 0.529 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3301, allocations: 4 kB / 0.529 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.3308, allocations: 478.3 kB / 0.5295 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.3308, allocations: 103.7 kB / 0.5296 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.3309, allocations: 10.69 kB / 0.5296 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3311, allocations: 13.23 kB / 0.5296 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.3312, allocations: 19.52 kB / 0.5296 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3312, allocations: 8.422 kB / 0.5296 GB, free: 12.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.3314, allocations: 202.8 kB / 0.5298 GB, free: 12.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3314, allocations: 1.125 kB / 0.5298 GB, free: 12.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004722/0.3319, allocations: 74.62 kB / 0.5299 GB, free: 12.63 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003054/0.3322, allocations: 156.1 kB / 0.53 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006471/0.3329, allocations: 281.2 kB / 0.5303 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3329, allocations: 1.219 kB / 0.5303 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.3332, allocations: 179.9 kB / 0.5305 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.3338, allocations: 55.28 kB / 0.5305 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.3347, allocations: 0.5035 MB / 0.531 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.335, allocations: 0.7548 MB / 0.5318 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.3351, allocations: 18.31 kB / 0.5318 GB, free: 11.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3351, allocations: 3.938 kB / 0.5318 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Templates: time 0.006943/0.342, allocations: 3.853 MB / 0.5355 GB, free: 9.121 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches