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.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.000977/0.000977, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001339/0.001339, allocations: 164.4 kB / 24.84 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.044/1.044, allocations: 158.6 MB / 186.7 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1531/0.1531, allocations: 32.38 MB / 271.5 MB, free: 2.441 MB / 250.7 MB " [Timeout remaining time 180] 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.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.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|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=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 348.9 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.611e-05, allocations: 6.25 kB / 349 MB, free: 4.766 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004119/0.004155, allocations: 2.228 MB / 351.2 MB, free: 2.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.005842, allocations: 1.118 MB / 352.3 MB, free: 1.395 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.005953, allocations: 4 kB / 352.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.006245, allocations: 71.47 kB / 352.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.00649, allocations: 111.2 kB / 352.5 MB, free: 1.211 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.006998, allocations: 183.3 kB / 352.7 MB, free: 1.031 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.007467, allocations: 0.5052 MB / 353.2 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.883e-05/0.007535, allocations: 21.28 kB / 353.2 MB, free: 0.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.007841, allocations: 227.1 kB / 353.4 MB, free: 284 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.008058, allocations: 167.4 kB / 353.6 MB, free: 116 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.008093, allocations: 16 kB / 353.6 MB, free: 100 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1687/0.1768, allocations: 128.9 kB / 353.7 MB, free: 64.37 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.177, allocations: 105.1 kB / 353.8 MB, free: 64.37 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.1772, allocations: 118.6 kB / 353.9 MB, free: 64.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009153/0.1781, allocations: 0.4923 MB / 354.4 MB, free: 64.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1782, allocations: 0.6094 kB / 354.4 MB, free: 64.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1782, allocations: 5.25 kB / 354.4 MB, free: 64.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.1782, allocations: 0 / 354.4 MB, free: 64.34 MB / 330.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.0011/0.1793, allocations: 0.7889 MB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1793, allocations: 8.719 kB / 355.2 MB, free: 63.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1794, allocations: 83.5 kB / 355.3 MB, free: 63.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1797, allocations: 229.5 kB / 355.5 MB, free: 63.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.1797, allocations: 35.34 kB / 355.6 MB, free: 63.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.1798, allocations: 45.06 kB / 355.6 MB, free: 63.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005631/0.1803, allocations: 420.2 kB / 356 MB, free: 63.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1804, allocations: 0 / 356 MB, free: 63.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.1804, allocations: 26.03 kB / 356.1 MB, free: 63.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.1804, allocations: 26.31 kB / 356.1 MB, free: 63.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.1807, allocations: 134.8 kB / 356.2 MB, free: 63.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.1821, allocations: 1.287 MB / 357.5 MB, free: 62.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.1823, allocations: 152.2 kB / 357.6 MB, free: 62.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.638e-05/0.1824, allocations: 50.98 kB / 357.7 MB, free: 62.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.1825, allocations: 17.23 kB / 357.7 MB, free: 62.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.1825, allocations: 40.19 kB / 357.7 MB, free: 62.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.1825, allocations: 1.594 kB / 357.8 MB, free: 62.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003989/0.1829, allocations: 186.9 kB / 357.9 MB, free: 62.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.1829, allocations: 107.8 kB / 358 MB, free: 62.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1831, allocations: 304.5 kB / 358.3 MB, free: 62.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.1831, allocations: 30.11 kB / 358.4 MB, free: 62.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1833, allocations: 305.5 kB / 358.7 MB, free: 62.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.1833, allocations: 76.56 kB / 358.7 MB, free: 61.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.1835, allocations: 88 kB / 358.8 MB, free: 61.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.1836, allocations: 0.5143 MB / 359.3 MB, free: 61.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.1836, allocations: 31.45 kB / 359.4 MB, free: 61.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.1838, allocations: 209.3 kB / 359.6 MB, free: 61.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.184, allocations: 268.3 kB / 359.8 MB, free: 61.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.184, allocations: 1.469 kB / 359.8 MB, free: 61.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003564/0.1844, allocations: 264 kB / 360.1 MB, free: 60.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1844, allocations: 9.031 kB / 360.1 MB, free: 60.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.123e-05/0.1845, allocations: 42.44 kB / 360.1 MB, free: 60.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1845, allocations: 5.562 kB / 360.2 MB, free: 60.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1846, allocations: 36.09 kB / 360.2 MB, free: 60.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1846, allocations: 9.484 kB / 360.2 MB, free: 60.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1848, allocations: 44.92 kB / 360.2 MB, free: 60.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.1848, allocations: 21.59 kB / 360.3 MB, free: 60.95 MB / 330.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_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].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.0001458/0.1849, allocations: 192 kB / 360.4 MB, free: 60.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.185, allocations: 25.3 kB / 360.5 MB, free: 60.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.1855, allocations: 251.4 kB / 360.7 MB, free: 60.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.1855, allocations: 5.141 kB / 360.7 MB, free: 60.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1855, allocations: 7.75 kB / 360.7 MB, free: 60.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1855, allocations: 2.594 kB / 360.7 MB, free: 60.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.186, allocations: 243.4 kB / 361 MB, free: 60.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.028e-05/0.186, allocations: 41.66 kB / 361 MB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.778e-05/0.1861, allocations: 15.86 kB / 361 MB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1861, allocations: 3.109 kB / 361 MB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1861, allocations: 12.06 kB / 361 MB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1861, allocations: 2.047 kB / 361 MB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1861, allocations: 1.375 kB / 361 MB, free: 60.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.1865, allocations: 0.5354 MB / 361.6 MB, free: 60.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.1866, allocations: 20.78 kB / 361.6 MB, free: 60.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1866, allocations: 7.219 kB / 361.6 MB, free: 60.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1867, allocations: 13.22 kB / 361.6 MB, free: 60.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.1868, allocations: 23.23 kB / 361.6 MB, free: 60.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.1868, allocations: 13.95 kB / 361.7 MB, free: 60.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.909e-05/0.1869, allocations: 188.3 kB / 361.8 MB, free: 60.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1869, allocations: 0.5 kB / 361.8 MB, free: 60.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006054/0.1875, allocations: 161.1 kB / 362 MB, free: 59.98 MB / 330.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.0003306/0.1878, allocations: 164.8 kB / 362.2 MB, free: 59.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.1882, allocations: 468.4 kB / 362.6 MB, free: 59.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1882, allocations: 2.531 kB / 362.6 MB, free: 59.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.1884, allocations: 382.4 kB / 363 MB, free: 59.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1888, allocations: 52.38 kB / 363 MB, free: 59.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.1905, allocations: 0.7611 MB / 363.8 MB, free: 58.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.1906, allocations: 140 kB / 363.9 MB, free: 58.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.476e-05/0.1907, allocations: 19.16 kB / 364 MB, free: 58.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.1909, allocations: 175.4 kB / 364.1 MB, free: 58.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.093e-06/0.1909, allocations: 4 kB / 364.1 MB, free: 58.58 MB / 330.7 MB Notification: Performance of Templates: time 0.01187/0.2028, allocations: 6.187 MB / 370.3 MB, free: 56.73 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5230399509891868]