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.001242/0.001242, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001285/0.001285, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.303/1.303, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2042/0.2042, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.27 kB / 408.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1257, allocations: 60.82 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003235/0.129, allocations: 1.888 MB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1306, allocations: 1.082 MB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.1307, allocations: 8 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.131, allocations: 51.69 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.1312, allocations: 59.59 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.1317, allocations: 163.4 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.1319, allocations: 231 kB / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.919e-05/0.132, allocations: 21.67 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1322, allocations: 87.62 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.1323, allocations: 99.52 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1324, allocations: 12 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.1328, allocations: 235.6 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.1329, allocations: 59.75 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.133, allocations: 91.34 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.1334, allocations: 315.2 kB / 473.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1334, allocations: 0 / 473.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1334, allocations: 0 / 473.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1334, allocations: 7.938 kB / 473.7 MB, free: 9.938 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.00104/0.1345, allocations: 0.5453 MB / 474.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1345, allocations: 8.031 kB / 474.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.1346, allocations: 28.59 kB / 474.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1348, allocations: 231.8 kB / 474.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1348, allocations: 8.375 kB / 474.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.1349, allocations: 24.12 kB / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.1354, allocations: 280.3 kB / 474.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1354, allocations: 0 / 474.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.1354, allocations: 4 kB / 474.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.1355, allocations: 12 kB / 474.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.136, allocations: 227.7 kB / 475 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1371, allocations: 0.7617 MB / 475.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.1376, allocations: 231.7 kB / 476 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.1379, allocations: 106.5 kB / 476.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.1379, allocations: 7.984 kB / 476.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.138, allocations: 38.55 kB / 476.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.138, allocations: 0 / 476.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008926/0.1389, allocations: 317.1 kB / 476.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.139, allocations: 102.8 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1392, allocations: 278.7 kB / 476.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1393, allocations: 29.64 kB / 476.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.1394, allocations: 148 kB / 477 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.1394, allocations: 43.36 kB / 477 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.1395, allocations: 41.7 kB / 477.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1396, allocations: 338.8 kB / 477.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1399, allocations: 75.92 kB / 477.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.1401, allocations: 136.9 kB / 477.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.1406, allocations: 216.9 kB / 477.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1406, allocations: 0 / 477.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005918/0.1412, allocations: 261.2 kB / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1413, allocations: 11.94 kB / 478.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.1413, allocations: 8 kB / 478.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1413, allocations: 0 / 478.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1415, allocations: 35.91 kB / 478.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1415, allocations: 0 / 478.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1417, allocations: 43.84 kB / 478.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.1418, allocations: 8 kB / 478.2 MB, free: 5.078 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.1419, allocations: 157.8 kB / 478.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/0.142, allocations: 27.64 kB / 478.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.1425, allocations: 223.1 kB / 478.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.1425, allocations: 3.984 kB / 478.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1425, allocations: 4 kB / 478.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1425, allocations: 4 kB / 478.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.1429, allocations: 261.4 kB / 478.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/0.1429, allocations: 15.98 kB / 478.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1431, allocations: 27.97 kB / 478.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1431, allocations: 3.938 kB / 478.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.1431, allocations: 8 kB / 478.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1431, allocations: 0 / 478.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1431, allocations: 7.938 kB / 478.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/0.1438, allocations: 485.5 kB / 479.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.1439, allocations: 100.8 kB / 479.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.1439, allocations: 3.938 kB / 479.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.1442, allocations: 27.97 kB / 479.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.1442, allocations: 7.984 kB / 479.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1443, allocations: 12 kB / 479.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.1445, allocations: 205.9 kB / 479.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1445, allocations: 0 / 479.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004542/0.1449, allocations: 75.94 kB / 479.8 MB, free: 3.355 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 (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.0002927/0.1452, allocations: 155.1 kB / 480 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000636/0.1459, allocations: 292.8 kB / 480.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1459, allocations: 0 / 480.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.1462, allocations: 181.2 kB / 480.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.1467, allocations: 57 kB / 480.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.1476, allocations: 490.4 kB / 481 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1479, allocations: 0.7515 MB / 481.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.148, allocations: 45.5 kB / 481.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.1481, allocations: 19.42 kB / 481.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1481, allocations: 0 / 481.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Templates: time 0.007888/0.156, allocations: 3.889 MB / 485.7 MB, free: 13.46 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