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.001129/0.001129, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001125/0.001125, allocations: 191 kB / 19.34 MB, free: 3.766 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.33/1.33, allocations: 222.9 MB / 243 MB, free: 15.15 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.1984/0.1984, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.05 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002878/0.1097, allocations: 1.767 MB / 472.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1108, allocations: 0.7944 MB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.1109, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1111, allocations: 43.75 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1114, allocations: 71.64 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1117, allocations: 79.67 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1118, allocations: 147.3 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.1119, allocations: 9.125 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.112, allocations: 59.77 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1121, allocations: 75.67 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1122, allocations: 11.94 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.1124, allocations: 159.7 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.1125, allocations: 35.89 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.1126, allocations: 51.67 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.1129, allocations: 203.2 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1129, allocations: 0 / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1129, allocations: 0 / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1129, allocations: 0 / 474.2 MB, free: 10.13 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.0006257/0.1135, allocations: 462.8 kB / 474.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.1136, allocations: 8.031 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.1136, allocations: 16.75 kB / 474.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1138, allocations: 200.2 kB / 474.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.1138, allocations: 4.375 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1138, allocations: 12.12 kB / 474.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.1141, allocations: 173.5 kB / 475.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.1142, allocations: 0 / 475.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1142, allocations: 4 kB / 475.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/0.1142, allocations: 23.97 kB / 475.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.1146, allocations: 159.9 kB / 475.3 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.1153, allocations: 495.9 kB / 475.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.1157, allocations: 162.4 kB / 475.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.1158, allocations: 52.81 kB / 476 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.1159, allocations: 4 kB / 476 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.1159, allocations: 30.56 kB / 476 MB, free: 8.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.1159, allocations: 0 / 476 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005291/0.1164, allocations: 201.6 kB / 476.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1165, allocations: 55.34 kB / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1166, allocations: 203.5 kB / 476.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1167, allocations: 33.64 kB / 476.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.1167, allocations: 112 kB / 476.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.1168, allocations: 27.56 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.1168, allocations: 29.7 kB / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.117, allocations: 330.8 kB / 477 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1171, allocations: 47.95 kB / 477 MB, free: 7.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1172, allocations: 70.52 kB / 477.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.1175, allocations: 134.4 kB / 477.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1175, allocations: 4 kB / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003227/0.1178, allocations: 161.3 kB / 477.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1179, allocations: 4 kB / 477.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1179, allocations: 0 / 477.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1179, allocations: 7.938 kB / 477.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.1181, allocations: 43.97 kB / 477.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006414/0.1188, allocations: 1.23 MB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1189, allocations: 11.97 kB / 478.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1189, allocations: 4 kB / 478.7 MB, free: 5.387 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.0001596/0.1191, allocations: 138 kB / 478.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.1191, allocations: 19.75 kB / 478.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.1195, allocations: 182.9 kB / 479 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1196, allocations: 3.938 kB / 479 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1196, allocations: 0 / 479 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1196, allocations: 3.984 kB / 479 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.1198, allocations: 221.6 kB / 479.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1198, allocations: 3.938 kB / 479.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.1201, allocations: 47.97 kB / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1201, allocations: 0 / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1201, allocations: 11.94 kB / 479.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006552/0.1207, allocations: 1.215 MB / 480.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1208, allocations: 4.188 kB / 480.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.1211, allocations: 247.4 kB / 480.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.1212, allocations: 92.86 kB / 480.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.1212, allocations: 7.938 kB / 480.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.1213, allocations: 7.984 kB / 480.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.1214, allocations: 7.984 kB / 480.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1214, allocations: 8 kB / 480.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1215, allocations: 149.2 kB / 481 MB, free: 2.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1215, allocations: 7.938 kB / 481 MB, free: 2.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1218, allocations: 40 kB / 481.1 MB, free: 2.852 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.0002008/0.122, allocations: 128.8 kB / 481.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004746/0.1225, allocations: 143.8 kB / 481.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1225, allocations: 0 / 481.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.1228, allocations: 87.88 kB / 481.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1231, allocations: 40.08 kB / 481.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/0.1238, allocations: 355.8 kB / 481.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1241, allocations: 0.724 MB / 482.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.194e-05/0.1242, allocations: 33.06 kB / 482.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.1242, allocations: 19.42 kB / 482.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1242, allocations: 0 / 482.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of Templates: time 0.005572/0.1298, allocations: 2.584 MB / 485.2 MB, free: 14.75 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 -s gbode -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