Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2231/0.2231, allocations: 46.9 MB / 361.1 MB, free: 4.621 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 75.88 kB / 0.4968 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2789, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003501/0.2824, allocations: 2.058 MB / 0.5632 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.2844, allocations: 1.161 MB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.2845, allocations: 4 kB / 0.5644 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.2848, allocations: 63.61 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.285, allocations: 79.52 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.2856, allocations: 187.1 kB / 0.5647 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.286, allocations: 322.5 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.286, allocations: 16.73 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.2863, allocations: 119.4 kB / 0.5651 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.2865, allocations: 139.3 kB / 0.5653 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.2865, allocations: 12 kB / 0.5653 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003926/0.2869, allocations: 211.7 kB / 0.5655 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.287, allocations: 75.66 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2871, allocations: 123.2 kB / 0.5657 GB, free: 464 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005718/0.2877, allocations: 409.1 kB / 0.5661 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2877, allocations: 4 kB / 0.5661 GB, free: 52 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2877, allocations: 0 / 0.5661 GB, free: 52 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2877, allocations: 0 / 0.5661 GB, free: 52 kB / 398.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.001192/0.2889, allocations: 0.6348 MB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2889, allocations: 8.031 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.2893, allocations: 72.66 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.2897, allocations: 267.6 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2897, allocations: 20.56 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.2898, allocations: 24 kB / 0.5671 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.2906, allocations: 433.9 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2906, allocations: 7.875 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.2906, allocations: 8 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.2906, allocations: 20.55 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.2914, allocations: 325.9 kB / 0.5678 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.293, allocations: 1.101 MB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.2935, allocations: 235.7 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.2938, allocations: 106.4 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.2939, allocations: 4 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2939, allocations: 42.55 kB / 0.5693 GB, free: 12.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.2939, allocations: 0 / 0.5693 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001084/0.295, allocations: 361.3 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.2951, allocations: 110.7 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.2955, allocations: 409.5 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.2956, allocations: 25.7 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.2957, allocations: 204 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.2958, allocations: 47.58 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.2959, allocations: 69.88 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2961, allocations: 338.8 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.2964, allocations: 120.1 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.2968, allocations: 239.7 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007506/0.2976, allocations: 359.1 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2976, allocations: 3.938 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008903/0.2985, allocations: 405 kB / 0.5718 GB, free: 9.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.2985, allocations: 8 kB / 0.5718 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.721e-05/0.2985, allocations: 23.98 kB / 0.5719 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.2985, allocations: 8 kB / 0.5719 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.2988, allocations: 47.91 kB / 0.5719 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.2988, allocations: 11.92 kB / 0.5719 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.2991, allocations: 63.92 kB / 0.572 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.2991, allocations: 12 kB / 0.572 GB, free: 9.562 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.0001998/0.2993, allocations: 173.7 kB / 0.5722 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.2994, allocations: 27.81 kB / 0.5722 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006347/0.3001, allocations: 288.2 kB / 0.5725 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3001, allocations: 4.094 kB / 0.5725 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.3001, allocations: 7.875 kB / 0.5725 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.3001, allocations: 7.984 kB / 0.5725 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.3006, allocations: 297.5 kB / 0.5728 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/0.3006, allocations: 19.98 kB / 0.5728 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3008, allocations: 23.97 kB / 0.5728 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3008, allocations: 4 kB / 0.5728 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3008, allocations: 4 kB / 0.5728 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3008, allocations: 7.938 kB / 0.5728 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3008, allocations: 3.938 kB / 0.5728 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/0.3016, allocations: 0.5055 MB / 0.5733 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.3017, allocations: 116.8 kB / 0.5734 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.3018, allocations: 8 kB / 0.5734 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.302, allocations: 19.97 kB / 0.5735 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.3021, allocations: 19.92 kB / 0.5735 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3021, allocations: 8 kB / 0.5735 GB, free: 7.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003197/0.3025, allocations: 291.1 kB / 0.5738 GB, free: 7.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3025, allocations: 0 / 0.5738 GB, free: 7.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000534/0.303, allocations: 95.88 kB / 0.5739 GB, free: 7.555 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.0003083/0.3033, allocations: 155 kB / 0.574 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008594/0.3042, allocations: 425.8 kB / 0.5744 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3042, allocations: 1.062 kB / 0.5744 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.3046, allocations: 270 kB / 0.5747 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.3052, allocations: 73.69 kB / 0.5747 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3064, allocations: 0.6157 MB / 0.5753 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.3069, allocations: 0.8025 MB / 0.5761 GB, free: 5.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001657/0.307, allocations: 62.91 kB / 0.5762 GB, free: 5.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.3071, allocations: 27.44 kB / 0.5762 GB, free: 5.004 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3071, allocations: 0 / 0.5762 GB, free: 5.004 MB / 414.1 MB Notification: Performance of Templates: time 0.01093/0.318, allocations: 5.856 MB / 0.5819 GB, free: 15.23 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.935602361802012]