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.001564/0.001564, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001095/0.001095, allocations: 164 kB / 24.84 MB, free: 9.254 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 0.9863/0.9863, allocations: 158.6 MB / 186.7 MB, free: 2.805 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.1443/0.1443, allocations: 32.39 MB / 271.5 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 1.984e-06/1.984e-06, allocations: 0 / 348.9 MB, free: 9.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.42e-05, allocations: 5.406 kB / 348.9 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002166/0.002201, allocations: 1.919 MB / 350.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.003318, allocations: 0.8147 MB / 351.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.003405, allocations: 0 / 351.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.003667, allocations: 51.61 kB / 351.7 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.003924, allocations: 91.5 kB / 351.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.004155, allocations: 83.64 kB / 351.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.004352, allocations: 270.5 kB / 352.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.004403, allocations: 12.58 kB / 352.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.004573, allocations: 123.6 kB / 352.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.004704, allocations: 111.6 kB / 352.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.004722, allocations: 8 kB / 352.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.00486, allocations: 67.84 kB / 352.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.004944, allocations: 67.69 kB / 352.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.005001, allocations: 75.72 kB / 352.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.005252, allocations: 258.9 kB / 352.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.005255, allocations: 0 / 352.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005257, allocations: 0 / 352.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.005261, allocations: 0 / 352.9 MB, free: 5.184 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.0005097/0.005771, allocations: 0.5972 MB / 353.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.005811, allocations: 8.031 kB / 353.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.005885, allocations: 44.75 kB / 353.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.006058, allocations: 172.2 kB / 353.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.006073, allocations: 20.88 kB / 353.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.006095, allocations: 24.36 kB / 353.7 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.006345, allocations: 198.2 kB / 353.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.006356, allocations: 3.938 kB / 353.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.006382, allocations: 19.97 kB / 354 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/0.00642, allocations: 24.64 kB / 354 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.00653, allocations: 96.53 kB / 354.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.00724, allocations: 0.629 MB / 354.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.007386, allocations: 95 kB / 354.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.007424, allocations: 35.67 kB / 354.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.007444, allocations: 4 kB / 354.8 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.007459, allocations: 41.38 kB / 354.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.00746, allocations: 0 / 354.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002378/0.007698, allocations: 132.6 kB / 355 MB, free: 2.922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.007724, allocations: 59.34 kB / 355.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.007829, allocations: 254.5 kB / 355.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.007843, allocations: 33.7 kB / 355.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.007904, allocations: 235 kB / 355.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.007928, allocations: 55.52 kB / 355.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.007986, allocations: 75.52 kB / 355.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.008039, allocations: 0.5117 MB / 356.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.008077, allocations: 28.45 kB / 356.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.00815, allocations: 154.9 kB / 356.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.008282, allocations: 195.7 kB / 356.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.008285, allocations: 0 / 356.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001912/0.008476, allocations: 192.4 kB / 356.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.008488, allocations: 12 kB / 356.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008494, allocations: 4 kB / 356.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.008505, allocations: 4 kB / 356.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.008798, allocations: 123.9 kB / 356.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.01048, allocations: 5.414 MB / 362.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.01058, allocations: 23.78 kB / 362.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.0106, allocations: 19.98 kB / 362.4 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.0001685/0.01077, allocations: 168.5 kB / 362.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.01081, allocations: 23.84 kB / 362.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.01108, allocations: 195.2 kB / 362.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01108, allocations: 3.938 kB / 362.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01108, allocations: 0 / 362.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01109, allocations: 0 / 362.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.01127, allocations: 181.1 kB / 362.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01127, allocations: 3.984 kB / 362.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.01153, allocations: 107.9 kB / 363 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01153, allocations: 0 / 363 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01154, allocations: 8 kB / 363 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.01314, allocations: 5.418 MB / 368.5 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.01314, allocations: 0 / 368.5 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.01334, allocations: 263.7 kB / 368.7 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.01336, allocations: 19.84 kB / 368.7 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.01338, allocations: 4.312 kB / 368.7 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-05/0.01344, allocations: 12 kB / 368.8 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.01349, allocations: 15.91 kB / 368.8 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.0135, allocations: 11.98 kB / 368.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.01356, allocations: 159.4 kB / 368.9 MB, free: 4.402 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01356, allocations: 0 / 368.9 MB, free: 4.402 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.01386, allocations: 83.78 kB / 369 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.0001942/0.01406, allocations: 135.1 kB / 369.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003562/0.01442, allocations: 199.8 kB / 369.3 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01442, allocations: 0 / 369.3 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.01463, allocations: 139.5 kB / 369.5 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01486, allocations: 35.86 kB / 369.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008595/0.01572, allocations: 484.5 kB / 370 MB, free: 3.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.58e-05/0.0158, allocations: 111.9 kB / 370.1 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.152e-05/0.01588, allocations: 25.45 kB / 370.1 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.01598, allocations: 94.19 kB / 370.2 MB, free: 3.062 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01598, allocations: 0 / 370.2 MB, free: 3.062 MB / 298.7 MB Notification: Performance of Templates: time 0.006605/0.02259, allocations: 4.471 MB / 374.7 MB, free: 14.67 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.4183269310742617]