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.001134/0.001134, allocations: 98.05 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, allocations: 203.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1951/0.1951, allocations: 46.19 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002442/0.0002442, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1022, allocations: 63.56 MB / 483.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.00224/0.1045, allocations: 1.626 MB / 485.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1065, allocations: 1.157 MB / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1066, allocations: 0 / 486.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.1069, allocations: 43.8 kB / 486.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.1071, allocations: 55.67 kB / 486.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.1077, allocations: 155.5 kB / 486.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.108, allocations: 310.9 kB / 487.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.1081, allocations: 21.67 kB / 487.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.1083, allocations: 87.58 kB / 487.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.1085, allocations: 115.4 kB / 487.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1086, allocations: 4 kB / 487.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.109, allocations: 243.6 kB / 487.5 MB, free: 336 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.1091, allocations: 55.75 kB / 487.6 MB, free: 280 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1092, allocations: 109.2 kB / 487.7 MB, free: 164 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.1095, allocations: 223.8 kB / 487.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1095, allocations: 3.984 kB / 487.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1095, allocations: 0 / 487.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1095, allocations: 0 / 487.9 MB, free: 15.93 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.0009229/0.1105, allocations: 0.5297 MB / 488.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1105, allocations: 8.031 kB / 488.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003932/0.1109, allocations: 68.61 kB / 488.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1112, allocations: 244.6 kB / 488.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1112, allocations: 8.375 kB / 488.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1112, allocations: 20.12 kB / 488.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.1118, allocations: 289.6 kB / 489.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1118, allocations: 0 / 489.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.1118, allocations: 8 kB / 489.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.1119, allocations: 8 kB / 489.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.1125, allocations: 251.5 kB / 489.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1135, allocations: 0.7695 MB / 490.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.1141, allocations: 251.7 kB / 490.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.1144, allocations: 118.5 kB / 490.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.449e-05/0.1144, allocations: 0 / 490.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1145, allocations: 34.56 kB / 490.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.1145, allocations: 4 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009847/0.1155, allocations: 361.2 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.1155, allocations: 110.9 kB / 491 MB, free: 12.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1158, allocations: 278.6 kB / 491.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1158, allocations: 25.7 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.1159, allocations: 147.8 kB / 491.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.116, allocations: 39.36 kB / 491.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.116, allocations: 25.72 kB / 491.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1161, allocations: 330.8 kB / 491.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.1164, allocations: 103.9 kB / 491.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.1167, allocations: 140.2 kB / 492 MB, free: 11.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.1173, allocations: 249.2 kB / 492.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1173, allocations: 0 / 492.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006524/0.1179, allocations: 293 kB / 492.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.118, allocations: 10.44 kB / 492.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.118, allocations: 16 kB / 492.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.118, allocations: 4 kB / 492.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.1182, allocations: 43.89 kB / 492.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1182, allocations: 0 / 492.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.1184, allocations: 39.73 kB / 492.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.1185, allocations: 15.98 kB / 492.7 MB, free: 10.86 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.0001434/0.1186, allocations: 145.8 kB / 492.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.1187, allocations: 23.66 kB / 492.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.1192, allocations: 239.3 kB / 493.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.1192, allocations: 4 kB / 493.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1192, allocations: 0 / 493.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1193, allocations: 0 / 493.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.1197, allocations: 269.5 kB / 493.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.1197, allocations: 8 kB / 493.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.1199, allocations: 39.97 kB / 493.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1199, allocations: 3.938 kB / 493.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.1199, allocations: 7.984 kB / 493.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1199, allocations: 4.094 kB / 493.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1199, allocations: 11.88 kB / 493.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.1206, allocations: 0.4938 MB / 493.9 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.1207, allocations: 104.8 kB / 494 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.1207, allocations: 7.938 kB / 494 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.121, allocations: 19.98 kB / 494.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.121, allocations: 19.97 kB / 494.1 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1211, allocations: 4 kB / 494.1 MB, free: 9.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1212, allocations: 205.9 kB / 494.3 MB, free: 9.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1213, allocations: 0 / 494.3 MB, free: 9.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.1217, allocations: 79.92 kB / 494.4 MB, free: 9.09 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.0002799/0.122, allocations: 155.1 kB / 494.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000667/0.1227, allocations: 308.8 kB / 494.8 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1227, allocations: 4 kB / 494.8 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.123, allocations: 193.3 kB / 495 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.1236, allocations: 44.47 kB / 495.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008534/0.1244, allocations: 0.5757 MB / 495.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1248, allocations: 0.7634 MB / 496.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.1248, allocations: 23.8 kB / 496.4 MB, free: 6.93 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1248, allocations: 0 / 496.4 MB, free: 6.93 MB / 366.1 MB Notification: Performance of Templates: time 0.006289/0.1311, allocations: 3.856 MB / 0.4885 GB, free: 3.09 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/jenkins1/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/jenkins1/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