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.001248/0.001248, allocations: 114.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 208.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2029/0.2029, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 78.72 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1095, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002836/0.1123, allocations: 1.797 MB / 483.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1136, allocations: 0.8372 MB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.1136, allocations: 0 / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.1139, allocations: 47.73 kB / 484.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.1142, allocations: 67.66 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1144, allocations: 75.72 kB / 484.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1146, allocations: 151.3 kB / 484.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.1147, allocations: 17.09 kB / 484.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1149, allocations: 63.77 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.115, allocations: 71.69 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.115, allocations: 8 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.1153, allocations: 171.6 kB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.1154, allocations: 35.89 kB / 484.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.1154, allocations: 51.67 kB / 484.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1157, allocations: 203.2 kB / 485.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1157, allocations: 0 / 485.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1157, allocations: 4 kB / 485.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1158, allocations: 0 / 485.1 MB, free: 0.9336 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.0006201/0.1164, allocations: 454.8 kB / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1164, allocations: 12.03 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.1165, allocations: 12.75 kB / 485.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1167, allocations: 200.2 kB / 485.7 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1167, allocations: 4.375 kB / 485.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1167, allocations: 20.06 kB / 485.8 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.1171, allocations: 177.5 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1171, allocations: 0 / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1171, allocations: 0 / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.1171, allocations: 23.98 kB / 486 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.1175, allocations: 155.9 kB / 486.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.1182, allocations: 0.4921 MB / 486.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.1186, allocations: 162.4 kB / 486.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1187, allocations: 56.81 kB / 486.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1188, allocations: 0 / 486.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.1188, allocations: 30.56 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.655e-06/0.1188, allocations: 3.984 kB / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004924/0.1193, allocations: 205.3 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1194, allocations: 55.34 kB / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.1195, allocations: 200.3 kB / 487.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1196, allocations: 33.69 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.1196, allocations: 115.9 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1197, allocations: 27.56 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.1197, allocations: 25.7 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1198, allocations: 330.8 kB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.12, allocations: 51.95 kB / 487.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.1201, allocations: 70.52 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.1204, allocations: 130.4 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1204, allocations: 4 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003285/0.1207, allocations: 161.7 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1208, allocations: 8.094 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1208, allocations: 7.875 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1208, allocations: 0 / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.1211, allocations: 51.97 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006598/0.1217, allocations: 1.215 MB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1218, allocations: 19.86 kB / 489.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1219, allocations: 0 / 489.5 MB, free: 12.18 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.0001595/0.122, allocations: 142 kB / 489.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.1221, allocations: 15.75 kB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.1225, allocations: 190.8 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1225, allocations: 0 / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1225, allocations: 4 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1225, allocations: 3.984 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.1228, allocations: 217.6 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1228, allocations: 7.938 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.123, allocations: 47.97 kB / 490.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.123, allocations: 3.938 kB / 490.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.123, allocations: 4 kB / 490.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006409/0.1237, allocations: 1.211 MB / 491.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1237, allocations: 4.219 kB / 491.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.1241, allocations: 247.2 kB / 491.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1241, allocations: 92.86 kB / 491.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1242, allocations: 11.94 kB / 491.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1243, allocations: 11.98 kB / 491.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.1243, allocations: 7.984 kB / 491.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1244, allocations: 8 kB / 491.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1245, allocations: 153.1 kB / 491.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1245, allocations: 0 / 491.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.1248, allocations: 44 kB / 491.9 MB, free: 9.633 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.0002043/0.125, allocations: 127.2 kB / 492.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.1255, allocations: 148 kB / 492.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1255, allocations: 0 / 492.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.1258, allocations: 88 kB / 492.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1261, allocations: 28.11 kB / 492.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.1267, allocations: 347.4 kB / 492.7 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.127, allocations: 0.7279 MB / 493.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.493e-05/0.1271, allocations: 33.05 kB / 493.4 MB, free: 8.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.1271, allocations: 23.42 kB / 493.4 MB, free: 8.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1271, allocations: 0 / 493.4 MB, free: 8.07 MB / 366.1 MB Notification: Performance of Templates: time 0.005359/0.1325, allocations: 2.627 MB / 496.1 MB, free: 5.492 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 gbode -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