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.001554/0.001554, 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.001483/0.001483, allocations: 211.4 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.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2305/0.2305, allocations: 46.96 MB / 361.6 MB, free: 4.082 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.001969/0.001969, allocations: 63.91 kB / 0.4974 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3317, 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.003778/0.3355, allocations: 1.972 MB / 0.5638 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3375, allocations: 1.049 MB / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.589e-05/0.3376, allocations: 0 / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.3379, allocations: 63.61 kB / 0.5649 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.3381, allocations: 75.53 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.3388, allocations: 187.3 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.3391, allocations: 322.5 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.097e-05/0.3392, allocations: 16.94 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.3394, allocations: 127.3 kB / 0.5656 GB, free: 392 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3397, allocations: 139.4 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.3397, allocations: 15.94 kB / 0.5657 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.34, allocations: 159.8 kB / 0.5659 GB, free: 76 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.272e-05/0.3401, allocations: 63.69 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.3403, allocations: 107.5 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.3408, allocations: 392.7 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3408, allocations: 0 / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3408, allocations: 0 / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3408, allocations: 8 kB / 0.5664 GB, free: 15.52 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.001163/0.342, allocations: 0.5518 MB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.342, allocations: 8.031 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.3424, allocations: 76.59 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.3427, allocations: 213.7 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3427, allocations: 28.59 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.3428, allocations: 24 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.3435, allocations: 434.6 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3436, allocations: 0 / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.3436, allocations: 12 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.3436, allocations: 12.66 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006943/0.3443, allocations: 326.3 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.3457, allocations: 0.9383 MB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.3463, allocations: 235.7 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.3465, allocations: 110.4 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.3466, allocations: 4 kB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3466, allocations: 34.56 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.3466, allocations: 0 / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.00102/0.3476, allocations: 349.4 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/0.3477, allocations: 114.8 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.348, allocations: 256.7 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.348, allocations: 29.7 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.3482, allocations: 208.2 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.3483, allocations: 55.53 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3484, allocations: 65.88 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3485, allocations: 326.8 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3488, allocations: 124.1 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.3492, allocations: 235.7 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/0.3499, allocations: 375 kB / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3499, allocations: 0 / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008125/0.3507, allocations: 381.1 kB / 0.5717 GB, free: 9.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3507, allocations: 8 kB / 0.5717 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.444e-05/0.3508, allocations: 23.98 kB / 0.5717 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.3508, allocations: 8 kB / 0.5717 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.3511, allocations: 47.89 kB / 0.5718 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/0.3511, allocations: 8.391 kB / 0.5718 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.3513, allocations: 51.7 kB / 0.5719 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.3514, allocations: 19.98 kB / 0.5719 GB, free: 9.559 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.0002094/0.3516, allocations: 174.2 kB / 0.572 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.3517, allocations: 23.84 kB / 0.5721 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006088/0.3523, allocations: 271.1 kB / 0.5723 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.3523, allocations: 8 kB / 0.5723 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3523, allocations: 0 / 0.5723 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3523, allocations: 7.938 kB / 0.5723 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.3527, allocations: 225.1 kB / 0.5725 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-05/0.3527, allocations: 23.98 kB / 0.5726 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3529, allocations: 27.95 kB / 0.5726 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3529, allocations: 0 / 0.5726 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3529, allocations: 8 kB / 0.5726 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3529, allocations: 0 / 0.5726 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/0.3529, allocations: 15.94 kB / 0.5726 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007255/0.3536, allocations: 0.4932 MB / 0.5731 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.3537, allocations: 31.78 kB / 0.5731 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.3537, allocations: 0 / 0.5731 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3539, allocations: 15.98 kB / 0.5731 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.354, allocations: 23.91 kB / 0.5732 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.354, allocations: 12 kB / 0.5732 GB, free: 8.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.3542, allocations: 176.5 kB / 0.5733 GB, free: 7.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3542, allocations: 0 / 0.5733 GB, free: 7.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005096/0.3547, allocations: 103.7 kB / 0.5734 GB, free: 7.887 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.0002817/0.355, allocations: 155 kB / 0.5736 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000807/0.3558, allocations: 430.9 kB / 0.574 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3558, allocations: 0 / 0.574 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.3562, allocations: 266 kB / 0.5743 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.3567, allocations: 38.44 kB / 0.5743 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3578, allocations: 0.5893 MB / 0.5749 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.358, allocations: 193.4 kB / 0.5751 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.3581, allocations: 45.59 kB / 0.5751 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.3582, allocations: 15.44 kB / 0.5751 GB, free: 6.047 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3582, allocations: 0 / 0.5751 GB, free: 6.047 MB / 414.1 MB Notification: Performance of Templates: time 0.009642/0.3678, allocations: 4.7 MB / 0.5797 GB, free: 1.422 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 cvode -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: 5.068659543991089]