Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008689/0.0008688, allocations: 176 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.188/1.188, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000746/0.000746, allocations: 94.3 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2862/0.2862, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 12 kB / 432 MB, free: 5.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09324, allocations: 58.85 MB / 490.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.001836/0.09511, allocations: 1.466 MB / 492.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.09632, allocations: 0.7687 MB / 493.1 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.0964, allocations: 4 kB / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.09661, allocations: 39.81 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.09683, allocations: 59.72 kB / 493.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.09702, allocations: 67.8 kB / 493.2 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.09726, allocations: 199.2 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.09732, allocations: 13.11 kB / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.09744, allocations: 59.72 kB / 493.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.09757, allocations: 75.72 kB / 493.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.09759, allocations: 4 kB / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.09783, allocations: 151.7 kB / 493.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.09789, allocations: 39.89 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.09796, allocations: 77.31 kB / 493.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.09814, allocations: 123.9 kB / 494 MB, free: 7.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.09815, allocations: 4 kB / 494 MB, free: 7.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.09816, allocations: 0 / 494 MB, free: 7.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.09817, allocations: 3.938 kB / 494 MB, free: 7.691 MB / 378.7 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.0005455/0.09872, allocations: 434.9 kB / 494.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.09876, allocations: 8.031 kB / 494.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.0988, allocations: 16.84 kB / 494.4 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.09898, allocations: 204 kB / 494.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.099, allocations: 12.36 kB / 494.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.09903, allocations: 8.125 kB / 494.7 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.09934, allocations: 169.6 kB / 494.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.09936, allocations: 8 kB / 494.8 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.09939, allocations: 7.984 kB / 494.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.09942, allocations: 11.98 kB / 494.8 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.09975, allocations: 175.9 kB / 495 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.1004, allocations: 496 kB / 495.5 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.1008, allocations: 162.5 kB / 495.7 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.1009, allocations: 64.81 kB / 495.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.101, allocations: 0 / 495.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.101, allocations: 34.5 kB / 495.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.101, allocations: 0 / 495.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005037/0.1015, allocations: 221.3 kB / 496 MB, free: 5.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.1015, allocations: 51.41 kB / 496 MB, free: 5.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.1017, allocations: 203.4 kB / 496.2 MB, free: 5.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1017, allocations: 25.7 kB / 496.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.1018, allocations: 116 kB / 496.4 MB, free: 5.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1018, allocations: 27.56 kB / 496.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.1018, allocations: 0 / 496.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.1019, allocations: 331.1 kB / 496.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.1021, allocations: 51.94 kB / 496.8 MB, free: 4.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1022, allocations: 86.45 kB / 496.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.1025, allocations: 142.4 kB / 497 MB, free: 4.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1025, allocations: 4 kB / 497 MB, free: 4.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003193/0.1028, allocations: 169.4 kB / 497.2 MB, free: 4.281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1029, allocations: 4 kB / 497.2 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1029, allocations: 8.062 kB / 497.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1029, allocations: 3.984 kB / 497.2 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.1032, allocations: 51.98 kB / 497.2 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005789/0.1037, allocations: 1.223 MB / 498.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1039, allocations: 19.86 kB / 498.5 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1039, allocations: 4 kB / 498.5 MB, free: 2.922 MB / 378.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.104, allocations: 133.8 kB / 498.6 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.1041, allocations: 19.73 kB / 498.6 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.1045, allocations: 195 kB / 498.8 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1045, allocations: 4 kB / 498.8 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.1045, allocations: 0 / 498.8 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1045, allocations: 0 / 498.8 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.1047, allocations: 217.7 kB / 499 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1047, allocations: 3.938 kB / 499 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.105, allocations: 51.92 kB / 499.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.105, allocations: 0 / 499.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.105, allocations: 7.984 kB / 499.1 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005498/0.1055, allocations: 1.215 MB / 0.4886 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1055, allocations: 8.125 kB / 0.4886 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1059, allocations: 251.3 kB / 0.4888 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.106, allocations: 96.84 kB / 0.4889 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.106, allocations: 11.94 kB / 0.4889 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1061, allocations: 8.188 kB / 0.4889 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.1062, allocations: 11.92 kB / 0.4889 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1062, allocations: 3.938 kB / 0.4889 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1063, allocations: 153.2 kB / 0.4891 GB, free: 416 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.1063, allocations: 0 / 0.4891 GB, free: 416 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.1066, allocations: 43.94 kB / 0.4891 GB, free: 372 kB / 378.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.1067, allocations: 143.2 kB / 0.4893 GB, free: 220 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004518/0.1072, allocations: 155.9 kB / 0.4894 GB, free: 64 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1072, allocations: 0 / 0.4894 GB, free: 64 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1479/0.2552, allocations: 91.09 kB / 0.4895 GB, free: 43.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.2556, allocations: 23.25 kB / 0.4895 GB, free: 43.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.2562, allocations: 420.6 kB / 0.4899 GB, free: 43.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.2563, allocations: 0.7282 MB / 0.4906 GB, free: 42.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.2564, allocations: 14.94 kB / 0.4907 GB, free: 42.89 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2564, allocations: 0 / 0.4907 GB, free: 42.89 MB / 378.7 MB Notification: Performance of Templates: time 0.005093/0.2615, allocations: 3.454 MB / 0.494 GB, free: 42.77 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches