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.00104/0.00104, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001256, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.09 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.89 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1333, allocations: 62.46 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003549/0.1369, allocations: 1.779 MB / 483.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1385, allocations: 0.8372 MB / 484.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.1386, allocations: 0 / 484.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.1389, allocations: 51.75 kB / 484.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.1393, allocations: 63.66 kB / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.1396, allocations: 83.7 kB / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.1399, allocations: 151.3 kB / 484.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.1399, allocations: 9.125 kB / 484.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.1402, allocations: 67.7 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1403, allocations: 75.67 kB / 484.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.1404, allocations: 7.984 kB / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.1407, allocations: 167.7 kB / 484.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.1408, allocations: 31.91 kB / 484.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.1409, allocations: 59.61 kB / 484.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.1412, allocations: 203.3 kB / 485.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1412, allocations: 4 kB / 485.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1412, allocations: 3.938 kB / 485.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1412, allocations: 0 / 485.1 MB, free: 0.9453 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.0007345/0.142, allocations: 446.8 kB / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.142, allocations: 12.03 kB / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.1421, allocations: 20.69 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1423, allocations: 200.1 kB / 485.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1424, allocations: 8.375 kB / 485.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.1424, allocations: 16.12 kB / 485.8 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.1427, allocations: 169.5 kB / 485.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1428, allocations: 0 / 485.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.1428, allocations: 4.078 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.1428, allocations: 15.98 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.1432, allocations: 167.8 kB / 486.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.144, allocations: 495.9 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.1444, allocations: 154.5 kB / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.1445, allocations: 64.8 kB / 486.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.333e-05/0.1446, allocations: 0 / 486.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.1447, allocations: 42.48 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.1447, allocations: 4 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005354/0.1452, allocations: 193.3 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1453, allocations: 55.39 kB / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1455, allocations: 204.3 kB / 487.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1455, allocations: 25.7 kB / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.1456, allocations: 115.9 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.1456, allocations: 31.55 kB / 487.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.1457, allocations: 25.72 kB / 487.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1458, allocations: 326.8 kB / 487.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1459, allocations: 55.94 kB / 487.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1461, allocations: 74.52 kB / 487.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.1463, allocations: 130.7 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1463, allocations: 3.938 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003242/0.1467, allocations: 173.3 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1467, allocations: 10.19 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1467, allocations: 0 / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1467, allocations: 3.984 kB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.147, allocations: 43.98 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006614/0.1477, allocations: 1.219 MB / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1478, allocations: 23.86 kB / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1478, allocations: 0 / 489.5 MB, free: 12.19 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.0001868/0.148, allocations: 129.8 kB / 489.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.148, allocations: 19.73 kB / 489.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.1485, allocations: 191 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1485, allocations: 0 / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1485, allocations: 4 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1485, allocations: 0 / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.1488, allocations: 225.6 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1488, allocations: 3.938 kB / 490.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.149, allocations: 43.92 kB / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.149, allocations: 0 / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.149, allocations: 3.984 kB / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007974/0.1498, allocations: 1.215 MB / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1499, allocations: 3.938 kB / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.1502, allocations: 247.5 kB / 491.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.1503, allocations: 96.84 kB / 491.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.1503, allocations: 7.938 kB / 491.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1504, allocations: 8 kB / 491.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.1505, allocations: 11.92 kB / 491.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1505, allocations: 0 / 491.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1506, allocations: 149.2 kB / 491.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1506, allocations: 0 / 491.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.151, allocations: 48 kB / 491.9 MB, free: 9.66 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.0002537/0.1512, allocations: 135.3 kB / 492.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004639/0.1517, allocations: 147.8 kB / 492.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1517, allocations: 0 / 492.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.152, allocations: 91.86 kB / 492.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1523, allocations: 23.98 kB / 492.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.153, allocations: 347.6 kB / 492.6 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.1533, allocations: 0.724 MB / 493.4 MB, free: 8.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.364e-05/0.1534, allocations: 45.02 kB / 493.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.1535, allocations: 11.44 kB / 493.4 MB, free: 8.094 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1535, allocations: 0 / 493.4 MB, free: 8.094 MB / 366.1 MB Notification: Performance of Templates: time 0.005716/0.1592, allocations: 2.627 MB / 496.1 MB, free: 5.516 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 -s cvode -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/jenkins1/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/jenkins1/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