Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008226/0.0008228, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 172.5 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.4 MB / 222.7 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4694/0.4694, allocations: 43.56 MB / 314.6 MB, free: 8.738 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006174/0.0006175, allocations: 16 kB / 384 MB, free: 7.953 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1615, allocations: 58.86 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002855/0.1644, allocations: 1.845 MB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1665, allocations: 1.057 MB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1667, allocations: 4 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.1669, allocations: 55.66 kB / 445.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.1672, allocations: 91.5 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.1679, allocations: 143.5 kB / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006653/0.1686, allocations: 0.5212 MB / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1688, allocations: 61.31 kB / 446.6 MB, free: 9.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.1691, allocations: 167.2 kB / 446.8 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.1694, allocations: 207.1 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.167e-05/0.1694, allocations: 12 kB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006021/0.1701, allocations: 303.5 kB / 447.3 MB, free: 8.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.1702, allocations: 95.52 kB / 447.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.1703, allocations: 85.52 kB / 447.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007124/0.171, allocations: 406.7 kB / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1711, allocations: 0 / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1711, allocations: 0 / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1711, allocations: 0 / 447.9 MB, free: 7.93 MB / 382.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.001652/0.1727, allocations: 0.6939 MB / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.1728, allocations: 16.02 kB / 448.6 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.173, allocations: 51.39 kB / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.1736, allocations: 294.4 kB / 448.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.1737, allocations: 29 kB / 448.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.1738, allocations: 44 kB / 449 MB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.1752, allocations: 0.6713 MB / 449.6 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1752, allocations: 0 / 449.6 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.1753, allocations: 20 kB / 449.7 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.333e-05/0.1753, allocations: 32.98 kB / 449.7 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1764, allocations: 0.4956 MB / 450.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.1794, allocations: 1.507 MB / 451.7 MB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.1802, allocations: 315.5 kB / 452 MB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.1806, allocations: 158.5 kB / 452.2 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-05/0.1807, allocations: 15.98 kB / 452.2 MB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/0.1807, allocations: 34.55 kB / 452.2 MB, free: 3.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.205e-06/0.1807, allocations: 0 / 452.2 MB, free: 3.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001466/0.1822, allocations: 0.5283 MB / 452.7 MB, free: 2.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.1823, allocations: 110.8 kB / 452.9 MB, free: 2.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008219/0.1832, allocations: 0.5369 MB / 453.4 MB, free: 2.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.1832, allocations: 33.69 kB / 453.4 MB, free: 2.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.1835, allocations: 223.9 kB / 453.6 MB, free: 1.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/0.1836, allocations: 67 kB / 453.7 MB, free: 1.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.1836, allocations: 8.031 kB / 453.7 MB, free: 1.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.1839, allocations: 358.8 kB / 454.1 MB, free: 1.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.1843, allocations: 168 kB / 454.2 MB, free: 1.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.1848, allocations: 295.7 kB / 454.5 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.1852, allocations: 203.3 kB / 454.7 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.1852, allocations: 4 kB / 454.7 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001076/0.1863, allocations: 0.5163 MB / 455.2 MB, free: 216 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.1864, allocations: 8 kB / 455.2 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.76e-05/0.1864, allocations: 39.98 kB / 455.3 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.1865, allocations: 8 kB / 455.3 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.1868, allocations: 51.89 kB / 455.3 MB, free: 108 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.324e-05/0.1868, allocations: 12.08 kB / 455.4 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.1872, allocations: 79.25 kB / 455.4 MB, free: 16 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3034/0.4906, allocations: 20.42 kB / 455.5 MB, free: 45.79 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005831/0.4913, allocations: 208.7 kB / 455.7 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.4915, allocations: 36.56 kB / 455.7 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.4925, allocations: 458 kB / 456.1 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.4926, allocations: 8.672 kB / 456.1 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4926, allocations: 0.5312 kB / 456.1 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.4926, allocations: 6.281 kB / 456.2 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/0.4933, allocations: 384.8 kB / 456.5 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.043e-05/0.4934, allocations: 38.53 kB / 456.6 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.4936, allocations: 36.8 kB / 456.6 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4936, allocations: 0 / 456.6 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.4936, allocations: 11.69 kB / 456.6 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.4937, allocations: 3.031 kB / 456.6 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4937, allocations: 2.719 kB / 456.6 MB, free: 45.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/0.4945, allocations: 0.6359 MB / 457.3 MB, free: 45.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.4946, allocations: 124.2 kB / 457.4 MB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.4946, allocations: 9.281 kB / 457.4 MB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.4949, allocations: 27.44 kB / 457.4 MB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.495, allocations: 22.47 kB / 457.4 MB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.4951, allocations: 15.47 kB / 457.4 MB, free: 45.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000451/0.4955, allocations: 390.3 kB / 457.8 MB, free: 44.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4955, allocations: 0 / 457.8 MB, free: 44.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007297/0.4963, allocations: 133.4 kB / 458 MB, free: 44.96 MB / 382.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.0003999/0.4967, allocations: 163.8 kB / 458.1 MB, free: 44.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009895/0.4977, allocations: 0.6888 MB / 458.8 MB, free: 44.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4977, allocations: 0 / 458.8 MB, free: 44.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004998/0.4982, allocations: 0.4887 MB / 459.3 MB, free: 44.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009154/0.4991, allocations: 110.5 kB / 459.4 MB, free: 44.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.501, allocations: 0.9933 MB / 460.4 MB, free: 43.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.5015, allocations: 0.8664 MB / 461.3 MB, free: 43.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.5017, allocations: 88 kB / 461.4 MB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.5018, allocations: 25.31 kB / 461.4 MB, free: 43.01 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.5018, allocations: 3.031 kB / 461.4 MB, free: 43.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01248/0.5143, allocations: 7.851 MB / 469.2 MB, free: 42.39 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches