Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001804, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 83.81 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3982, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.004056/0.4023, allocations: 1.912 MB / 0.5329 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.4044, allocations: 1.175 MB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.4045, allocations: 1.375 kB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.4048, allocations: 52.06 kB / 0.5341 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.405, allocations: 59.97 kB / 0.5341 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.4057, allocations: 183.8 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.406, allocations: 226.8 kB / 0.5345 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.389e-05/0.4061, allocations: 26.23 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.4063, allocations: 96.11 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.4065, allocations: 98.34 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.4066, allocations: 8.906 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005197/0.4071, allocations: 252.2 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.4072, allocations: 54.06 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.4073, allocations: 96.36 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.4079, allocations: 331.6 kB / 0.5355 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.408, allocations: 0 / 0.5355 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.408, allocations: 4 kB / 0.5355 GB, free: 10.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.408, allocations: 1.469 kB / 0.5355 GB, free: 10.28 MB / 398.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.001177/0.4092, allocations: 0.5672 MB / 0.536 GB, free: 9.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4092, allocations: 9.188 kB / 0.536 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.4097, allocations: 60.03 kB / 0.5361 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.41, allocations: 235.2 kB / 0.5363 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.41, allocations: 14.81 kB / 0.5363 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.41, allocations: 17.91 kB / 0.5363 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.4107, allocations: 279.4 kB / 0.5366 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4107, allocations: 1.375 kB / 0.5366 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.4107, allocations: 9.312 kB / 0.5366 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.4107, allocations: 8.844 kB / 0.5366 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000585/0.4113, allocations: 221.2 kB / 0.5368 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.4126, allocations: 0.776 MB / 0.5376 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.4132, allocations: 235.5 kB / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.4135, allocations: 99.28 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.4136, allocations: 7.422 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.4136, allocations: 32.12 kB / 0.5379 GB, free: 8.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 3.947e-06/0.4136, allocations: 96 / 0.5379 GB, free: 8.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009865/0.4146, allocations: 333.4 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.4147, allocations: 104 kB / 0.5384 GB, free: 7.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.415, allocations: 282.5 kB / 0.5386 GB, free: 7.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.4151, allocations: 26.86 kB / 0.5387 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4152, allocations: 147.2 kB / 0.5388 GB, free: 7.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.4152, allocations: 49.56 kB / 0.5388 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.4153, allocations: 40.2 kB / 0.5389 GB, free: 7.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4155, allocations: 333.6 kB / 0.5392 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.4158, allocations: 81.02 kB / 0.5393 GB, free: 7.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.4161, allocations: 124.2 kB / 0.5394 GB, free: 7.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.4166, allocations: 224.4 kB / 0.5396 GB, free: 6.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4166, allocations: 1 kB / 0.5396 GB, free: 6.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000669/0.4173, allocations: 264.5 kB / 0.5399 GB, free: 6.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.4174, allocations: 9.594 kB / 0.5399 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.4174, allocations: 19.84 kB / 0.5399 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4174, allocations: 1.562 kB / 0.5399 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.4176, allocations: 30 kB / 0.5399 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.4176, allocations: 6.25 kB / 0.5399 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.4178, allocations: 39.06 kB / 0.54 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.4179, allocations: 5.594 kB / 0.54 GB, free: 6.789 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.000159/0.418, allocations: 149.5 kB / 0.5401 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.4181, allocations: 30.41 kB / 0.5401 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.4187, allocations: 213.8 kB / 0.5403 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.4187, allocations: 6.062 kB / 0.5403 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4187, allocations: 1.781 kB / 0.5404 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4187, allocations: 0 / 0.5404 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.4192, allocations: 275.1 kB / 0.5406 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/0.4192, allocations: 16.53 kB / 0.5406 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.4194, allocations: 31.19 kB / 0.5407 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.4194, allocations: 5.062 kB / 0.5407 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4194, allocations: 2.688 kB / 0.5407 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.4194, allocations: 1.469 kB / 0.5407 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4194, allocations: 1.875 kB / 0.5407 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008109/0.4203, allocations: 488.1 kB / 0.5411 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.4204, allocations: 105 kB / 0.5412 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.4205, allocations: 5.25 kB / 0.5412 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.4207, allocations: 18.47 kB / 0.5413 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.4208, allocations: 14.27 kB / 0.5413 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.4208, allocations: 4.312 kB / 0.5413 GB, free: 5.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.4211, allocations: 208.8 kB / 0.5415 GB, free: 5.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4211, allocations: 1.125 kB / 0.5415 GB, free: 5.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005448/0.4217, allocations: 75.31 kB / 0.5415 GB, free: 5.555 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.0003744/0.4221, allocations: 164.3 kB / 0.5417 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007612/0.4228, allocations: 286.2 kB / 0.542 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4228, allocations: 0 / 0.542 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.4232, allocations: 183.7 kB / 0.5422 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.4238, allocations: 42.06 kB / 0.5422 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.4249, allocations: 488.8 kB / 0.5427 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.4253, allocations: 0.7565 MB / 0.5434 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.4255, allocations: 49.88 kB / 0.5434 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.4255, allocations: 17.16 kB / 0.5435 GB, free: 4.012 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4256, allocations: 0 / 0.5435 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Templates: time 0.00809/0.4336, allocations: 3.969 MB / 0.5473 GB, free: 0.5391 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches