Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001061/0.001062, allocations: 180.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.138/1.138, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00153/0.00153, allocations: 118.1 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 11.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07543/0.07579, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2325/0.3083, allocations: 84.81 MB / 439.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004858/0.3089, allocations: 91.84 kB / 440 MB, free: 4.859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1384/0.4473, allocations: 56.74 MB / 496.7 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4474, allocations: 0 / 496.7 MB, free: 14.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.006e-05/0.4475, allocations: 48 kB / 496.7 MB, free: 14.19 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.005603/0.4531, allocations: 2.648 MB / 499.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4531, allocations: 8.031 kB / 499.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007701/0.4608, allocations: 1.974 MB / 0.4896 GB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008508/0.4694, allocations: 3.29 MB / 0.4928 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.4696, allocations: 176.6 kB / 0.493 GB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007725/0.4703, allocations: 231.8 kB / 0.4932 GB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/0.4813, allocations: 6.796 MB / 0.4999 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.28e-05/0.4814, allocations: 39.62 kB / 0.4999 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003915/0.4818, allocations: 127.9 kB / 0.5 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009698/0.4828, allocations: 0.7149 MB / 0.5007 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009611/0.4924, allocations: 5.84 MB / 0.5064 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1787/0.6711, allocations: 33.28 MB / 0.5389 GB, free: 72.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/0.675, allocations: 2.294 MB / 0.5412 GB, free: 72.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.362e-05/0.6752, allocations: 18.91 kB / 0.5412 GB, free: 72.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6752, allocations: 48.41 kB / 0.5412 GB, free: 71.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 3.778e-06/0.6752, allocations: 0 / 0.5412 GB, free: 71.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.02072/0.6959, allocations: 8.715 MB / 0.5497 GB, free: 69.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.696, allocations: 144.8 kB / 0.5499 GB, free: 69.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005985/0.702, allocations: 2.531 MB / 0.5523 GB, free: 69.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002928/0.7024, allocations: 38.23 kB / 0.5524 GB, free: 69.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.704, allocations: 2.065 MB / 0.5544 GB, free: 68.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000642/0.7047, allocations: 433.1 kB / 0.5548 GB, free: 68.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004961/0.7052, allocations: 85.75 kB / 0.5549 GB, free: 68.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004608/0.7057, allocations: 499.3 kB / 0.5554 GB, free: 67.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/0.7086, allocations: 1.415 MB / 0.5568 GB, free: 67.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004381/0.713, allocations: 4.186 MB / 0.5608 GB, free: 64.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004207/0.7172, allocations: 2.389 MB / 0.5632 GB, free: 64.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000179/0.7174, allocations: 30.41 kB / 0.5632 GB, free: 64.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01425/0.7317, allocations: 6.06 MB / 0.5691 GB, free: 62.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.7319, allocations: 52.05 kB / 0.5692 GB, free: 62.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/0.7321, allocations: 106.5 kB / 0.5693 GB, free: 62.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/0.7344, allocations: 0.8082 MB / 0.5701 GB, free: 62.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/0.7378, allocations: 0.9923 MB / 0.571 GB, free: 62.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004811/0.7426, allocations: 4.198 MB / 0.5751 GB, free: 60.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/0.7465, allocations: 281.9 kB / 0.5754 GB, free: 60.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000799/0.7473, allocations: 276.9 kB / 0.5757 GB, free: 60.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 524 * Array equations: 3 * 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.002938/0.7502, allocations: 1.364 MB / 0.577 GB, free: 59.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/0.7509, allocations: 233.6 kB / 0.5772 GB, free: 59.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.7545, allocations: 1.845 MB / 0.579 GB, free: 58.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.7545, allocations: 14.09 kB / 0.579 GB, free: 58.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.7546, allocations: 3.625 kB / 0.579 GB, free: 58.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.7546, allocations: 7.312 kB / 0.579 GB, free: 58.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008565/0.7631, allocations: 4.809 MB / 0.5837 GB, free: 56.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.7632, allocations: 5.844 kB / 0.5837 GB, free: 56.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.7638, allocations: 130.7 kB / 0.5839 GB, free: 56.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.7656, allocations: 0.6466 MB / 0.5845 GB, free: 56.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.7657, allocations: 19.52 kB / 0.5845 GB, free: 56.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/0.7698, allocations: 3.735 MB / 0.5882 GB, free: 54.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.7699, allocations: 1.188 kB / 0.5882 GB, free: 54.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005072/0.7749, allocations: 3.777 MB / 0.5919 GB, free: 53.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.7762, allocations: 436.6 kB / 0.5923 GB, free: 52.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/0.7768, allocations: 22.2 kB / 0.5923 GB, free: 52.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.778, allocations: 70.91 kB / 0.5924 GB, free: 52.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.7781, allocations: 60.34 kB / 0.5924 GB, free: 52.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.7782, allocations: 29.91 kB / 0.5924 GB, free: 52.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003064/0.7813, allocations: 1.765 MB / 0.5942 GB, free: 52.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.7813, allocations: 4 kB / 0.5942 GB, free: 52.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004269/0.7856, allocations: 0.6446 MB / 0.5948 GB, free: 52.22 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 3 * 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.0004133/0.786, allocations: 147 kB / 0.5949 GB, free: 52.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004995/0.791, allocations: 3.406 MB / 0.5983 GB, free: 50.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.791, allocations: 0 / 0.5983 GB, free: 50.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.7921, allocations: 0.9297 MB / 0.5992 GB, free: 50.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.7936, allocations: 237.1 kB / 0.5994 GB, free: 50.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009448/0.8031, allocations: 6.374 MB / 0.6056 GB, free: 44.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/0.8055, allocations: 2.244 MB / 0.6078 GB, free: 42.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003243/0.8088, allocations: 1.385 MB / 0.6092 GB, free: 41.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/0.8093, allocations: 164.4 kB / 0.6093 GB, free: 41.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8093, allocations: 0 / 0.6093 GB, free: 41.64 MB / 394.7 MB Notification: Performance of Templates: time 0.03688/0.8462, allocations: 21.54 MB / 0.6304 GB, free: 22.45 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)