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.001024/0.001024, allocations: 92.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001329, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.8 MB / 246.9 MB, free: 9.727 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.2 MB / 345.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002696, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 63.58 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002163/0.1229, allocations: 1.51 MB / 484.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1243, allocations: 0.818 MB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.1243, allocations: 0 / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1246, allocations: 39.8 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.1248, allocations: 63.72 kB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.1251, allocations: 79.72 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.1254, allocations: 243.2 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.1254, allocations: 9.125 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.1256, allocations: 55.78 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1258, allocations: 87.61 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1258, allocations: 4 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.1261, allocations: 155.8 kB / 486.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.1262, allocations: 47.81 kB / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.1263, allocations: 81.31 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.1266, allocations: 199.5 kB / 486.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1266, allocations: 0 / 486.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1266, allocations: 0 / 486.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1266, allocations: 0 / 486.6 MB, free: 0.6406 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.0007483/0.1274, allocations: 435 kB / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1274, allocations: 8.875 kB / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.1275, allocations: 16.75 kB / 487 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1277, allocations: 202.6 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1278, allocations: 4.375 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1278, allocations: 16.12 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.1282, allocations: 177.5 kB / 487.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.1282, allocations: 0 / 487.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1282, allocations: 0 / 487.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.1283, allocations: 15.98 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.1287, allocations: 175.9 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008488/0.1295, allocations: 0.4921 MB / 488.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.13, allocations: 166.5 kB / 488.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.1302, allocations: 60.75 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1302, allocations: 0 / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.1302, allocations: 38.5 kB / 488.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.1303, allocations: 0 / 488.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006994/0.131, allocations: 217.6 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.131, allocations: 55.41 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.1313, allocations: 203.5 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1313, allocations: 33.64 kB / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.1314, allocations: 111.9 kB / 489 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.1315, allocations: 31.62 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.1315, allocations: 21.7 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1317, allocations: 330.8 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1318, allocations: 51.95 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.132, allocations: 78.52 kB / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.1324, allocations: 146.4 kB / 489.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1324, allocations: 0 / 489.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004086/0.1328, allocations: 181.3 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1328, allocations: 4 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1328, allocations: 0 / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1329, allocations: 4 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.1332, allocations: 43.97 kB / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008476/0.134, allocations: 1.223 MB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.1342, allocations: 23.86 kB / 491.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1342, allocations: 4 kB / 491.1 MB, free: 11.84 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.00018/0.1344, allocations: 137.8 kB / 491.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.1344, allocations: 11.84 kB / 491.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.1349, allocations: 195 kB / 491.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1349, allocations: 4 kB / 491.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1349, allocations: 0 / 491.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1349, allocations: 3.938 kB / 491.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.1352, allocations: 221.5 kB / 491.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1352, allocations: 11.94 kB / 491.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.1355, allocations: 47.91 kB / 491.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1355, allocations: 4 kB / 491.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1355, allocations: 4 kB / 491.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008436/0.1364, allocations: 1.223 MB / 492.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1364, allocations: 4.031 kB / 492.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.1368, allocations: 255.5 kB / 493.2 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.1369, allocations: 96.8 kB / 493.3 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.137, allocations: 3.938 kB / 493.3 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1371, allocations: 15.98 kB / 493.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.1372, allocations: 7.984 kB / 493.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.1372, allocations: 0 / 493.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.1374, allocations: 153.2 kB / 493.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1374, allocations: 0 / 493.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003511/0.1377, allocations: 40 kB / 493.5 MB, free: 9.277 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.0002837/0.138, allocations: 135.2 kB / 493.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005561/0.1386, allocations: 159.8 kB / 493.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1386, allocations: 0 / 493.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.1389, allocations: 92 kB / 493.9 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1393, allocations: 23.98 kB / 493.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.1401, allocations: 416.3 kB / 494.3 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.1406, allocations: 0.7318 MB / 495 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1407, allocations: 33.05 kB / 495.1 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.1407, allocations: 11.44 kB / 495.1 MB, free: 7.637 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1407, allocations: 11.94 kB / 495.1 MB, free: 7.625 MB / 366.1 MB Notification: Performance of Templates: time 0.006563/0.1473, allocations: 2.433 MB / 497.5 MB, free: 5.238 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