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.005018/0.005018, allocations: 107.2 kB / 21.98 MB, free: 5.223 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.001358/0.001358, allocations: 211.9 kB / 25.29 MB, free: 3.203 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.441/1.441, allocations: 230.5 MB / 258.9 MB, free: 8.207 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.2445/0.2445, allocations: 46.92 MB / 362.3 MB, free: 4.25 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.002356/0.002356, allocations: 84.14 kB / 0.4982 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3228, allocations: 66.07 MB / 0.5628 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003644/0.3264, allocations: 2.058 MB / 0.5648 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.3285, allocations: 1.169 MB / 0.5659 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3286, allocations: 0 / 0.5659 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.3289, allocations: 59.67 kB / 0.566 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.3291, allocations: 87.44 kB / 0.5661 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.3297, allocations: 179.4 kB / 0.5662 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.3301, allocations: 322.6 kB / 0.5665 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.284e-05/0.3302, allocations: 12.92 kB / 0.5666 GB, free: 384 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.3304, allocations: 131.4 kB / 0.5667 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.3306, allocations: 135.3 kB / 0.5668 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.3306, allocations: 8 kB / 0.5668 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003982/0.331, allocations: 219.7 kB / 0.567 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3311, allocations: 71.67 kB / 0.5671 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.3313, allocations: 123.2 kB / 0.5672 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.3318, allocations: 408.7 kB / 0.5676 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3318, allocations: 4 kB / 0.5676 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3318, allocations: 7.938 kB / 0.5676 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3318, allocations: 0 / 0.5676 GB, free: 15.29 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.001151/0.333, allocations: 0.5518 MB / 0.5681 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.333, allocations: 15.97 kB / 0.5682 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.3334, allocations: 72.66 kB / 0.5682 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.3337, allocations: 213.7 kB / 0.5684 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3338, allocations: 20.66 kB / 0.5685 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.3338, allocations: 24 kB / 0.5685 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.3346, allocations: 426.6 kB / 0.5689 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3346, allocations: 7.938 kB / 0.5689 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.3347, allocations: 8 kB / 0.5689 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.3347, allocations: 20.64 kB / 0.5689 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007046/0.3354, allocations: 326.2 kB / 0.5692 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.3369, allocations: 1.062 MB / 0.5703 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.3375, allocations: 239.7 kB / 0.5705 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.3377, allocations: 98.48 kB / 0.5706 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.3378, allocations: 11.92 kB / 0.5706 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3378, allocations: 42.56 kB / 0.5706 GB, free: 12.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.3378, allocations: 0 / 0.5706 GB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001033/0.3389, allocations: 345.2 kB / 0.571 GB, free: 11.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.3389, allocations: 122.9 kB / 0.5711 GB, free: 11.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/0.3394, allocations: 405.6 kB / 0.5715 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3394, allocations: 25.7 kB / 0.5715 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3396, allocations: 196 kB / 0.5717 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.3396, allocations: 59.55 kB / 0.5717 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3397, allocations: 61.89 kB / 0.5718 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3399, allocations: 338.8 kB / 0.5721 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.3402, allocations: 124.1 kB / 0.5722 GB, free: 10.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.3406, allocations: 235.8 kB / 0.5725 GB, free: 10.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.3413, allocations: 367 kB / 0.5728 GB, free: 9.594 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3413, allocations: 8 kB / 0.5728 GB, free: 9.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008811/0.3422, allocations: 397.2 kB / 0.5732 GB, free: 9.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3422, allocations: 8 kB / 0.5732 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.052e-05/0.3422, allocations: 27.98 kB / 0.5732 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3423, allocations: 4 kB / 0.5732 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.3425, allocations: 47.89 kB / 0.5733 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3425, allocations: 7.938 kB / 0.5733 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.3428, allocations: 63.7 kB / 0.5734 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.3428, allocations: 24.17 kB / 0.5734 GB, free: 9.012 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.000202/0.343, allocations: 173.1 kB / 0.5735 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.3431, allocations: 39.73 kB / 0.5736 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006072/0.3437, allocations: 288.3 kB / 0.5739 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3437, allocations: 4 kB / 0.5739 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.3438, allocations: 7.938 kB / 0.5739 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3438, allocations: 0 / 0.5739 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3442, allocations: 272.6 kB / 0.5741 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.643e-05/0.3443, allocations: 20 kB / 0.5742 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.3444, allocations: 23.97 kB / 0.5742 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3444, allocations: 0 / 0.5742 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3444, allocations: 8 kB / 0.5742 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3444, allocations: 4 kB / 0.5742 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3444, allocations: 3.938 kB / 0.5742 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.3452, allocations: 0.5016 MB / 0.5747 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.3453, allocations: 43.62 kB / 0.5747 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.3453, allocations: 8 kB / 0.5747 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.3456, allocations: 19.97 kB / 0.5747 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.3456, allocations: 19.92 kB / 0.5748 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3457, allocations: 7.984 kB / 0.5748 GB, free: 7.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.346, allocations: 291.1 kB / 0.5751 GB, free: 7.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.346, allocations: 0 / 0.5751 GB, free: 7.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005215/0.3465, allocations: 95.88 kB / 0.5751 GB, free: 7.141 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.0003055/0.3468, allocations: 159 kB / 0.5753 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008293/0.3477, allocations: 425.8 kB / 0.5757 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3477, allocations: 0 / 0.5757 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.3481, allocations: 279.4 kB / 0.576 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.3487, allocations: 72.67 kB / 0.576 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3499, allocations: 0.6416 MB / 0.5767 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.3504, allocations: 0.7909 MB / 0.5774 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.3504, allocations: 27.42 kB / 0.5775 GB, free: 4.613 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3504, allocations: 0 / 0.5775 GB, free: 4.613 MB / 414.1 MB Notification: Performance of Templates: time 0.009926/0.3604, allocations: 5.607 MB / 0.5829 GB, free: 15.04 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 -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/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-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: 7.9194340410176665]