Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.094/0.09437, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.5421, allocations: 84.79 MB / 393.8 MB, free: 15.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.5425, allocations: 94.97 kB / 393.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2454/0.7879, allocations: 57.23 MB / 451.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.788, allocations: 0 / 451.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001478/0.7881, allocations: 47.67 kB / 451.2 MB, free: 1.449 MB / 330.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.01086/0.799, allocations: 2.655 MB / 453.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.7991, allocations: 12.03 kB / 453.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.8152, allocations: 1.965 MB / 455.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/0.8288, allocations: 3.282 MB / 459.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.8291, allocations: 183.3 kB / 459.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.8307, allocations: 233.7 kB / 459.5 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.8504, allocations: 6.799 MB / 466.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.8507, allocations: 43.62 kB / 466.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008755/0.8516, allocations: 118.8 kB / 466.5 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001738/0.8533, allocations: 0.7148 MB / 467.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.8711, allocations: 5.84 MB / 473 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0524/0.9236, allocations: 33.3 MB / 0.4945 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007801/0.9315, allocations: 2.285 MB / 0.4967 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.9316, allocations: 12.77 kB / 0.4967 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/0.9317, allocations: 54.38 kB / 0.4968 GB, free: 7.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 5.08e-06/0.9317, allocations: 0 / 0.4968 GB, free: 7.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.03775/0.9694, allocations: 8.914 MB / 0.5055 GB, free: 14.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.9696, allocations: 144.4 kB / 0.5056 GB, free: 13.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006947/0.9766, allocations: 2.831 MB / 0.5084 GB, free: 11.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002963/0.9769, allocations: 37.89 kB / 0.5084 GB, free: 11.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002384/0.9793, allocations: 2.067 MB / 0.5104 GB, free: 9.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008545/0.9802, allocations: 447.7 kB / 0.5109 GB, free: 8.582 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005987/0.9808, allocations: 84 kB / 0.5109 GB, free: 8.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000474/0.9813, allocations: 491.5 kB / 0.5114 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004555/0.9859, allocations: 1.41 MB / 0.5128 GB, free: 6.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007652/0.9936, allocations: 4.194 MB / 0.5169 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2803/1.274, allocations: 2.38 MB / 0.5192 GB, free: 109.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-05/1.274, allocations: 31.5 kB / 0.5192 GB, free: 109.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01814/1.292, allocations: 6.06 MB / 0.5252 GB, free: 109.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.756e-05/1.292, allocations: 47.16 kB / 0.5252 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001624/1.293, allocations: 100 kB / 0.5253 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00418/1.297, allocations: 0.804 MB / 0.5261 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006035/1.303, allocations: 0.9976 MB / 0.5271 GB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008857/1.312, allocations: 4.196 MB / 0.5312 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005024/1.317, allocations: 282.1 kB / 0.5314 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009251/1.318, allocations: 274 kB / 0.5317 GB, free: 107.9 MB / 410.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.003377/1.321, allocations: 1.364 MB / 0.533 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005956/1.322, allocations: 233.5 kB / 0.5332 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006304/1.328, allocations: 1.85 MB / 0.535 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-05/1.328, allocations: 17.28 kB / 0.5351 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.328, allocations: 7.328 kB / 0.5351 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/1.328, allocations: 3.281 kB / 0.5351 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/1.343, allocations: 4.793 MB / 0.5397 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/1.343, allocations: 0 / 0.5397 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.344, allocations: 140.6 kB / 0.5399 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003635/1.348, allocations: 0.644 MB / 0.5405 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002394/1.348, allocations: 20.44 kB / 0.5405 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007217/1.355, allocations: 3.728 MB / 0.5442 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.355, allocations: 0 / 0.5442 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00907/1.364, allocations: 3.684 MB / 0.5478 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/1.366, allocations: 450.9 kB / 0.5482 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005636/1.367, allocations: 15.03 kB / 0.5482 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/1.368, allocations: 74.97 kB / 0.5483 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/1.369, allocations: 52.52 kB / 0.5483 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.369, allocations: 38.11 kB / 0.5484 GB, free: 104.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004712/1.373, allocations: 1.765 MB / 0.5501 GB, free: 104 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.373, allocations: 0 / 0.5501 GB, free: 104 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005111/1.379, allocations: 0.6474 MB / 0.5507 GB, free: 103.9 MB / 410.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.0005184/1.379, allocations: 150.2 kB / 0.5509 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008075/1.387, allocations: 3.398 MB / 0.5542 GB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.387, allocations: 2.297 kB / 0.5542 GB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/1.389, allocations: 0.9366 MB / 0.5551 GB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.391, allocations: 230.1 kB / 0.5553 GB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/1.405, allocations: 6.414 MB / 0.5616 GB, free: 98.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003429/1.408, allocations: 2.235 MB / 0.5638 GB, free: 97.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005625/1.414, allocations: 1.397 MB / 0.5651 GB, free: 97.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000761/1.415, allocations: 159 kB / 0.5653 GB, free: 97.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.244e-06/1.415, allocations: 0 / 0.5653 GB, free: 97.82 MB / 410.7 MB Notification: Performance of Templates: time 0.06386/1.479, allocations: 21.58 MB / 0.5864 GB, free: 87.64 MB / 410.7 MB