Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.001412/0.001412, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001486/0.001486, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.95 MB / 361.6 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 79.88 kB / 0.4974 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2967, allocations: 66.1 MB / 0.562 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.00343/0.3001, allocations: 1.839 MB / 0.5637 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3017, allocations: 0.78 MB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.3018, allocations: 0 / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.302, allocations: 51.67 kB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.3024, allocations: 91.55 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.3027, allocations: 79.73 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.303, allocations: 254.7 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.657e-05/0.303, allocations: 12.58 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.3032, allocations: 115.5 kB / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.3034, allocations: 119.4 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.3035, allocations: 8 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.3037, allocations: 75.95 kB / 0.5653 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.3037, allocations: 63.67 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3038, allocations: 87.36 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.3043, allocations: 297 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3043, allocations: 0 / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3043, allocations: 0 / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3043, allocations: 0 / 0.5657 GB, free: 60 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009263/0.3052, allocations: 489.5 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3052, allocations: 15.97 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.3053, allocations: 36.75 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.3056, allocations: 184.8 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.3057, allocations: 20.86 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.3057, allocations: 28.12 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.3063, allocations: 376.8 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3064, allocations: 0 / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.3064, allocations: 8 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/0.3064, allocations: 24.64 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/0.3071, allocations: 386.2 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.3084, allocations: 0.6839 MB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.3089, allocations: 248.9 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.3091, allocations: 92.78 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.3091, allocations: 7.984 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3092, allocations: 38.5 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3092, allocations: 0 / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007993/0.31, allocations: 325.4 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.31, allocations: 55.41 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.3102, allocations: 194.1 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.3103, allocations: 33.7 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3104, allocations: 188.3 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.3105, allocations: 59.5 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3106, allocations: 61.89 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3107, allocations: 326.8 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.3109, allocations: 108.3 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.3112, allocations: 180 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005548/0.3118, allocations: 317.4 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.3118, allocations: 4 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006313/0.3124, allocations: 325.2 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3125, allocations: 7.938 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3125, allocations: 4 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/0.3125, allocations: 4 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.3131, allocations: 127.9 kB / 0.5705 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.3154, allocations: 3.649 MB / 0.574 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.3156, allocations: 35.8 kB / 0.5741 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.3156, allocations: 15.98 kB / 0.5741 GB, free: 7.098 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002938/0.3159, allocations: 173.7 kB / 0.5742 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.316, allocations: 20.33 kB / 0.5743 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/0.3167, allocations: 319 kB / 0.5746 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3167, allocations: 4 kB / 0.5746 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3167, allocations: 0 / 0.5746 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3167, allocations: 0 / 0.5746 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.317, allocations: 233.1 kB / 0.5748 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.317, allocations: 0 / 0.5748 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/0.3175, allocations: 115.9 kB / 0.5749 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3175, allocations: 4 kB / 0.5749 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.3175, allocations: 4 kB / 0.5749 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.3199, allocations: 3.645 MB / 0.5785 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3199, allocations: 4.094 kB / 0.5785 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.3205, allocations: 341.6 kB / 0.5788 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.3206, allocations: 19.84 kB / 0.5788 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.3206, allocations: 4 kB / 0.5788 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3207, allocations: 7.984 kB / 0.5788 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.3208, allocations: 15.92 kB / 0.5788 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3208, allocations: 11.98 kB / 0.5789 GB, free: 2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.321, allocations: 135.2 kB / 0.579 GB, free: 1.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.321, allocations: 7.938 kB / 0.579 GB, free: 1.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.3214, allocations: 87.72 kB / 0.5791 GB, free: 1.773 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000257/0.3217, allocations: 123.2 kB / 0.5792 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009348/0.3226, allocations: 315.6 kB / 0.5795 GB, free: 1.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3226, allocations: 0 / 0.5795 GB, free: 1.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005666/0.3232, allocations: 188.5 kB / 0.5797 GB, free: 1.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3235, allocations: 23.98 kB / 0.5797 GB, free: 1.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.3246, allocations: 0.5822 MB / 0.5803 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.3248, allocations: 180.8 kB / 0.5804 GB, free: 328 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.3249, allocations: 23.42 kB / 0.5805 GB, free: 304 kB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3249, allocations: 0 / 0.5805 GB, free: 304 kB / 414.1 MB Notification: Performance of Templates: time 0.01406/0.3389, allocations: 10.07 MB / 0.5903 GB, free: 6.223 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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: 9.206232260912657]