Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.72/1.72, allocations: 227.4 MB / 246.9 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.273/0.273, allocations: 46.1 MB / 344.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 72.28 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2045, allocations: 62.45 MB / 480 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.005971/0.2106, allocations: 1.848 MB / 481.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.2133, allocations: 0.8413 MB / 482.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.2135, allocations: 0 / 482.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.2139, allocations: 35.83 kB / 482.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.2145, allocations: 67.69 kB / 482.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.215, allocations: 75.75 kB / 482.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005066/0.2155, allocations: 243.2 kB / 483.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.251e-05/0.2156, allocations: 17.11 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.2159, allocations: 55.77 kB / 483.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.2162, allocations: 83.66 kB / 483.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.2163, allocations: 8 kB / 483.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.2168, allocations: 163.6 kB / 483.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.217, allocations: 35.89 kB / 483.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.2171, allocations: 43.69 kB / 483.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.2175, allocations: 139.8 kB / 483.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2175, allocations: 0 / 483.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2175, allocations: 0 / 483.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2175, allocations: 0 / 483.6 MB, free: 2.016 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00116/0.2187, allocations: 450.9 kB / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.2188, allocations: 8.875 kB / 484.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.692e-05/0.2189, allocations: 20.75 kB / 484.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.2193, allocations: 196.1 kB / 484.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.2193, allocations: 8.375 kB / 484.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.2194, allocations: 16.12 kB / 484.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.22, allocations: 169.5 kB / 484.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.22, allocations: 0 / 484.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.2201, allocations: 4 kB / 484.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/0.2201, allocations: 19.98 kB / 484.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.2208, allocations: 171.7 kB / 484.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.2223, allocations: 492 kB / 485.1 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.223, allocations: 162.4 kB / 485.3 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.2233, allocations: 52.81 kB / 485.3 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.2234, allocations: 0 / 485.3 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.2234, allocations: 34.56 kB / 485.4 MB, free: 88 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 3.165e-06/0.2234, allocations: 0 / 485.4 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001054/0.2245, allocations: 205.3 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.2246, allocations: 51.41 kB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.225, allocations: 203.4 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.225, allocations: 25.7 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.2251, allocations: 115.9 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.2252, allocations: 27.56 kB / 486 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.2253, allocations: 29.7 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.2256, allocations: 334.8 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.2258, allocations: 55.88 kB / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.2262, allocations: 66.53 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.2267, allocations: 130.4 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2268, allocations: 4 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007302/0.2275, allocations: 169.7 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.2275, allocations: 4 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2276, allocations: 0 / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.2276, allocations: 4 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.2281, allocations: 43.97 kB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.2294, allocations: 1.219 MB / 488 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.2296, allocations: 19.81 kB / 488 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.2297, allocations: 11.98 kB / 488.1 MB, free: 13.27 MB / 366.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.0003348/0.23, allocations: 134 kB / 488.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.2301, allocations: 23.73 kB / 488.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007783/0.2309, allocations: 182.9 kB / 488.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2309, allocations: 4 kB / 488.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.231, allocations: 0 / 488.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.231, allocations: 0 / 488.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.2315, allocations: 225.6 kB / 488.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2315, allocations: 3.938 kB / 488.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.232, allocations: 47.97 kB / 488.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.232, allocations: 0 / 488.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.232, allocations: 4 kB / 488.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.2332, allocations: 1.219 MB / 489.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2332, allocations: 0 / 489.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.2339, allocations: 255.2 kB / 490.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.234, allocations: 96.84 kB / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.2341, allocations: 3.938 kB / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.2343, allocations: 4 kB / 490.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.2344, allocations: 16.05 kB / 490.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.2345, allocations: 4 kB / 490.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002784/0.2348, allocations: 145.2 kB / 490.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2348, allocations: 0 / 490.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006047/0.2354, allocations: 44 kB / 490.4 MB, free: 10.74 MB / 366.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.0004873/0.2359, allocations: 135.2 kB / 490.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009423/0.2369, allocations: 147.9 kB / 490.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2369, allocations: 0 / 490.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.2375, allocations: 87.88 kB / 490.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.2381, allocations: 24.11 kB / 490.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.2395, allocations: 411.5 kB / 491.2 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.24, allocations: 0.7279 MB / 492 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.2401, allocations: 15.44 kB / 492 MB, free: 9.145 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2401, allocations: 0 / 492 MB, free: 9.145 MB / 366.1 MB Notification: Performance of Templates: time 0.01163/0.2517, allocations: 3.507 MB / 495.5 MB, free: 5.648 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches