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.001662/0.001662, allocations: 110.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001998/0.001998, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.321/2.321, allocations: 227.4 MB / 246.9 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3881/0.3881, allocations: 46.11 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 79.94 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1918, allocations: 62.44 MB / 480 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.005676/0.1975, allocations: 1.977 MB / 481.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.2005, allocations: 1.176 MB / 483.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.2008, allocations: 4 kB / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.2012, allocations: 39.75 kB / 483.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.2015, allocations: 67.66 kB / 483.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.2023, allocations: 147.6 kB / 483.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005/0.2028, allocations: 302.9 kB / 483.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.2029, allocations: 21.67 kB / 483.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.2032, allocations: 91.56 kB / 483.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.2035, allocations: 115.5 kB / 483.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.2036, allocations: 8 kB / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.2042, allocations: 243.6 kB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.2043, allocations: 55.75 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2045, allocations: 83.41 kB / 484.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.205, allocations: 219.7 kB / 484.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.205, allocations: 4 kB / 484.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.205, allocations: 0 / 484.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.205, allocations: 0 / 484.5 MB, free: 1.141 MB / 350.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.001606/0.2066, allocations: 0.5492 MB / 485 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.2067, allocations: 8.031 kB / 485 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/0.2073, allocations: 56.61 kB / 485.1 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.2077, allocations: 240.6 kB / 485.3 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.2078, allocations: 12.38 kB / 485.3 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.2078, allocations: 20.12 kB / 485.4 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008712/0.2087, allocations: 277.6 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2087, allocations: 0 / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.2088, allocations: 4 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.2088, allocations: 12 kB / 485.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008748/0.2097, allocations: 235.4 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.2115, allocations: 0.7694 MB / 486.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/0.2123, allocations: 231.7 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.2128, allocations: 98.5 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.687e-05/0.2128, allocations: 7.984 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.2129, allocations: 34.56 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.2129, allocations: 0 / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001426/0.2143, allocations: 321.2 kB / 487.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002189/0.2146, allocations: 106.8 kB / 487.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.215, allocations: 282.5 kB / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.2151, allocations: 25.7 kB / 487.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.2152, allocations: 144.1 kB / 487.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.275e-05/0.2153, allocations: 47.27 kB / 487.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.2155, allocations: 37.7 kB / 488 MB, free: 13.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.2157, allocations: 338.8 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.216, allocations: 75.92 kB / 488.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.2164, allocations: 129 kB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/0.2172, allocations: 229.2 kB / 488.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2172, allocations: 0 / 488.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009743/0.2182, allocations: 261.1 kB / 489 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.2183, allocations: 11.94 kB / 489 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.486e-05/0.2183, allocations: 11.98 kB / 489 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.2183, allocations: 4 kB / 489 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.2186, allocations: 35.91 kB / 489 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2187, allocations: 0 / 489 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.219, allocations: 43.88 kB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.219, allocations: 8 kB / 489.1 MB, free: 12.23 MB / 366.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.0002389/0.2193, allocations: 149.8 kB / 489.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.2194, allocations: 23.66 kB / 489.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007332/0.2202, allocations: 231.2 kB / 489.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2202, allocations: 0 / 489.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2202, allocations: 4 kB / 489.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2202, allocations: 4 kB / 489.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.2209, allocations: 261.4 kB / 489.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.229e-05/0.221, allocations: 15.98 kB / 489.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.2212, allocations: 28.06 kB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.2213, allocations: 7.875 kB / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.2213, allocations: 11.94 kB / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2213, allocations: 0 / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.2213, allocations: 4 kB / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.2223, allocations: 481.7 kB / 490.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.2225, allocations: 100.8 kB / 490.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.2225, allocations: 3.938 kB / 490.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.223, allocations: 27.97 kB / 490.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2231, allocations: 7.984 kB / 490.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.2231, allocations: 11.94 kB / 490.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003109/0.2234, allocations: 205.9 kB / 490.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2235, allocations: 0 / 490.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008143/0.2243, allocations: 75.94 kB / 490.7 MB, free: 10.51 MB / 366.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.0004843/0.2248, allocations: 155.1 kB / 490.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009733/0.2258, allocations: 280.9 kB / 491.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2258, allocations: 0 / 491.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.2263, allocations: 181 kB / 491.3 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009364/0.2272, allocations: 52.78 kB / 491.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2288, allocations: 0.5529 MB / 491.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.2293, allocations: 0.7596 MB / 492.7 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.2294, allocations: 23.38 kB / 492.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2295, allocations: 3.938 kB / 492.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of Templates: time 0.01028/0.2397, allocations: 3.876 MB / 496.6 MB, free: 4.547 MB / 366.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/jenkins1/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/jenkins1/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