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.001558/0.001558, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 202.7 kB / 16.79 MB, free: 6.84 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.452/1.452, allocations: 205.1 MB / 222.6 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.354/0.354, allocations: 43.49 MB / 313.5 MB, free: 8.371 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.001452/0.001452, allocations: 63.91 kB / 382.1 MB, free: 8.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 57.78 MB / 439.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003267/0.1322, allocations: 1.953 MB / 441.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.134, allocations: 1.138 MB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.1341, allocations: 4 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1344, allocations: 35.77 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.1346, allocations: 63.64 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.135, allocations: 151.6 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.1354, allocations: 306.9 kB / 443.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1356, allocations: 21.66 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1358, allocations: 75.66 kB / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1359, allocations: 111.4 kB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.136, allocations: 8 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.1364, allocations: 235.6 kB / 443.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.1365, allocations: 51.81 kB / 444 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.913e-05/0.1366, allocations: 91.41 kB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.137, allocations: 315.1 kB / 444.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.137, allocations: 0 / 444.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.137, allocations: 0 / 444.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.137, allocations: 4 kB / 444.4 MB, free: 10.32 MB / 382.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.001117/0.1381, allocations: 0.5492 MB / 444.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1382, allocations: 12.02 kB / 444.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.1383, allocations: 24.66 kB / 445 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1385, allocations: 235.8 kB / 445.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1385, allocations: 12.38 kB / 445.2 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.1386, allocations: 16.12 kB / 445.2 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.1391, allocations: 280.6 kB / 445.5 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1391, allocations: 0 / 445.5 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.1392, allocations: 4 kB / 445.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.1392, allocations: 15.98 kB / 445.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.1398, allocations: 231.2 kB / 445.7 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1409, allocations: 0.7695 MB / 446.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.1415, allocations: 235.6 kB / 446.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.1418, allocations: 98.5 kB / 446.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.1419, allocations: 3.984 kB / 446.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1419, allocations: 42.56 kB / 446.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.1419, allocations: 0 / 446.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001033/0.1429, allocations: 321.3 kB / 447.2 MB, free: 7.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.143, allocations: 102.8 kB / 447.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.1433, allocations: 278.6 kB / 447.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1434, allocations: 25.7 kB / 447.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1435, allocations: 143.9 kB / 447.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.1436, allocations: 43.36 kB / 447.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.1437, allocations: 37.7 kB / 447.8 MB, free: 6.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1438, allocations: 334.8 kB / 448.1 MB, free: 6.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.1441, allocations: 83.92 kB / 448.2 MB, free: 6.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.1444, allocations: 133 kB / 448.3 MB, free: 6.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/0.145, allocations: 225 kB / 448.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.145, allocations: 4 kB / 448.6 MB, free: 5.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006431/0.1456, allocations: 257.1 kB / 448.8 MB, free: 5.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1457, allocations: 7.938 kB / 448.8 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.1457, allocations: 12 kB / 448.8 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.1457, allocations: 8.156 kB / 448.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.1459, allocations: 31.91 kB / 448.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.146, allocations: 7.984 kB / 448.9 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1461, allocations: 31.77 kB / 448.9 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.1462, allocations: 8 kB / 448.9 MB, free: 5.457 MB / 382.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.0001523/0.1463, allocations: 149.7 kB / 449.1 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.1464, allocations: 23.66 kB / 449.1 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.1469, allocations: 227.3 kB / 449.3 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1469, allocations: 0 / 449.3 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1469, allocations: 4 kB / 449.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.147, allocations: 3.984 kB / 449.3 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.1474, allocations: 269.4 kB / 449.6 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/0.1474, allocations: 12.09 kB / 449.6 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.1476, allocations: 35.91 kB / 449.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1476, allocations: 3.938 kB / 449.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1476, allocations: 7.938 kB / 449.6 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1477, allocations: 4 kB / 449.6 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1477, allocations: 0 / 449.6 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006817/0.1484, allocations: 481.7 kB / 450.1 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.1484, allocations: 100.8 kB / 450.2 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.1485, allocations: 7.922 kB / 450.2 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.1487, allocations: 19.97 kB / 450.2 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.1488, allocations: 11.98 kB / 450.3 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1489, allocations: 11.92 kB / 450.3 MB, free: 4.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.149, allocations: 209.9 kB / 450.5 MB, free: 3.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1491, allocations: 0 / 450.5 MB, free: 3.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004406/0.1495, allocations: 75.94 kB / 450.5 MB, free: 3.73 MB / 382.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.000304/0.1498, allocations: 155.1 kB / 450.7 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007114/0.1505, allocations: 272.9 kB / 451 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1505, allocations: 320 / 451 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.1509, allocations: 185 kB / 451.1 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.1514, allocations: 48.84 kB / 451.2 MB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009619/0.1524, allocations: 0.5318 MB / 451.7 MB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.1528, allocations: 0.7635 MB / 452.5 MB, free: 1.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.1529, allocations: 45.44 kB / 452.5 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.153, allocations: 15.44 kB / 452.5 MB, free: 1.617 MB / 382.1 MB Notification: Performance of SimCode: time 2.405e-06/0.153, allocations: 0 / 452.5 MB, free: 1.617 MB / 382.1 MB Notification: Performance of Templates: time 0.2205/0.3736, allocations: 3.626 MB / 456.2 MB, free: 48.47 MB / 382.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/jenkins/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","../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