Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_3.2.3_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.001092/0.001092, allocations: 105.5 kB / 16.94 MB, free: 5.801 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.0009946/0.0009946, allocations: 191.3 kB / 17.86 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1989/0.1989, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 67.95 kB / 383.4 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09839, allocations: 57.79 MB / 441.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003168/0.1016, allocations: 1.895 MB / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1033, allocations: 1.126 MB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1034, allocations: 0 / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.1037, allocations: 55.69 kB / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.104, allocations: 63.59 kB / 444.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.1045, allocations: 159.4 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.1048, allocations: 227 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.1048, allocations: 25.55 kB / 444.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.105, allocations: 87.62 kB / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.1052, allocations: 111.4 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.1052, allocations: 8 kB / 444.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.1056, allocations: 239.6 kB / 445.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.1057, allocations: 51.81 kB / 445.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.1058, allocations: 91.41 kB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.1063, allocations: 314.9 kB / 445.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1063, allocations: 0 / 445.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1063, allocations: 0 / 445.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1063, allocations: 0 / 445.6 MB, free: 2.434 MB / 318.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.001014/0.1073, allocations: 0.5608 MB / 446.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1073, allocations: 15.88 kB / 446.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.1074, allocations: 24.66 kB / 446.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1076, allocations: 223.9 kB / 446.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1077, allocations: 12.12 kB / 446.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1077, allocations: 20.12 kB / 446.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.1082, allocations: 280.3 kB / 446.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1082, allocations: 0 / 446.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.1082, allocations: 8 kB / 446.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.1082, allocations: 15.98 kB / 446.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.1087, allocations: 223.7 kB / 447 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.1096, allocations: 0.7656 MB / 447.8 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.1102, allocations: 227.7 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.1104, allocations: 102.5 kB / 448.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.1105, allocations: 11.98 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1105, allocations: 34.67 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.1105, allocations: 3.938 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009496/0.1115, allocations: 313.2 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.1116, allocations: 106.8 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.1118, allocations: 278.6 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.1119, allocations: 25.7 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.112, allocations: 143.9 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.112, allocations: 43.42 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.1121, allocations: 41.7 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1123, allocations: 338.8 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.1125, allocations: 75.92 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.1128, allocations: 136.9 kB / 449.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.1133, allocations: 216.9 kB / 449.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1134, allocations: 4 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006353/0.114, allocations: 265.3 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.114, allocations: 12.81 kB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.1141, allocations: 11.94 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1141, allocations: 0 / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.1143, allocations: 39.91 kB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1143, allocations: 0 / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.1145, allocations: 35.81 kB / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.1146, allocations: 8 kB / 450.2 MB, free: 13.56 MB / 334.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.0001553/0.1147, allocations: 158.1 kB / 450.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.207e-05/0.1148, allocations: 23.66 kB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.1153, allocations: 226.9 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1153, allocations: 4 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1153, allocations: 0 / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1154, allocations: 7.984 kB / 450.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.1158, allocations: 265.5 kB / 450.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.1158, allocations: 12 kB / 450.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.116, allocations: 27.97 kB / 450.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.116, allocations: 3.938 kB / 450.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.116, allocations: 8 kB / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.116, allocations: 3.938 kB / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.116, allocations: 0 / 450.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.1167, allocations: 481.6 kB / 451.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.1168, allocations: 96.83 kB / 451.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.1169, allocations: 11.92 kB / 451.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.1171, allocations: 19.98 kB / 451.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.1172, allocations: 11.98 kB / 451.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1172, allocations: 8 kB / 451.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.1174, allocations: 209.9 kB / 451.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1174, allocations: 0 / 451.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.1179, allocations: 71.94 kB / 451.8 MB, free: 11.84 MB / 334.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.0003132/0.1182, allocations: 159.1 kB / 452 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006896/0.1189, allocations: 304.6 kB / 452.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.119, allocations: 0 / 452.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.1193, allocations: 177 kB / 452.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.1198, allocations: 48.78 kB / 452.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.1207, allocations: 0.504 MB / 453 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1211, allocations: 0.7554 MB / 453.7 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.1212, allocations: 15.44 kB / 453.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1212, allocations: 0 / 453.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of Templates: time 0.006532/0.1277, allocations: 3.846 MB / 457.6 MB, free: 5.961 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches