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.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,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_4.0.0_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_4.0.0_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.001126/0.001125, allocations: 93.61 kB / 18 MB, free: 5.738 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.001494/0.001494, allocations: 175.7 kB / 18.91 MB, free: 4.871 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.345/1.345, allocations: 223.3 MB / 243 MB, free: 14.48 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.1974/0.1974, allocations: 44.25 MB / 338.3 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1075, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002378/0.1099, allocations: 1.602 MB / 474.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1118, allocations: 1.075 MB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1119, allocations: 0 / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1122, allocations: 47.73 kB / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1124, allocations: 51.67 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.113, allocations: 150.8 kB / 475.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.1134, allocations: 310.9 kB / 476.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.847e-05/0.1135, allocations: 17.67 kB / 476.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1136, allocations: 79.64 kB / 476.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1139, allocations: 115.4 kB / 476.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.1139, allocations: 4 kB / 476.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.1143, allocations: 235.6 kB / 476.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.1144, allocations: 59.8 kB / 476.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1145, allocations: 117 kB / 476.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.1149, allocations: 203.7 kB / 477 MB, free: 9.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1149, allocations: 0 / 477 MB, free: 9.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1149, allocations: 0 / 477 MB, free: 9.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1149, allocations: 0 / 477 MB, free: 9.25 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001002/0.1159, allocations: 0.5298 MB / 477.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1159, allocations: 15.97 kB / 477.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.116, allocations: 20.66 kB / 477.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1163, allocations: 240.4 kB / 477.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1163, allocations: 8.375 kB / 477.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.1164, allocations: 24.12 kB / 477.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.1169, allocations: 292.2 kB / 478.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1169, allocations: 4 kB / 478.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.117, allocations: 8 kB / 478.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.117, allocations: 8 kB / 478.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.1176, allocations: 247.7 kB / 478.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1187, allocations: 0.7656 MB / 479.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/0.1193, allocations: 243.7 kB / 479.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.1196, allocations: 114.6 kB / 479.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.1197, allocations: 11.92 kB / 479.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1197, allocations: 38.59 kB / 479.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.1197, allocations: 0 / 479.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001002/0.1207, allocations: 353.2 kB / 479.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.1208, allocations: 110.8 kB / 480 MB, free: 6.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.1211, allocations: 278.6 kB / 480.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1211, allocations: 33.7 kB / 480.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1213, allocations: 135.9 kB / 480.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.1213, allocations: 43.36 kB / 480.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1213, allocations: 21.7 kB / 480.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1215, allocations: 338.8 kB / 480.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.1217, allocations: 91.92 kB / 480.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.122, allocations: 139.6 kB / 481 MB, free: 4.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.1226, allocations: 248.9 kB / 481.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1226, allocations: 3.938 kB / 481.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006943/0.1233, allocations: 293.2 kB / 481.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1234, allocations: 8.031 kB / 481.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.1234, allocations: 15.92 kB / 481.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1234, allocations: 4 kB / 481.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.1236, allocations: 44.12 kB / 481.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1237, allocations: 0 / 481.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.1239, allocations: 39.81 kB / 481.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.1239, allocations: 4 kB / 481.7 MB, free: 4.234 MB / 350.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.0001556/0.1241, allocations: 157.7 kB / 481.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.1242, allocations: 27.66 kB / 481.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.1247, allocations: 235.3 kB / 482.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1247, allocations: 8 kB / 482.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1247, allocations: 0 / 482.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.1247, allocations: 4 kB / 482.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.1251, allocations: 257.5 kB / 482.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/0.1252, allocations: 15.98 kB / 482.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.1254, allocations: 31.97 kB / 482.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.1254, allocations: 7.938 kB / 482.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.1254, allocations: 4 kB / 482.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1254, allocations: 8 kB / 482.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1254, allocations: 0 / 482.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.1261, allocations: 0.5015 MB / 482.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.1262, allocations: 100.8 kB / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.1262, allocations: 7.938 kB / 483 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.1265, allocations: 27.97 kB / 483.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.1266, allocations: 11.98 kB / 483.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1266, allocations: 8 kB / 483.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.1268, allocations: 201.9 kB / 483.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1268, allocations: 0 / 483.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004442/0.1272, allocations: 75.94 kB / 483.3 MB, free: 2.465 MB / 350.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.0002724/0.1275, allocations: 155.2 kB / 483.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006679/0.1282, allocations: 317 kB / 483.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1282, allocations: 0 / 483.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.1286, allocations: 201.1 kB / 484 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.1291, allocations: 44.33 kB / 484 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009085/0.13, allocations: 0.5717 MB / 484.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1304, allocations: 0.7596 MB / 485.4 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.1304, allocations: 19.42 kB / 485.4 MB, free: 312 kB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1305, allocations: 0 / 485.4 MB, free: 312 kB / 350.1 MB Notification: Performance of Templates: time 0.006648/0.1371, allocations: 3.808 MB / 489.2 MB, free: 12.52 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches