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.001143/0.001143, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001401/0.001401, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.376/1.376, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2229/0.2229, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 67.89 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4085, allocations: 60.82 MB / 0.5189 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.0032/0.4117, allocations: 1.903 MB / 0.5208 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.4136, allocations: 1.091 MB / 0.5218 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.4137, allocations: 1.281 kB / 0.5218 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.414, allocations: 47.28 kB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.4143, allocations: 70.08 kB / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.4149, allocations: 164.5 kB / 0.5221 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.4153, allocations: 227.3 kB / 0.5223 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.517e-05/0.4153, allocations: 16.41 kB / 0.5223 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.4155, allocations: 87.67 kB / 0.5224 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.4157, allocations: 107.4 kB / 0.5225 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.4158, allocations: 7.906 kB / 0.5225 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.4162, allocations: 237.3 kB / 0.5228 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.4164, allocations: 57.2 kB / 0.5228 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.4165, allocations: 88.34 kB / 0.5229 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.417, allocations: 326 kB / 0.5232 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.417, allocations: 0 / 0.5232 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.417, allocations: 1.188 kB / 0.5232 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.4171, allocations: 0 / 0.5232 GB, free: 0.9492 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.0009653/0.418, allocations: 0.5548 MB / 0.5238 GB, free: 492 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4181, allocations: 10 kB / 0.5238 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.4181, allocations: 22.53 kB / 0.5238 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.4184, allocations: 228.1 kB / 0.524 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.4184, allocations: 10.19 kB / 0.524 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.4184, allocations: 22.64 kB / 0.524 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.419, allocations: 283.1 kB / 0.5243 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4191, allocations: 0 / 0.5243 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.4191, allocations: 5.688 kB / 0.5243 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.4191, allocations: 14.98 kB / 0.5243 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006578/0.4198, allocations: 224.1 kB / 0.5245 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.4212, allocations: 0.7688 MB / 0.5253 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.4218, allocations: 232.3 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.4221, allocations: 98.55 kB / 0.5256 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.4222, allocations: 7.359 kB / 0.5256 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.4222, allocations: 36.77 kB / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.4222, allocations: 0 / 0.5256 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000983/0.4232, allocations: 325 kB / 0.526 GB, free: 15.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.4233, allocations: 104.2 kB / 0.5261 GB, free: 15.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.4237, allocations: 273.6 kB / 0.5263 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4237, allocations: 35.02 kB / 0.5263 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.4238, allocations: 138.9 kB / 0.5265 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.4239, allocations: 44.8 kB / 0.5265 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.4239, allocations: 40.83 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4241, allocations: 337.8 kB / 0.5269 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.4244, allocations: 81.52 kB / 0.527 GB, free: 14.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.4247, allocations: 127.2 kB / 0.5271 GB, free: 14.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.4252, allocations: 216.6 kB / 0.5273 GB, free: 14.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4253, allocations: 5.219 kB / 0.5273 GB, free: 14.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006671/0.4259, allocations: 262.8 kB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.426, allocations: 14.97 kB / 0.5276 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.426, allocations: 15.23 kB / 0.5276 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.426, allocations: 2.75 kB / 0.5276 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.4262, allocations: 33.22 kB / 0.5276 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.4262, allocations: 2.688 kB / 0.5276 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.4264, allocations: 34.28 kB / 0.5276 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.4265, allocations: 10.69 kB / 0.5277 GB, free: 13.88 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.0001641/0.4266, allocations: 148.5 kB / 0.5278 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.4267, allocations: 26.56 kB / 0.5278 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005217/0.4273, allocations: 225.1 kB / 0.528 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4273, allocations: 1.812 kB / 0.528 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4273, allocations: 1.844 kB / 0.528 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4273, allocations: 0 / 0.528 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.4277, allocations: 267.4 kB / 0.5283 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/0.4278, allocations: 12.11 kB / 0.5283 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.4279, allocations: 31.94 kB / 0.5283 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.428, allocations: 3.938 kB / 0.5283 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.428, allocations: 7.344 kB / 0.5283 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.428, allocations: 1.312 kB / 0.5283 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.428, allocations: 1.5 kB / 0.5283 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.4288, allocations: 485.4 kB / 0.5288 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.4289, allocations: 97.08 kB / 0.5289 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.4289, allocations: 5.188 kB / 0.5289 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.4292, allocations: 22.56 kB / 0.5289 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.4293, allocations: 14.45 kB / 0.5289 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.4293, allocations: 7.969 kB / 0.529 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.4295, allocations: 204.4 kB / 0.5291 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4295, allocations: 0 / 0.5291 GB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004823/0.43, allocations: 78.7 kB / 0.5292 GB, free: 12.64 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.0003245/0.4304, allocations: 159.7 kB / 0.5294 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006616/0.431, allocations: 286.4 kB / 0.5296 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.431, allocations: 5.531 kB / 0.5297 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.4314, allocations: 179.5 kB / 0.5298 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.0005319/0.4319, allocations: 39.92 kB / 0.5299 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009785/0.4329, allocations: 486.2 kB / 0.5303 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.4336, allocations: 0.7601 MB / 0.5311 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.4337, allocations: 37.95 kB / 0.5311 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.4338, allocations: 20.06 kB / 0.5311 GB, free: 11.11 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4338, allocations: 1.375 kB / 0.5311 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Templates: time 0.008836/0.4426, allocations: 4.019 MB / 0.5351 GB, free: 9.109 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/jenkins/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/jenkins/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