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.001055/0.001055, allocations: 104.4 kB / 17.98 MB, free: 5.359 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.001149/0.00115, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.318/1.318, allocations: 222.9 MB / 242.6 MB, free: 13.7 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.2023/0.2023, allocations: 44.18 MB / 336.9 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 64.98 kB / 408.6 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09629, allocations: 60.84 MB / 469.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003307/0.09963, allocations: 1.835 MB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1009, allocations: 0.7712 MB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.101, allocations: 0 / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1013, allocations: 43.8 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1016, allocations: 63.72 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1018, allocations: 79.73 kB / 472.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.102, allocations: 147.3 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.1021, allocations: 13.11 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1022, allocations: 63.77 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1024, allocations: 87.59 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1024, allocations: 4 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.1027, allocations: 151.8 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.1027, allocations: 39.84 kB / 472.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.1028, allocations: 55.61 kB / 472.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.103, allocations: 127.9 kB / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.103, allocations: 0 / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.103, allocations: 0 / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1031, allocations: 0 / 472.9 MB, free: 11.19 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006616/0.1037, allocations: 454.8 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1038, allocations: 8.031 kB / 473.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.1038, allocations: 16.75 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.104, allocations: 200.2 kB / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.104, allocations: 8.375 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1041, allocations: 8.125 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.1044, allocations: 173.5 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1044, allocations: 4 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1045, allocations: 8 kB / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.1045, allocations: 11.98 kB / 473.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.1048, allocations: 164.3 kB / 473.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.1056, allocations: 495.9 kB / 474.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.106, allocations: 162.5 kB / 474.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1062, allocations: 52.81 kB / 474.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1062, allocations: 4 kB / 474.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1063, allocations: 34.5 kB / 474.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1063, allocations: 0 / 474.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005226/0.1068, allocations: 201.3 kB / 474.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1068, allocations: 59.41 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.107, allocations: 203.4 kB / 475.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1071, allocations: 29.7 kB / 475.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.1071, allocations: 108 kB / 475.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1072, allocations: 27.56 kB / 475.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.1072, allocations: 37.7 kB / 475.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1073, allocations: 326.8 kB / 475.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1075, allocations: 47.95 kB / 475.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1076, allocations: 70.52 kB / 475.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1079, allocations: 134.4 kB / 475.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1079, allocations: 0 / 475.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003488/0.1083, allocations: 165.7 kB / 476 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1083, allocations: 4 kB / 476 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1083, allocations: 4 kB / 476 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1083, allocations: 0 / 476 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.1086, allocations: 55.97 kB / 476.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000671/0.1093, allocations: 1.223 MB / 477.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1094, allocations: 7.938 kB / 477.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1094, allocations: 12.19 kB / 477.3 MB, free: 6.445 MB / 350.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.0001736/0.1096, allocations: 133.8 kB / 477.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.1097, allocations: 19.75 kB / 477.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.1101, allocations: 186.9 kB / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1101, allocations: 0 / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1101, allocations: 0 / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1101, allocations: 3.984 kB / 477.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.1104, allocations: 229.5 kB / 477.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1104, allocations: 3.938 kB / 477.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.1106, allocations: 47.97 kB / 477.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1106, allocations: 0 / 477.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1106, allocations: 4 kB / 477.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006213/0.1113, allocations: 1.223 MB / 479.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1113, allocations: 0 / 479.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.1116, allocations: 247.3 kB / 479.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.1117, allocations: 92.86 kB / 479.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1117, allocations: 3.938 kB / 479.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1119, allocations: 12.08 kB / 479.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.1119, allocations: 11.98 kB / 479.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1119, allocations: 4 kB / 479.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1121, allocations: 149.2 kB / 479.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1121, allocations: 0 / 479.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1124, allocations: 40 kB / 479.7 MB, free: 3.918 MB / 350.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.0002132/0.1126, allocations: 131.7 kB / 479.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.1131, allocations: 155.9 kB / 480 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1131, allocations: 0 / 480 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.1134, allocations: 92 kB / 480.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1137, allocations: 25.59 kB / 480.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.1144, allocations: 425.1 kB / 480.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1147, allocations: 0.724 MB / 481.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.1147, allocations: 15.44 kB / 481.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1147, allocations: 0 / 481.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Templates: time 0.005212/0.1199, allocations: 3.469 MB / 484.7 MB, free: 14.84 MB / 366.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/jenkins1/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/jenkins1/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