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.001059/0.001058, allocations: 97 kB / 17 MB, free: 6.039 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.0008445/0.0008446, allocations: 182.1 kB / 17.89 MB, free: 5.637 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.464/1.464, allocations: 223.3 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1896/0.1896, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003242, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.001807/0.1161, allocations: 1.454 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1172, allocations: 0.7212 MB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.1173, allocations: 0 / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1175, allocations: 43.75 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.1178, allocations: 63.72 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.118, allocations: 71.8 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.1183, allocations: 199.2 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.1183, allocations: 9.125 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1185, allocations: 59.77 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1186, allocations: 75.67 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1187, allocations: 4 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.1189, allocations: 143.8 kB / 474.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.119, allocations: 43.83 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.1191, allocations: 45.64 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1193, allocations: 123.9 kB / 474.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1193, allocations: 0 / 474.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1193, allocations: 0 / 474.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1193, allocations: 0 / 474.7 MB, free: 10.62 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.0006659/0.12, allocations: 434.8 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.12, allocations: 16.03 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.1201, allocations: 15.75 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1203, allocations: 190.9 kB / 475.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1203, allocations: 11.98 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1203, allocations: 15.94 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.1207, allocations: 169.5 kB / 475.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1207, allocations: 0 / 475.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1207, allocations: 8 kB / 475.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.1208, allocations: 19.97 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.1211, allocations: 175.8 kB / 475.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.1219, allocations: 488 kB / 476.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.1222, allocations: 158.5 kB / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.1224, allocations: 68.77 kB / 476.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1224, allocations: 8.062 kB / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1225, allocations: 30.56 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1225, allocations: 0 / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005147/0.123, allocations: 217.7 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.123, allocations: 55.34 kB / 476.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1232, allocations: 203.3 kB / 476.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1233, allocations: 29.8 kB / 476.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.1233, allocations: 108.1 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1234, allocations: 31.56 kB / 477.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-06/0.1234, allocations: 4 kB / 477.1 MB, free: 8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1235, allocations: 326.8 kB / 477.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1237, allocations: 51.95 kB / 477.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1238, allocations: 78.52 kB / 477.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.124, allocations: 63.95 kB / 477.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.124, allocations: 0 / 477.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003467/0.1243, allocations: 181.2 kB / 477.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1244, allocations: 11.98 kB / 477.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1244, allocations: 3.938 kB / 477.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1244, allocations: 0 / 477.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1247, allocations: 43.98 kB / 477.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008293/0.1255, allocations: 1.227 MB / 479 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1256, allocations: 23.83 kB / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1257, allocations: 4 kB / 479.1 MB, free: 5.93 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 (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.0001615/0.1258, allocations: 144.7 kB / 479.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.1259, allocations: 15.81 kB / 479.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.1263, allocations: 191 kB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1263, allocations: 3.938 kB / 479.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1263, allocations: 4 kB / 479.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1263, allocations: 3.953 kB / 479.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.1266, allocations: 217.6 kB / 479.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1266, allocations: 0 / 479.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.1268, allocations: 47.97 kB / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1268, allocations: 0 / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1268, allocations: 4 kB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007293/0.1276, allocations: 1.223 MB / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1276, allocations: 0 / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1279, allocations: 267.5 kB / 481.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.128, allocations: 92.95 kB / 481.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.128, allocations: 7.938 kB / 481.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1282, allocations: 15.98 kB / 481.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.1282, allocations: 4 kB / 481.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1282, allocations: 7.984 kB / 481.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1283, allocations: 149.2 kB / 481.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1283, allocations: 0 / 481.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.1286, allocations: 39.98 kB / 481.5 MB, free: 3.379 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 (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.000188/0.1288, allocations: 131.2 kB / 481.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004508/0.1293, allocations: 151.8 kB / 481.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1293, allocations: 7.938 kB / 481.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.1296, allocations: 104 kB / 481.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1299, allocations: 24.12 kB / 481.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.1306, allocations: 399.9 kB / 482.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1309, allocations: 0.7318 MB / 483 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.131, allocations: 33.06 kB / 483 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.131, allocations: 11.44 kB / 483.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1311, allocations: 4 kB / 483.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Templates: time 0.00659/0.1376, allocations: 2.338 MB / 485.4 MB, free: 15.45 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/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