Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 0.9872/0.9872, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002571, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05196/0.05224, allocations: 25.17 MB / 184.1 MB, free: 6.012 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2351/0.2874, allocations: 51.49 MB / 235.5 MB, free: 11.3 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.2877, allocations: 79.78 kB / 235.6 MB, free: 11.26 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34/5.628, allocations: 0.6222 GB / 0.8523 GB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.354e-06/5.628, allocations: 0 / 0.8523 GB, free: 11.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0007256/5.628, allocations: 180 kB / 0.8525 GB, free: 11.3 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2972 * Number of variables: 2972 Notification: Performance of Generate backend data structure: time 0.6306/6.259, allocations: 53.99 MB / 0.9052 GB, free: 28.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/6.259, allocations: 11.06 kB / 0.9052 GB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 13.63/19.89, allocations: 1.233 GB / 2.138 GB, free: 49.34 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1058/19.99, allocations: 28.85 MB / 2.166 GB, free: 44.77 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009927/19.99, allocations: 0.633 MB / 2.167 GB, free: 44.52 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02448/20.02, allocations: 0.8444 MB / 2.168 GB, free: 44.28 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.901/23.92, allocations: 399.5 MB / 2.558 GB, free: 37.74 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007228/23.92, allocations: 73.94 kB / 2.558 GB, free: 37.74 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02208/23.94, allocations: 389.4 kB / 2.558 GB, free: 37.68 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009794/23.95, allocations: 2.442 MB / 2.561 GB, free: 36.77 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864/31.82, allocations: 0.7565 GB / 3.317 GB, free: 43.5 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.274/41.09, allocations: 1.108 GB / 4.425 GB, free: 81.51 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.673/41.76, allocations: 84.37 MB / 4.508 GB, free: 66.52 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003225/41.77, allocations: 1.389 MB / 4.509 GB, free: 64.95 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/41.77, allocations: 94.98 kB / 4.509 GB, free: 64.86 MB / 346.8 MB Notification: Performance of pre-optimization done (n=437): time 9.358e-06/41.77, allocations: 0 / 4.509 GB, free: 64.86 MB / 346.8 MB Notification: Performance of matching and sorting (n=508): time 3.065/44.83, allocations: 299.1 MB / 4.801 GB, free: 86.02 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002887/44.83, allocations: 3.51 MB / 4.805 GB, free: 82.7 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02758/44.86, allocations: 9.057 MB / 4.814 GB, free: 81.81 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 0.006839/44.87, allocations: 106.4 kB / 4.814 GB, free: 81.72 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005702/44.87, allocations: 5.891 MB / 4.82 GB, free: 77.64 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.007871/44.88, allocations: 1.892 MB / 4.821 GB, free: 76.25 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007673/44.89, allocations: 248.3 kB / 4.822 GB, free: 76.06 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.001266/44.89, allocations: 0.8379 MB / 4.822 GB, free: 75.52 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.882/45.77, allocations: 79.83 MB / 4.9 GB, free: 85.29 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.866/46.64, allocations: 86.55 MB / 4.985 GB, free: 76.04 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.5604/47.2, allocations: 66.78 MB / 5.05 GB, free: 75.97 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003978/47.2, allocations: 67.31 kB / 5.05 GB, free: 75.97 MB / 346.8 MB Notification: Performance of matching and sorting (n=1606) (initialization): time 1.842/49.04, allocations: 169.3 MB / 5.215 GB, free: 70.9 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.00026/49.04, allocations: 105.8 kB / 5.216 GB, free: 70.9 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2865/49.33, allocations: 39.84 MB / 5.255 GB, free: 70.7 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08755/49.42, allocations: 16.66 MB / 5.271 GB, free: 68.92 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.55/49.97, allocations: 33.71 MB / 5.304 GB, free: 68.96 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0866/50.05, allocations: 35.45 MB / 5.338 GB, free: 60.02 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2823/50.33, allocations: 30.28 MB / 5.368 GB, free: 59.83 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009496/50.34, allocations: 1.576 MB / 5.369 GB, free: 59.64 MB / 346.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1065 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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 (1460): * Single equations (assignments): 1447 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.02313/50.37, allocations: 4.184 MB / 5.374 GB, free: 57.98 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008307/50.38, allocations: 0.8107 MB / 5.374 GB, free: 57.98 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2353/50.61, allocations: 30.55 MB / 5.404 GB, free: 47.04 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4805/51.09, allocations: 28.27 MB / 5.432 GB, free: 72.23 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001094/51.09, allocations: 23.02 kB / 5.432 GB, free: 72.23 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001507/51.09, allocations: 25.42 kB / 5.432 GB, free: 72.23 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.276/52.37, allocations: 152.6 MB / 5.581 GB, free: 72.36 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001423/52.37, allocations: 15.19 kB / 5.581 GB, free: 72.36 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2985/52.67, allocations: 31.62 MB / 5.612 GB, free: 58.78 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02131/52.69, allocations: 3.53 MB / 5.615 GB, free: 55.88 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00624/52.69, allocations: 0.9144 MB / 5.616 GB, free: 55.12 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.302/53, allocations: 22.28 MB / 5.638 GB, free: 67.64 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002565/53, allocations: 3.013 MB / 5.641 GB, free: 64.93 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.445/55.45, allocations: 235 MB / 5.87 GB, free: 68.95 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.02195/55.47, allocations: 5.109 MB / 5.875 GB, free: 68.85 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01057/55.48, allocations: 123.1 kB / 5.875 GB, free: 68.85 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2725/55.75, allocations: 29.61 MB / 5.904 GB, free: 68.85 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002317/55.75, allocations: 389 kB / 5.905 GB, free: 68.85 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006672/55.76, allocations: 0.9703 MB / 5.906 GB, free: 68.85 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0189/55.78, allocations: 5.786 MB / 5.911 GB, free: 68.6 MB / 346.8 MB Notification: Performance of sort global known variables: time 1.032e-06/55.78, allocations: 0 / 5.911 GB, free: 68.6 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.03397/55.81, allocations: 4.016 MB / 5.915 GB, free: 68.59 MB / 346.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 65 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],rotor1D.phi,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],rotor1D.rotorWith3DEffects.w,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.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 (402): * Single equations (assignments): 392 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 34} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005831/55.82, allocations: 290.9 kB / 5.915 GB, free: 68.5 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 1.487/57.31, allocations: 163.8 MB / 6.075 GB, free: 53.55 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 2.342e-05/57.31, allocations: 4 kB / 6.075 GB, free: 53.55 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.9811/58.29, allocations: 81.06 MB / 6.154 GB, free: 72.98 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01854/58.31, allocations: 1.003 MB / 6.155 GB, free: 72.95 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.038/59.34, allocations: 111.6 MB / 6.264 GB, free: 64.81 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02091/59.36, allocations: 6.568 MB / 6.271 GB, free: 63.84 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04857/59.41, allocations: 3.264 MB / 6.274 GB, free: 63.5 MB / 346.8 MB Notification: Performance of SimCode: time 1.753e-06/59.41, allocations: 0 / 6.274 GB, free: 63.5 MB / 346.8 MB Notification: Performance of Templates: time 2.608/62.02, allocations: 0.5863 GB / 6.86 GB, free: 82.89 MB / 378.8 MB