Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009879/0.0009879, allocations: 164.4 kB / 24.91 MB, free: 8.734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9534/0.9534, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2442/0.2442, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|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,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|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,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.553e-05, allocations: 2.312 kB / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002221/0.002236, allocations: 2.065 MB / 328 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.003359, allocations: 0.9128 MB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.003444, allocations: 4 kB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.003724, allocations: 63.59 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.004052, allocations: 139.2 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.004283, allocations: 95.62 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.004629, allocations: 409.9 kB / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.028e-05/0.00469, allocations: 18.89 kB / 329.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.004947, allocations: 199.2 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.005133, allocations: 167.4 kB / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.005157, allocations: 12 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.005309, allocations: 79.81 kB / 330.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.534e-05/0.005394, allocations: 91.56 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.005475, allocations: 107.5 kB / 330.3 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.005809, allocations: 366.5 kB / 330.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.005811, allocations: 3.984 kB / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005812, allocations: 0 / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005816, allocations: 4 kB / 330.7 MB, free: 2.402 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0005939/0.00641, allocations: 0.5557 MB / 331.2 MB, free: 1.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.006442, allocations: 8.031 kB / 331.2 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.006508, allocations: 56.89 kB / 331.3 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.006689, allocations: 189.2 kB / 331.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.006707, allocations: 25.38 kB / 331.5 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.006744, allocations: 40.36 kB / 331.5 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.00705, allocations: 310.5 kB / 331.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.007059, allocations: 192 / 331.8 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.007083, allocations: 20.38 kB / 331.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.007129, allocations: 40.91 kB / 331.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.007326, allocations: 174.9 kB / 332.1 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.008109, allocations: 0.6991 MB / 332.8 MB, free: 232 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.008296, allocations: 169.5 kB / 332.9 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.008347, allocations: 32.84 kB / 332.9 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.00837, allocations: 4 kB / 333 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.008403, allocations: 38.56 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.008404, allocations: 3.938 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002366/0.008641, allocations: 130.6 kB / 333.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.00867, allocations: 51.41 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.008743, allocations: 146.6 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.00876, allocations: 25.7 kB / 333.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.008831, allocations: 208.4 kB / 333.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.008881, allocations: 79.31 kB / 333.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.008937, allocations: 45.67 kB / 333.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.00902, allocations: 330.7 kB / 334 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.009063, allocations: 18.81 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.392e-05/0.009107, allocations: 27.17 kB / 334 MB, free: 14.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.009215, allocations: 82.38 kB / 334.1 MB, free: 14.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.009218, allocations: 7.938 kB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000147/0.009365, allocations: 104.2 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.009376, allocations: 4 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.00938, allocations: 0 / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.009393, allocations: 3.938 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.009766, allocations: 115.9 kB / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.01147, allocations: 5.343 MB / 339.7 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.01153, allocations: 15.89 kB / 339.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.01155, allocations: 8.406 kB / 339.7 MB, free: 8.945 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.651e-05/0.01165, allocations: 136.5 kB / 339.8 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.01168, allocations: 15.98 kB / 339.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.01192, allocations: 183.3 kB / 340 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01193, allocations: 7.938 kB / 340 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01193, allocations: 0 / 340 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01193, allocations: 3.984 kB / 340.1 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.01211, allocations: 165.6 kB / 340.2 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01211, allocations: 0 / 340.2 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.01243, allocations: 111.9 kB / 340.3 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01243, allocations: 4 kB / 340.3 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.01244, allocations: 11.98 kB / 340.3 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.01407, allocations: 5.35 MB / 345.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01407, allocations: 0 / 345.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.01425, allocations: 255.8 kB / 345.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.01427, allocations: 23.83 kB / 346 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.01429, allocations: 7.938 kB / 346 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.01436, allocations: 12 kB / 346 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.01441, allocations: 24.08 kB / 346 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.01442, allocations: 11.94 kB / 346 MB, free: 2.363 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.057e-05/0.01446, allocations: 39.25 kB / 346.1 MB, free: 2.324 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01446, allocations: 0 / 346.1 MB, free: 2.324 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.01468, allocations: 123.6 kB / 346.2 MB, free: 2.203 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001657/0.01484, allocations: 124.2 kB / 346.3 MB, free: 2.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004234/0.01526, allocations: 180.6 kB / 346.5 MB, free: 1.891 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01527, allocations: 0 / 346.5 MB, free: 1.891 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.01558, allocations: 147.1 kB / 346.6 MB, free: 1.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.01576, allocations: 27.97 kB / 346.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008795/0.01664, allocations: 0.659 MB / 347.3 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.006e-05/0.01672, allocations: 135.8 kB / 347.4 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.01678, allocations: 17.48 kB / 347.5 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.799e-05/0.01687, allocations: 83.28 kB / 347.5 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01687, allocations: 3.938 kB / 347.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of Templates: time 0.006778/0.02364, allocations: 5.399 MB / 352.9 MB, free: 11.47 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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/HelicalPipe/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.1026528920046985]