Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 80.59 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1508, allocations: 62.47 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003834/0.1547, allocations: 1.791 MB / 481.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1562, allocations: 0.8373 MB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.1563, allocations: 0 / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.1565, allocations: 47.73 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.1568, allocations: 63.66 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.1571, allocations: 87.66 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1573, allocations: 147.4 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.1573, allocations: 17.05 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.1575, allocations: 63.77 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.1577, allocations: 83.66 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1577, allocations: 4 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.158, allocations: 159.7 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.1581, allocations: 39.83 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/0.1582, allocations: 47.69 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1585, allocations: 215.5 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1585, allocations: 0 / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1585, allocations: 3.938 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1585, allocations: 0 / 483.7 MB, free: 1.574 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000782/0.1593, allocations: 446.9 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1594, allocations: 8.031 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.1594, allocations: 24.73 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.1597, allocations: 192.2 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1597, allocations: 8.375 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1597, allocations: 8.125 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.1601, allocations: 173.5 kB / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1601, allocations: 0 / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1601, allocations: 15.94 kB / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.1602, allocations: 11.98 kB / 484.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.1605, allocations: 167.8 kB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.1613, allocations: 492 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.1617, allocations: 162.4 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.1619, allocations: 52.81 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1619, allocations: 4 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.162, allocations: 34.55 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.162, allocations: 0 / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005739/0.1625, allocations: 205.3 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1626, allocations: 51.41 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.1628, allocations: 200.3 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1628, allocations: 25.7 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.1629, allocations: 115.9 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.163, allocations: 31.55 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.163, allocations: 33.66 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1632, allocations: 330.8 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1633, allocations: 51.94 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1635, allocations: 70.52 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.1638, allocations: 134.7 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1638, allocations: 0 / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003662/0.1642, allocations: 165.3 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1642, allocations: 4 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1642, allocations: 3.984 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1642, allocations: 4 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.1645, allocations: 47.98 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008032/0.1653, allocations: 1.211 MB / 488.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1654, allocations: 19.86 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1655, allocations: 8.188 kB / 488.2 MB, free: 12.84 MB / 366.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.0001777/0.1657, allocations: 133.8 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.1657, allocations: 23.73 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.1662, allocations: 178.9 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1662, allocations: 11.92 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1662, allocations: 0 / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1662, allocations: 0 / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.1665, allocations: 233.6 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1665, allocations: 3.938 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.1667, allocations: 39.98 kB / 488.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1667, allocations: 0 / 488.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1668, allocations: 7.984 kB / 488.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007363/0.1675, allocations: 1.219 MB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1675, allocations: 0 / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.1679, allocations: 251.2 kB / 490.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.168, allocations: 96.84 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.168, allocations: 3.938 kB / 490.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1682, allocations: 8.094 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.1682, allocations: 11.98 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1682, allocations: 4 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1684, allocations: 145.4 kB / 490.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1684, allocations: 4 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.1687, allocations: 43.94 kB / 490.6 MB, free: 10.3 MB / 366.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.0002388/0.1689, allocations: 139.1 kB / 490.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005169/0.1695, allocations: 147.8 kB / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1695, allocations: 0 / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.1698, allocations: 95.98 kB / 490.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1701, allocations: 28.19 kB / 491 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.1708, allocations: 359.3 kB / 491.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1712, allocations: 0.724 MB / 492 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1713, allocations: 33.05 kB / 492.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.1714, allocations: 15.44 kB / 492.1 MB, free: 8.719 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1714, allocations: 4 kB / 492.1 MB, free: 8.715 MB / 366.1 MB Notification: Performance of Templates: time 0.006265/0.1776, allocations: 2.614 MB / 494.7 MB, free: 6.148 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches