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.001343/0.001343, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001422/0.001422, allocations: 207.1 kB / 24.48 MB, free: 3.977 MB / 14.72 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 1.443/1.443, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2219/0.2219, allocations: 46.97 MB / 361.6 MB, free: 4.062 MB / 286.1 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 0.0021/0.0021, allocations: 67.91 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2848, allocations: 66.03 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003388/0.2882, allocations: 1.968 MB / 0.5638 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.2902, allocations: 1.056 MB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.791e-05/0.2902, allocations: 0 / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.2905, allocations: 63.62 kB / 0.5649 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.2907, allocations: 75.52 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.2913, allocations: 187 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.2917, allocations: 322.6 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.2917, allocations: 16.92 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.2919, allocations: 123.3 kB / 0.5656 GB, free: 396 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.2921, allocations: 139.4 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.2922, allocations: 12 kB / 0.5657 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.2925, allocations: 159.8 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.484e-05/0.2926, allocations: 75.66 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.2928, allocations: 99.34 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.2933, allocations: 392.7 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2933, allocations: 0 / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2933, allocations: 0 / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2933, allocations: 0 / 0.5664 GB, free: 15.53 MB / 414.1 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.00111/0.2944, allocations: 0.5713 MB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2944, allocations: 8.031 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004062/0.2948, allocations: 68.66 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.2952, allocations: 209.8 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.2952, allocations: 20.66 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.2953, allocations: 24 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008722/0.2961, allocations: 438.5 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2962, allocations: 0 / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.2962, allocations: 11.98 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.2962, allocations: 20.66 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007301/0.297, allocations: 322.3 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.2984, allocations: 0.9422 MB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.2989, allocations: 235.6 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.2992, allocations: 106.4 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.2993, allocations: 7.984 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.2993, allocations: 38.56 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.654e-06/0.2993, allocations: 4 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001041/0.3003, allocations: 349 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.3004, allocations: 102.8 kB / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.3007, allocations: 268.9 kB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.3007, allocations: 29.7 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3009, allocations: 208.3 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.3009, allocations: 51.53 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.301, allocations: 65.89 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3012, allocations: 330.8 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.3015, allocations: 116.1 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.3019, allocations: 239.7 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.3026, allocations: 363 kB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3027, allocations: 4 kB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009145/0.3036, allocations: 389.4 kB / 0.5717 GB, free: 9.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3036, allocations: 11.94 kB / 0.5717 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.507e-05/0.3036, allocations: 20 kB / 0.5717 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3036, allocations: 8 kB / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.3039, allocations: 47.89 kB / 0.5718 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3039, allocations: 4 kB / 0.5718 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.3042, allocations: 47.75 kB / 0.5719 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.3042, allocations: 16 kB / 0.5719 GB, free: 9.57 MB / 414.1 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.000195/0.3044, allocations: 182.2 kB / 0.572 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/0.3045, allocations: 19.86 kB / 0.5721 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.3051, allocations: 275.2 kB / 0.5723 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3051, allocations: 4 kB / 0.5723 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3051, allocations: 0 / 0.5723 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3051, allocations: 3.938 kB / 0.5723 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.3056, allocations: 237.1 kB / 0.5726 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-05/0.3056, allocations: 20 kB / 0.5726 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3058, allocations: 23.97 kB / 0.5726 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3058, allocations: 4 kB / 0.5726 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3058, allocations: 8.078 kB / 0.5726 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3058, allocations: 3.938 kB / 0.5726 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3058, allocations: 0 / 0.5726 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007751/0.3066, allocations: 0.5094 MB / 0.5731 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.3066, allocations: 15.86 kB / 0.5731 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.3067, allocations: 4 kB / 0.5731 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.3069, allocations: 19.97 kB / 0.5731 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.307, allocations: 23.91 kB / 0.5732 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.307, allocations: 8 kB / 0.5732 GB, free: 8.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.3072, allocations: 176.5 kB / 0.5733 GB, free: 7.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3072, allocations: 0 / 0.5733 GB, free: 7.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005396/0.3077, allocations: 115.7 kB / 0.5735 GB, free: 7.879 MB / 414.1 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.0002895/0.308, allocations: 151 kB / 0.5736 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000827/0.3089, allocations: 417.8 kB / 0.574 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3089, allocations: 1.062 kB / 0.574 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.3093, allocations: 278 kB / 0.5743 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.3098, allocations: 28.39 kB / 0.5743 GB, free: 6.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3109, allocations: 0.5857 MB / 0.5749 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.3111, allocations: 197.5 kB / 0.5751 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.3113, allocations: 49.58 kB / 0.5751 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.3113, allocations: 19.44 kB / 0.5751 GB, free: 6.047 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3113, allocations: 3.938 kB / 0.5751 GB, free: 6.043 MB / 414.1 MB Notification: Performance of Templates: time 0.009081/0.3204, allocations: 4.7 MB / 0.5797 GB, free: 1.418 MB / 414.1 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 -s gbode -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/jenkins1/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/jenkins1/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.980796546995407]