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.00163/0.00163, allocations: 116.2 kB / 17.08 MB, free: 5.969 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.001997/0.001997, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.475/1.475, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2147/0.2147, allocations: 43.52 MB / 314.8 MB, free: 464 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.001421/0.001421, allocations: 71.88 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1152, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003517/0.1188, allocations: 1.769 MB / 0.4903 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1205, allocations: 0.838 MB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1207, allocations: 4 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.121, allocations: 47.73 kB / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.1215, allocations: 71.66 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.1218, allocations: 79.72 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.1221, allocations: 147.3 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.1222, allocations: 20.84 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.1224, allocations: 67.69 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1225, allocations: 75.67 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1226, allocations: 4 kB / 0.4916 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.1229, allocations: 155.8 kB / 0.4918 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.123, allocations: 39.83 kB / 0.4918 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.304e-05/0.1231, allocations: 51.67 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.1235, allocations: 203.3 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1235, allocations: 0 / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1235, allocations: 4 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1235, allocations: 0 / 0.492 GB, free: 8.199 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.0007968/0.1243, allocations: 438.9 kB / 0.4925 GB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1243, allocations: 15.89 kB / 0.4925 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.1244, allocations: 16.73 kB / 0.4925 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1247, allocations: 204 kB / 0.4927 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1247, allocations: 12.38 kB / 0.4927 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1247, allocations: 16.12 kB / 0.4927 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.1251, allocations: 173.3 kB / 0.4929 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1251, allocations: 0 / 0.4929 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.1251, allocations: 4 kB / 0.4929 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.1252, allocations: 15.98 kB / 0.4929 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.1255, allocations: 167.8 kB / 0.4931 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.1263, allocations: 488.1 kB / 0.4935 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.1268, allocations: 158.4 kB / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.1269, allocations: 56.81 kB / 0.4937 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.127, allocations: 0 / 0.4937 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.127, allocations: 42.55 kB / 0.4938 GB, free: 6.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.127, allocations: 0 / 0.4938 GB, free: 6.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005512/0.1276, allocations: 197.4 kB / 0.494 GB, free: 6.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1276, allocations: 51.41 kB / 0.494 GB, free: 6.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1278, allocations: 199.5 kB / 0.4942 GB, free: 5.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1278, allocations: 25.7 kB / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.1279, allocations: 116 kB / 0.4943 GB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.128, allocations: 35.55 kB / 0.4944 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.128, allocations: 25.72 kB / 0.4944 GB, free: 5.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1282, allocations: 330.8 kB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1284, allocations: 47.94 kB / 0.4947 GB, free: 5.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.1285, allocations: 86.45 kB / 0.4948 GB, free: 5.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.1289, allocations: 122.4 kB / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1289, allocations: 3.938 kB / 0.495 GB, free: 4.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003788/0.1293, allocations: 169.8 kB / 0.4951 GB, free: 4.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1293, allocations: 14.64 kB / 0.4951 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1293, allocations: 0 / 0.4951 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1293, allocations: 96 / 0.4951 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.1296, allocations: 47.86 kB / 0.4952 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007484/0.1304, allocations: 1.231 MB / 0.4964 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1305, allocations: 19.86 kB / 0.4964 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1305, allocations: 4 kB / 0.4964 GB, free: 3.445 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.0002014/0.1307, allocations: 141.7 kB / 0.4965 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.1308, allocations: 15.75 kB / 0.4965 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.1312, allocations: 190.9 kB / 0.4967 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1313, allocations: 0 / 0.4967 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1313, allocations: 0 / 0.4967 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1313, allocations: 4 kB / 0.4967 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.1315, allocations: 225.6 kB / 0.4969 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1315, allocations: 3.938 kB / 0.497 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.1318, allocations: 43.98 kB / 0.497 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.1318, allocations: 3.984 kB / 0.497 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1318, allocations: 0 / 0.497 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006731/0.1325, allocations: 1.219 MB / 0.4982 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1325, allocations: 0 / 0.4982 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.1329, allocations: 255.4 kB / 0.4984 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.133, allocations: 89 kB / 0.4985 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.133, allocations: 7.938 kB / 0.4985 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.1332, allocations: 7.984 kB / 0.4985 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1332, allocations: 4 kB / 0.4985 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.1332, allocations: 4 kB / 0.4985 GB, free: 1.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1334, allocations: 153.2 kB / 0.4987 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1334, allocations: 0 / 0.4987 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1337, allocations: 43.91 kB / 0.4987 GB, free: 0.9062 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.0002788/0.134, allocations: 139.1 kB / 0.4989 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.1345, allocations: 151.9 kB / 0.499 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1345, allocations: 0 / 0.499 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.1348, allocations: 88.3 kB / 0.4991 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1351, allocations: 28.11 kB / 0.4991 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.1358, allocations: 361.2 kB / 0.4995 GB, free: 116 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1361, allocations: 0.7318 MB / 0.5002 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.1361, allocations: 11.44 kB / 0.5002 GB, free: 15.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1361, allocations: 0 / 0.5002 GB, free: 15.34 MB / 398.1 MB Notification: Performance of Templates: time 0.005964/0.1421, allocations: 3.49 MB / 0.5036 GB, free: 11.85 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