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_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 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_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_4.0.0_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_4.0.0_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.001085/0.001086, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001236/0.001236, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1973/0.1973, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 63.89 kB / 470.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3562, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002755/0.359, allocations: 1.774 MB / 0.5207 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.36, allocations: 0.7909 MB / 0.5214 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.36, allocations: 5.156 kB / 0.5214 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.3603, allocations: 46.8 kB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.3605, allocations: 63.61 kB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.3607, allocations: 82.16 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.3609, allocations: 146.3 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.3609, allocations: 9.609 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.3611, allocations: 69.64 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3612, allocations: 76.11 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3612, allocations: 8.562 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.3615, allocations: 152.1 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.3615, allocations: 44.97 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.3616, allocations: 50.17 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.3619, allocations: 204.6 kB / 0.5223 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3619, allocations: 1.859 kB / 0.5223 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3619, allocations: 0 / 0.5223 GB, free: 1.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3619, allocations: 0 / 0.5223 GB, free: 1.457 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.000565/0.3625, allocations: 447.8 kB / 0.5228 GB, free: 1.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.3626, allocations: 9.188 kB / 0.5228 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.3626, allocations: 15.28 kB / 0.5228 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.3627, allocations: 210.5 kB / 0.523 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3628, allocations: 8.594 kB / 0.523 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3628, allocations: 14.62 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.3631, allocations: 173.5 kB / 0.5232 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3631, allocations: 0.8438 kB / 0.5232 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3632, allocations: 1.062 kB / 0.5232 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.3632, allocations: 12.77 kB / 0.5232 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.3635, allocations: 169 kB / 0.5234 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.3642, allocations: 490.7 kB / 0.5238 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.3645, allocations: 153.2 kB / 0.524 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.3647, allocations: 55.98 kB / 0.524 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.3647, allocations: 1.969 kB / 0.524 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.3647, allocations: 39.73 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3647, allocations: 1.188 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005105/0.3653, allocations: 197.3 kB / 0.5243 GB, free: 184 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.3653, allocations: 53.56 kB / 0.5243 GB, free: 120 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3655, allocations: 200 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3655, allocations: 34.44 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.3656, allocations: 115.4 kB / 0.5246 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.3656, allocations: 30.5 kB / 0.5247 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.3657, allocations: 29.84 kB / 0.5247 GB, free: 15.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3658, allocations: 331.4 kB / 0.525 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.3659, allocations: 51.58 kB / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3661, allocations: 82.06 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3664, allocations: 127 kB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3664, allocations: 0 / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003336/0.3667, allocations: 170.3 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3667, allocations: 5.469 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3668, allocations: 1.375 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3668, allocations: 1.375 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.367, allocations: 44.73 kB / 0.5255 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006362/0.3677, allocations: 1.222 MB / 0.5267 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3678, allocations: 21.48 kB / 0.5267 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3678, allocations: 3.547 kB / 0.5267 GB, free: 14.09 MB / 398.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.0001619/0.368, allocations: 134.3 kB / 0.5268 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.368, allocations: 18.72 kB / 0.5268 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.3684, allocations: 194 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3684, allocations: 2.078 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3685, allocations: 4 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3685, allocations: 1.938 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.3687, allocations: 218.1 kB / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3687, allocations: 6.016 kB / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.3689, allocations: 42.19 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3689, allocations: 1.891 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.369, allocations: 2.125 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006587/0.3696, allocations: 1.23 MB / 0.5285 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3696, allocations: 1.375 kB / 0.5285 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.37, allocations: 253.8 kB / 0.5287 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.3701, allocations: 93.22 kB / 0.5288 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3701, allocations: 9.25 kB / 0.5288 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3702, allocations: 8.125 kB / 0.5288 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.3703, allocations: 8.109 kB / 0.5288 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.3703, allocations: 1.375 kB / 0.5288 GB, free: 12.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.3704, allocations: 153.6 kB / 0.529 GB, free: 12.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3704, allocations: 0 / 0.529 GB, free: 12.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.3707, allocations: 41.12 kB / 0.529 GB, free: 12.01 MB / 398.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.0001952/0.3709, allocations: 137.8 kB / 0.5292 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.3714, allocations: 146.8 kB / 0.5293 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3714, allocations: 3.938 kB / 0.5293 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.3716, allocations: 84.94 kB / 0.5294 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3719, allocations: 28.3 kB / 0.5294 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.3725, allocations: 355.5 kB / 0.5298 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.3729, allocations: 0.7263 MB / 0.5305 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.128e-05/0.373, allocations: 33.39 kB / 0.5305 GB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.373, allocations: 17.75 kB / 0.5305 GB, free: 10.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.373, allocations: 1.094 kB / 0.5305 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Templates: time 0.005456/0.3785, allocations: 2.615 MB / 0.5331 GB, free: 9.551 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches