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.001476/0.001476, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001722/0.001722, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.382/1.382, allocations: 222.9 MB / 243 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.205/0.205, allocations: 44.17 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.7 kB / 409.9 MB, free: 26.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09753, allocations: 60.82 MB / 470.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003031/0.1006, allocations: 1.775 MB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1018, allocations: 0.7945 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.1018, allocations: 0 / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.1021, allocations: 43.75 kB / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.1024, allocations: 71.62 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.1026, allocations: 83.48 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1028, allocations: 147.3 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.1029, allocations: 9.125 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.103, allocations: 63.7 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1032, allocations: 79.66 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1032, allocations: 4 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.1035, allocations: 155.7 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.1035, allocations: 39.83 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.803e-05/0.1036, allocations: 51.67 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.1039, allocations: 203.2 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1039, allocations: 4 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1039, allocations: 0 / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1039, allocations: 0 / 474.2 MB, free: 10.08 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.0007238/0.1047, allocations: 458.8 kB / 474.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1047, allocations: 12.03 kB / 474.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.1047, allocations: 12.75 kB / 474.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.105, allocations: 196.2 kB / 474.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.105, allocations: 8.375 kB / 474.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.105, allocations: 16.12 kB / 474.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.1054, allocations: 169.5 kB / 475.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1054, allocations: 0 / 475.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.1054, allocations: 4 kB / 475.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.1055, allocations: 19.98 kB / 475.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.106, allocations: 159.9 kB / 475.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.1071, allocations: 491.9 kB / 475.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/0.1077, allocations: 158.5 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.1079, allocations: 64.75 kB / 476 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.108, allocations: 0 / 476 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.108, allocations: 34.56 kB / 476 MB, free: 8.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.108, allocations: 0 / 476 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000822/0.1089, allocations: 201.3 kB / 476.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1089, allocations: 59.34 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.1092, allocations: 203.4 kB / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1093, allocations: 25.7 kB / 476.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.1094, allocations: 112 kB / 476.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.1094, allocations: 27.56 kB / 476.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.1095, allocations: 33.64 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1097, allocations: 326.8 kB / 477 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.1099, allocations: 55.95 kB / 477 MB, free: 7.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1102, allocations: 70.52 kB / 477.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.1106, allocations: 126.4 kB / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1106, allocations: 0 / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005415/0.1112, allocations: 169.3 kB / 477.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1112, allocations: 10.97 kB / 477.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1112, allocations: 0 / 477.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1112, allocations: 3.938 kB / 477.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.1117, allocations: 47.97 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009973/0.1127, allocations: 1.227 MB / 478.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1129, allocations: 19.91 kB / 478.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1129, allocations: 0 / 478.7 MB, free: 5.332 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.0002264/0.1131, allocations: 133.8 kB / 478.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.1132, allocations: 19.94 kB / 478.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.1138, allocations: 182.9 kB / 479 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1139, allocations: 0 / 479 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1139, allocations: 4.094 kB / 479 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1139, allocations: 7.922 kB / 479 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.1143, allocations: 221.6 kB / 479.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1143, allocations: 3.938 kB / 479.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.1147, allocations: 43.97 kB / 479.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1147, allocations: 4 kB / 479.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1147, allocations: 3.938 kB / 479.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009441/0.1156, allocations: 1.215 MB / 480.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1157, allocations: 4.031 kB / 480.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.1162, allocations: 251.4 kB / 480.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.1163, allocations: 92.86 kB / 480.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.1164, allocations: 7.938 kB / 480.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.1166, allocations: 11.98 kB / 480.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.1167, allocations: 7.984 kB / 480.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1167, allocations: 0 / 480.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.1169, allocations: 157.2 kB / 481 MB, free: 2.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1169, allocations: 3.938 kB / 481 MB, free: 2.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005268/0.1174, allocations: 40 kB / 481.1 MB, free: 2.801 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.0002945/0.1177, allocations: 131.2 kB / 481.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007245/0.1185, allocations: 143.8 kB / 481.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1185, allocations: 0 / 481.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.1189, allocations: 88.16 kB / 481.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.1194, allocations: 33.86 kB / 481.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.1204, allocations: 358.4 kB / 481.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.1208, allocations: 0.7279 MB / 482.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.121, allocations: 29.06 kB / 482.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.121, allocations: 19.42 kB / 482.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1211, allocations: 4 kB / 482.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of Templates: time 0.008554/0.1296, allocations: 2.574 MB / 485.2 MB, free: 14.7 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 -s cvode -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