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.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,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_4.0.0_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_4.0.0_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.000921/0.000921, allocations: 97.92 kB / 17 MB, free: 6.418 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.0009224/0.0009225, allocations: 189.9 kB / 17.89 MB, free: 5.945 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.346/1.346, allocations: 223.2 MB / 241.9 MB, free: 332 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.1988/0.1988, allocations: 44.25 MB / 337.3 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, 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): time 0.002021/0.124, allocations: 1.571 MB / 473.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1255, allocations: 0.9823 MB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.1256, allocations: 4 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.1258, allocations: 43.73 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.126, allocations: 55.73 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1264, allocations: 131.5 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.1267, allocations: 259 kB / 474.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.698e-05/0.1267, allocations: 25.66 kB / 474.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1269, allocations: 83.58 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.127, allocations: 107.5 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1271, allocations: 8 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.1274, allocations: 227.6 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.1275, allocations: 51.8 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.1276, allocations: 57.58 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1278, allocations: 203.7 kB / 475.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1278, allocations: 4 kB / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1278, allocations: 0 / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1278, allocations: 0 / 475.4 MB, free: 9.863 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009065/0.1288, allocations: 0.5296 MB / 475.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1288, allocations: 8.031 kB / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.1289, allocations: 23.72 kB / 476 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1291, allocations: 235.1 kB / 476.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1291, allocations: 15.95 kB / 476.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.1292, allocations: 12 kB / 476.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.1297, allocations: 296.3 kB / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1297, allocations: 0 / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1297, allocations: 8 kB / 476.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.1297, allocations: 11.98 kB / 476.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.1303, allocations: 251.7 kB / 476.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009548/0.1312, allocations: 0.7695 MB / 477.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.1318, allocations: 251.6 kB / 477.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.1321, allocations: 106.5 kB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.1321, allocations: 12.03 kB / 477.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1322, allocations: 34.66 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.1322, allocations: 3.938 kB / 477.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009109/0.1331, allocations: 349.3 kB / 478.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.1331, allocations: 114.7 kB / 478.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.1334, allocations: 274.6 kB / 478.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1334, allocations: 25.7 kB / 478.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.1335, allocations: 143.9 kB / 478.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1336, allocations: 47.39 kB / 478.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.1336, allocations: 4 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1337, allocations: 330.8 kB / 479.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.134, allocations: 99.92 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.1342, allocations: 129.1 kB / 479.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.1345, allocations: 115.8 kB / 479.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1345, allocations: 4 kB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006032/0.1351, allocations: 285.1 kB / 479.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1352, allocations: 4 kB / 479.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.1352, allocations: 15.98 kB / 479.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1352, allocations: 4 kB / 479.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.1354, allocations: 40.09 kB / 479.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1354, allocations: 11.89 kB / 479.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1356, allocations: 39.81 kB / 479.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.1356, allocations: 4 kB / 479.9 MB, free: 5.031 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.1358, allocations: 149.8 kB / 480.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.1359, allocations: 27.72 kB / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.1363, allocations: 227.3 kB / 480.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.1364, allocations: 4 kB / 480.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1364, allocations: 3.938 kB / 480.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1364, allocations: 7.953 kB / 480.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.1368, allocations: 265.4 kB / 480.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/0.1368, allocations: 16 kB / 480.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.137, allocations: 31.97 kB / 480.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.137, allocations: 4.078 kB / 480.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.137, allocations: 7.938 kB / 480.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1371, allocations: 4 kB / 480.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1371, allocations: 4 kB / 480.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.1377, allocations: 0.4965 MB / 481.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.1378, allocations: 104.8 kB / 481.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.1378, allocations: 4 kB / 481.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.1381, allocations: 27.97 kB / 481.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.1381, allocations: 11.98 kB / 481.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1382, allocations: 8 kB / 481.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1384, allocations: 201.9 kB / 481.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1384, allocations: 0 / 481.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004194/0.1388, allocations: 79.88 kB / 481.6 MB, free: 3.27 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002396/0.139, allocations: 155.1 kB / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006352/0.1397, allocations: 313.5 kB / 482.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1397, allocations: 0 / 482.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.14, allocations: 193.1 kB / 482.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.1405, allocations: 52.39 kB / 482.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008506/0.1414, allocations: 0.5274 MB / 482.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1417, allocations: 0.7557 MB / 483.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1419, allocations: 37.52 kB / 483.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.1419, allocations: 19.44 kB / 483.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1419, allocations: 3.938 kB / 483.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Templates: time 0.006851/0.1488, allocations: 3.536 MB / 487.2 MB, free: 13.66 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches