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.001245/0.001246, allocations: 120.6 kB / 17.09 MB, free: 5.988 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.00118/0.00118, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.253/1.253, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.1884/0.1884, allocations: 43.52 MB / 314.8 MB, free: 452 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.001353/0.001353, allocations: 67.91 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09936, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003322/0.1027, allocations: 1.781 MB / 0.4903 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.104, allocations: 0.8381 MB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.104, allocations: 0 / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.1043, allocations: 43.7 kB / 0.4912 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.1045, allocations: 79.69 kB / 0.4912 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1047, allocations: 67.73 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1049, allocations: 151.3 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.105, allocations: 16.86 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1051, allocations: 71.64 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1052, allocations: 75.66 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1052, allocations: 4 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.1055, allocations: 163.8 kB / 0.4918 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.1056, allocations: 27.91 kB / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.1056, allocations: 55.61 kB / 0.4918 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.1059, allocations: 207.3 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1059, allocations: 0 / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1059, allocations: 0 / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1059, allocations: 0 / 0.492 GB, free: 8.188 MB / 382.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.0006781/0.1066, allocations: 450.3 kB / 0.4925 GB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1067, allocations: 11.89 kB / 0.4925 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1067, allocations: 16.75 kB / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.1069, allocations: 210.8 kB / 0.4927 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1069, allocations: 8.375 kB / 0.4927 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.107, allocations: 12.12 kB / 0.4927 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.1073, allocations: 173.4 kB / 0.4929 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1073, allocations: 0 / 0.4929 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1073, allocations: 4 kB / 0.4929 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.1074, allocations: 23.92 kB / 0.4929 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.1078, allocations: 163.8 kB / 0.4931 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.1085, allocations: 492.1 kB / 0.4935 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.1088, allocations: 158.5 kB / 0.4937 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.109, allocations: 56.75 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.109, allocations: 4 kB / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.109, allocations: 34.56 kB / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.109, allocations: 0 / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004782/0.1095, allocations: 193.4 kB / 0.494 GB, free: 6.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1096, allocations: 55.41 kB / 0.494 GB, free: 5.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1098, allocations: 199.4 kB / 0.4942 GB, free: 5.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1098, allocations: 29.7 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.1099, allocations: 116 kB / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.1099, allocations: 31.62 kB / 0.4944 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.11, allocations: 29.7 kB / 0.4944 GB, free: 5.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1101, allocations: 330.8 kB / 0.4947 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1102, allocations: 47.94 kB / 0.4948 GB, free: 5.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1104, allocations: 82.41 kB / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.1106, allocations: 130.5 kB / 0.495 GB, free: 4.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1106, allocations: 384 / 0.495 GB, free: 4.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003101/0.111, allocations: 173.2 kB / 0.4951 GB, free: 4.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.111, allocations: 4 kB / 0.4951 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.111, allocations: 0 / 0.4951 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.111, allocations: 8 kB / 0.4951 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.1113, allocations: 43.97 kB / 0.4952 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006461/0.1119, allocations: 1.227 MB / 0.4964 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.112, allocations: 15.88 kB / 0.4964 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1121, allocations: 7.984 kB / 0.4964 GB, free: 3.43 MB / 382.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.0001806/0.1123, allocations: 141.7 kB / 0.4965 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.1123, allocations: 19.75 kB / 0.4965 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.1127, allocations: 191 kB / 0.4967 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1127, allocations: 0 / 0.4967 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1127, allocations: 0 / 0.4967 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1127, allocations: 0 / 0.4967 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1129, allocations: 217.5 kB / 0.4969 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1129, allocations: 3.938 kB / 0.4969 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.1132, allocations: 43.97 kB / 0.497 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1132, allocations: 0 / 0.497 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1132, allocations: 8 kB / 0.497 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005669/0.1138, allocations: 1.223 MB / 0.4982 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1138, allocations: 0 / 0.4982 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.1141, allocations: 251.4 kB / 0.4984 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.1142, allocations: 85.02 kB / 0.4985 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.1142, allocations: 11.92 kB / 0.4985 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1143, allocations: 4 kB / 0.4985 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.1144, allocations: 7.984 kB / 0.4985 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1144, allocations: 4 kB / 0.4985 GB, free: 1.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1145, allocations: 153.2 kB / 0.4987 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1145, allocations: 0 / 0.4987 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1148, allocations: 43.91 kB / 0.4987 GB, free: 0.8945 MB / 382.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.0001842/0.115, allocations: 139.1 kB / 0.4989 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004249/0.1154, allocations: 148.1 kB / 0.499 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1154, allocations: 4 kB / 0.499 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.1157, allocations: 87.88 kB / 0.4991 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.116, allocations: 23.98 kB / 0.4991 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.1166, allocations: 377.2 kB / 0.4995 GB, free: 92 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1168, allocations: 0.724 MB / 0.5002 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.1169, allocations: 19.44 kB / 0.5002 GB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1169, allocations: 0 / 0.5002 GB, free: 15.32 MB / 398.1 MB Notification: Performance of Templates: time 0.004942/0.1218, allocations: 3.507 MB / 0.5036 GB, free: 11.81 MB / 398.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 -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