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.001322/0.001322, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001854/0.001854, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 0.9758/0.9758, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2482/0.2482, allocations: 32.8 MB / 294.6 MB, free: 1.199 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 9.31e-07/9.31e-07, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.315e-05, allocations: 4.797 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002114/0.002127, allocations: 1.979 MB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009245/0.003052, allocations: 0.8332 MB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.003094, allocations: 0 / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.003241, allocations: 51.67 kB / 326.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.003456, allocations: 87.52 kB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.003603, allocations: 87.58 kB / 326.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.003791, allocations: 270.6 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.285e-05/0.003824, allocations: 15.19 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.003976, allocations: 139.4 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.004092, allocations: 107.6 kB / 326.9 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.004108, allocations: 8 kB / 326.9 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.004226, allocations: 67.95 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.00428, allocations: 71.69 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.004329, allocations: 63.73 kB / 327.1 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.00462, allocations: 266.9 kB / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.004621, allocations: 0 / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004621, allocations: 4 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.004624, allocations: 0 / 327.3 MB, free: 5.605 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.000399/0.005023, allocations: 461.1 kB / 327.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.558e-05/0.005049, allocations: 12.03 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.005093, allocations: 36.91 kB / 327.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.005217, allocations: 165.4 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.005231, allocations: 16.86 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.005251, allocations: 24.38 kB / 328 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.00546, allocations: 221 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005469, allocations: 3.938 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.005484, allocations: 19.98 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.00551, allocations: 20.64 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.005629, allocations: 104.5 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.006295, allocations: 0.5257 MB / 328.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.006431, allocations: 136.9 kB / 329 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.006468, allocations: 24.84 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.006483, allocations: 4 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.006498, allocations: 30.56 kB / 329.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.006499, allocations: 0 / 329.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001624/0.006662, allocations: 104.4 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.006681, allocations: 55.41 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.006762, allocations: 182.4 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.006776, allocations: 29.7 kB / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.006835, allocations: 176.3 kB / 329.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.006864, allocations: 63.45 kB / 329.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.006927, allocations: 61.78 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.006996, allocations: 326.8 kB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.007036, allocations: 27.28 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.007108, allocations: 109.2 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.007241, allocations: 160.6 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007243, allocations: 4 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001628/0.007405, allocations: 162.3 kB / 330.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.007416, allocations: 11.98 kB / 330.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007421, allocations: 4 kB / 330.5 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.00743, allocations: 4 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.007697, allocations: 92.25 kB / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.009298, allocations: 3.557 MB / 334.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.597e-05/0.009374, allocations: 28.22 kB / 334.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.009388, allocations: 16 kB / 334.2 MB, free: 14.28 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 7.992e-05/0.009468, allocations: 135.8 kB / 334.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.009493, allocations: 12 kB / 334.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.009684, allocations: 147.2 kB / 334.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.009688, allocations: 7.984 kB / 334.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.009689, allocations: 0 / 334.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.009692, allocations: 0 / 334.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.009831, allocations: 137.7 kB / 334.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009833, allocations: 0 / 334.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.01005, allocations: 79.94 kB / 334.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01005, allocations: 0 / 334.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.01006, allocations: 4 kB / 334.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.0111, allocations: 3.571 MB / 338.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.0111, allocations: 4 kB / 338.3 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.01125, allocations: 236.2 kB / 338.6 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.01127, allocations: 15.84 kB / 338.6 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.01128, allocations: 8 kB / 338.6 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.01134, allocations: 11.92 kB / 338.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.01138, allocations: 11.98 kB / 338.6 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.01139, allocations: 3.984 kB / 338.6 MB, free: 9.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.907e-05/0.01142, allocations: 46.03 kB / 338.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01142, allocations: 0 / 338.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000202/0.01162, allocations: 95.7 kB / 338.7 MB, free: 9.566 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.0001265/0.01175, allocations: 117.6 kB / 338.9 MB, free: 9.445 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.01206, allocations: 160.5 kB / 339 MB, free: 9.285 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.01206, allocations: 0 / 339 MB, free: 9.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.01225, allocations: 89.55 kB / 339.1 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.0124, allocations: 39.86 kB / 339.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/0.01303, allocations: 496.2 kB / 339.6 MB, free: 8.641 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.01336, allocations: 107.8 kB / 339.7 MB, free: 8.516 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.561e-05/0.01341, allocations: 17.48 kB / 339.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.01349, allocations: 71.36 kB / 339.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0135, allocations: 0 / 339.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of Templates: time 0.005391/0.01889, allocations: 4.422 MB / 344.2 MB, free: 4.102 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 -s gbode -gbm=radauIIA3 -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.0415735067799687]