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.0009763/0.0009764, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2004/0.2004, allocations: 46.18 MB / 345.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002189/0.1337, allocations: 1.517 MB / 484.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.135, allocations: 0.8141 MB / 485.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.1351, allocations: 4 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1354, allocations: 43.8 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1356, allocations: 63.72 kB / 485.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.1358, allocations: 75.78 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.1361, allocations: 239.2 kB / 485.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.1361, allocations: 9.125 kB / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.1363, allocations: 67.72 kB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1364, allocations: 75.67 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1365, allocations: 4 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.1367, allocations: 167.7 kB / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.1368, allocations: 31.89 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.1369, allocations: 81.31 kB / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.1371, allocations: 203.5 kB / 486.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1371, allocations: 0 / 486.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1372, allocations: 0 / 486.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1372, allocations: 0 / 486.5 MB, free: 0.7461 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.0006228/0.1378, allocations: 439 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1378, allocations: 8.875 kB / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.1379, allocations: 16.75 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1381, allocations: 196.1 kB / 487.1 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1381, allocations: 8.375 kB / 487.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.1382, allocations: 8.391 kB / 487.1 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.1386, allocations: 177.5 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1386, allocations: 0 / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1386, allocations: 8 kB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.1387, allocations: 11.98 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.139, allocations: 175.9 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.1398, allocations: 0.4921 MB / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.1402, allocations: 166.4 kB / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.1404, allocations: 64.75 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1404, allocations: 4 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1404, allocations: 38.5 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1404, allocations: 0 / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005498/0.141, allocations: 217.3 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.141, allocations: 55.41 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1412, allocations: 203.4 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1412, allocations: 25.7 kB / 488.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.1413, allocations: 115.7 kB / 488.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.1414, allocations: 31.62 kB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1414, allocations: 21.7 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1415, allocations: 322.8 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1417, allocations: 55.95 kB / 489.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1418, allocations: 78.52 kB / 489.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.1421, allocations: 138.4 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1421, allocations: 4 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003781/0.1425, allocations: 185.3 kB / 489.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1426, allocations: 4 kB / 489.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1426, allocations: 4 kB / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1426, allocations: 480 / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.1428, allocations: 47.97 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006551/0.1435, allocations: 1.223 MB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1436, allocations: 27.83 kB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1437, allocations: 4 kB / 491 MB, free: 11.93 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.0001341/0.1438, allocations: 137.9 kB / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.1438, allocations: 19.84 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.1443, allocations: 187 kB / 491.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1443, allocations: 0 / 491.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1443, allocations: 3.938 kB / 491.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1443, allocations: 7.938 kB / 491.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1446, allocations: 221.6 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1446, allocations: 7.938 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.1448, allocations: 51.91 kB / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1448, allocations: 0 / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1448, allocations: 0 / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005955/0.1454, allocations: 1.227 MB / 492.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1454, allocations: 0 / 492.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.1458, allocations: 259.5 kB / 493.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.1459, allocations: 92.86 kB / 493.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.1459, allocations: 4 kB / 493.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.146, allocations: 15.92 kB / 493.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.1461, allocations: 7.984 kB / 493.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1461, allocations: 4 kB / 493.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1462, allocations: 149.2 kB / 493.4 MB, free: 9.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1462, allocations: 4 kB / 493.4 MB, free: 9.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003151/0.1466, allocations: 40 kB / 493.4 MB, free: 9.375 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.0002095/0.1468, allocations: 131.2 kB / 493.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.1473, allocations: 155.8 kB / 493.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1473, allocations: 0 / 493.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.1476, allocations: 96 kB / 493.8 MB, free: 8.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1479, allocations: 24.39 kB / 493.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.1485, allocations: 419.8 kB / 494.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1488, allocations: 0.7279 MB / 494.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.1489, allocations: 29.06 kB / 495 MB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.149, allocations: 23.42 kB / 495 MB, free: 7.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.149, allocations: 0 / 495 MB, free: 7.73 MB / 366.1 MB Notification: Performance of Templates: time 0.00534/0.1543, allocations: 2.436 MB / 497.4 MB, free: 5.34 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