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.001508/0.001508, allocations: 115.3 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 79.25 kB / 417.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1017, allocations: 62.44 MB / 479.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003203/0.1049, allocations: 1.969 MB / 481.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1066, allocations: 1.157 MB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.955e-05/0.1068, allocations: 4 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.107, allocations: 39.81 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.1072, allocations: 59.66 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.1078, allocations: 174.1 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.108, allocations: 223.1 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.1081, allocations: 21.66 kB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.1083, allocations: 91.56 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1085, allocations: 111.5 kB / 483.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.1085, allocations: 8 kB / 483.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.1089, allocations: 255.6 kB / 483.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.109, allocations: 63.73 kB / 483.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.551e-05/0.1091, allocations: 83.47 kB / 483.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.1095, allocations: 335.1 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1095, allocations: 0 / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1095, allocations: 3.938 kB / 484.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1095, allocations: 0 / 484.1 MB, free: 1.004 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009673/0.1105, allocations: 0.5492 MB / 484.6 MB, free: 416 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1105, allocations: 8.031 kB / 484.6 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.1109, allocations: 56.61 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1111, allocations: 248.5 kB / 484.9 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1112, allocations: 8.375 kB / 484.9 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.1112, allocations: 24.06 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.1118, allocations: 281.6 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1118, allocations: 0 / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.1118, allocations: 8 kB / 485.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.1118, allocations: 11.98 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/0.1124, allocations: 219.5 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009892/0.1134, allocations: 0.7694 MB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.1139, allocations: 231.7 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.1142, allocations: 94.5 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.1142, allocations: 11.98 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1143, allocations: 38.55 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.1143, allocations: 0 / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009201/0.1152, allocations: 317.4 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1153, allocations: 106.8 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1155, allocations: 282.5 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.1156, allocations: 25.7 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.1157, allocations: 140 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.1157, allocations: 47.27 kB / 487.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.1158, allocations: 45.81 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1159, allocations: 338.8 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.1162, allocations: 83.91 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.1164, allocations: 125.1 kB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.117, allocations: 225.2 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.117, allocations: 0 / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006075/0.1176, allocations: 253.2 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1176, allocations: 15.97 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.1176, allocations: 12 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1177, allocations: 4 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.1179, allocations: 31.91 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1179, allocations: 7.984 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.1181, allocations: 31.77 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.1181, allocations: 8 kB / 488.7 MB, free: 12.1 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.0001302/0.1182, allocations: 153.7 kB / 488.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.1183, allocations: 23.66 kB / 488.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.1188, allocations: 223.3 kB / 489.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1188, allocations: 3.984 kB / 489.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1188, allocations: 4 kB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1188, allocations: 3.984 kB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.1192, allocations: 265.4 kB / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.1193, allocations: 16 kB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.1194, allocations: 31.91 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1195, allocations: 7.938 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1195, allocations: 0 / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1195, allocations: 4 kB / 489.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1195, allocations: 3.984 kB / 489.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006464/0.1201, allocations: 489.3 kB / 489.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.1202, allocations: 104.8 kB / 490 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.1203, allocations: 7.875 kB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.1205, allocations: 15.98 kB / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.1206, allocations: 19.92 kB / 490 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1206, allocations: 11.98 kB / 490 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1208, allocations: 201.9 kB / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1208, allocations: 0 / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.1213, allocations: 71.94 kB / 490.3 MB, free: 10.38 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.0002686/0.1215, allocations: 159.2 kB / 490.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006289/0.1222, allocations: 297 kB / 490.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1222, allocations: 0 / 490.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.1225, allocations: 173 kB / 490.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.123, allocations: 48.94 kB / 491 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/0.1239, allocations: 0.5375 MB / 491.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1242, allocations: 0.7593 MB / 492.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.1243, allocations: 49.48 kB / 492.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.1244, allocations: 15.44 kB / 492.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1244, allocations: 0 / 492.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of Templates: time 0.007011/0.1314, allocations: 3.81 MB / 496.1 MB, free: 4.492 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