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.001063/0.001063, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.2159, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 71.89 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3217, 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.003381/0.3251, allocations: 1.912 MB / 0.5329 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3273, allocations: 1.171 MB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.3274, allocations: 5.312 kB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.3278, allocations: 48.11 kB / 0.5341 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.3281, allocations: 59.97 kB / 0.5341 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006387/0.3287, allocations: 189.2 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.3291, allocations: 223.4 kB / 0.5345 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.677e-05/0.3291, allocations: 23.42 kB / 0.5345 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.3294, allocations: 95.88 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3296, allocations: 105.7 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.3296, allocations: 9 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.3301, allocations: 255.8 kB / 0.535 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.3302, allocations: 53.66 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.3303, allocations: 96.72 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.3309, allocations: 321.6 kB / 0.5354 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3309, allocations: 0 / 0.5354 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.331, allocations: 4 kB / 0.5354 GB, free: 10.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.331, allocations: 5.203 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.001227/0.3322, allocations: 0.5555 MB / 0.536 GB, free: 9.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3322, allocations: 9.906 kB / 0.536 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003858/0.3326, allocations: 64.05 kB / 0.5361 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3329, allocations: 235.8 kB / 0.5363 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.333, allocations: 9.562 kB / 0.5363 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.333, allocations: 22.58 kB / 0.5363 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.3335, allocations: 275.9 kB / 0.5366 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3336, allocations: 0 / 0.5366 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.3336, allocations: 13.52 kB / 0.5366 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.3336, allocations: 9.438 kB / 0.5366 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.3342, allocations: 228.6 kB / 0.5368 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.3354, allocations: 0.7672 MB / 0.5376 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.336, allocations: 228.4 kB / 0.5378 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.3363, allocations: 104.3 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.3363, allocations: 9.516 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3364, allocations: 36.81 kB / 0.5379 GB, free: 8.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.3364, allocations: 0 / 0.5379 GB, free: 8.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009497/0.3373, allocations: 320.9 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.3374, allocations: 108.2 kB / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.3377, allocations: 287.1 kB / 0.5386 GB, free: 7.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3377, allocations: 27.02 kB / 0.5386 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3378, allocations: 138.9 kB / 0.5388 GB, free: 7.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.3379, allocations: 48.39 kB / 0.5388 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.338, allocations: 37.92 kB / 0.5389 GB, free: 7.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3381, allocations: 336.6 kB / 0.5392 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.3384, allocations: 81.47 kB / 0.5393 GB, free: 7.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.3387, allocations: 127.7 kB / 0.5394 GB, free: 7.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.3392, allocations: 221 kB / 0.5396 GB, free: 6.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3393, allocations: 0 / 0.5396 GB, free: 6.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006686/0.3399, allocations: 263.5 kB / 0.5398 GB, free: 6.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.34, allocations: 10.47 kB / 0.5399 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.34, allocations: 11.95 kB / 0.5399 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.34, allocations: 2.25 kB / 0.5399 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3402, allocations: 38.12 kB / 0.5399 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3403, allocations: 10.09 kB / 0.5399 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.3405, allocations: 30.16 kB / 0.5399 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.3405, allocations: 6.469 kB / 0.5399 GB, free: 6.809 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.0001569/0.3407, allocations: 145.4 kB / 0.5401 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.3408, allocations: 26.78 kB / 0.5401 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.3413, allocations: 224.6 kB / 0.5403 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3413, allocations: 6.25 kB / 0.5403 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3413, allocations: 1.094 kB / 0.5403 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3413, allocations: 1.094 kB / 0.5403 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.3418, allocations: 271 kB / 0.5406 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/0.3419, allocations: 8.438 kB / 0.5406 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.342, allocations: 30.64 kB / 0.5406 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.3421, allocations: 6.25 kB / 0.5406 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.3421, allocations: 6.594 kB / 0.5406 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3421, allocations: 1.531 kB / 0.5406 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3421, allocations: 1.625 kB / 0.5406 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.3428, allocations: 482 kB / 0.5411 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.343, allocations: 108.1 kB / 0.5412 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.343, allocations: 5.219 kB / 0.5412 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.3433, allocations: 21.75 kB / 0.5412 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.3433, allocations: 18.89 kB / 0.5413 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3433, allocations: 4.812 kB / 0.5413 GB, free: 5.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.3435, allocations: 204.5 kB / 0.5414 GB, free: 5.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3436, allocations: 0 / 0.5414 GB, free: 5.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004597/0.344, allocations: 76.11 kB / 0.5415 GB, free: 5.574 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.0002914/0.3443, allocations: 164.5 kB / 0.5417 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006391/0.345, allocations: 281.6 kB / 0.5419 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.345, allocations: 1.219 kB / 0.5419 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.3453, allocations: 178.8 kB / 0.5421 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.3458, allocations: 49.11 kB / 0.5422 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.3468, allocations: 479.8 kB / 0.5426 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3471, allocations: 0.761 MB / 0.5434 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.3473, allocations: 41.55 kB / 0.5434 GB, free: 4.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.3473, allocations: 24.42 kB / 0.5434 GB, free: 4.039 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3473, allocations: 3.938 kB / 0.5434 GB, free: 4.035 MB / 398.1 MB Notification: Performance of Templates: time 0.007762/0.3551, allocations: 4.034 MB / 0.5474 GB, free: 0.5156 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