Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 1.816/1.816, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 8 kB / 233.9 MB, free: 2.375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.09569, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3814/0.4772, allocations: 86.82 MB / 359.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.4776, allocations: 95.56 kB / 359.5 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9087/1.386, allocations: 148.6 MB / 0.4962 GB, free: 54.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/1.386, allocations: 0 / 0.4962 GB, free: 54.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006468/1.387, allocations: 148 kB / 0.4964 GB, free: 54.45 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.06116/1.448, allocations: 9.477 MB / 0.5056 GB, free: 44.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/1.448, allocations: 8.031 kB / 0.5056 GB, free: 44.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1205/1.569, allocations: 16.67 MB / 0.5219 GB, free: 28.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07177/1.641, allocations: 13.21 MB / 0.5348 GB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009026/1.642, allocations: 497.1 kB / 0.5353 GB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005032/1.647, allocations: 0.6597 MB / 0.5359 GB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3484/1.995, allocations: 16.87 MB / 0.5524 GB, free: 45.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007157/1.996, allocations: 105.7 kB / 0.5525 GB, free: 45.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003459/1.999, allocations: 317.6 kB / 0.5528 GB, free: 45.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004431/2.004, allocations: 1.472 MB / 0.5542 GB, free: 45.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04967/2.054, allocations: 13.67 MB / 0.5676 GB, free: 45.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1249/2.179, allocations: 76.74 MB / 0.6425 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0453/2.224, allocations: 8.577 MB / 0.6509 GB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00285/2.227, allocations: 1.356 MB / 0.6522 GB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/2.227, allocations: 61.41 kB / 0.6523 GB, free: 6.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=268): time 7.214e-06/2.227, allocations: 0 / 0.6523 GB, free: 6.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=354): time 0.5939/2.821, allocations: 53.32 MB / 0.7044 GB, free: 76.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004123/2.825, allocations: 3.272 MB / 0.7076 GB, free: 73.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02984/2.855, allocations: 7.396 MB / 0.7148 GB, free: 72.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001406/2.856, allocations: 75.91 kB / 0.7148 GB, free: 72.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005837/2.862, allocations: 5.201 MB / 0.7199 GB, free: 70.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002603/2.865, allocations: 1.344 MB / 0.7212 GB, free: 69.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001732/2.867, allocations: 189 kB / 0.7214 GB, free: 69.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000766/2.868, allocations: 0.7077 MB / 0.7221 GB, free: 69.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01127/2.879, allocations: 4.576 MB / 0.7266 GB, free: 69.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01518/2.894, allocations: 9.859 MB / 0.7362 GB, free: 60.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01515/2.909, allocations: 6.565 MB / 0.7426 GB, free: 58.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002409/2.91, allocations: 50.28 kB / 0.7427 GB, free: 58.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.1263/3.036, allocations: 31.61 MB / 0.7735 GB, free: 50.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/3.036, allocations: 80 kB / 0.7736 GB, free: 50.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.105/3.141, allocations: 20.67 MB / 0.7938 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09159/3.233, allocations: 16.58 MB / 0.81 GB, free: 16.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/3.246, allocations: 2.121 MB / 0.8121 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3748/3.621, allocations: 35.37 MB / 0.8466 GB, free: 64.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01471/3.636, allocations: 0.7779 MB / 0.8474 GB, free: 64.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002844/3.639, allocations: 0.5546 MB / 0.8479 GB, free: 64.38 MB / 378.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.01153/3.65, allocations: 3.434 MB / 0.8513 GB, free: 64.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002461/3.653, allocations: 0.6697 MB / 0.8519 GB, free: 64.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03619/3.689, allocations: 10.2 MB / 0.8619 GB, free: 61.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03132/3.721, allocations: 8.889 MB / 0.8705 GB, free: 58.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.94e-05/3.721, allocations: 17.31 kB / 0.8706 GB, free: 58.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/3.721, allocations: 18.28 kB / 0.8706 GB, free: 58.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07829/3.799, allocations: 23.62 MB / 0.8936 GB, free: 49.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-05/3.799, allocations: 3.188 kB / 0.8936 GB, free: 49.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006209/3.806, allocations: 0.576 MB / 0.8942 GB, free: 49.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02262/3.828, allocations: 3.613 MB / 0.8977 GB, free: 48.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/3.829, allocations: 95.55 kB / 0.8978 GB, free: 48.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04531/3.875, allocations: 22.75 MB / 0.92 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002472/3.877, allocations: 2.998 MB / 0.923 GB, free: 28.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04485/3.922, allocations: 15.35 MB / 0.938 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005908/3.928, allocations: 1.38 MB / 0.9393 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003333/3.932, allocations: 77.95 kB / 0.9394 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008133/3.94, allocations: 335.3 kB / 0.9397 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001816/3.942, allocations: 244.7 kB / 0.9399 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007178/3.942, allocations: 95.95 kB / 0.94 GB, free: 12.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01307/3.955, allocations: 4.706 MB / 0.9446 GB, free: 8.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.012e-06/3.955, allocations: 0 / 0.9446 GB, free: 8.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01496/3.97, allocations: 2.128 MB / 0.9467 GB, free: 6.094 MB / 378.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.001577/3.972, allocations: 228.4 kB / 0.9469 GB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.03114/4.003, allocations: 12.02 MB / 0.9587 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/4.003, allocations: 0 / 0.9587 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01493/4.018, allocations: 5.149 MB / 0.9637 GB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009227/4.027, allocations: 0.9416 MB / 0.9646 GB, free: 4.105 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3486/4.376, allocations: 21.98 MB / 0.9861 GB, free: 73.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01706/4.393, allocations: 5.51 MB / 0.9915 GB, free: 72.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01573/4.409, allocations: 3.183 MB / 0.9946 GB, free: 72.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003527/4.413, allocations: 450.2 kB / 0.995 GB, free: 72.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.904e-06/4.413, allocations: 4 kB / 0.995 GB, free: 72.15 MB / 394.7 MB Notification: Performance of Templates: time 0.2553/4.668, allocations: 98.96 MB / 1.092 GB, free: 11.97 MB / 394.7 MB