Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009935/0.0009937, allocations: 96.88 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 179.8 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 243 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1923/0.1923, allocations: 44.25 MB / 338.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003337, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.00224/0.1232, allocations: 1.485 MB / 474.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1247, allocations: 0.7713 MB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.1249, allocations: 0 / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.1252, allocations: 35.81 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.1255, allocations: 75.72 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1258, allocations: 59.81 kB / 475.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.1261, allocations: 243.2 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/0.1262, allocations: 21.05 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1264, allocations: 59.77 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1265, allocations: 71.69 kB / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1266, allocations: 7.984 kB / 475.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.1269, allocations: 159.7 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.127, allocations: 39.83 kB / 476 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.1271, allocations: 81.31 kB / 476 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1273, allocations: 127.9 kB / 476.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1273, allocations: 0 / 476.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1273, allocations: 0 / 476.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1273, allocations: 0 / 476.2 MB, free: 10.06 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.0007506/0.1281, allocations: 427 kB / 476.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1281, allocations: 8.031 kB / 476.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.1282, allocations: 16.75 kB / 476.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.1285, allocations: 204.1 kB / 476.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1285, allocations: 4.375 kB / 476.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.1285, allocations: 16.12 kB / 476.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.1289, allocations: 177.5 kB / 477 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1289, allocations: 0 / 477 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1289, allocations: 0 / 477 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.129, allocations: 15.98 kB / 477 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.1294, allocations: 175.9 kB / 477.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/0.1302, allocations: 500 kB / 477.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.1306, allocations: 166.4 kB / 477.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1308, allocations: 56.81 kB / 477.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1308, allocations: 4 kB / 477.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1308, allocations: 38.5 kB / 477.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1309, allocations: 0 / 477.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006061/0.1315, allocations: 217.3 kB / 478.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1315, allocations: 59.34 kB / 478.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1317, allocations: 195.5 kB / 478.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1318, allocations: 25.7 kB / 478.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.1318, allocations: 116 kB / 478.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.1319, allocations: 35.61 kB / 478.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.1319, allocations: 17.72 kB / 478.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1321, allocations: 338.8 kB / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.1323, allocations: 51.95 kB / 479 MB, free: 7.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.1324, allocations: 74.52 kB / 479 MB, free: 6.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.1328, allocations: 142.4 kB / 479.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1328, allocations: 0 / 479.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003922/0.1332, allocations: 181.3 kB / 479.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1332, allocations: 4 kB / 479.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1332, allocations: 0 / 479.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1332, allocations: 480 / 479.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.1335, allocations: 51.91 kB / 479.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007462/0.1343, allocations: 1.223 MB / 480.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.1344, allocations: 23.86 kB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1345, allocations: 8.188 kB / 480.7 MB, free: 5.266 MB / 350.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.0001812/0.1346, allocations: 137.8 kB / 480.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.1347, allocations: 15.84 kB / 480.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.1352, allocations: 190.9 kB / 481 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1352, allocations: 0 / 481 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1352, allocations: 4 kB / 481 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1352, allocations: 0 / 481 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.1355, allocations: 221.6 kB / 481.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1355, allocations: 7.875 kB / 481.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.1357, allocations: 43.97 kB / 481.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1357, allocations: 3.984 kB / 481.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1357, allocations: 11.94 kB / 481.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007009/0.1364, allocations: 1.219 MB / 482.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1365, allocations: 4 kB / 482.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.1369, allocations: 263.5 kB / 482.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.137, allocations: 92.86 kB / 482.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.137, allocations: 3.938 kB / 482.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.1371, allocations: 15.98 kB / 482.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.1372, allocations: 4 kB / 482.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1372, allocations: 7.984 kB / 482.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1373, allocations: 149.2 kB / 483 MB, free: 2.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1373, allocations: 0 / 483 MB, free: 2.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.1377, allocations: 43.98 kB / 483.1 MB, free: 2.711 MB / 350.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.0002357/0.1379, allocations: 131.7 kB / 483.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.1384, allocations: 151.8 kB / 483.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1384, allocations: 4.125 kB / 483.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.1388, allocations: 95.92 kB / 483.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1391, allocations: 30.06 kB / 483.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.1399, allocations: 441.5 kB / 483.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1402, allocations: 0.7278 MB / 484.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.1403, allocations: 19.42 kB / 484.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1403, allocations: 4 kB / 484.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Templates: time 0.006151/0.1464, allocations: 3.45 MB / 488.1 MB, free: 13.62 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches