Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009864/0.0009864, allocations: 96.86 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 206.4 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.7 MB / 247.5 MB, free: 9.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 46.18 MB / 345.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002557, allocations: 4 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1071, allocations: 63.57 MB / 483.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002702/0.1099, allocations: 1.97 MB / 485.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.1133, allocations: 2.138 MB / 487.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.1135, allocations: 7.938 kB / 487.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.1138, allocations: 67.66 kB / 487.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1141, allocations: 99.41 kB / 488 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.1152, allocations: 378.3 kB / 488.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000601/0.1159, allocations: 0.6185 MB / 489 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.116, allocations: 69.03 kB / 489.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.1162, allocations: 175 kB / 489.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1165, allocations: 222.8 kB / 489.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.1165, allocations: 12 kB / 489.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009563/0.1175, allocations: 0.6864 MB / 490.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1176, allocations: 103.5 kB / 490.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.1178, allocations: 236.2 kB / 490.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.1184, allocations: 0.5573 MB / 491.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1184, allocations: 0 / 491.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1185, allocations: 0 / 491.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1185, allocations: 7.938 kB / 491.1 MB, free: 12.77 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001118/0.1196, allocations: 0.7529 MB / 491.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1196, allocations: 12.88 kB / 491.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.12, allocations: 108.1 kB / 492 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.1205, allocations: 320 kB / 492.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.1205, allocations: 41.67 kB / 492.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.167e-05/0.1206, allocations: 56.12 kB / 492.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.1217, allocations: 0.7775 MB / 493.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1218, allocations: 0 / 493.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.1218, allocations: 31.97 kB / 493.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.1219, allocations: 25.31 kB / 493.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1229, allocations: 0.5788 MB / 493.8 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.1249, allocations: 1.665 MB / 495.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.1255, allocations: 315.5 kB / 495.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.1259, allocations: 162.4 kB / 495.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/0.126, allocations: 19.91 kB / 495.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.126, allocations: 34.56 kB / 496 MB, free: 7.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.644e-06/0.126, allocations: 3.938 kB / 496 MB, free: 7.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001269/0.1273, allocations: 0.5399 MB / 496.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1273, allocations: 106.8 kB / 496.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/0.128, allocations: 0.6392 MB / 497.2 MB, free: 6.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1281, allocations: 25.7 kB / 497.3 MB, free: 6.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.1283, allocations: 307.3 kB / 497.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.1283, allocations: 63.11 kB / 497.6 MB, free: 5.945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/0.1284, allocations: 57.69 kB / 497.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1286, allocations: 362.8 kB / 498 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.129, allocations: 204.9 kB / 498.2 MB, free: 5.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.1296, allocations: 469.4 kB / 498.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.1306, allocations: 0.7087 MB / 499.4 MB, free: 3.898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.1307, allocations: 4 kB / 499.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001292/0.1319, allocations: 0.708 MB / 0.4884 GB, free: 3.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.132, allocations: 15.97 kB / 0.4884 GB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.456e-05/0.1321, allocations: 51.98 kB / 0.4885 GB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.1321, allocations: 12 kB / 0.4885 GB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.1324, allocations: 75.83 kB / 0.4885 GB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.1324, allocations: 23.92 kB / 0.4886 GB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.1328, allocations: 107 kB / 0.4887 GB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.1329, allocations: 35.98 kB / 0.4887 GB, free: 2.863 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002601/0.1332, allocations: 257.5 kB / 0.489 GB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.1333, allocations: 47.38 kB / 0.489 GB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009301/0.1342, allocations: 495.6 kB / 0.4895 GB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.1342, allocations: 12 kB / 0.4895 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1342, allocations: 0 / 0.4895 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1342, allocations: 0 / 0.4895 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.1348, allocations: 409.3 kB / 0.4899 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.229e-05/0.1349, allocations: 43.98 kB / 0.4899 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.135, allocations: 31.97 kB / 0.4899 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1351, allocations: 3.938 kB / 0.4899 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.1351, allocations: 12 kB / 0.49 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1351, allocations: 4 kB / 0.49 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1351, allocations: 7.938 kB / 0.49 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.136, allocations: 0.6344 MB / 0.4906 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1361, allocations: 132.5 kB / 0.4907 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.1362, allocations: 7.875 kB / 0.4907 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.1365, allocations: 31.97 kB / 0.4908 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.1366, allocations: 27.97 kB / 0.4908 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.1367, allocations: 8 kB / 0.4908 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004702/0.1371, allocations: 454.7 kB / 0.4912 GB, free: 192 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1371, allocations: 0 / 0.4912 GB, free: 192 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007276/0.1379, allocations: 187.8 kB / 0.4914 GB, free: 4 kB / 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004477/0.1383, allocations: 238.9 kB / 0.4916 GB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.1394, allocations: 0.782 MB / 0.4924 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1395, allocations: 0 / 0.4924 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.14, allocations: 496.4 kB / 0.4929 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.1408, allocations: 118 kB / 0.493 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1425, allocations: 1.174 MB / 0.4941 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.1429, allocations: 0.8857 MB / 0.495 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.421e-05/0.143, allocations: 35.44 kB / 0.495 GB, free: 12.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.143, allocations: 0 / 0.495 GB, free: 12.07 MB / 382.1 MB Notification: Performance of Templates: time 0.014/0.157, allocations: 10.06 MB / 0.5048 GB, free: 2.055 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches