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_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_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_4.0.0_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_4.0.0_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.001176/0.001176, allocations: 111.7 kB / 18.46 MB, free: 4.617 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.001177/0.001177, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.395/1.395, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2088/0.2088, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3199, allocations: 60.83 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003263/0.3232, allocations: 1.77 MB / 0.5213 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.3247, allocations: 0.795 MB / 0.5221 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.3247, allocations: 1.094 kB / 0.5221 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.325, allocations: 42.78 kB / 0.5221 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.3253, allocations: 73.03 kB / 0.5222 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.3256, allocations: 73.8 kB / 0.5223 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.3258, allocations: 151 kB / 0.5224 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.3259, allocations: 17.64 kB / 0.5224 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.3261, allocations: 61.55 kB / 0.5225 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.3263, allocations: 80.16 kB / 0.5226 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.3263, allocations: 4.562 kB / 0.5226 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.3267, allocations: 151.2 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.182e-05/0.3268, allocations: 45.22 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.3268, allocations: 50.08 kB / 0.5228 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.3272, allocations: 203.1 kB / 0.523 GB, free: 1.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3272, allocations: 1.188 kB / 0.523 GB, free: 1.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3272, allocations: 0 / 0.523 GB, free: 1.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3273, allocations: 4 kB / 0.523 GB, free: 1.426 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006882/0.328, allocations: 448.1 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.328, allocations: 8.188 kB / 0.5235 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.3281, allocations: 15.28 kB / 0.5235 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3283, allocations: 202.6 kB / 0.5237 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3283, allocations: 9.609 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.3283, allocations: 10.53 kB / 0.5237 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.3287, allocations: 172.5 kB / 0.5238 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3287, allocations: 1.312 kB / 0.5239 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3287, allocations: 4.703 kB / 0.5239 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/0.3288, allocations: 15.86 kB / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.3291, allocations: 166.7 kB / 0.524 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.3298, allocations: 486.8 kB / 0.5245 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.3303, allocations: 164.3 kB / 0.5246 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.3304, allocations: 55.88 kB / 0.5247 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.3305, allocations: 1.703 kB / 0.5247 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.3305, allocations: 32.16 kB / 0.5247 GB, free: 224 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3305, allocations: 0 / 0.5247 GB, free: 224 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005827/0.3311, allocations: 206.1 kB / 0.5249 GB, free: 152 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.3311, allocations: 53.73 kB / 0.525 GB, free: 88 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.3314, allocations: 199.7 kB / 0.5252 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3314, allocations: 29.64 kB / 0.5252 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.3315, allocations: 111.5 kB / 0.5253 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.3315, allocations: 33.53 kB / 0.5253 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.3316, allocations: 34.59 kB / 0.5254 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3317, allocations: 324.1 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.3319, allocations: 59.27 kB / 0.5257 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.332, allocations: 70.44 kB / 0.5258 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.3324, allocations: 137.5 kB / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3324, allocations: 0 / 0.5259 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003622/0.3328, allocations: 164.4 kB / 0.5261 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3328, allocations: 5.5 kB / 0.5261 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3328, allocations: 0 / 0.5261 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3328, allocations: 1.375 kB / 0.5261 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.3331, allocations: 53.5 kB / 0.5262 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007809/0.3339, allocations: 1.215 MB / 0.5273 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.334, allocations: 15.5 kB / 0.5274 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.3341, allocations: 13.11 kB / 0.5274 GB, free: 14.07 MB / 398.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.0002364/0.3343, allocations: 134.6 kB / 0.5275 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.3344, allocations: 21.23 kB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000639/0.335, allocations: 183.7 kB / 0.5277 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3351, allocations: 0.7031 kB / 0.5277 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3351, allocations: 0 / 0.5277 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.3351, allocations: 95.67 kB / 0.5278 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.3352, allocations: 8.703 kB / 0.5278 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.3353, allocations: 6.141 kB / 0.5278 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.3354, allocations: 7.406 kB / 0.5278 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006542/0.336, allocations: 277.7 kB / 0.5281 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006142/0.3367, allocations: 410.7 kB / 0.5285 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001526/0.3368, allocations: 55.88 kB / 0.5285 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.3371, allocations: 144.7 kB / 0.5287 GB, free: 13.16 MB / 398.1 MB Notification: Performance of Backend: time 7.92e-07/0.3371, allocations: 3.938 kB / 0.5287 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008174/0.3379, allocations: 203.7 kB / 0.5288 GB, free: 13.04 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008223/0.3387, allocations: 0.7882 MB / 0.5296 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Templates: time 0.006633/0.3454, allocations: 2.866 MB / 0.5324 GB, free: 10.94 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches