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.00125/0.00125, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001012/0.001012, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9607/0.9607, allocations: 158.6 MB / 185.7 MB, free: 2.906 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.1485/0.1485, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.172e-06/1.172e-06, allocations: 0 / 347.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.677e-05, allocations: 2.312 kB / 347.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002419/0.002446, allocations: 1.93 MB / 349.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.00353, allocations: 0.8265 MB / 350.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.0036, allocations: 4 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.003867, allocations: 47.62 kB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.004188, allocations: 95.44 kB / 350.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.00449, allocations: 83.64 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.00477, allocations: 274.5 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.004823, allocations: 8.594 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.004995, allocations: 127.5 kB / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.005125, allocations: 103.6 kB / 351.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.005146, allocations: 8 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.005286, allocations: 71.88 kB / 351.3 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.005355, allocations: 71.62 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.005413, allocations: 63.8 kB / 351.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.005681, allocations: 262.9 kB / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005685, allocations: 0 / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.005686, allocations: 0 / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.005692, allocations: 0 / 351.7 MB, free: 5.441 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.0007027/0.006395, allocations: 0.5934 MB / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.006439, allocations: 8.031 kB / 352.3 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.417e-05/0.006533, allocations: 44.75 kB / 352.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.006737, allocations: 183.3 kB / 352.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.006759, allocations: 20.86 kB / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.006799, allocations: 28.36 kB / 352.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.007108, allocations: 218.2 kB / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.007119, allocations: 3.938 kB / 352.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.007138, allocations: 11.98 kB / 352.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.007178, allocations: 24.64 kB / 352.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.007347, allocations: 139.9 kB / 352.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.008145, allocations: 0.6792 MB / 353.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.008318, allocations: 113.2 kB / 353.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.008371, allocations: 35.73 kB / 353.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.008393, allocations: 4 kB / 353.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.008409, allocations: 37.39 kB / 353.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.00841, allocations: 0 / 353.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002857/0.008696, allocations: 164.4 kB / 353.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.008719, allocations: 51.41 kB / 354 MB, free: 2.953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.008823, allocations: 250.5 kB / 354.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.008836, allocations: 33.7 kB / 354.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.008898, allocations: 235.1 kB / 354.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.008924, allocations: 55.53 kB / 354.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.008985, allocations: 71.53 kB / 354.6 MB, free: 2.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.009036, allocations: 0.5001 MB / 355.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.009091, allocations: 32.44 kB / 355.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-05/0.009176, allocations: 166.9 kB / 355.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.009331, allocations: 203.7 kB / 355.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.009334, allocations: 4 kB / 355.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002305/0.009564, allocations: 197.2 kB / 355.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.009583, allocations: 4 kB / 355.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.00959, allocations: 4.375 kB / 355.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.009607, allocations: 11.94 kB / 355.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.009996, allocations: 127.9 kB / 355.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.01161, allocations: 5.411 MB / 361.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.01173, allocations: 31.78 kB / 361.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.01175, allocations: 15.98 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.0001306/0.01188, allocations: 168.5 kB / 361.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.01192, allocations: 27.84 kB / 361.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.0122, allocations: 186 kB / 361.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01221, allocations: 7.938 kB / 361.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.01221, allocations: 8.016 kB / 361.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.01222, allocations: 0 / 361.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.01242, allocations: 240.5 kB / 361.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.01243, allocations: 3.984 kB / 361.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.0127, allocations: 104 kB / 362 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.0127, allocations: 3.938 kB / 362.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.01272, allocations: 11.98 kB / 362.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.01426, allocations: 5.414 MB / 367.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01426, allocations: 0 / 367.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.01448, allocations: 275.8 kB / 367.7 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.0145, allocations: 15.84 kB / 367.8 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.01452, allocations: 4 kB / 367.8 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.01459, allocations: 12.19 kB / 367.8 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.01465, allocations: 15.97 kB / 367.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.01466, allocations: 11.98 kB / 367.8 MB, free: 4.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.369e-05/0.01473, allocations: 163.4 kB / 368 MB, free: 4.402 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01473, allocations: 0 / 368 MB, free: 4.402 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.01502, allocations: 87.78 kB / 368.1 MB, free: 4.316 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.0002249/0.01525, allocations: 135.1 kB / 368.2 MB, free: 4.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.01567, allocations: 203.3 kB / 368.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01567, allocations: 0 / 368.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.0159, allocations: 148 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.0002433/0.01614, allocations: 27.98 kB / 368.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.01703, allocations: 492.3 kB / 369 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.228e-05/0.01709, allocations: 107.9 kB / 369.1 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.01719, allocations: 57.39 kB / 369.2 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.01724, allocations: 20.5 kB / 369.2 MB, free: 3.098 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01724, allocations: 0 / 369.2 MB, free: 3.098 MB / 298.7 MB Notification: Performance of Templates: time 0.006629/0.02387, allocations: 4.53 MB / 373.7 MB, free: 14.64 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.4290978107601404]