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.001088/0.001094, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 75.88 kB / 416.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1451, allocations: 62.42 MB / 479.3 MB, free: 9.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003282/0.1485, allocations: 1.856 MB / 481.2 MB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1499, allocations: 0.8295 MB / 482 MB, free: 6.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.15, allocations: 0 / 482 MB, free: 6.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1503, allocations: 43.75 kB / 482 MB, free: 6.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1506, allocations: 71.7 kB / 482.1 MB, free: 6.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1508, allocations: 67.8 kB / 482.2 MB, free: 6.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.1511, allocations: 247.2 kB / 482.4 MB, free: 5.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.1512, allocations: 13.12 kB / 482.4 MB, free: 5.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1514, allocations: 67.7 kB / 482.5 MB, free: 5.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1516, allocations: 79.67 kB / 482.6 MB, free: 5.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1516, allocations: 4 kB / 482.6 MB, free: 5.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.1519, allocations: 159.7 kB / 482.7 MB, free: 5.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.152, allocations: 35.84 kB / 482.8 MB, free: 5.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.618e-05/0.152, allocations: 51.67 kB / 482.8 MB, free: 5.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.1523, allocations: 207.5 kB / 483 MB, free: 5.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1524, allocations: 0 / 483 MB, free: 5.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1524, allocations: 0 / 483 MB, free: 5.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1524, allocations: 4 kB / 483 MB, free: 5.332 MB / 398.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.0006703/0.153, allocations: 439 kB / 483.5 MB, free: 4.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.1531, allocations: 8.875 kB / 483.5 MB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.1532, allocations: 20.69 kB / 483.5 MB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1534, allocations: 212 kB / 483.7 MB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1534, allocations: 8.375 kB / 483.7 MB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1534, allocations: 8.125 kB / 483.7 MB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.1538, allocations: 177.5 kB / 483.9 MB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1538, allocations: 3.938 kB / 483.9 MB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1538, allocations: 8 kB / 483.9 MB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.1538, allocations: 11.98 kB / 483.9 MB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.1542, allocations: 167.8 kB / 484.1 MB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.1549, allocations: 492 kB / 484.5 MB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.1553, allocations: 158.4 kB / 484.7 MB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.1555, allocations: 52.81 kB / 484.8 MB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1555, allocations: 4 kB / 484.8 MB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.1556, allocations: 34.56 kB / 484.8 MB, free: 3.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1556, allocations: 0 / 484.8 MB, free: 3.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005039/0.1561, allocations: 193.4 kB / 485 MB, free: 3.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1561, allocations: 55.41 kB / 485 MB, free: 3.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1563, allocations: 207.3 kB / 485.2 MB, free: 2.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1563, allocations: 25.7 kB / 485.3 MB, free: 2.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.1564, allocations: 108.1 kB / 485.4 MB, free: 2.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.1565, allocations: 39.48 kB / 485.4 MB, free: 2.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.1565, allocations: 33.62 kB / 485.4 MB, free: 2.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1567, allocations: 326.8 kB / 485.8 MB, free: 2.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1568, allocations: 51.94 kB / 485.8 MB, free: 2.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.157, allocations: 66.53 kB / 485.9 MB, free: 2.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.1573, allocations: 138.7 kB / 486 MB, free: 2.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1573, allocations: 0 / 486 MB, free: 2.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000368/0.1577, allocations: 165.4 kB / 486.2 MB, free: 1.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1577, allocations: 7.938 kB / 486.2 MB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1577, allocations: 4.062 kB / 486.2 MB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1577, allocations: 4 kB / 486.2 MB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.158, allocations: 47.91 kB / 486.2 MB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008258/0.1589, allocations: 1.215 MB / 487.4 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.159, allocations: 20.06 kB / 487.5 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.159, allocations: 11.92 kB / 487.5 MB, free: 0.5859 MB / 398.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.0001314/0.1592, allocations: 129.8 kB / 487.6 MB, free: 460 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.1593, allocations: 19.75 kB / 487.6 MB, free: 440 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.1597, allocations: 186.9 kB / 487.8 MB, free: 248 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1597, allocations: 4 kB / 487.8 MB, free: 244 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1597, allocations: 4 kB / 487.8 MB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1598, allocations: 0 / 487.8 MB, free: 240 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.16, allocations: 221.7 kB / 488 MB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.16, allocations: 3.938 kB / 488 MB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.1603, allocations: 43.98 kB / 488.1 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1603, allocations: 0 / 488.1 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.1603, allocations: 7.984 kB / 488.1 MB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006862/0.161, allocations: 1.219 MB / 489.3 MB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.161, allocations: 0 / 489.3 MB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.1614, allocations: 251.2 kB / 489.5 MB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.1615, allocations: 101 kB / 489.6 MB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.1615, allocations: 3.938 kB / 489.7 MB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.1616, allocations: 4 kB / 489.7 MB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.1617, allocations: 11.98 kB / 489.7 MB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1617, allocations: 4 kB / 489.7 MB, free: 14.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1618, allocations: 145.2 kB / 489.8 MB, free: 14.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1618, allocations: 4 kB / 489.8 MB, free: 14.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1622, allocations: 40 kB / 489.9 MB, free: 14.06 MB / 414.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.0002567/0.1624, allocations: 139.3 kB / 490 MB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004966/0.1629, allocations: 147.8 kB / 490.1 MB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1629, allocations: 8.125 kB / 490.1 MB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.1632, allocations: 79.92 kB / 490.2 MB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1636, allocations: 27.23 kB / 490.2 MB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.1643, allocations: 389.8 kB / 490.6 MB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1646, allocations: 0.724 MB / 491.4 MB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.1647, allocations: 37.05 kB / 491.4 MB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.1648, allocations: 15.44 kB / 491.4 MB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 1.904e-06/0.1648, allocations: 3.938 kB / 491.4 MB, free: 12.45 MB / 414.1 MB Notification: Performance of Templates: time 0.006185/0.171, allocations: 2.475 MB / 493.9 MB, free: 10.02 MB / 414.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