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.001756/0.001756, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001973/0.001973, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 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.008/1.008, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1508/0.1508, allocations: 32.36 MB / 270.4 MB, free: 14.72 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 1.513e-06/1.513e-06, allocations: 0 / 347.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.607e-05, allocations: 2.312 kB / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.001744/0.00176, allocations: 1.93 MB / 349.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008535/0.002614, allocations: 0.8265 MB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.002669, allocations: 0 / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.002916, allocations: 55.64 kB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.003171, allocations: 91.42 kB / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.003373, allocations: 75.66 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.003551, allocations: 278.5 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.00359, allocations: 8.594 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.003715, allocations: 127.5 kB / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.003826, allocations: 111.6 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.003845, allocations: 8 kB / 351.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.003971, allocations: 63.91 kB / 351.3 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.004033, allocations: 71.67 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.004084, allocations: 63.73 kB / 351.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.004315, allocations: 266.9 kB / 351.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004317, allocations: 4 kB / 351.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004317, allocations: 0 / 351.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004322, allocations: 0 / 351.7 MB, free: 5.434 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.0004748/0.004796, allocations: 0.5895 MB / 352.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.00483, allocations: 8.031 kB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.004891, allocations: 48.75 kB / 352.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.005029, allocations: 183.3 kB / 352.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.005042, allocations: 16.86 kB / 352.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.005065, allocations: 24.38 kB / 352.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.005306, allocations: 222.2 kB / 352.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.005316, allocations: 7.938 kB / 352.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.005333, allocations: 11.98 kB / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.005366, allocations: 24.64 kB / 352.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.005514, allocations: 135.9 kB / 352.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.006184, allocations: 0.6871 MB / 353.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.006345, allocations: 113.2 kB / 353.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.006397, allocations: 31.73 kB / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.006423, allocations: 7.984 kB / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.006438, allocations: 37.39 kB / 353.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.006439, allocations: 4 kB / 353.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003134/0.006752, allocations: 156.5 kB / 354 MB, free: 3.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.006772, allocations: 55.34 kB / 354 MB, free: 2.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/0.006871, allocations: 250.5 kB / 354.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.006882, allocations: 29.7 kB / 354.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.006942, allocations: 235.1 kB / 354.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.006967, allocations: 59.47 kB / 354.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.007025, allocations: 71.53 kB / 354.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.007077, allocations: 0.504 MB / 355.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.007129, allocations: 28.45 kB / 355.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-05/0.007214, allocations: 158.9 kB / 355.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.007361, allocations: 203.7 kB / 355.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.007364, allocations: 4 kB / 355.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002147/0.007578, allocations: 205.2 kB / 355.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.00759, allocations: 4 kB / 355.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.007596, allocations: 4 kB / 355.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.007611, allocations: 8.312 kB / 355.7 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.007911, allocations: 127.9 kB / 355.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.00937, allocations: 5.407 MB / 361.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.009463, allocations: 31.81 kB / 361.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.00948, allocations: 12 kB / 361.3 MB, free: 11.3 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_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.000128/0.009608, allocations: 176.5 kB / 361.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.009643, allocations: 23.84 kB / 361.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.00992, allocations: 194 kB / 361.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.009923, allocations: 4 kB / 361.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.009927, allocations: 0 / 361.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.009931, allocations: 4 kB / 361.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.01015, allocations: 236.4 kB / 361.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01015, allocations: 4 kB / 361.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.01038, allocations: 108 kB / 362.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01038, allocations: 3.938 kB / 362.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.0104, allocations: 11.98 kB / 362.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.0119, allocations: 5.41 MB / 367.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0119, allocations: 0 / 367.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.01212, allocations: 275.7 kB / 367.7 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.01213, allocations: 15.84 kB / 367.8 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.01215, allocations: 8 kB / 367.8 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/0.01221, allocations: 7.938 kB / 367.8 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.01226, allocations: 19.91 kB / 367.8 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.01227, allocations: 8.188 kB / 367.8 MB, free: 4.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.499e-05/0.01234, allocations: 171.4 kB / 368 MB, free: 4.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01234, allocations: 0 / 368 MB, free: 4.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.01261, allocations: 83.78 kB / 368.1 MB, free: 4.312 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.0001808/0.01279, allocations: 131.1 kB / 368.2 MB, free: 4.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.01317, allocations: 211.3 kB / 368.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.01317, allocations: 0 / 368.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.01339, allocations: 140 kB / 368.5 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01362, allocations: 31.97 kB / 368.6 MB, free: 3.797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/0.01441, allocations: 488.2 kB / 369 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.204e-05/0.01448, allocations: 115.9 kB / 369.1 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.101e-05/0.01457, allocations: 49.42 kB / 369.2 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.01461, allocations: 20.48 kB / 369.2 MB, free: 3.094 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01461, allocations: 0 / 369.2 MB, free: 3.094 MB / 298.7 MB Notification: Performance of Templates: time 0.00562/0.02023, allocations: 4.011 MB / 373.2 MB, free: 15.16 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.533312816172838]