Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009659/0.0009659, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003185/0.003185, allocations: 159.9 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8775/0.8775, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2463/0.2463, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 440.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.272e-05, allocations: 5.375 kB / 440.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004139/0.004171, allocations: 2.145 MB / 443 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.006379, allocations: 1.079 MB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.006619, allocations: 0 / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.006995, allocations: 67.53 kB / 444.2 MB, free: 404 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.007375, allocations: 119.2 kB / 444.3 MB, free: 284 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.008105, allocations: 191.2 kB / 444.5 MB, free: 92 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1724/0.1805, allocations: 0.5117 MB / 445 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.031e-05/0.1806, allocations: 21.45 kB / 445 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.181, allocations: 232.6 kB / 445.2 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1811, allocations: 174.4 kB / 445.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.1812, allocations: 11.44 kB / 445.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.1815, allocations: 143.1 kB / 445.6 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.1815, allocations: 107.4 kB / 445.7 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.84e-05/0.1816, allocations: 118.4 kB / 445.8 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.1821, allocations: 0.5441 MB / 446.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1821, allocations: 1.312 kB / 446.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1821, allocations: 0 / 446.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1821, allocations: 0 / 446.3 MB, free: 43.68 MB / 410.7 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.0007671/0.1828, allocations: 0.6884 MB / 447 MB, free: 43.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1829, allocations: 8.625 kB / 447 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.1831, allocations: 82.61 kB / 447.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1833, allocations: 246.8 kB / 447.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1834, allocations: 34.78 kB / 447.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.1834, allocations: 43.28 kB / 447.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.184, allocations: 0.6582 MB / 448.1 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.184, allocations: 0.7188 kB / 448.1 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.184, allocations: 24.88 kB / 448.1 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.184, allocations: 24.39 kB / 448.1 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.1845, allocations: 483.8 kB / 448.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1856, allocations: 1.272 MB / 449.9 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.1859, allocations: 292.4 kB / 450.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.1861, allocations: 148.2 kB / 450.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/0.1862, allocations: 13.78 kB / 450.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.1862, allocations: 36.8 kB / 450.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.414e-06/0.1862, allocations: 0 / 450.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006819/0.1869, allocations: 481.3 kB / 450.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.1869, allocations: 105.9 kB / 450.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.187, allocations: 263.2 kB / 451.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1871, allocations: 25.7 kB / 451.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.1871, allocations: 258.3 kB / 451.5 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1872, allocations: 75.3 kB / 451.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.1872, allocations: 84.36 kB / 451.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.517e-05/0.1873, allocations: 335 kB / 451.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.1875, allocations: 159.7 kB / 452.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.1877, allocations: 279.8 kB / 452.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.1881, allocations: 446.4 kB / 452.8 MB, free: 40.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.1881, allocations: 7.156 kB / 452.8 MB, free: 40.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005227/0.1886, allocations: 483.5 kB / 453.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1886, allocations: 6.5 kB / 453.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/0.1887, allocations: 42.25 kB / 453.3 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1887, allocations: 6 kB / 453.3 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1888, allocations: 38.67 kB / 453.4 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1888, allocations: 13.09 kB / 453.4 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.189, allocations: 53.31 kB / 453.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.189, allocations: 19.45 kB / 453.5 MB, free: 40.7 MB / 410.7 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.0001475/0.1891, allocations: 222.2 kB / 453.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.1892, allocations: 21.89 kB / 453.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.1896, allocations: 426.8 kB / 454.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1896, allocations: 2.969 kB / 454.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1896, allocations: 3.094 kB / 454.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1896, allocations: 3.281 kB / 454.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.1899, allocations: 301 kB / 454.4 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/0.1899, allocations: 40.73 kB / 454.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.688e-05/0.19, allocations: 29.7 kB / 454.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.19, allocations: 3.281 kB / 454.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.19, allocations: 6.344 kB / 454.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.19, allocations: 3.125 kB / 454.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.19, allocations: 3.234 kB / 454.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.1905, allocations: 0.5916 MB / 455.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.1905, allocations: 24.92 kB / 455.1 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1905, allocations: 0 / 455.1 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1907, allocations: 27.09 kB / 455.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.1907, allocations: 23 kB / 455.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1907, allocations: 13.47 kB / 455.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.126e-05/0.1908, allocations: 181 kB / 455.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1908, allocations: 0 / 455.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000398/0.1912, allocations: 162.7 kB / 455.5 MB, free: 39.71 MB / 410.7 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.0002224/0.1914, allocations: 157 kB / 455.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005/0.1919, allocations: 0.6631 MB / 456.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1919, allocations: 1.062 kB / 456.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.1922, allocations: 485 kB / 456.8 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1925, allocations: 33.42 kB / 456.8 MB, free: 38.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.1934, allocations: 0.8424 MB / 457.7 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.1936, allocations: 257.3 kB / 457.9 MB, free: 38.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.1936, allocations: 28.89 kB / 458 MB, free: 38.27 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1936, allocations: 0 / 458 MB, free: 38.27 MB / 410.7 MB Notification: Performance of Templates: time 0.005339/0.1989, allocations: 6.706 MB / 464.7 MB, free: 37.65 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7334668803960085]