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_overall.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.001392/0.001392, allocations: 87.33 kB / 20.42 MB, free: 4.133 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.001641/0.001641, allocations: 173 kB / 23.8 MB, free: 0.7617 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 0.9948/0.9948, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.138/0.138, allocations: 32.38 MB / 270.4 MB, free: 14.69 MB / 266.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_overall,tolerance=1e-05,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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 347.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.5e-05, allocations: 9.344 kB / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.00234/0.002365, allocations: 2.305 MB / 350 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.004354, allocations: 2.033 MB / 352.1 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.004456, allocations: 0 / 352.1 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.004709, allocations: 75.47 kB / 352.1 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.004943, allocations: 123.2 kB / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.005658, allocations: 422.1 kB / 352.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.006055, allocations: 0.5441 MB / 353.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.006105, allocations: 21.28 kB / 353.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.006284, allocations: 239.1 kB / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.006427, allocations: 183.3 kB / 353.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.006453, allocations: 16 kB / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.006854, allocations: 375.3 kB / 354 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.006929, allocations: 115.4 kB / 354.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.007012, allocations: 127.5 kB / 354.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.007532, allocations: 0.72 MB / 355 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.007534, allocations: 0 / 355 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007535, allocations: 0 / 355 MB, free: 2.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.00754, allocations: 0 / 355 MB, free: 2.086 MB / 282.7 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.0007093/0.008249, allocations: 0.8699 MB / 355.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.008286, allocations: 8.031 kB / 355.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.008392, allocations: 104.6 kB / 356 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.008608, allocations: 255.7 kB / 356.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.008633, allocations: 45.67 kB / 356.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.008671, allocations: 52.38 kB / 356.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.009158, allocations: 0.5166 MB / 356.8 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.00917, allocations: 3.938 kB / 356.8 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.009196, allocations: 20 kB / 356.8 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.009227, allocations: 25.31 kB / 356.9 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.009506, allocations: 219.7 kB / 357.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.01088, allocations: 1.556 MB / 358.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.0111, allocations: 161.2 kB / 358.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.01119, allocations: 59.05 kB / 358.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.01122, allocations: 15.92 kB / 358.9 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.01124, allocations: 45.33 kB / 358.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.01124, allocations: 0 / 358.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004139/0.01166, allocations: 203.9 kB / 359.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.0117, allocations: 107.1 kB / 359.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.01195, allocations: 430 kB / 359.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.01197, allocations: 25.7 kB / 359.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.01213, allocations: 378.3 kB / 360 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.01218, allocations: 79.36 kB / 360.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.01231, allocations: 139.8 kB / 360.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.01244, allocations: 0.5235 MB / 360.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.01254, allocations: 52.97 kB / 360.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.01284, allocations: 451.7 kB / 361.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.01328, allocations: 0.5513 MB / 361.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.01329, allocations: 4 kB / 361.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000493/0.01378, allocations: 437.6 kB / 362.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01379, allocations: 8 kB / 362.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.886e-05/0.01384, allocations: 56.11 kB / 362.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.01386, allocations: 12 kB / 362.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.014, allocations: 67.83 kB / 362.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.01402, allocations: 19.88 kB / 362.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.01418, allocations: 71.5 kB / 362.5 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.01421, allocations: 36 kB / 362.5 MB, free: 9.914 MB / 298.7 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.0001271/0.01434, allocations: 204.4 kB / 362.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.0144, allocations: 39.8 kB / 362.8 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.01477, allocations: 287.6 kB / 363 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.01478, allocations: 4 kB / 363 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01478, allocations: 4 kB / 363 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01479, allocations: 11.88 kB / 363.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.01514, allocations: 360.4 kB / 363.4 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/0.01518, allocations: 43.98 kB / 363.4 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.01523, allocations: 19.98 kB / 363.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01524, allocations: 4 kB / 363.5 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.01525, allocations: 12 kB / 363.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01526, allocations: 0 / 363.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01526, allocations: 0 / 363.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.01562, allocations: 0.5698 MB / 364.1 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.01564, allocations: 27.75 kB / 364.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.01567, allocations: 8 kB / 364.1 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.01578, allocations: 11.98 kB / 364.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.01583, allocations: 31.91 kB / 364.1 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.01585, allocations: 12 kB / 364.1 MB, free: 8.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.01597, allocations: 231 kB / 364.4 MB, free: 7.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01597, allocations: 0 / 364.4 MB, free: 7.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004283/0.0164, allocations: 211.3 kB / 364.6 MB, free: 7.781 MB / 298.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.0003079/0.01671, allocations: 234.7 kB / 364.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.01714, allocations: 0.5484 MB / 365.3 MB, free: 6.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01714, allocations: 4 kB / 365.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.01734, allocations: 392 kB / 365.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.01767, allocations: 50.03 kB / 365.8 MB, free: 6.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.01886, allocations: 0.8419 MB / 366.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.422e-05/0.01895, allocations: 152.5 kB / 366.8 MB, free: 5.352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.01908, allocations: 86.78 kB / 366.9 MB, free: 5.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.01912, allocations: 24.5 kB / 366.9 MB, free: 5.246 MB / 298.7 MB Notification: Performance of SimCode: time 1.193e-06/0.01912, allocations: 0 / 366.9 MB, free: 5.246 MB / 298.7 MB Notification: Performance of Templates: time 0.01009/0.02921, allocations: 8.677 MB / 375.6 MB, free: 12.64 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall/kc_overall.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.3028256581164896]