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.001218/0.001218, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001213/0.001213, allocations: 192 kB / 18.56 MB, free: 4.434 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.288/1.288, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2022/0.2022, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 69.05 kB / 408.5 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1258, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.004723/0.1306, allocations: 1.764 MB / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1323, allocations: 0.7946 MB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.1324, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1327, allocations: 51.69 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.133, allocations: 71.69 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1333, allocations: 71.75 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1335, allocations: 143.3 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.261e-05/0.1336, allocations: 9.125 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.1337, allocations: 71.64 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.1339, allocations: 79.66 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.1339, allocations: 4 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.1342, allocations: 155.8 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.1343, allocations: 35.89 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.1344, allocations: 59.56 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.1347, allocations: 207.5 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1347, allocations: 0 / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1347, allocations: 0 / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1347, allocations: 0 / 472.8 MB, free: 10.85 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.0007206/0.1355, allocations: 450.9 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1355, allocations: 8.031 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.1355, allocations: 16.75 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.1357, allocations: 203.4 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1358, allocations: 8.375 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1358, allocations: 12.12 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.1361, allocations: 173.5 kB / 473.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1361, allocations: 0 / 473.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.1362, allocations: 8 kB / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.1362, allocations: 11.98 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.1365, allocations: 175.8 kB / 473.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.1373, allocations: 484 kB / 474.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.1377, allocations: 158.4 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1378, allocations: 60.75 kB / 474.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.1379, allocations: 4 kB / 474.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1379, allocations: 34.56 kB / 474.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1379, allocations: 0 / 474.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005309/0.1384, allocations: 197.3 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.1385, allocations: 55.39 kB / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.1387, allocations: 203.5 kB / 475 MB, free: 8.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1387, allocations: 25.7 kB / 475 MB, free: 8.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.1388, allocations: 112 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.1388, allocations: 31.55 kB / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.1389, allocations: 29.72 kB / 475.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.139, allocations: 330.8 kB / 475.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1391, allocations: 51.88 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1393, allocations: 78.41 kB / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.1396, allocations: 126.5 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1396, allocations: 0 / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003404/0.1399, allocations: 173.7 kB / 475.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1399, allocations: 4.094 kB / 475.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.14, allocations: 3.938 kB / 475.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.14, allocations: 4 kB / 475.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.1402, allocations: 43.97 kB / 476 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000718/0.141, allocations: 1.223 MB / 477.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1411, allocations: 15.97 kB / 477.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1411, allocations: 7.984 kB / 477.2 MB, free: 6.105 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.0001905/0.1413, allocations: 129.8 kB / 477.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.1414, allocations: 19.75 kB / 477.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.1418, allocations: 191 kB / 477.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1418, allocations: 3.938 kB / 477.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1418, allocations: 0 / 477.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1418, allocations: 0 / 477.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.142, allocations: 225.6 kB / 477.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.142, allocations: 3.938 kB / 477.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.1423, allocations: 39.98 kB / 477.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1423, allocations: 0 / 477.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1423, allocations: 11.98 kB / 477.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000605/0.1429, allocations: 1.215 MB / 479 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1429, allocations: 0 / 479 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.1433, allocations: 251.5 kB / 479.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.1433, allocations: 96.84 kB / 479.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.1434, allocations: 7.875 kB / 479.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1435, allocations: 12 kB / 479.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.1436, allocations: 7.984 kB / 479.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1436, allocations: 4 kB / 479.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1437, allocations: 153.2 kB / 479.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1437, allocations: 4 kB / 479.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.144, allocations: 36 kB / 479.6 MB, free: 3.578 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.00024/0.1442, allocations: 134.8 kB / 479.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.1447, allocations: 159.9 kB / 479.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1447, allocations: 0 / 479.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.145, allocations: 88.06 kB / 480 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1453, allocations: 27.97 kB / 480 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/0.146, allocations: 355.6 kB / 480.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1464, allocations: 0.7279 MB / 481.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.468e-05/0.1465, allocations: 33.05 kB / 481.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.1465, allocations: 11.44 kB / 481.1 MB, free: 2 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1465, allocations: 4 kB / 481.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of Templates: time 0.005969/0.1525, allocations: 2.587 MB / 483.7 MB, free: 15.46 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