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.0009972/0.0009969, allocations: 98.36 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009786/0.0009787, allocations: 191.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.7 MB / 246.4 MB, free: 11.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2416/0.2416, allocations: 46.18 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.000314, allocations: 8 kB / 418.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 63.56 MB / 482.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002684/0.1457, allocations: 1.912 MB / 484.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.1491, allocations: 1.96 MB / 486.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.1493, allocations: 3.938 kB / 486.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1496, allocations: 59.66 kB / 486.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.1499, allocations: 87.44 kB / 486.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.1513, allocations: 370.3 kB / 486.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008283/0.1522, allocations: 0.556 MB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.1523, allocations: 65.05 kB / 487.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005054/0.1529, allocations: 171.1 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.1533, allocations: 219 kB / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.718e-05/0.1534, allocations: 12 kB / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.1548, allocations: 0.6435 MB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.155, allocations: 107.4 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.1552, allocations: 97.45 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.1562, allocations: 0.5611 MB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.1562, allocations: 8 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.1562, allocations: 0 / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.1562, allocations: 0 / 489.2 MB, free: 13.71 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.001418/0.1576, allocations: 0.7644 MB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1577, allocations: 8.031 kB / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004525/0.1581, allocations: 95.22 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.1586, allocations: 326.7 kB / 490.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.1587, allocations: 45.3 kB / 490.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.1587, allocations: 48 kB / 490.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.16, allocations: 0.7775 MB / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1601, allocations: 3.938 kB / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.1601, allocations: 20 kB / 491.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.1602, allocations: 29.3 kB / 491.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.1613, allocations: 0.5671 MB / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.164, allocations: 1.665 MB / 493.6 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.1647, allocations: 327.4 kB / 493.9 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.1652, allocations: 164.9 kB / 494 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.477e-05/0.1652, allocations: 11.95 kB / 494.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.329e-05/0.1653, allocations: 42.5 kB / 494.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.745e-06/0.1653, allocations: 0 / 494.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001329/0.1667, allocations: 0.5421 MB / 494.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.1668, allocations: 102.8 kB / 494.7 MB, free: 7.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008513/0.1676, allocations: 0.6353 MB / 495.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1677, allocations: 29.7 kB / 495.4 MB, free: 7.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.1679, allocations: 291.4 kB / 495.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.168, allocations: 74.98 kB / 495.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.1681, allocations: 12 kB / 495.8 MB, free: 6.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.1683, allocations: 374.7 kB / 496.1 MB, free: 6.516 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.1687, allocations: 200.9 kB / 496.3 MB, free: 6.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.1694, allocations: 473.4 kB / 496.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.1699, allocations: 275.7 kB / 497.1 MB, free: 5.461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.1699, allocations: 4 kB / 497.1 MB, free: 5.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001318/0.1713, allocations: 0.7065 MB / 497.8 MB, free: 4.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1713, allocations: 8 kB / 497.8 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.583e-05/0.1714, allocations: 56.05 kB / 497.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.1714, allocations: 12 kB / 497.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.1717, allocations: 83.81 kB / 497.9 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.1718, allocations: 15.94 kB / 497.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.1723, allocations: 110.9 kB / 498.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.1724, allocations: 36 kB / 498.1 MB, free: 4.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003837/0.1727, allocations: 257.4 kB / 498.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.1729, allocations: 47.34 kB / 498.4 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.174, allocations: 477.7 kB / 498.9 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.174, allocations: 7.938 kB / 498.9 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.174, allocations: 4 kB / 498.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.174, allocations: 7.984 kB / 498.9 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007861/0.1748, allocations: 413.2 kB / 499.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-05/0.1749, allocations: 39.98 kB / 499.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1751, allocations: 27.97 kB / 499.3 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1751, allocations: 4 kB / 499.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.1751, allocations: 12 kB / 499.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1751, allocations: 7.922 kB / 499.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1752, allocations: 8 kB / 499.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.1761, allocations: 0.6343 MB / 0.4883 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.1763, allocations: 136.4 kB / 0.4884 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.1764, allocations: 4 kB / 0.4884 GB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.1767, allocations: 31.94 kB / 0.4885 GB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.1768, allocations: 27.95 kB / 0.4885 GB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.1769, allocations: 12 kB / 0.4885 GB, free: 2.199 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006347/0.1775, allocations: 446.7 kB / 0.4889 GB, free: 1.766 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.1775, allocations: 0 / 0.4889 GB, free: 1.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008674/0.1784, allocations: 187.9 kB / 0.4891 GB, free: 1.582 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005822/0.179, allocations: 234.9 kB / 0.4893 GB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.1803, allocations: 0.7754 MB / 0.4901 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.1804, allocations: 0 / 0.4901 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.181, allocations: 496.2 kB / 0.4906 GB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.1818, allocations: 117.4 kB / 0.4907 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.184, allocations: 1.096 MB / 0.4917 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009329/0.1849, allocations: 0.9012 MB / 0.4926 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004334/0.1854, allocations: 128.5 kB / 0.4927 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.1855, allocations: 43.42 kB / 0.4928 GB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.634e-06/0.1855, allocations: 0 / 0.4928 GB, free: 13.59 MB / 382.1 MB Notification: Performance of Templates: time 0.01939/0.2049, allocations: 9.813 MB / 0.5024 GB, free: 3.879 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/jenkins/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/jenkins/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