Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.000989/0.000989, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001083/0.001083, allocations: 173.4 kB / 24.91 MB, free: 8.766 MB / 18.57 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.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.129 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.268/0.268, allocations: 32.81 MB / 294.6 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_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_4.0.0_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_4.0.0_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: 3.938 kB / 323.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.622e-05, allocations: 3.406 kB / 323.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002568/0.002585, allocations: 1.928 MB / 325.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.003675, allocations: 0.8371 MB / 326 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.003738, allocations: 0 / 326 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.003952, allocations: 47.69 kB / 326.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.004194, allocations: 91.48 kB / 326.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.004413, allocations: 79.67 kB / 326.2 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.00464, allocations: 274.5 kB / 326.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.004687, allocations: 23.16 kB / 326.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.004876, allocations: 127.5 kB / 326.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.005, allocations: 103.6 kB / 326.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.005018, allocations: 4 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.00515, allocations: 83.81 kB / 326.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.005491, allocations: 71.69 kB / 326.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.005551, allocations: 67.72 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.00582, allocations: 263 kB / 327.2 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005822, allocations: 3.938 kB / 327.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005823, allocations: 0 / 327.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.005826, allocations: 0 / 327.2 MB, free: 5.559 MB / 298.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.0004753/0.006301, allocations: 453.2 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.006329, allocations: 12.03 kB / 327.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.00638, allocations: 40.91 kB / 327.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.006521, allocations: 169.3 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.006536, allocations: 12.88 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.006561, allocations: 24.38 kB / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.006798, allocations: 229 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.006808, allocations: 3.938 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.00683, allocations: 15.98 kB / 328.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.006864, allocations: 20.64 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.006979, allocations: 104.5 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.00759, allocations: 0.5179 MB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.007729, allocations: 140.9 kB / 329 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.007766, allocations: 24.84 kB / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.007788, allocations: 4 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.007808, allocations: 34.5 kB / 329 MB, free: 3.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.007809, allocations: 0 / 329 MB, free: 3.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001863/0.007996, allocations: 100.7 kB / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.008028, allocations: 55.41 kB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.008133, allocations: 182.4 kB / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.00815, allocations: 25.7 kB / 329.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.008227, allocations: 184.3 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.008261, allocations: 63.52 kB / 329.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.008322, allocations: 53.86 kB / 329.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.008401, allocations: 326.8 kB / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.008442, allocations: 27.28 kB / 330 MB, free: 2.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.149e-05/0.008523, allocations: 109.2 kB / 330.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.008674, allocations: 168.5 kB / 330.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.008677, allocations: 0 / 330.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000176/0.008853, allocations: 156.4 kB / 330.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.008865, allocations: 8 kB / 330.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.008871, allocations: 4 kB / 330.5 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.008886, allocations: 4 kB / 330.5 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.009179, allocations: 99.81 kB / 330.6 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.01048, allocations: 3.557 MB / 334.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.01056, allocations: 23.84 kB / 334.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.01058, allocations: 11.98 kB / 334.1 MB, free: 14.25 MB / 314.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 8.936e-05/0.01067, allocations: 132.5 kB / 334.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.01069, allocations: 15.98 kB / 334.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.01089, allocations: 161.2 kB / 334.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01089, allocations: 0 / 334.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01089, allocations: 0 / 334.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01089, allocations: 0 / 334.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.01104, allocations: 141.7 kB / 334.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01104, allocations: 0 / 334.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.01124, allocations: 71.95 kB / 334.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01124, allocations: 0 / 334.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.01125, allocations: 11.98 kB / 334.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009873/0.01224, allocations: 3.567 MB / 338.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01224, allocations: 0 / 338.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.0124, allocations: 240.5 kB / 338.5 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.01241, allocations: 19.84 kB / 338.5 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.01243, allocations: 4 kB / 338.5 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.817e-05/0.01249, allocations: 7.984 kB / 338.5 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.01252, allocations: 7.984 kB / 338.5 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.01253, allocations: 11.98 kB / 338.5 MB, free: 9.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.262e-05/0.01257, allocations: 45.84 kB / 338.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01257, allocations: 0 / 338.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000223/0.01279, allocations: 91.72 kB / 338.7 MB, free: 9.527 MB / 314.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.0001613/0.01295, allocations: 120.2 kB / 338.8 MB, free: 9.402 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.01345, allocations: 153.4 kB / 338.9 MB, free: 9.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.01346, allocations: 7.938 kB / 338.9 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.01367, allocations: 96.73 kB / 339 MB, free: 9.145 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.01389, allocations: 43.36 kB / 339.1 MB, free: 9.105 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.01474, allocations: 486.7 kB / 339.5 MB, free: 8.602 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.674e-05/0.01481, allocations: 111.7 kB / 339.7 MB, free: 8.473 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.378e-05/0.01488, allocations: 17.48 kB / 339.7 MB, free: 8.457 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01498, allocations: 83.28 kB / 339.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.01498, allocations: 0 / 339.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of Templates: time 0.006959/0.02194, allocations: 4.407 MB / 344.2 MB, free: 4.059 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.387780661229044]