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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002012/0.002013, allocations: 113.9 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00237/0.00237, allocations: 208.9 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 252.3 MB, free: 116 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.16 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] 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=5004,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=5004,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 81.42 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.114, allocations: 62.44 MB / 0.5404 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003334/0.1174, allocations: 1.927 MB / 0.5422 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1194, allocations: 1.16 MB / 0.5434 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.1195, allocations: 3.938 kB / 0.5434 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1198, allocations: 43.75 kB / 0.5434 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.12, allocations: 63.59 kB / 0.5435 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.1206, allocations: 183.3 kB / 0.5437 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.1209, allocations: 227 kB / 0.5439 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.768e-05/0.1209, allocations: 25.61 kB / 0.5439 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.1211, allocations: 91.56 kB / 0.544 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1213, allocations: 103.5 kB / 0.5441 GB, free: 436 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.1214, allocations: 8 kB / 0.5441 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.1218, allocations: 259.6 kB / 0.5443 GB, free: 168 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.22e-05/0.1219, allocations: 51.75 kB / 0.5444 GB, free: 116 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.122, allocations: 99.34 kB / 0.5445 GB, free: 16 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.1225, allocations: 330.7 kB / 0.5448 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1225, allocations: 0 / 0.5448 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1225, allocations: 0 / 0.5448 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1225, allocations: 0 / 0.5448 GB, free: 15.69 MB / 414.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.00106/0.1236, allocations: 0.5641 MB / 0.5454 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1237, allocations: 11.97 kB / 0.5454 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.124, allocations: 56.75 kB / 0.5454 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.1243, allocations: 248.7 kB / 0.5457 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1244, allocations: 8.375 kB / 0.5457 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1244, allocations: 20.12 kB / 0.5457 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.125, allocations: 281.6 kB / 0.5459 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.125, allocations: 0 / 0.5459 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.125, allocations: 8 kB / 0.546 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.125, allocations: 8 kB / 0.546 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.1256, allocations: 235.5 kB / 0.5462 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.1267, allocations: 0.7736 MB / 0.5469 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.1273, allocations: 231.7 kB / 0.5472 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.1276, allocations: 98.53 kB / 0.5473 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.1277, allocations: 8 kB / 0.5473 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1277, allocations: 34.56 kB / 0.5473 GB, free: 12.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1277, allocations: 0 / 0.5473 GB, free: 12.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009838/0.1287, allocations: 321.4 kB / 0.5476 GB, free: 12.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.1288, allocations: 110.8 kB / 0.5477 GB, free: 12.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.1291, allocations: 278.6 kB / 0.548 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1292, allocations: 25.7 kB / 0.548 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1293, allocations: 147.7 kB / 0.5481 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1293, allocations: 47.59 kB / 0.5482 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.1294, allocations: 41.77 kB / 0.5482 GB, free: 11.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1296, allocations: 338.8 kB / 0.5486 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.1299, allocations: 75.92 kB / 0.5486 GB, free: 11.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.1302, allocations: 133 kB / 0.5488 GB, free: 11.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.1307, allocations: 216.9 kB / 0.549 GB, free: 11.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1307, allocations: 0 / 0.549 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006815/0.1314, allocations: 265.2 kB / 0.5492 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1315, allocations: 12.09 kB / 0.5492 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.1315, allocations: 11.94 kB / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1315, allocations: 4 kB / 0.5492 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.1317, allocations: 31.91 kB / 0.5493 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1317, allocations: 4 kB / 0.5493 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.1319, allocations: 39.75 kB / 0.5493 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.132, allocations: 8 kB / 0.5493 GB, free: 10.75 MB / 414.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.0001685/0.1321, allocations: 154 kB / 0.5495 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.823e-05/0.1322, allocations: 23.8 kB / 0.5495 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.1328, allocations: 231.3 kB / 0.5497 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1328, allocations: 0 / 0.5497 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1328, allocations: 8 kB / 0.5497 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1328, allocations: 0 / 0.5497 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.1332, allocations: 269.4 kB / 0.55 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.1333, allocations: 12 kB / 0.55 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.1334, allocations: 31.97 kB / 0.55 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.1335, allocations: 7.938 kB / 0.55 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.1335, allocations: 4 kB / 0.55 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1335, allocations: 4 kB / 0.55 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1335, allocations: 3.938 kB / 0.55 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007267/0.1342, allocations: 488.6 kB / 0.5505 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.1343, allocations: 96.97 kB / 0.5506 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.1344, allocations: 7.922 kB / 0.5506 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.1346, allocations: 19.98 kB / 0.5506 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.1347, allocations: 11.98 kB / 0.5506 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1347, allocations: 12 kB / 0.5506 GB, free: 9.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.135, allocations: 201.9 kB / 0.5508 GB, free: 9.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.135, allocations: 0 / 0.5508 GB, free: 9.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004702/0.1354, allocations: 79.81 kB / 0.5509 GB, free: 9.012 MB / 414.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.000302/0.1357, allocations: 162.9 kB / 0.5511 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006985/0.1365, allocations: 276.9 kB / 0.5513 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1365, allocations: 4.312 kB / 0.5513 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.1368, allocations: 181 kB / 0.5515 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.1374, allocations: 56.66 kB / 0.5516 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.1383, allocations: 500 kB / 0.552 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1387, allocations: 0.7632 MB / 0.5528 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.1388, allocations: 23.38 kB / 0.5528 GB, free: 6.969 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1388, allocations: 0 / 0.5528 GB, free: 6.969 MB / 414.1 MB Notification: Performance of Templates: time 0.006571/0.1454, allocations: 3.895 MB / 0.5566 GB, free: 3.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.896775523084216]