Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001116/0.001117, allocations: 109.3 kB / 17.03 MB, free: 6.102 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.001116/0.001116, allocations: 194.9 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 72.3 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1143, allocations: 57.8 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003367/0.1177, allocations: 1.762 MB / 443.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1191, allocations: 0.8419 MB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1192, allocations: 0 / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.1195, allocations: 47.73 kB / 444.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.1199, allocations: 67.66 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1202, allocations: 75.72 kB / 444.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1204, allocations: 147.3 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.1205, allocations: 21.11 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.1206, allocations: 63.7 kB / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1208, allocations: 71.67 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1208, allocations: 8 kB / 445.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.121, allocations: 155.8 kB / 445.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.1211, allocations: 39.83 kB / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.1212, allocations: 51.67 kB / 445.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.1215, allocations: 203.2 kB / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1215, allocations: 0 / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1215, allocations: 4 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1215, allocations: 0 / 445.5 MB, free: 2.562 MB / 318.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.0006195/0.1221, allocations: 439 kB / 446 MB, free: 2.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1222, allocations: 11.89 kB / 446 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.1222, allocations: 16.75 kB / 446 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1224, allocations: 204 kB / 446.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1224, allocations: 12.36 kB / 446.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1225, allocations: 12.06 kB / 446.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.1228, allocations: 177.5 kB / 446.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1228, allocations: 3.984 kB / 446.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1228, allocations: 4 kB / 446.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.1228, allocations: 11.94 kB / 446.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.1231, allocations: 167.8 kB / 446.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.1238, allocations: 492 kB / 447 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.1242, allocations: 154.4 kB / 447.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.1243, allocations: 56.84 kB / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1243, allocations: 4 kB / 447.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.1243, allocations: 30.56 kB / 447.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1244, allocations: 4 kB / 447.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004653/0.1248, allocations: 201.3 kB / 447.5 MB, free: 444 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1249, allocations: 55.41 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.125, allocations: 195.5 kB / 447.7 MB, free: 168 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.125, allocations: 29.7 kB / 447.8 MB, free: 132 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.1251, allocations: 108 kB / 447.9 MB, free: 20 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.1251, allocations: 31.72 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.1252, allocations: 37.7 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1253, allocations: 330.7 kB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1255, allocations: 47.95 kB / 448.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1256, allocations: 70.52 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.1259, allocations: 130.4 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1259, allocations: 0 / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003289/0.1263, allocations: 169.3 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1263, allocations: 4.781 kB / 448.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1263, allocations: 4 kB / 448.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1263, allocations: 4.062 kB / 448.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.1266, allocations: 47.91 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007117/0.1273, allocations: 1.219 MB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.1274, allocations: 20.02 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1275, allocations: 8 kB / 450 MB, free: 13.82 MB / 334.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.0001981/0.1277, allocations: 143.7 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.1277, allocations: 16.22 kB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.1281, allocations: 186.8 kB / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1281, allocations: 0 / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1281, allocations: 0 / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1282, allocations: 4 kB / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.1284, allocations: 229.6 kB / 450.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1284, allocations: 3.938 kB / 450.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.1286, allocations: 47.97 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1287, allocations: 4 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1287, allocations: 0 / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000606/0.1293, allocations: 1.223 MB / 451.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1293, allocations: 4.078 kB / 451.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1297, allocations: 255.2 kB / 452.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.1297, allocations: 85.02 kB / 452.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1298, allocations: 4.031 kB / 452.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.1299, allocations: 11.98 kB / 452.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1299, allocations: 11.98 kB / 452.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1299, allocations: 4 kB / 452.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1301, allocations: 149.2 kB / 452.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1301, allocations: 0 / 452.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.1304, allocations: 43.91 kB / 452.4 MB, free: 11.28 MB / 334.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.0002336/0.1306, allocations: 135.2 kB / 452.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004805/0.1311, allocations: 147.8 kB / 452.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1311, allocations: 0 / 452.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.1314, allocations: 95.98 kB / 452.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.1317, allocations: 28.19 kB / 452.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006333/0.1323, allocations: 339.8 kB / 453.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1327, allocations: 0.7317 MB / 453.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.71e-05/0.1327, allocations: 37.05 kB / 453.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.1328, allocations: 11.44 kB / 453.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1328, allocations: 4 kB / 453.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of Templates: time 0.005709/0.1385, allocations: 2.586 MB / 456.5 MB, free: 7.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches