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.001149/0.001149, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.1 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 76.78 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1154, allocations: 62.45 MB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.00331/0.1187, allocations: 1.788 MB / 482.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1202, allocations: 0.8412 MB / 483.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.1203, allocations: 7.938 kB / 483.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1205, allocations: 47.73 kB / 483.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.1208, allocations: 55.72 kB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1211, allocations: 91.66 kB / 483.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1212, allocations: 147.3 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.1213, allocations: 9.125 kB / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.1215, allocations: 71.75 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1216, allocations: 75.67 kB / 483.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1217, allocations: 4 kB / 483.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.1219, allocations: 167.7 kB / 484 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.122, allocations: 35.83 kB / 484 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.1221, allocations: 55.67 kB / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1224, allocations: 207.5 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1224, allocations: 0 / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1224, allocations: 4 kB / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1224, allocations: 4 kB / 484.3 MB, free: 1.66 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.0006803/0.1231, allocations: 438.9 kB / 484.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1231, allocations: 16.02 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.1232, allocations: 12.75 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1234, allocations: 196.1 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1235, allocations: 8.375 kB / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1235, allocations: 16.12 kB / 485 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.1238, allocations: 181.5 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1239, allocations: 0 / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.1239, allocations: 4 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.1239, allocations: 15.98 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.1243, allocations: 163.8 kB / 485.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007453/0.125, allocations: 496 kB / 485.8 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.1255, allocations: 158.4 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1256, allocations: 56.81 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.1257, allocations: 7.969 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1257, allocations: 34.56 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1257, allocations: 11.94 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005256/0.1263, allocations: 197.3 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1263, allocations: 51.41 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1265, allocations: 200.3 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1265, allocations: 25.7 kB / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.1266, allocations: 119.8 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1266, allocations: 31.55 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.1267, allocations: 29.72 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1269, allocations: 330.8 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.127, allocations: 51.95 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1272, allocations: 70.52 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1275, allocations: 126.4 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1275, allocations: 0 / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003592/0.1279, allocations: 169.3 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1279, allocations: 8 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1279, allocations: 0 / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1279, allocations: 4.062 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.1282, allocations: 48.39 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007038/0.1289, allocations: 1.215 MB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.129, allocations: 28.05 kB / 488.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.129, allocations: 0 / 488.8 MB, free: 12.92 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.0001875/0.1292, allocations: 133.8 kB / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.1293, allocations: 19.69 kB / 488.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.1297, allocations: 182.9 kB / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1297, allocations: 3.938 kB / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1297, allocations: 4 kB / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1297, allocations: 4 kB / 489.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.13, allocations: 225.6 kB / 489.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.13, allocations: 4.031 kB / 489.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.1302, allocations: 47.91 kB / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1302, allocations: 0 / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1302, allocations: 0 / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006374/0.1309, allocations: 1.215 MB / 490.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1309, allocations: 4.031 kB / 490.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.1313, allocations: 247.2 kB / 490.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.1313, allocations: 96.84 kB / 490.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.1314, allocations: 12.03 kB / 490.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.1315, allocations: 15.98 kB / 491 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.1316, allocations: 4 kB / 491 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1316, allocations: 0 / 491 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1317, allocations: 153.2 kB / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1317, allocations: 0 / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.132, allocations: 43.98 kB / 491.1 MB, free: 10.38 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.0002266/0.1322, allocations: 131.2 kB / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.1327, allocations: 151.8 kB / 491.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1328, allocations: 128 / 491.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.133, allocations: 95.86 kB / 491.5 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1334, allocations: 28.59 kB / 491.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.134, allocations: 385 kB / 491.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1343, allocations: 0.7201 MB / 492.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.1344, allocations: 19.42 kB / 492.7 MB, free: 8.805 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1344, allocations: 0 / 492.7 MB, free: 8.805 MB / 366.1 MB Notification: Performance of Templates: time 0.005325/0.1397, allocations: 3.519 MB / 496.2 MB, free: 5.297 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/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