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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.00158/0.00158, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.533/1.533, allocations: 205.1 MB / 223.2 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.2013/0.2013, allocations: 43.53 MB / 314.1 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.001502/0.001502, allocations: 67.91 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003794/0.1068, allocations: 1.897 MB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.109, allocations: 1.13 MB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1091, allocations: 0 / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.1094, allocations: 51.67 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.1097, allocations: 67.59 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.1104, allocations: 159.4 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.1108, allocations: 227 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.1109, allocations: 33.64 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1112, allocations: 87.58 kB / 0.4915 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1114, allocations: 111.5 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.1114, allocations: 8 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.1119, allocations: 227.6 kB / 0.4918 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.112, allocations: 59.8 kB / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1121, allocations: 83.42 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.1126, allocations: 322.9 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1126, allocations: 3.938 kB / 0.4922 GB, free: 7.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1126, allocations: 4 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1126, allocations: 0 / 0.4922 GB, free: 7.305 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009738/0.1136, allocations: 0.5562 MB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1137, allocations: 11.89 kB / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.1137, allocations: 24.66 kB / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.114, allocations: 231.9 kB / 0.493 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.114, allocations: 12.38 kB / 0.4931 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.114, allocations: 20.12 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.1145, allocations: 276.5 kB / 0.4933 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1146, allocations: 4 kB / 0.4933 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.1146, allocations: 7.938 kB / 0.4933 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.1146, allocations: 11.94 kB / 0.4934 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.1152, allocations: 223.8 kB / 0.4936 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.1162, allocations: 0.7694 MB / 0.4943 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.1168, allocations: 227.7 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.117, allocations: 98.5 kB / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.117, allocations: 7.984 kB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1171, allocations: 34.56 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1171, allocations: 0 / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008301/0.1179, allocations: 321.2 kB / 0.495 GB, free: 4.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.118, allocations: 106.8 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.1182, allocations: 282.5 kB / 0.4954 GB, free: 3.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1183, allocations: 25.7 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.1184, allocations: 143.8 kB / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1184, allocations: 43.3 kB / 0.4956 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-05/0.1185, allocations: 49.62 kB / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1186, allocations: 330.8 kB / 0.4959 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.1189, allocations: 83.91 kB / 0.496 GB, free: 3.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.1191, allocations: 123.7 kB / 0.4961 GB, free: 3.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.1196, allocations: 229.2 kB / 0.4963 GB, free: 2.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1196, allocations: 4 kB / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006261/0.1202, allocations: 257.1 kB / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.1203, allocations: 11.94 kB / 0.4966 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.1203, allocations: 15.98 kB / 0.4966 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1203, allocations: 7.922 kB / 0.4966 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.1205, allocations: 31.97 kB / 0.4967 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1205, allocations: 0 / 0.4967 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.1207, allocations: 35.94 kB / 0.4967 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.1208, allocations: 12 kB / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.1209, allocations: 149.7 kB / 0.4968 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.121, allocations: 23.66 kB / 0.4969 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.1216, allocations: 219.3 kB / 0.4971 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1216, allocations: 4 kB / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1216, allocations: 4 kB / 0.4971 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1216, allocations: 8.094 kB / 0.4971 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.122, allocations: 273.3 kB / 0.4973 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.122, allocations: 8 kB / 0.4974 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.1222, allocations: 39.89 kB / 0.4974 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1222, allocations: 3.938 kB / 0.4974 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.1222, allocations: 4 kB / 0.4974 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1222, allocations: 0 / 0.4974 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1222, allocations: 4 kB / 0.4974 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/0.1229, allocations: 481.7 kB / 0.4979 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.123, allocations: 100.8 kB / 0.498 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.123, allocations: 11.94 kB / 0.498 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.1232, allocations: 19.97 kB / 0.498 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.1233, allocations: 15.98 kB / 0.498 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1233, allocations: 4 kB / 0.498 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.1235, allocations: 205.9 kB / 0.4982 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.373e-06/0.1235, allocations: 0 / 0.4982 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.1239, allocations: 79.86 kB / 0.4983 GB, free: 0.7031 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002839/0.1242, allocations: 155.1 kB / 0.4984 GB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006425/0.1249, allocations: 280.8 kB / 0.4987 GB, free: 256 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1249, allocations: 0 / 0.4987 GB, free: 256 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.1252, allocations: 181 kB / 0.4989 GB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.1257, allocations: 53.16 kB / 0.4989 GB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/0.1267, allocations: 482.3 kB / 0.4994 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.127, allocations: 0.7554 MB / 0.5001 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.1272, allocations: 49.48 kB / 0.5002 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.1272, allocations: 15.44 kB / 0.5002 GB, free: 14.65 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1272, allocations: 0 / 0.5002 GB, free: 14.65 MB / 398.1 MB Notification: Performance of Templates: time 0.008249/0.1355, allocations: 3.908 MB / 0.504 GB, free: 10.75 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches