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_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.001446/0.001446, allocations: 80.98 kB / 20.65 MB, free: 3.836 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.001553/0.001553, allocations: 177 kB / 24.06 MB, free: 444 kB / 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.036/1.036, allocations: 158.6 MB / 185.9 MB, free: 2.785 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.154/0.154, allocations: 32.38 MB / 270.7 MB, free: 14.52 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_turbulent,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,]+.|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_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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,]+.|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_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 348.2 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.003e-05, allocations: 6.25 kB / 348.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003258/0.003288, allocations: 2.056 MB / 350.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.00486, allocations: 1.072 MB / 351.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.004967, allocations: 0 / 351.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.005252, allocations: 59.61 kB / 351.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.005475, allocations: 83.39 kB / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.006032, allocations: 171.3 kB / 351.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.006376, allocations: 338.3 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.006433, allocations: 12.94 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.006653, allocations: 151.4 kB / 352.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.006818, allocations: 119.6 kB / 352.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.006847, allocations: 12 kB / 352.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.007106, allocations: 135.8 kB / 352.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.01e-05/0.007186, allocations: 71.67 kB / 352.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.652e-05/0.007262, allocations: 83.66 kB / 352.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.007655, allocations: 354.7 kB / 352.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.007657, allocations: 0 / 352.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007659, allocations: 0 / 352.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.007663, allocations: 0 / 352.8 MB, free: 4.426 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0007087/0.008372, allocations: 0.6518 MB / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.008418, allocations: 11.97 kB / 353.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/0.008502, allocations: 52.75 kB / 353.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.00868, allocations: 180.1 kB / 353.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.008699, allocations: 25.03 kB / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.008732, allocations: 36.06 kB / 353.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.009107, allocations: 290.7 kB / 354.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.009119, allocations: 0 / 354.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.009141, allocations: 12 kB / 354.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.009172, allocations: 12.66 kB / 354.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.009325, allocations: 88.47 kB / 354.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.01024, allocations: 1.016 MB / 355.2 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.0104, allocations: 137.3 kB / 355.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.01047, allocations: 50.98 kB / 355.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.01051, allocations: 19.86 kB / 355.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.01053, allocations: 33.39 kB / 355.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.01053, allocations: 0 / 355.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003146/0.01084, allocations: 141.3 kB / 355.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.01088, allocations: 106.8 kB / 355.7 MB, free: 1.363 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.01105, allocations: 308 kB / 356 MB, free: 1.043 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.01106, allocations: 25.7 kB / 356 MB, free: 1.012 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.01115, allocations: 259.2 kB / 356.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.01119, allocations: 55.56 kB / 356.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.01127, allocations: 67.53 kB / 356.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.01136, allocations: 0.5156 MB / 356.9 MB, free: 96 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.01141, allocations: 24.22 kB / 356.9 MB, free: 72 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.01158, allocations: 191.4 kB / 357.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.01185, allocations: 258 kB / 357.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01185, allocations: 4 kB / 357.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003264/0.01218, allocations: 209.1 kB / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01219, allocations: 8 kB / 357.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.638e-05/0.01223, allocations: 24.52 kB / 357.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01224, allocations: 8 kB / 357.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.01238, allocations: 43.91 kB / 357.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.01239, allocations: 7.938 kB / 357.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.01253, allocations: 31.84 kB / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.01255, allocations: 19.98 kB / 357.7 MB, free: 15.12 MB / 298.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_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].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.000155/0.01271, allocations: 176.4 kB / 357.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.01278, allocations: 19.91 kB / 357.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.01305, allocations: 167.3 kB / 358.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01305, allocations: 4 kB / 358.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01306, allocations: 0 / 358.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01306, allocations: 4 kB / 358.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.01336, allocations: 181.1 kB / 358.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.214e-05/0.0134, allocations: 35.86 kB / 358.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.01347, allocations: 15.98 kB / 358.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01347, allocations: 0 / 358.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01348, allocations: 4 kB / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01348, allocations: 4 kB / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01348, allocations: 4 kB / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.01379, allocations: 0.4981 MB / 358.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.01382, allocations: 23.8 kB / 358.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.01385, allocations: 4 kB / 358.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.014, allocations: 11.98 kB / 358.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.01405, allocations: 15.98 kB / 358.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.01407, allocations: 11.98 kB / 358.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.764e-05/0.01416, allocations: 185.1 kB / 359.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01416, allocations: 0 / 359.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004563/0.01462, allocations: 111.7 kB / 359.2 MB, free: 13.6 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 (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.000239/0.01486, allocations: 159 kB / 359.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003734/0.01523, allocations: 281.6 kB / 359.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01524, allocations: 0 / 359.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.01537, allocations: 197.9 kB / 359.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.01582, allocations: 47.48 kB / 359.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.01686, allocations: 0.5324 MB / 360.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.01696, allocations: 107.9 kB / 360.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.01704, allocations: 21.61 kB / 360.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.01723, allocations: 138.2 kB / 360.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01723, allocations: 0 / 360.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of Templates: time 0.00855/0.02578, allocations: 4.695 MB / 365.3 MB, free: 7.344 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent/kc_turbulent.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.182451635133475]