Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.000839/0.000839, allocations: 83.62 kB / 21.43 MB, free: 3.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.004721/0.004721, allocations: 160 kB / 24.7 MB, free: 9.418 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.886/0.886, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 34.25 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_turbulent,tolerance=1e-05,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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.812e-05, allocations: 12.61 kB / 443.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.1743/0.1743, allocations: 1.967 MB / 445.5 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1754, allocations: 1.054 MB / 446.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.1754, allocations: 0.5312 kB / 446.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.1757, allocations: 57.36 kB / 446.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1758, allocations: 84.66 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.1762, allocations: 188.7 kB / 446.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.1764, allocations: 342.9 kB / 447.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.1765, allocations: 10.88 kB / 447.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.1767, allocations: 166.1 kB / 447.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1768, allocations: 119.5 kB / 447.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.1768, allocations: 11.72 kB / 447.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.177, allocations: 146.6 kB / 447.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.1771, allocations: 74.17 kB / 447.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.1772, allocations: 79.72 kB / 447.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.1775, allocations: 407.8 kB / 448.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1775, allocations: 0 / 448.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1775, allocations: 2.531 kB / 448.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1775, allocations: 0 / 448.2 MB, free: 42.64 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006838/0.1782, allocations: 0.55 MB / 448.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1783, allocations: 11.62 kB / 448.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.1785, allocations: 70.34 kB / 448.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1787, allocations: 205.6 kB / 449 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1787, allocations: 19.94 kB / 449 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1787, allocations: 32.31 kB / 449 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.1791, allocations: 428.4 kB / 449.5 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1791, allocations: 2.625 kB / 449.5 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1792, allocations: 14.09 kB / 449.5 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.1792, allocations: 18.17 kB / 449.5 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.1795, allocations: 322.5 kB / 449.8 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.1803, allocations: 0.9377 MB / 450.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1806, allocations: 237.9 kB / 451 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.1807, allocations: 117.8 kB / 451.1 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1807, allocations: 2.875 kB / 451.1 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.1807, allocations: 33.53 kB / 451.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/0.1808, allocations: 0 / 451.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005379/0.1813, allocations: 345.9 kB / 451.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.1813, allocations: 105.7 kB / 451.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1815, allocations: 261.9 kB / 451.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1815, allocations: 25.7 kB / 451.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.1815, allocations: 213.7 kB / 452.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1816, allocations: 52.66 kB / 452.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.1816, allocations: 61.62 kB / 452.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.373e-05/0.1817, allocations: 335 kB / 452.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1818, allocations: 122.5 kB / 452.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.182, allocations: 236.4 kB / 452.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.1823, allocations: 369.1 kB / 453.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1823, allocations: 3 kB / 453.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004091/0.1827, allocations: 385.6 kB / 453.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1827, allocations: 5.188 kB / 453.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.1828, allocations: 26.27 kB / 453.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1828, allocations: 5.062 kB / 453.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1829, allocations: 51.91 kB / 453.7 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1829, allocations: 9.812 kB / 453.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.183, allocations: 40.22 kB / 453.7 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.183, allocations: 11.59 kB / 453.7 MB, free: 39.45 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001036/0.1831, allocations: 186 kB / 453.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.1832, allocations: 21.53 kB / 453.9 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.1835, allocations: 281.8 kB / 454.2 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1835, allocations: 2.938 kB / 454.2 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1835, allocations: 0 / 454.2 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.1835, allocations: 4.625 kB / 454.2 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1837, allocations: 231.7 kB / 454.4 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.1838, allocations: 21.41 kB / 454.5 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.1838, allocations: 23.84 kB / 454.5 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1838, allocations: 0 / 454.5 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1838, allocations: 12.66 kB / 454.5 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1838, allocations: 2.75 kB / 454.5 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1838, allocations: 4 kB / 454.5 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.1842, allocations: 0.5013 MB / 455 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.1842, allocations: 16.44 kB / 455 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1842, allocations: 0 / 455 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1843, allocations: 21.98 kB / 455 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.1844, allocations: 20.3 kB / 455.1 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1844, allocations: 11.69 kB / 455.1 MB, free: 38.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.728e-05/0.1845, allocations: 175.6 kB / 455.3 MB, free: 38.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1845, allocations: 0 / 455.3 MB, free: 38.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003411/0.1848, allocations: 116.3 kB / 455.4 MB, free: 38.55 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002237/0.185, allocations: 166.1 kB / 455.5 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.1854, allocations: 429.1 kB / 455.9 MB, free: 38.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1854, allocations: 0 / 455.9 MB, free: 38.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1856, allocations: 270.3 kB / 456.2 MB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1859, allocations: 31.44 kB / 456.2 MB, free: 37.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/0.1866, allocations: 0.5926 MB / 456.8 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.1867, allocations: 186.7 kB / 457 MB, free: 37.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.1868, allocations: 24.7 kB / 457 MB, free: 37.54 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1868, allocations: 0 / 457 MB, free: 37.54 MB / 410.7 MB Notification: Performance of Templates: time 0.004356/0.1911, allocations: 4.839 MB / 461.9 MB, free: 37.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.784144161269069]