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.001546/0.001546, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.621/1.621, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001706/0.001706, allocations: 115.3 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.646e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09502, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3127/0.4078, allocations: 84.06 MB / 426.6 MB, free: 11.98 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.4081, allocations: 85.58 kB / 426.7 MB, free: 11.93 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1536/0.5617, allocations: 55.89 MB / 482.6 MB, free: 11.19 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5618, allocations: 0 / 482.6 MB, free: 11.19 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0001234/0.5619, allocations: 55.94 kB / 482.7 MB, free: 11.13 MB / 363.1 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.006927/0.5688, allocations: 2.522 MB / 485.2 MB, free: 8.555 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5689, allocations: 8.031 kB / 485.2 MB, free: 8.547 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009177/0.5781, allocations: 1.966 MB / 487.2 MB, free: 6.574 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008719/0.5868, allocations: 3.27 MB / 490.4 MB, free: 3.258 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.587, allocations: 72 kB / 490.5 MB, free: 3.188 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/0.5882, allocations: 147.8 kB / 490.6 MB, free: 3.043 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007212/0.5954, allocations: 3.909 MB / 494.5 MB, free: 15.13 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.6075, allocations: 6.171 MB / 0.489 GB, free: 8.164 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002238/0.6078, allocations: 43.62 kB / 0.489 GB, free: 8.121 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/0.6091, allocations: 24 kB / 0.489 GB, free: 8.098 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/0.6105, allocations: 0.7189 MB / 0.4898 GB, free: 7.375 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2307/0.8412, allocations: 31.95 MB / 0.521 GB, free: 70.49 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.8434, allocations: 2.016 MB / 0.5229 GB, free: 69.83 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/0.8444, allocations: 0.9912 MB / 0.5239 GB, free: 69.8 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.8444, allocations: 16.81 kB / 0.5239 GB, free: 69.8 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.8445, allocations: 41.69 kB / 0.5239 GB, free: 69.76 MB / 395.1 MB Notification: Performance of pre-optimization done (n=98): time 3.456e-06/0.8445, allocations: 0 / 0.5239 GB, free: 69.76 MB / 395.1 MB Notification: Performance of matching and sorting (n=106): time 0.01269/0.8572, allocations: 8.195 MB / 0.532 GB, free: 67.98 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.8572, allocations: 136.1 kB / 0.5321 GB, free: 67.82 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.8602, allocations: 2.15 MB / 0.5342 GB, free: 67.54 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.8604, allocations: 29.61 kB / 0.5342 GB, free: 67.51 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008742/0.8613, allocations: 2.121 MB / 0.5363 GB, free: 66.4 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.8616, allocations: 422.6 kB / 0.5367 GB, free: 66.18 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.8618, allocations: 0 / 0.5367 GB, free: 66.18 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.862, allocations: 0.5413 MB / 0.5372 GB, free: 65.86 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.8635, allocations: 1.307 MB / 0.5385 GB, free: 65.84 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.8659, allocations: 4.209 MB / 0.5426 GB, free: 62.04 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/0.8684, allocations: 2.345 MB / 0.5449 GB, free: 62.03 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.376e-05/0.8684, allocations: 31.44 kB / 0.5449 GB, free: 62.03 MB / 395.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008385/0.8768, allocations: 5.485 MB / 0.5503 GB, free: 61.6 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/0.8769, allocations: 49.59 kB / 0.5503 GB, free: 61.6 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002742/0.8772, allocations: 105.1 kB / 0.5504 GB, free: 61.6 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.8795, allocations: 0.7993 MB / 0.5512 GB, free: 61.59 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/0.8826, allocations: 1.037 MB / 0.5522 GB, free: 61.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004754/0.8873, allocations: 3.964 MB / 0.5561 GB, free: 59.86 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/0.8907, allocations: 204.2 kB / 0.5563 GB, free: 59.85 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006784/0.8914, allocations: 289.8 kB / 0.5566 GB, free: 59.81 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * 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 (552): * Single equations (assignments): 548 * 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.00058/0.892, allocations: 357.1 kB / 0.5569 GB, free: 59.51 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.8923, allocations: 215 kB / 0.5571 GB, free: 59.39 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.8957, allocations: 1.773 MB / 0.5588 GB, free: 58.89 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.8958, allocations: 14.66 kB / 0.5589 GB, free: 58.89 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.8958, allocations: 7.672 kB / 0.5589 GB, free: 58.89 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.8958, allocations: 7.516 kB / 0.5589 GB, free: 58.88 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00838/0.9042, allocations: 4.307 MB / 0.5631 GB, free: 57.34 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.9042, allocations: 6.641 kB / 0.5631 GB, free: 57.34 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.9049, allocations: 136.1 kB / 0.5632 GB, free: 57.33 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/0.9068, allocations: 0.6368 MB / 0.5638 GB, free: 57.26 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-05/0.9069, allocations: 5.688 kB / 0.5638 GB, free: 57.26 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004512/0.9114, allocations: 3.502 MB / 0.5673 GB, free: 55.34 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9115, allocations: 1.25 kB / 0.5673 GB, free: 55.34 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006002/0.9175, allocations: 3.67 MB / 0.5708 GB, free: 53.84 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.9186, allocations: 425.8 kB / 0.5712 GB, free: 53.56 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.9188, allocations: 3.891 kB / 0.5713 GB, free: 53.56 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.9199, allocations: 58.31 kB / 0.5713 GB, free: 53.56 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.9201, allocations: 60.69 kB / 0.5714 GB, free: 53.55 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/0.9202, allocations: 28.77 kB / 0.5714 GB, free: 53.55 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002962/0.9231, allocations: 1.416 MB / 0.5728 GB, free: 53 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.9232, allocations: 3.656 kB / 0.5728 GB, free: 53 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004194/0.9274, allocations: 0.5507 MB / 0.5733 GB, free: 53 MB / 395.1 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 (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.0004545/0.9278, allocations: 133.6 kB / 0.5734 GB, free: 52.89 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004695/0.9325, allocations: 3.169 MB / 0.5765 GB, free: 51.8 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9326, allocations: 0 / 0.5765 GB, free: 51.8 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009535/0.9335, allocations: 0.8925 MB / 0.5774 GB, free: 51.43 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.9346, allocations: 199.3 kB / 0.5776 GB, free: 51.33 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00707/0.9416, allocations: 4.353 MB / 0.5819 GB, free: 49.73 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/0.9434, allocations: 2.233 MB / 0.584 GB, free: 48.7 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.00308/0.9465, allocations: 1.435 MB / 0.5854 GB, free: 48.59 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.9469, allocations: 153.7 kB / 0.5856 GB, free: 48.58 MB / 395.1 MB Notification: Performance of SimCode: time 1.132e-06/0.9469, allocations: 0 / 0.5856 GB, free: 48.58 MB / 395.1 MB Notification: Performance of Templates: time 0.03053/0.9774, allocations: 19.01 MB / 0.6041 GB, free: 41.02 MB / 395.1 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)