Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.0009924/0.0009924, allocations: 80.98 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001072/0.001072, allocations: 173 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.092/1.092, allocations: 158.6 MB / 185.9 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1553/0.1553, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_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.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.451e-05, allocations: 10.25 kB / 348.2 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003759/0.003793, allocations: 1.923 MB / 350.1 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.005345, allocations: 0.8187 MB / 350.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.005461, allocations: 0 / 350.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.005786, allocations: 51.62 kB / 350.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.006138, allocations: 91.5 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.006465, allocations: 75.66 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.006791, allocations: 270.5 kB / 351.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.006867, allocations: 16.59 kB / 351.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.007207, allocations: 123.5 kB / 351.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.00741, allocations: 115.6 kB / 351.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.007439, allocations: 4 kB / 351.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.007674, allocations: 67.91 kB / 351.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.007777, allocations: 71.67 kB / 351.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.087e-05/0.007857, allocations: 67.73 kB / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.008209, allocations: 255 kB / 352.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.008215, allocations: 4 kB / 352.1 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.008216, allocations: 0 / 352.1 MB, free: 5.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.008221, allocations: 3.938 kB / 352.1 MB, free: 5.191 MB / 282.7 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.0007196/0.008941, allocations: 0.5933 MB / 352.7 MB, free: 4.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.008996, allocations: 8.031 kB / 352.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.00908, allocations: 52.73 kB / 352.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.009274, allocations: 171.4 kB / 352.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.009298, allocations: 28.73 kB / 352.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.009332, allocations: 20.38 kB / 353 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.009679, allocations: 202.2 kB / 353.2 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.009694, allocations: 3.938 kB / 353.2 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.009714, allocations: 11.98 kB / 353.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.009748, allocations: 28.64 kB / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.009856, allocations: 100.5 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.01046, allocations: 0.6251 MB / 353.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.0106, allocations: 97.11 kB / 354 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.01064, allocations: 31.72 kB / 354 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.01067, allocations: 4 kB / 354 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.01069, allocations: 37.33 kB / 354.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.01069, allocations: 4 kB / 354.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002409/0.01093, allocations: 134.2 kB / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.01095, allocations: 63.33 kB / 354.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.01104, allocations: 250.5 kB / 354.5 MB, free: 2.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.01106, allocations: 29.7 kB / 354.6 MB, free: 2.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.01112, allocations: 239 kB / 354.8 MB, free: 2.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.01115, allocations: 55.52 kB / 354.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.01121, allocations: 75.5 kB / 354.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.01127, allocations: 0.504 MB / 355.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.01131, allocations: 20.45 kB / 355.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.99e-05/0.0114, allocations: 166.9 kB / 355.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.01154, allocations: 199.2 kB / 355.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.01154, allocations: 4 kB / 355.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002091/0.01175, allocations: 189.3 kB / 356 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.01177, allocations: 4 kB / 356 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01178, allocations: 4 kB / 356 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01179, allocations: 4.375 kB / 356 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.01208, allocations: 127.9 kB / 356.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.01375, allocations: 5.414 MB / 361.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.01385, allocations: 35.8 kB / 361.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.01387, allocations: 16 kB / 361.6 MB, free: 11.21 MB / 298.7 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_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].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.0001202/0.01399, allocations: 168.5 kB / 361.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.01402, allocations: 23.84 kB / 361.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.01428, allocations: 191.1 kB / 362 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01428, allocations: 3.984 kB / 362 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01428, allocations: 0 / 362 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01429, allocations: 4 kB / 362 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.01447, allocations: 181.1 kB / 362.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01448, allocations: 0 / 362.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.01472, allocations: 111.9 kB / 362.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01472, allocations: 0 / 362.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.01473, allocations: 4 kB / 362.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.01648, allocations: 5.422 MB / 367.7 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01648, allocations: 0 / 367.7 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.01668, allocations: 267.1 kB / 367.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.0167, allocations: 19.84 kB / 368 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.01672, allocations: 4 kB / 368 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.01678, allocations: 7.984 kB / 368 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.01682, allocations: 11.98 kB / 368 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.01683, allocations: 12.17 kB / 368 MB, free: 4.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.96e-05/0.01689, allocations: 159.4 kB / 368.2 MB, free: 4.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01689, allocations: 0 / 368.2 MB, free: 4.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.01717, allocations: 91.72 kB / 368.2 MB, free: 4.32 MB / 298.7 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.0002024/0.01737, allocations: 135.1 kB / 368.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.01773, allocations: 195.4 kB / 368.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01773, allocations: 0 / 368.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.01793, allocations: 136.2 kB / 368.7 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01817, allocations: 43.86 kB / 368.7 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.01898, allocations: 476.4 kB / 369.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.01931, allocations: 115.8 kB / 369.3 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.056e-05/0.01938, allocations: 25.45 kB / 369.3 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.685e-05/0.01948, allocations: 98.19 kB / 369.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01948, allocations: 0 / 369.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of Templates: time 0.006875/0.02636, allocations: 4.386 MB / 373.8 MB, free: 14.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4382170219905674]