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.001016/0.001016, allocations: 95.03 kB / 17.35 MB, free: 6.375 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.001154/0.001155, allocations: 175.5 kB / 18.25 MB, free: 5.523 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.368/1.368, allocations: 223.3 MB / 242.3 MB, free: 232 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.202/0.202, allocations: 44.24 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004877, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002366/0.137, allocations: 1.609 MB / 473.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1389, allocations: 1.075 MB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1391, allocations: 0 / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1395, allocations: 43.8 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.1397, allocations: 55.67 kB / 475.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.1402, allocations: 146 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.1406, allocations: 306.9 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.343e-05/0.1407, allocations: 21.67 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.1409, allocations: 83.64 kB / 475.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.1411, allocations: 111.5 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.1411, allocations: 7.938 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.1415, allocations: 231.7 kB / 475.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.1416, allocations: 51.75 kB / 476 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1418, allocations: 121 kB / 476.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.1422, allocations: 311.2 kB / 476.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1422, allocations: 0 / 476.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1422, allocations: 4 kB / 476.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.1422, allocations: 0 / 476.4 MB, free: 9.172 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.001031/0.1433, allocations: 0.5337 MB / 477 MB, free: 8.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1433, allocations: 11.97 kB / 477 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.1434, allocations: 24.66 kB / 477 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1437, allocations: 232.3 kB / 477.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1437, allocations: 12.38 kB / 477.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.1437, allocations: 20.11 kB / 477.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.1443, allocations: 296.3 kB / 477.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1443, allocations: 0 / 477.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.1444, allocations: 4 kB / 477.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.1444, allocations: 23.98 kB / 477.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.1451, allocations: 243.7 kB / 477.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1462, allocations: 0.7695 MB / 478.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.1468, allocations: 239.7 kB / 478.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.1471, allocations: 114.5 kB / 478.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.1472, allocations: 7.984 kB / 478.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1472, allocations: 34.56 kB / 479 MB, free: 6.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1472, allocations: 0 / 479 MB, free: 6.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001036/0.1483, allocations: 357.2 kB / 479.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1483, allocations: 102.8 kB / 479.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.1486, allocations: 278.6 kB / 479.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1486, allocations: 25.81 kB / 479.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1488, allocations: 151.8 kB / 479.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.1488, allocations: 51.44 kB / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1489, allocations: 25.64 kB / 479.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.149, allocations: 326.8 kB / 480.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.1493, allocations: 103.9 kB / 480.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.1496, allocations: 133.1 kB / 480.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.1501, allocations: 248.9 kB / 480.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1501, allocations: 0 / 480.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006868/0.1508, allocations: 293.1 kB / 481 MB, free: 4.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1509, allocations: 7.938 kB / 481 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.1509, allocations: 15.98 kB / 481 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1509, allocations: 4 kB / 481 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1511, allocations: 44.03 kB / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1512, allocations: 0 / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.1514, allocations: 39.81 kB / 481.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.1514, allocations: 8 kB / 481.1 MB, free: 4.148 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.0001471/0.1516, allocations: 145.8 kB / 481.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.1517, allocations: 31.59 kB / 481.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.1522, allocations: 235.1 kB / 481.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.1522, allocations: 4 kB / 481.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1522, allocations: 3.984 kB / 481.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1522, allocations: 0 / 481.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.1527, allocations: 265.5 kB / 481.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/0.1527, allocations: 12 kB / 481.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.1529, allocations: 31.97 kB / 481.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.1529, allocations: 7.922 kB / 481.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.1529, allocations: 4 kB / 481.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1529, allocations: 0 / 481.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.153, allocations: 11.92 kB / 481.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.1537, allocations: 498 kB / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.1538, allocations: 108.7 kB / 482.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.1538, allocations: 11.94 kB / 482.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.1541, allocations: 27.97 kB / 482.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.1542, allocations: 11.98 kB / 482.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1542, allocations: 8 kB / 482.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.1544, allocations: 201.9 kB / 482.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1544, allocations: 0 / 482.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004538/0.1548, allocations: 79.92 kB / 482.8 MB, free: 2.383 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.0003009/0.1552, allocations: 159.2 kB / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007034/0.1559, allocations: 309.1 kB / 483.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1559, allocations: 0 / 483.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.1562, allocations: 193 kB / 483.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.1568, allocations: 52.58 kB / 483.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/0.1578, allocations: 0.5426 MB / 484 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1581, allocations: 0.7634 MB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.1583, allocations: 45.5 kB / 484.8 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.1583, allocations: 19.44 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1583, allocations: 0 / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of Templates: time 0.007815/0.1661, allocations: 3.625 MB / 488.5 MB, free: 12.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