Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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,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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 95.58 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 205.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.000251, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002283/0.1116, allocations: 1.626 MB / 484.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1136, allocations: 1.153 MB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1137, allocations: 11.94 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.114, allocations: 39.75 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1142, allocations: 59.66 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.1148, allocations: 158.9 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.1152, allocations: 302.9 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.417e-05/0.1153, allocations: 21.67 kB / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.1155, allocations: 95.56 kB / 486.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.1157, allocations: 111.5 kB / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.1157, allocations: 8 kB / 486.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.1162, allocations: 247.6 kB / 486.9 MB, free: 324 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.1163, allocations: 55.75 kB / 487 MB, free: 268 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1164, allocations: 109.1 kB / 487.1 MB, free: 152 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.1168, allocations: 327.1 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1169, allocations: 0 / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1169, allocations: 0 / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1169, allocations: 4 kB / 487.4 MB, free: 15.82 MB / 366.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.001001/0.1179, allocations: 0.5337 MB / 487.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1179, allocations: 8.031 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003896/0.1183, allocations: 64.61 kB / 488 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1186, allocations: 232.7 kB / 488.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1187, allocations: 8.375 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.1187, allocations: 32.06 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.1193, allocations: 285.6 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1193, allocations: 4 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.1194, allocations: 12 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.1194, allocations: 11.98 kB / 488.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.12, allocations: 251.5 kB / 488.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1211, allocations: 0.7734 MB / 489.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005863/0.1217, allocations: 235.7 kB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.122, allocations: 122.5 kB / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.122, allocations: 0 / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1221, allocations: 38.59 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.1221, allocations: 0 / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001021/0.1231, allocations: 357.2 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.1232, allocations: 110.8 kB / 490.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1235, allocations: 278.6 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.1235, allocations: 33.7 kB / 490.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.1236, allocations: 139.9 kB / 490.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.1237, allocations: 43.36 kB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.1238, allocations: 21.91 kB / 490.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1239, allocations: 342.7 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.1242, allocations: 95.92 kB / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1245, allocations: 137.1 kB / 491.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/0.125, allocations: 248.9 kB / 491.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1251, allocations: 0 / 491.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006911/0.1258, allocations: 289.1 kB / 492 MB, free: 10.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1258, allocations: 11.92 kB / 492 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.1258, allocations: 12 kB / 492 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1258, allocations: 4 kB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.1261, allocations: 44.12 kB / 492.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1261, allocations: 3.984 kB / 492.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.1263, allocations: 43.66 kB / 492.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.1263, allocations: 12 kB / 492.1 MB, free: 10.74 MB / 366.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.0001484/0.1265, allocations: 149.8 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.1266, allocations: 27.64 kB / 492.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.1271, allocations: 231.2 kB / 492.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1271, allocations: 4 kB / 492.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1271, allocations: 4 kB / 492.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.1271, allocations: 0 / 492.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.1275, allocations: 265.5 kB / 492.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.1275, allocations: 11.98 kB / 492.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.1277, allocations: 35.95 kB / 492.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.1277, allocations: 3.938 kB / 492.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.1278, allocations: 8 kB / 492.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.1278, allocations: 8 kB / 492.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1278, allocations: 0 / 492.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007109/0.1285, allocations: 0.4977 MB / 493.4 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.1286, allocations: 100.8 kB / 493.5 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.1286, allocations: 7.938 kB / 493.5 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.1289, allocations: 27.97 kB / 493.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.129, allocations: 19.92 kB / 493.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.129, allocations: 4 kB / 493.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.1292, allocations: 205.9 kB / 493.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1292, allocations: 4 kB / 493.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004662/0.1297, allocations: 71.94 kB / 493.8 MB, free: 8.98 MB / 366.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.0002775/0.13, allocations: 163.2 kB / 494 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006775/0.1307, allocations: 301.1 kB / 494.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1307, allocations: 4 kB / 494.3 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.131, allocations: 197.1 kB / 494.5 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.1316, allocations: 44.47 kB / 494.5 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008853/0.1325, allocations: 0.5505 MB / 495.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1328, allocations: 0.7635 MB / 495.8 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.133, allocations: 45.44 kB / 495.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.133, allocations: 15.44 kB / 495.9 MB, free: 6.812 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.133, allocations: 0 / 495.9 MB, free: 6.812 MB / 366.1 MB Notification: Performance of Templates: time 0.007983/0.141, allocations: 3.68 MB / 499.6 MB, free: 3.188 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches