Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009101/0.0009101, 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.001684/0.001684, allocations: 170.3 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.994/0.994, allocations: 177.1 MB / 205.3 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.255/0.255, allocations: 34.26 MB / 296.1 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.537e-05, allocations: 4.062 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002174/0.00219, allocations: 1.947 MB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003193, allocations: 0.8301 MB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.003254, allocations: 0 / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.00347, allocations: 51.67 kB / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.00372, allocations: 95.42 kB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.003938, allocations: 87.64 kB / 328.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.00418, allocations: 274.5 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.004234, allocations: 10.56 kB / 328.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.004437, allocations: 139.4 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.004568, allocations: 103.6 kB / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.004586, allocations: 12 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.004732, allocations: 75.88 kB / 328.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.004806, allocations: 63.7 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.004865, allocations: 64.3 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.005134, allocations: 274.8 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005136, allocations: 0 / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005137, allocations: 0 / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.00514, allocations: 0 / 329.3 MB, free: 3.668 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.0004989/0.005639, allocations: 453.3 kB / 329.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.005672, allocations: 12.03 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.005728, allocations: 40.91 kB / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.005881, allocations: 165.4 kB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.005895, allocations: 12.88 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.005925, allocations: 28.36 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.006205, allocations: 221 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006215, allocations: 3.938 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.006233, allocations: 11.98 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.006274, allocations: 24.64 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.006401, allocations: 108.5 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.007104, allocations: 0.5179 MB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.007267, allocations: 140 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.007311, allocations: 24.84 kB / 331 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.007335, allocations: 4 kB / 331 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.007355, allocations: 34.56 kB / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.007357, allocations: 0 / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001875/0.007544, allocations: 97.58 kB / 331.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.007573, allocations: 55.39 kB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.007678, allocations: 182.4 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.007694, allocations: 33.64 kB / 331.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.007767, allocations: 180.3 kB / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.007805, allocations: 59.5 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.007863, allocations: 53.88 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.007955, allocations: 326.8 kB / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.007999, allocations: 27.28 kB / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.008084, allocations: 109.2 kB / 332.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.008245, allocations: 167 kB / 332.3 MB, free: 396 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.008249, allocations: 4 kB / 332.3 MB, free: 392 kB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001839/0.008433, allocations: 160.1 kB / 332.5 MB, free: 224 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.008445, allocations: 4 kB / 332.5 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.00845, allocations: 4 kB / 332.5 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.008463, allocations: 4 kB / 332.5 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.008766, allocations: 95.88 kB / 332.6 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.01004, allocations: 3.553 MB / 336.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01014, allocations: 31.83 kB / 336.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.01016, allocations: 12 kB / 336.2 MB, free: 12.36 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 0.0001146/0.01027, allocations: 132.5 kB / 336.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.0103, allocations: 20.22 kB / 336.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.01052, allocations: 150.5 kB / 336.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.01052, allocations: 4 kB / 336.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01053, allocations: 3.984 kB / 336.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01053, allocations: 0 / 336.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.01069, allocations: 133.7 kB / 336.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.0107, allocations: 3.938 kB / 336.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.01091, allocations: 79.94 kB / 336.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01091, allocations: 0 / 336.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01092, allocations: 11.94 kB / 336.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.01204, allocations: 3.564 MB / 340.3 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01205, allocations: 4.031 kB / 340.3 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.01221, allocations: 241 kB / 340.5 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.01223, allocations: 19.78 kB / 340.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.01225, allocations: 0 / 340.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.01231, allocations: 8 kB / 340.5 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.01235, allocations: 11.97 kB / 340.5 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.01236, allocations: 8 kB / 340.5 MB, free: 7.777 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.353e-05/0.01239, allocations: 41.86 kB / 340.6 MB, free: 7.734 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01239, allocations: 0 / 340.6 MB, free: 7.734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01263, allocations: 91.72 kB / 340.7 MB, free: 7.645 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.000174/0.01281, allocations: 108.3 kB / 340.8 MB, free: 7.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003261/0.01314, allocations: 165 kB / 340.9 MB, free: 7.367 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.01314, allocations: 0 / 340.9 MB, free: 7.367 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.01333, allocations: 102.3 kB / 341 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.01351, allocations: 43.84 kB / 341.1 MB, free: 7.223 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000699/0.01421, allocations: 483.9 kB / 341.6 MB, free: 6.719 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.377e-05/0.01427, allocations: 107.8 kB / 341.7 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.313e-05/0.01434, allocations: 25.45 kB / 341.7 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.01441, allocations: 71.36 kB / 341.8 MB, free: 6.5 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01441, allocations: 4 kB / 341.8 MB, free: 6.496 MB / 314.7 MB Notification: Performance of Templates: time 0.005596/0.02001, allocations: 4.406 MB / 346.2 MB, free: 2.184 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.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.0786709021776915]