Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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_laminar,tolerance=1e-07,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_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 96.08 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 202.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 8 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1632, allocations: 63.56 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003476/0.1667, allocations: 1.923 MB / 485 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.1697, allocations: 1.161 MB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1699, allocations: 7.938 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.1703, allocations: 63.72 kB / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.1707, allocations: 91.44 kB / 486.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.1714, allocations: 167.5 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008358/0.1723, allocations: 0.5914 MB / 487.1 MB, free: 100 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1724, allocations: 56.94 kB / 487.2 MB, free: 40 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.1728, allocations: 171.2 kB / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.1732, allocations: 203 kB / 487.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.1732, allocations: 12 kB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006596/0.1739, allocations: 335.4 kB / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.1741, allocations: 95.52 kB / 488 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.1743, allocations: 212.4 kB / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.1752, allocations: 0.5724 MB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1752, allocations: 0 / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1753, allocations: 0 / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1753, allocations: 0 / 488.7 MB, free: 14.45 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001591/0.1769, allocations: 0.6941 MB / 489.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.177, allocations: 8.875 kB / 489.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/0.1775, allocations: 88.33 kB / 489.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/0.1782, allocations: 304.1 kB / 489.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.1783, allocations: 37.38 kB / 489.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.1784, allocations: 44.12 kB / 489.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.18, allocations: 0.6714 MB / 490.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.18, allocations: 4 kB / 490.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.956e-05/0.1801, allocations: 16 kB / 490.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.1801, allocations: 21 kB / 490.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.1814, allocations: 0.5034 MB / 491.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.1837, allocations: 1.511 MB / 492.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.1843, allocations: 315.5 kB / 492.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.1847, allocations: 170.4 kB / 493.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.1848, allocations: 4 kB / 493.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1848, allocations: 42.55 kB / 493.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.1848, allocations: 4 kB / 493.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001356/0.1862, allocations: 0.5263 MB / 493.7 MB, free: 9.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.1863, allocations: 110.9 kB / 493.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.1869, allocations: 0.5408 MB / 494.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1869, allocations: 29.7 kB / 494.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.1871, allocations: 235.8 kB / 494.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.1872, allocations: 63.02 kB / 494.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.1872, allocations: 41.69 kB / 494.7 MB, free: 8.227 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.1875, allocations: 350.8 kB / 495 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.1879, allocations: 172.1 kB / 495.2 MB, free: 7.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.1885, allocations: 295.6 kB / 495.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.1897, allocations: 468.9 kB / 496 MB, free: 6.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1897, allocations: 0 / 496 MB, free: 6.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001552/0.1913, allocations: 0.5241 MB / 496.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.1913, allocations: 11.94 kB / 496.5 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.1914, allocations: 43.92 kB / 496.5 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.1915, allocations: 7.938 kB / 496.5 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.1919, allocations: 48.16 kB / 496.6 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.1919, allocations: 11.94 kB / 496.6 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.1924, allocations: 79.25 kB / 496.7 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.1924, allocations: 20 kB / 496.7 MB, free: 6.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0003587/0.1928, allocations: 209.6 kB / 496.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.193, allocations: 47.42 kB / 496.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.1943, allocations: 456.1 kB / 497.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.1943, allocations: 7.938 kB / 497.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.1943, allocations: 11.98 kB / 497.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1943, allocations: 0 / 497.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008239/0.1952, allocations: 385.2 kB / 497.8 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.505e-05/0.1953, allocations: 35.98 kB / 497.8 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.1955, allocations: 35.97 kB / 497.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1955, allocations: 3.938 kB / 497.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.1956, allocations: 12 kB / 497.9 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.1956, allocations: 7.922 kB / 497.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1956, allocations: 8 kB / 497.9 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.1969, allocations: 0.6267 MB / 498.5 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.197, allocations: 128.5 kB / 498.6 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.1971, allocations: 4 kB / 498.6 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.1976, allocations: 31.91 kB / 498.7 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.1977, allocations: 27.97 kB / 498.7 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.1978, allocations: 12 kB / 498.7 MB, free: 3.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006728/0.1984, allocations: 395 kB / 499.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1984, allocations: 0 / 499.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008498/0.1993, allocations: 139.8 kB / 499.2 MB, free: 3.453 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.0003884/0.1997, allocations: 159 kB / 499.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.2012, allocations: 0.6908 MB / 0.4884 GB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2012, allocations: 0 / 0.4884 GB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007788/0.202, allocations: 496.4 kB / 0.4888 GB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.2032, allocations: 109.9 kB / 0.4889 GB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.2056, allocations: 1.042 MB / 0.49 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.2063, allocations: 0.8701 MB / 0.4908 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003313/0.2066, allocations: 79.34 kB / 0.4909 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.2067, allocations: 27.44 kB / 0.4909 GB, free: 15.78 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2067, allocations: 4 kB / 0.4909 GB, free: 15.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01508/0.2218, allocations: 8.066 MB / 0.4988 GB, free: 7.812 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches