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.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003642, allocations: 11.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1005, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5347, allocations: 92.87 MB / 401.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.5351, allocations: 97.08 kB / 402 MB, free: 14.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3076/0.8427, allocations: 74.48 MB / 476.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.8427, allocations: 0 / 476.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002293/0.843, allocations: 68 kB / 476.6 MB, free: 11.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.01454/0.8575, allocations: 3.603 MB / 480.2 MB, free: 7.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8576, allocations: 8.031 kB / 480.2 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.8752, allocations: 2.257 MB / 482.4 MB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/0.8912, allocations: 3.912 MB / 486.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004372/0.8917, allocations: 279.2 kB / 486.6 MB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.8938, allocations: 355.9 kB / 487 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03476/0.9286, allocations: 10.36 MB / 497.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/0.9288, allocations: 55.47 kB / 497.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001348/0.9302, allocations: 183.8 kB / 497.6 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00257/0.9328, allocations: 0.9779 MB / 498.5 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03096/0.9638, allocations: 8.648 MB / 0.4953 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3708/1.335, allocations: 44.34 MB / 0.5386 GB, free: 69.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0251/1.36, allocations: 3.572 MB / 0.5421 GB, free: 68.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02494/1.385, allocations: 7.15 MB / 0.5491 GB, free: 66.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.385, allocations: 46.88 kB / 0.5491 GB, free: 66.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.821e-06/1.385, allocations: 0 / 0.5491 GB, free: 66.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.08664/1.472, allocations: 17.13 MB / 0.5658 GB, free: 63.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/1.472, allocations: 143.2 kB / 0.566 GB, free: 63.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007202/1.479, allocations: 3.47 MB / 0.5694 GB, free: 63.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000416/1.479, allocations: 49.52 kB / 0.5694 GB, free: 63.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002262/1.482, allocations: 2.701 MB / 0.5721 GB, free: 61.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009174/1.483, allocations: 0.6118 MB / 0.5727 GB, free: 61.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006059/1.483, allocations: 110.4 kB / 0.5728 GB, free: 61.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003541/1.484, allocations: 0.5351 MB / 0.5733 GB, free: 61.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005175/1.489, allocations: 1.921 MB / 0.5752 GB, free: 61.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007397/1.496, allocations: 5.293 MB / 0.5803 GB, free: 56.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0074/1.504, allocations: 3.11 MB / 0.5834 GB, free: 56.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/1.504, allocations: 32.47 kB / 0.5834 GB, free: 56.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.02515/1.529, allocations: 8.065 MB / 0.5913 GB, free: 53.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.529, allocations: 58.31 kB / 0.5913 GB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/1.529, allocations: 121.8 kB / 0.5914 GB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007001/1.536, allocations: 1.305 MB / 0.5927 GB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007537/1.544, allocations: 1.262 MB / 0.5939 GB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.558, allocations: 6.28 MB / 0.6001 GB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006548/1.565, allocations: 354.9 kB / 0.6004 GB, free: 50.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.566, allocations: 334.9 kB / 0.6007 GB, free: 50.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (665): * Single equations (assignments): 661 * 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,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004762/1.571, allocations: 1.793 MB / 0.6025 GB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000806/1.572, allocations: 295 kB / 0.6028 GB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.584, allocations: 3.307 MB / 0.606 GB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.263e-05/1.584, allocations: 17.22 kB / 0.606 GB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/1.584, allocations: 7.938 kB / 0.606 GB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.771e-05/1.584, allocations: 5.766 kB / 0.606 GB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02455/1.609, allocations: 7.374 MB / 0.6132 GB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/1.609, allocations: 3.938 kB / 0.6132 GB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/1.611, allocations: 232.4 kB / 0.6135 GB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00664/1.618, allocations: 1.119 MB / 0.6145 GB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004107/1.618, allocations: 31.75 kB / 0.6146 GB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/1.632, allocations: 5.92 MB / 0.6204 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.632, allocations: 4.031 kB / 0.6204 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/1.648, allocations: 5.574 MB / 0.6258 GB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.65, allocations: 0.5728 MB / 0.6264 GB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.651, allocations: 27.56 kB / 0.6264 GB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/1.654, allocations: 106.8 kB / 0.6265 GB, free: 31.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005778/1.655, allocations: 83.84 kB / 0.6266 GB, free: 31.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.655, allocations: 44 kB / 0.6266 GB, free: 31.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005557/1.66, allocations: 2.145 MB / 0.6287 GB, free: 30.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.661, allocations: 0 / 0.6287 GB, free: 30.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006378/1.667, allocations: 0.8961 MB / 0.6296 GB, free: 29.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (119): * Single equations (assignments): 115 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007402/1.668, allocations: 178.4 kB / 0.6298 GB, free: 28.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01152/1.679, allocations: 4.689 MB / 0.6343 GB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.679, allocations: 0 / 0.6343 GB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003912/1.683, allocations: 1.495 MB / 0.6358 GB, free: 23.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/1.686, allocations: 321.8 kB / 0.6361 GB, free: 23.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/1.708, allocations: 9.442 MB / 0.6453 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005686/1.714, allocations: 2.892 MB / 0.6481 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007432/1.721, allocations: 1.685 MB / 0.6498 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.722, allocations: 211.4 kB / 0.65 GB, free: 10.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/1.723, allocations: 0 / 0.65 GB, free: 10.3 MB / 410.7 MB Notification: Performance of Templates: time 0.4182/2.141, allocations: 30.94 MB / 0.6802 GB, free: 104.8 MB / 426.7 MB