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.Rotational3DEffects.GyroscopicEffects.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.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.0951, allocations: 44.51 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4599/0.555, allocations: 92.58 MB / 401.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.5554, allocations: 97.28 kB / 401.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9107/1.466, allocations: 148.6 MB / 0.5374 GB, free: 65.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.817e-06/1.466, allocations: 0 / 0.5374 GB, free: 65.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007249/1.467, allocations: 146.2 kB / 0.5376 GB, free: 65.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.06203/1.529, allocations: 9.468 MB / 0.5468 GB, free: 62.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.529, allocations: 15 kB / 0.5468 GB, free: 62.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1169/1.646, allocations: 16.67 MB / 0.5631 GB, free: 61.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1042/1.75, allocations: 13.19 MB / 0.576 GB, free: 60.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006459/1.751, allocations: 498.4 kB / 0.5764 GB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003854/1.755, allocations: 0.6723 MB / 0.5771 GB, free: 60.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05643/1.811, allocations: 16.88 MB / 0.5936 GB, free: 56.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005662/1.812, allocations: 105.3 kB / 0.5937 GB, free: 56.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003022/1.815, allocations: 321 kB / 0.594 GB, free: 56.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003438/1.818, allocations: 1.478 MB / 0.5954 GB, free: 56.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04539/1.864, allocations: 13.66 MB / 0.6088 GB, free: 54.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1211/1.985, allocations: 76.76 MB / 0.6837 GB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3373/2.322, allocations: 8.557 MB / 0.6921 GB, free: 74.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002826/2.325, allocations: 1.347 MB / 0.6934 GB, free: 73.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.202e-05/2.325, allocations: 72.77 kB / 0.6935 GB, free: 73.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 7.434e-06/2.325, allocations: 0 / 0.6935 GB, free: 73.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=354): time 0.4549/2.78, allocations: 53.12 MB / 0.7454 GB, free: 66.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004201/2.784, allocations: 3.269 MB / 0.7486 GB, free: 63.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02612/2.811, allocations: 7.392 MB / 0.7558 GB, free: 62.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00145/2.812, allocations: 75.97 kB / 0.7558 GB, free: 62.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008062/2.82, allocations: 5.203 MB / 0.7609 GB, free: 59.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003537/2.824, allocations: 1.34 MB / 0.7622 GB, free: 58.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002612/2.826, allocations: 193.3 kB / 0.7624 GB, free: 58.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001586/2.828, allocations: 0.7091 MB / 0.7631 GB, free: 58.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.016/2.844, allocations: 4.579 MB / 0.7676 GB, free: 56.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02183/2.866, allocations: 9.855 MB / 0.7772 GB, free: 48.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0229/2.889, allocations: 6.567 MB / 0.7836 GB, free: 45.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002631/2.889, allocations: 57.2 kB / 0.7837 GB, free: 45.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.1716/3.061, allocations: 31.6 MB / 0.8145 GB, free: 25.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002016/3.061, allocations: 84 kB / 0.8146 GB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09943/3.161, allocations: 20.68 MB / 0.8348 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.5178/3.679, allocations: 16.59 MB / 0.851 GB, free: 59.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01875/3.697, allocations: 2.119 MB / 0.8531 GB, free: 59.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.12/3.817, allocations: 35.34 MB / 0.8876 GB, free: 54.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0206/3.838, allocations: 0.7802 MB / 0.8883 GB, free: 54.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003598/3.842, allocations: 0.5618 MB / 0.8889 GB, free: 54.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * 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 (1091): * Single equations (assignments): 1078 * 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.01376/3.856, allocations: 3.432 MB / 0.8922 GB, free: 54.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003125/3.859, allocations: 0.6763 MB / 0.8929 GB, free: 54.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05493/3.914, allocations: 10.19 MB / 0.9029 GB, free: 51.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04496/3.959, allocations: 8.886 MB / 0.9115 GB, free: 48.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.254e-05/3.959, allocations: 18.44 kB / 0.9116 GB, free: 48.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.701e-05/3.959, allocations: 14.06 kB / 0.9116 GB, free: 48.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07754/4.036, allocations: 23.63 MB / 0.9346 GB, free: 39.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.763e-05/4.037, allocations: 3.906 kB / 0.9346 GB, free: 39.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005741/4.042, allocations: 0.573 MB / 0.9352 GB, free: 39.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02131/4.064, allocations: 3.604 MB / 0.9387 GB, free: 38.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001647/4.065, allocations: 97.44 kB / 0.9388 GB, free: 38.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07122/4.137, allocations: 22.75 MB / 0.961 GB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003514/4.14, allocations: 2.999 MB / 0.964 GB, free: 17.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06267/4.203, allocations: 15.36 MB / 0.979 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008198/4.211, allocations: 1.377 MB / 0.9803 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004056/4.215, allocations: 75.98 kB / 0.9804 GB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01127/4.227, allocations: 320.4 kB / 0.9807 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002568/4.229, allocations: 256.6 kB / 0.9809 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001059/4.23, allocations: 100.3 kB / 0.981 GB, free: 1.953 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.02764/4.258, allocations: 4.7 MB / 0.9856 GB, free: 13.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.403e-06/4.258, allocations: 0 / 0.9856 GB, free: 13.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.02135/4.28, allocations: 2.122 MB / 0.9877 GB, free: 11.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$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 (248): * Single equations (assignments): 238 * 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.002102/4.282, allocations: 236.5 kB / 0.9879 GB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3729/4.655, allocations: 12.02 MB / 0.9997 GB, free: 77.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/4.655, allocations: 0.9688 kB / 0.9997 GB, free: 77.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01317/4.668, allocations: 5.138 MB / 1.005 GB, free: 76.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008572/4.677, allocations: 0.9367 MB / 1.006 GB, free: 76.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07994/4.757, allocations: 21.97 MB / 1.027 GB, free: 68.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01835/4.775, allocations: 5.508 MB / 1.032 GB, free: 67.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01861/4.794, allocations: 3.18 MB / 1.036 GB, free: 67.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003546/4.797, allocations: 456.3 kB / 1.036 GB, free: 67.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.442e-06/4.797, allocations: 0 / 1.036 GB, free: 67.7 MB / 442.7 MB Notification: Performance of Templates: time 0.3022/5.1, allocations: 98.98 MB / 1.133 GB, free: 17.35 MB / 442.7 MB