Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7354/0.7354, allocations: 110.8 MB / 118 MB, free: 14.59 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001727/0.001727, allocations: 156 kB / 143.7 MB, free: 4.922 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/6.031e-06, allocations: 0 / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03599/0.03601, allocations: 25.17 MB / 198.6 MB, free: 13.95 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.2096, allocations: 43.97 MB / 242.6 MB, free: 3.789 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.2098, allocations: 74.3 kB / 242.7 MB, free: 3.777 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.5449/0.7548, allocations: 123.3 MB / 365.9 MB, free: 52.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001458/0.755, allocations: 64 kB / 366 MB, free: 52.85 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01826/0.7733, allocations: 4.972 MB / 371 MB, free: 47.82 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.7733, allocations: 8.031 kB / 371 MB, free: 47.81 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09669/0.87, allocations: 16.85 MB / 387.8 MB, free: 30.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.8835, allocations: 4.894 MB / 392.7 MB, free: 26.02 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.8839, allocations: 132 kB / 392.8 MB, free: 25.89 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003721/0.8876, allocations: 203.9 kB / 393 MB, free: 25.69 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01959/0.9072, allocations: 12.34 MB / 405.4 MB, free: 13.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1023/1.01, allocations: 13.38 MB / 418.7 MB, free: 60.27 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/1.01, allocations: 26.53 kB / 418.8 MB, free: 60.27 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/1.011, allocations: 14.97 kB / 418.8 MB, free: 60.27 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03432/1.045, allocations: 6.672 MB / 425.5 MB, free: 60.27 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3712/1.416, allocations: 87.12 MB / 0.5006 GB, free: 12.95 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004172/1.421, allocations: 3.8 MB / 0.5043 GB, free: 8.949 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/1.424, allocations: 2.439 MB / 0.5067 GB, free: 6.48 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1494/1.573, allocations: 17.68 MB / 0.5239 GB, free: 60.27 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/1.573, allocations: 50.94 kB / 0.524 GB, free: 60.23 MB / 234.7 MB Notification: Performance of pre-optimization done (n=155): time 5.29e-06/1.573, allocations: 2.219 kB / 0.524 GB, free: 60.23 MB / 234.7 MB Notification: Performance of matching and sorting (n=164): time 0.01972/1.593, allocations: 11.24 MB / 0.5349 GB, free: 58.29 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/1.593, allocations: 142.2 kB / 0.5351 GB, free: 58.13 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/1.597, allocations: 2.941 MB / 0.538 GB, free: 57.82 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003237/1.597, allocations: 29.53 kB / 0.538 GB, free: 57.79 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/1.599, allocations: 2.794 MB / 0.5407 GB, free: 56.07 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006495/1.599, allocations: 0.6253 MB / 0.5413 GB, free: 55.71 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/1.6, allocations: 0 / 0.5413 GB, free: 55.71 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000317/1.6, allocations: 0.6106 MB / 0.5419 GB, free: 55.39 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/1.603, allocations: 2.801 MB / 0.5447 GB, free: 55.33 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005076/1.608, allocations: 6.586 MB / 0.5511 GB, free: 49.28 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004254/1.613, allocations: 3.55 MB / 0.5546 GB, free: 48.29 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.525e-05/1.613, allocations: 38.19 kB / 0.5546 GB, free: 48.29 MB / 234.7 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01562/1.628, allocations: 8.573 MB / 0.563 GB, free: 45.68 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/1.628, allocations: 15.42 kB / 0.563 GB, free: 45.68 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002761/1.629, allocations: 133.2 kB / 0.5631 GB, free: 45.68 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/1.631, allocations: 0.7982 MB / 0.5639 GB, free: 45.59 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005254/1.636, allocations: 1.446 MB / 0.5653 GB, free: 44.81 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/1.641, allocations: 3.947 MB / 0.5691 GB, free: 41.28 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/1.653, allocations: 1.223 MB / 0.5703 GB, free: 40.46 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/1.654, allocations: 0.546 MB / 0.5709 GB, free: 39.97 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 731 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002323/1.657, allocations: 421.5 kB / 0.5713 GB, free: 39.55 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.658, allocations: 276.3 kB / 0.5715 GB, free: 39.28 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/1.662, allocations: 2.233 MB / 0.5737 GB, free: 37.55 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0118/1.674, allocations: 1.887 MB / 0.5756 GB, free: 36.38 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.021e-05/1.674, allocations: 4 kB / 0.5756 GB, free: 36.37 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.928e-05/1.674, allocations: 6.703 kB / 0.5756 GB, free: 36.37 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04768/1.722, allocations: 12.02 MB / 0.5873 GB, free: 27.93 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.722, allocations: 4 kB / 0.5873 GB, free: 27.92 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.723, allocations: 210 kB / 0.5875 GB, free: 27.75 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/1.725, allocations: 0.5864 MB / 0.5881 GB, free: 27.37 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000412/1.726, allocations: 72.67 kB / 0.5882 GB, free: 27.33 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/1.73, allocations: 3.458 MB / 0.5915 GB, free: 24.21 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.73, allocations: 0 / 0.5915 GB, free: 24.21 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009206/1.739, allocations: 7.492 MB / 0.5989 GB, free: 17.02 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.741, allocations: 0.8251 MB / 0.5997 GB, free: 16.18 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009496/1.742, allocations: 4 kB / 0.5997 GB, free: 16.17 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008692/1.75, allocations: 1.01 MB / 0.6006 GB, free: 15.16 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/1.751, allocations: 77.36 kB / 0.6007 GB, free: 15.09 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003537/1.751, allocations: 195.3 kB / 0.6009 GB, free: 14.9 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.003014/1.754, allocations: 1.949 MB / 0.6028 GB, free: 12.95 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.005444/1.76, allocations: 0.8566 MB / 0.6036 GB, free: 12.1 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 102 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004983/1.76, allocations: 128.3 kB / 0.6038 GB, free: 11.97 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.105/1.865, allocations: 7.054 MB / 0.6107 GB, free: 53.59 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.865, allocations: 0 / 0.6107 GB, free: 53.59 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01117/1.876, allocations: 2.894 MB / 0.6135 GB, free: 53.49 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/1.879, allocations: 223.4 kB / 0.6137 GB, free: 53.48 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.894, allocations: 7.205 MB / 0.6207 GB, free: 52.29 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006152/1.9, allocations: 3.757 MB / 0.6244 GB, free: 51.51 MB / 234.7 MB Notification: Performance of SimCode: time 1.373e-06/1.9, allocations: 0 / 0.6244 GB, free: 51.51 MB / 234.7 MB Notification: Performance of Templates: time 0.08974/1.99, allocations: 57.86 MB / 0.6809 GB, free: 24.06 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)