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.000989/0.0009891, allocations: 97.02 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 46.18 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002694, allocations: 8 kB / 418.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 63.56 MB / 482.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.001934/0.1273, allocations: 1.483 MB / 483.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1286, allocations: 0.7601 MB / 484.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.1287, allocations: 0 / 484.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.1289, allocations: 43.83 kB / 484.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1291, allocations: 71.7 kB / 484.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.1293, allocations: 63.81 kB / 484.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.1296, allocations: 191.2 kB / 485 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1296, allocations: 13.11 kB / 485 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1298, allocations: 67.7 kB / 485.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1299, allocations: 75.72 kB / 485.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1299, allocations: 4 kB / 485.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.1302, allocations: 159.7 kB / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.1302, allocations: 35.89 kB / 485.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.1303, allocations: 45.64 kB / 485.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1305, allocations: 131.8 kB / 485.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1305, allocations: 0 / 485.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1305, allocations: 0 / 485.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1305, allocations: 0 / 485.5 MB, free: 1.402 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.0005635/0.1311, allocations: 430.8 kB / 486 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1311, allocations: 12.03 kB / 486 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.1312, allocations: 15.81 kB / 486 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1314, allocations: 205.1 kB / 486.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.1314, allocations: 8 kB / 486.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1314, allocations: 11.98 kB / 486.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.1318, allocations: 169.6 kB / 486.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1318, allocations: 0 / 486.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.1318, allocations: 11.94 kB / 486.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.1318, allocations: 11.98 kB / 486.4 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.1322, allocations: 175.8 kB / 486.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007572/0.1329, allocations: 0.4922 MB / 487.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.1333, allocations: 158.4 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1335, allocations: 64.8 kB / 487.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.1335, allocations: 8.062 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.1335, allocations: 30.56 kB / 487.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.1335, allocations: 0 / 487.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000525/0.1341, allocations: 213.4 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1341, allocations: 51.41 kB / 487.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1344, allocations: 200.3 kB / 487.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1344, allocations: 29.7 kB / 487.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.1345, allocations: 115.9 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.1345, allocations: 35.55 kB / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.1345, allocations: 0 / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1347, allocations: 326.8 kB / 488.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1348, allocations: 55.94 kB / 488.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.135, allocations: 82.47 kB / 488.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1351, allocations: 59.94 kB / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1352, allocations: 3.938 kB / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000355/0.1355, allocations: 181.7 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1355, allocations: 4 kB / 488.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1356, allocations: 0 / 488.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1356, allocations: 4 kB / 488.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.1358, allocations: 55.91 kB / 488.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007181/0.1366, allocations: 1.227 MB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1367, allocations: 15.88 kB / 490 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1367, allocations: 4 kB / 490 MB, free: 12.71 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.1369, allocations: 142 kB / 490.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.1369, allocations: 11.81 kB / 490.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.1373, allocations: 194.9 kB / 490.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1374, allocations: 3.984 kB / 490.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1374, allocations: 8 kB / 490.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1374, allocations: 0 / 490.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.1376, allocations: 213.6 kB / 490.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1376, allocations: 0 / 490.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.1378, allocations: 47.97 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1379, allocations: 4 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1379, allocations: 0 / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006841/0.1386, allocations: 1.223 MB / 491.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1386, allocations: 0 / 491.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.139, allocations: 271.4 kB / 492.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.139, allocations: 92.95 kB / 492.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.1391, allocations: 3.984 kB / 492.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1392, allocations: 4 kB / 492.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1392, allocations: 7.984 kB / 492.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1392, allocations: 12 kB / 492.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1394, allocations: 153.2 kB / 492.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.833e-06/0.1394, allocations: 0 / 492.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.1397, allocations: 47.84 kB / 492.4 MB, free: 10.15 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002528/0.1399, allocations: 135.7 kB / 492.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.1404, allocations: 152 kB / 492.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1404, allocations: 192 / 492.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.1407, allocations: 99.94 kB / 492.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.141, allocations: 32.11 kB / 492.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/0.1417, allocations: 399.9 kB / 493.2 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.142, allocations: 0.724 MB / 493.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.1421, allocations: 37.05 kB / 493.9 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.1421, allocations: 11.44 kB / 493.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1421, allocations: 0 / 493.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of Templates: time 0.005371/0.1475, allocations: 2.38 MB / 496.3 MB, free: 6.188 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/jenkins/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/jenkins/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