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_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 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_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_3.2.3_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_3.2.3_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.0008691/0.0008691, allocations: 103.3 kB / 16.02 MB, free: 76 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.0008958/0.0008961, allocations: 185.8 kB / 16.92 MB, free: 6.914 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.566/1.566, allocations: 205.4 MB / 223.1 MB, free: 5.504 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.3926/0.3926, allocations: 43.58 MB / 315 MB, free: 8.77 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.0005289/0.0005291, allocations: 12 kB / 384.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1441, allocations: 58.86 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002053/0.1462, allocations: 1.501 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1476, allocations: 0.8033 MB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.1476, allocations: 4 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.1479, allocations: 43.81 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.1482, allocations: 67.7 kB / 445.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.1484, allocations: 67.81 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.1487, allocations: 243.2 kB / 446.2 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.051e-05/0.1487, allocations: 17.09 kB / 446.2 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1489, allocations: 63.7 kB / 446.3 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.149, allocations: 79.62 kB / 446.3 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1491, allocations: 4 kB / 446.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.1493, allocations: 155.8 kB / 446.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.1494, allocations: 39.88 kB / 446.5 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.1495, allocations: 81.31 kB / 446.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.1498, allocations: 195.5 kB / 446.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1499, allocations: 4 kB / 446.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1499, allocations: 0 / 446.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1499, allocations: 0 / 446.8 MB, free: 9.277 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007329/0.1506, allocations: 434.9 kB / 447.2 MB, free: 8.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1507, allocations: 11.97 kB / 447.2 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.1507, allocations: 12.84 kB / 447.3 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.151, allocations: 200 kB / 447.5 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.151, allocations: 8.375 kB / 447.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.151, allocations: 12.12 kB / 447.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.1514, allocations: 178.3 kB / 447.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1514, allocations: 0 / 447.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1514, allocations: 4 kB / 447.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.1515, allocations: 11.98 kB / 447.7 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.1518, allocations: 183.9 kB / 447.8 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.1526, allocations: 495.9 kB / 448.3 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.153, allocations: 166.5 kB / 448.5 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1532, allocations: 60.81 kB / 448.6 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1532, allocations: 0 / 448.6 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1532, allocations: 34.5 kB / 448.6 MB, free: 7.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1532, allocations: 4 kB / 448.6 MB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005851/0.1538, allocations: 217.3 kB / 448.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1539, allocations: 55.41 kB / 448.9 MB, free: 7.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1541, allocations: 203.4 kB / 449.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1541, allocations: 25.7 kB / 449.1 MB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.1542, allocations: 112 kB / 449.2 MB, free: 6.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.1542, allocations: 27.64 kB / 449.2 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.1542, allocations: 21.7 kB / 449.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1543, allocations: 326.8 kB / 449.6 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1545, allocations: 55.95 kB / 449.6 MB, free: 6.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.1546, allocations: 78.52 kB / 449.7 MB, free: 6.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.155, allocations: 138.4 kB / 449.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.155, allocations: 0 / 449.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003511/0.1554, allocations: 185.7 kB / 450 MB, free: 5.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1554, allocations: 11.94 kB / 450 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1554, allocations: 0 / 450 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1554, allocations: 0 / 450 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.1557, allocations: 47.97 kB / 450.1 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007502/0.1564, allocations: 1.227 MB / 451.3 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.1566, allocations: 23.86 kB / 451.3 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1566, allocations: 4 kB / 451.3 MB, free: 4.48 MB / 382.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.0001662/0.1568, allocations: 134 kB / 451.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.1568, allocations: 23.75 kB / 451.5 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.1573, allocations: 198.9 kB / 451.7 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1573, allocations: 0 / 451.7 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1573, allocations: 0 / 451.7 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1573, allocations: 4 kB / 451.7 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.1575, allocations: 221.6 kB / 451.9 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.1576, allocations: 7.938 kB / 451.9 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.1578, allocations: 47.91 kB / 451.9 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1578, allocations: 0 / 451.9 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1578, allocations: 4 kB / 451.9 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006753/0.1585, allocations: 1.223 MB / 453.2 MB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1585, allocations: 0 / 453.2 MB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.1589, allocations: 263.3 kB / 453.4 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.159, allocations: 100.9 kB / 453.5 MB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.1591, allocations: 3.938 kB / 453.5 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1592, allocations: 11.98 kB / 453.5 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.1593, allocations: 7.984 kB / 453.5 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1593, allocations: 4 kB / 453.6 MB, free: 2.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1594, allocations: 149.2 kB / 453.7 MB, free: 1.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1594, allocations: 4 kB / 453.7 MB, free: 1.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.1598, allocations: 40 kB / 453.7 MB, free: 1.914 MB / 382.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.0002881/0.1601, allocations: 135.1 kB / 453.9 MB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000526/0.1606, allocations: 163.9 kB / 454 MB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1606, allocations: 0 / 454 MB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.1609, allocations: 99.98 kB / 454.1 MB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1613, allocations: 19.98 kB / 454.1 MB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000784/0.1621, allocations: 415 kB / 454.6 MB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.1624, allocations: 0.7279 MB / 455.3 MB, free: 316 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.654e-05/0.1625, allocations: 33.05 kB / 455.3 MB, free: 284 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.1626, allocations: 19.44 kB / 455.3 MB, free: 264 kB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1626, allocations: 0 / 455.3 MB, free: 264 kB / 382.1 MB Notification: Performance of Templates: time 0.2152/0.3778, allocations: 2.392 MB / 457.7 MB, free: 46.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches