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.001332/0.001332, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2722/0.2722, allocations: 46.13 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 83.78 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1369, allocations: 62.45 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.004358/0.1413, allocations: 2.278 MB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003739/0.1451, allocations: 2.141 MB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.1453, allocations: 4 kB / 484.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.1457, allocations: 87.5 kB / 484.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.1461, allocations: 103.3 kB / 484.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1474, allocations: 445.8 kB / 485.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00069/0.1481, allocations: 0.5171 MB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1483, allocations: 68.98 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.1486, allocations: 191 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.1489, allocations: 214.9 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.149, allocations: 12 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.1501, allocations: 0.6942 MB / 486.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1503, allocations: 99.47 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.1505, allocations: 210.5 kB / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.1517, allocations: 0.8412 MB / 488 MB, free: 13.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1517, allocations: 0 / 488 MB, free: 13.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1517, allocations: 0 / 488 MB, free: 13.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1518, allocations: 0 / 488 MB, free: 13.25 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.001741/0.1535, allocations: 0.8502 MB / 488.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1536, allocations: 8.031 kB / 488.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004697/0.154, allocations: 84.25 kB / 488.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.1546, allocations: 319.5 kB / 489.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.1546, allocations: 41.69 kB / 489.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.942e-05/0.1547, allocations: 60.06 kB / 489.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.1561, allocations: 0.7619 MB / 490.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.1561, allocations: 0 / 490.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/0.1562, allocations: 24 kB / 490.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.1563, allocations: 29.3 kB / 490.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1573, allocations: 0.5515 MB / 490.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.1598, allocations: 1.692 MB / 492.4 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.1604, allocations: 303.5 kB / 492.7 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.1608, allocations: 150.4 kB / 492.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.129e-05/0.1609, allocations: 11.98 kB / 492.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1609, allocations: 34.55 kB / 492.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.1609, allocations: 4 kB / 492.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001377/0.1623, allocations: 0.5045 MB / 493.4 MB, free: 7.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.1624, allocations: 111.1 kB / 493.5 MB, free: 7.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000872/0.1633, allocations: 0.6354 MB / 494.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.1633, allocations: 29.7 kB / 494.2 MB, free: 6.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.1636, allocations: 291.3 kB / 494.5 MB, free: 6.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.1637, allocations: 75 kB / 494.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.1639, allocations: 126.1 kB / 494.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1641, allocations: 358.8 kB / 495 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.1645, allocations: 196.9 kB / 495.2 MB, free: 5.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.1652, allocations: 461.4 kB / 495.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.1664, allocations: 0.6692 MB / 496.3 MB, free: 4.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.1665, allocations: 8 kB / 496.3 MB, free: 4.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001454/0.1679, allocations: 0.6883 MB / 497 MB, free: 3.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.168, allocations: 19.88 kB / 497 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.234e-05/0.1681, allocations: 44 kB / 497.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-05/0.1681, allocations: 15.98 kB / 497.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.1685, allocations: 75.77 kB / 497.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.1685, allocations: 15.94 kB / 497.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.169, allocations: 99.16 kB / 497.3 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.169, allocations: 36 kB / 497.3 MB, free: 3.379 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.0003535/0.1694, allocations: 257.5 kB / 497.6 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.1695, allocations: 55.28 kB / 497.6 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.1707, allocations: 464.2 kB / 498.1 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.1707, allocations: 7.938 kB / 498.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.1707, allocations: 7.984 kB / 498.1 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1707, allocations: 0 / 498.1 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007831/0.1715, allocations: 405.3 kB / 498.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.136e-05/0.1716, allocations: 39.98 kB / 498.5 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1718, allocations: 27.97 kB / 498.6 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1718, allocations: 3.938 kB / 498.6 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.1718, allocations: 19.98 kB / 498.6 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1718, allocations: 4 kB / 498.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1719, allocations: 0 / 498.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1729, allocations: 0.6255 MB / 499.2 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.173, allocations: 124.5 kB / 499.3 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.1731, allocations: 11.94 kB / 499.3 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.1734, allocations: 15.97 kB / 499.4 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.1735, allocations: 27.97 kB / 499.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.1736, allocations: 16 kB / 499.4 MB, free: 1.199 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005815/0.1741, allocations: 450.7 kB / 499.8 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1741, allocations: 0 / 499.8 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000902/0.1751, allocations: 191.8 kB / 0.4883 GB, free: 0.5742 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 (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.0006046/0.1757, allocations: 230.9 kB / 0.4885 GB, free: 348 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.177, allocations: 0.7814 MB / 0.4893 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.177, allocations: 4.625 kB / 0.4893 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006427/0.1777, allocations: 488.3 kB / 0.4898 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007969/0.1785, allocations: 122.2 kB / 0.4899 GB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.1807, allocations: 1.012 MB / 0.4909 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.1814, allocations: 0.8894 MB / 0.4917 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003267/0.1817, allocations: 136.4 kB / 0.4919 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.1818, allocations: 35.42 kB / 0.4919 GB, free: 12.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1818, allocations: 0 / 0.4919 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Templates: time 0.01858/0.2004, allocations: 10.53 MB / 0.5022 GB, free: 2.246 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