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.00154/0.00154, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001198/0.001198, allocations: 164.2 kB / 24.91 MB, free: 8.758 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.976/0.976, allocations: 177 MB / 205.2 MB, free: 5.043 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.2856/0.2856, allocations: 34.86 MB / 296.6 MB, free: 472 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.723e-06/1.723e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.942e-05, allocations: 5.406 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003645/0.003675, allocations: 2.1 MB / 328.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.005275, allocations: 0.9245 MB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.005375, allocations: 0 / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.005679, allocations: 71.52 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.006077, allocations: 123.3 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.006373, allocations: 95.58 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.006821, allocations: 417.8 kB / 329.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.442e-05/0.006885, allocations: 18.89 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.007216, allocations: 195.3 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.00747, allocations: 159.4 kB / 330.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.007502, allocations: 12 kB / 330.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.007717, allocations: 75.83 kB / 330.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.00783, allocations: 111.5 kB / 330.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.007938, allocations: 99.58 kB / 330.4 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.008493, allocations: 375 kB / 330.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.008497, allocations: 4 kB / 330.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.008499, allocations: 0 / 330.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.008506, allocations: 0 / 330.7 MB, free: 2.312 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.0006681/0.009175, allocations: 0.548 MB / 331.3 MB, free: 1.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.009205, allocations: 12.03 kB / 331.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.009275, allocations: 60.88 kB / 331.4 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.009453, allocations: 177.3 kB / 331.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.009473, allocations: 33.3 kB / 331.6 MB, free: 1.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.009506, allocations: 36.38 kB / 331.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.009827, allocations: 310.5 kB / 331.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.009838, allocations: 192 / 331.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.00986, allocations: 16.36 kB / 331.9 MB, free: 1.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.009906, allocations: 48.91 kB / 332 MB, free: 1.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.0101, allocations: 158.9 kB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.01093, allocations: 0.7185 MB / 332.8 MB, free: 136 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.01113, allocations: 161.4 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.01118, allocations: 36.83 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.0112, allocations: 8 kB / 333 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.01122, allocations: 34.56 kB / 333.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.01122, allocations: 0 / 333.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002303/0.01145, allocations: 122.7 kB / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.01148, allocations: 59.34 kB / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.01155, allocations: 142.6 kB / 333.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.01156, allocations: 33.7 kB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.01163, allocations: 212.4 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.01167, allocations: 75.31 kB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.01173, allocations: 41.67 kB / 333.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.01179, allocations: 330.7 kB / 334.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/0.01184, allocations: 26.81 kB / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/0.01188, allocations: 23.17 kB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.01199, allocations: 74.44 kB / 334.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01199, allocations: 3.938 kB / 334.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000172/0.01216, allocations: 104.2 kB / 334.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.01218, allocations: 4 kB / 334.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.01218, allocations: 0 / 334.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01219, allocations: 11.94 kB / 334.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.01275, allocations: 115.9 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.01481, allocations: 5.347 MB / 339.8 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.178e-05/0.0149, allocations: 15.89 kB / 339.8 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.01492, allocations: 7.984 kB / 339.8 MB, free: 8.855 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 0.0001121/0.01504, allocations: 124.6 kB / 339.9 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.01508, allocations: 19.92 kB / 339.9 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.01543, allocations: 183 kB / 340.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.01544, allocations: 11.94 kB / 340.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01544, allocations: 3.938 kB / 340.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01544, allocations: 0 / 340.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.01571, allocations: 169.7 kB / 340.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01571, allocations: 0 / 340.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/0.01621, allocations: 115.8 kB / 340.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.01622, allocations: 4 kB / 340.4 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.01624, allocations: 4 kB / 340.4 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.01829, allocations: 5.354 MB / 345.8 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.01829, allocations: 4 kB / 345.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.01856, allocations: 255.7 kB / 346 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.01858, allocations: 23.83 kB / 346.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.01861, allocations: 4 kB / 346.1 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.01873, allocations: 8 kB / 346.1 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.01879, allocations: 19.91 kB / 346.1 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.01881, allocations: 7.984 kB / 346.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.872e-05/0.01885, allocations: 35.67 kB / 346.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01885, allocations: 0 / 346.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003539/0.0192, allocations: 127.5 kB / 346.3 MB, free: 2.129 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.0002075/0.01941, allocations: 128.2 kB / 346.4 MB, free: 1.992 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006302/0.02004, allocations: 176.6 kB / 346.5 MB, free: 1.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.02004, allocations: 0 / 346.5 MB, free: 1.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.02053, allocations: 151.1 kB / 346.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.02077, allocations: 19.98 kB / 346.7 MB, free: 1.648 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.02196, allocations: 0.6666 MB / 347.4 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.02206, allocations: 127.9 kB / 347.5 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.064e-05/0.02215, allocations: 17.48 kB / 347.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.02228, allocations: 83.28 kB / 347.6 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02228, allocations: 0 / 347.6 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of Templates: time 0.007268/0.02955, allocations: 5.409 MB / 353 MB, free: 11.39 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 -s gbode -gbm=radauIIA3 -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.269253096077591]