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.001067/0.001067, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.001171/0.001172, allocations: 180.2 kB / 19.38 MB, free: 3.684 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.266/1.266, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1905/0.1905, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3196, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003017/0.3226, allocations: 1.775 MB / 0.5213 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3239, allocations: 0.7941 MB / 0.5221 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.3241, allocations: 1 kB / 0.5221 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.3244, allocations: 39.91 kB / 0.5221 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.3247, allocations: 71.41 kB / 0.5222 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.325, allocations: 76.22 kB / 0.5223 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.3253, allocations: 150.5 kB / 0.5224 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.3253, allocations: 18.27 kB / 0.5224 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.3255, allocations: 65.09 kB / 0.5225 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.3257, allocations: 76.69 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.3257, allocations: 7.594 kB / 0.5226 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.326, allocations: 155.8 kB / 0.5227 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.3261, allocations: 41.3 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.3262, allocations: 49.44 kB / 0.5228 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.3265, allocations: 204.5 kB / 0.523 GB, free: 1.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3265, allocations: 4 kB / 0.523 GB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3266, allocations: 0 / 0.523 GB, free: 1.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.3266, allocations: 1.031 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.0007016/0.3273, allocations: 446.3 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3273, allocations: 10.45 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.3274, allocations: 19.81 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.3276, allocations: 193.6 kB / 0.5236 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3276, allocations: 9.25 kB / 0.5237 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.3276, allocations: 10.66 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.328, allocations: 176.8 kB / 0.5238 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.328, allocations: 1.562 kB / 0.5238 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.328, allocations: 4 kB / 0.5238 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.328, allocations: 12.3 kB / 0.5239 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.3284, allocations: 166.4 kB / 0.524 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.3291, allocations: 495.5 kB / 0.5245 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.3295, allocations: 155.4 kB / 0.5246 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.3297, allocations: 56.48 kB / 0.5247 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3297, allocations: 1.719 kB / 0.5247 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.3297, allocations: 37.22 kB / 0.5247 GB, free: 224 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3297, allocations: 0 / 0.5247 GB, free: 224 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005281/0.3303, allocations: 201.8 kB / 0.5249 GB, free: 156 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.3303, allocations: 53.03 kB / 0.525 GB, free: 92 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3305, allocations: 203.3 kB / 0.5252 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3305, allocations: 29.64 kB / 0.5252 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.3306, allocations: 111.8 kB / 0.5253 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.3307, allocations: 39.73 kB / 0.5253 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.3307, allocations: 29.28 kB / 0.5254 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3309, allocations: 328.9 kB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.331, allocations: 52.89 kB / 0.5257 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3312, allocations: 70.48 kB / 0.5258 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.3315, allocations: 130.4 kB / 0.5259 GB, free: 15.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3315, allocations: 0 / 0.5259 GB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003652/0.3318, allocations: 163.7 kB / 0.5261 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3319, allocations: 6.297 kB / 0.5261 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3319, allocations: 4.062 kB / 0.5261 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3319, allocations: 1.375 kB / 0.5261 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.3322, allocations: 49.67 kB / 0.5261 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000741/0.3329, allocations: 1.219 MB / 0.5273 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.3331, allocations: 19.88 kB / 0.5273 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.3332, allocations: 8.875 kB / 0.5273 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.0001877/0.3334, allocations: 129.8 kB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.3334, allocations: 18 kB / 0.5275 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.3338, allocations: 183.6 kB / 0.5277 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3339, allocations: 0 / 0.5277 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3339, allocations: 5.375 kB / 0.5277 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3339, allocations: 4.734 kB / 0.5277 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.3341, allocations: 223 kB / 0.5279 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3342, allocations: 5.219 kB / 0.5279 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.3344, allocations: 43.12 kB / 0.5279 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3344, allocations: 1.828 kB / 0.5279 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3344, allocations: 5.312 kB / 0.5279 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007158/0.3351, allocations: 1.229 MB / 0.5291 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3352, allocations: 1.25 kB / 0.5291 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.3356, allocations: 253.3 kB / 0.5294 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.3356, allocations: 90.58 kB / 0.5295 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.3357, allocations: 11.88 kB / 0.5295 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3358, allocations: 8.172 kB / 0.5295 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.3359, allocations: 8.156 kB / 0.5295 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3359, allocations: 6.922 kB / 0.5295 GB, free: 12.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.336, allocations: 143.7 kB / 0.5296 GB, free: 12 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.336, allocations: 1.312 kB / 0.5296 GB, free: 12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000322/0.3363, allocations: 45.8 kB / 0.5297 GB, free: 11.99 MB / 398.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.0002368/0.3366, allocations: 132.4 kB / 0.5298 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004745/0.3371, allocations: 143.1 kB / 0.5299 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3371, allocations: 4.125 kB / 0.53 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.3373, allocations: 92.2 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3377, allocations: 25.89 kB / 0.5301 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.3383, allocations: 374.5 kB / 0.5304 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3386, allocations: 0.7261 MB / 0.5311 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.3387, allocations: 19.41 kB / 0.5312 GB, free: 10.78 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3387, allocations: 3.938 kB / 0.5312 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Templates: time 0.00583/0.3445, allocations: 3.489 MB / 0.5346 GB, free: 8.969 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