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.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 194.9 MB / 211.7 MB, free: 2.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.0005541, allocations: 12 kB / 264.5 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1157, allocations: 44.5 MB / 309 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4335/0.5492, allocations: 92.38 MB / 401.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.5496, allocations: 99.03 kB / 401.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4018/0.9514, allocations: 84.26 MB / 485.8 MB, free: 2.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.9515, allocations: 4 kB / 485.8 MB, free: 2.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003465/0.9518, allocations: 83.94 kB / 485.9 MB, free: 2.043 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02798/0.9798, allocations: 4.722 MB / 490.6 MB, free: 13.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.9799, allocations: 8.031 kB / 490.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.9976, allocations: 2.209 MB / 492.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0183/1.016, allocations: 4.484 MB / 497.3 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004826/1.016, allocations: 316.4 kB / 497.6 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002569/1.019, allocations: 423.8 kB / 498 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03561/1.055, allocations: 10.8 MB / 0.4969 GB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002884/1.055, allocations: 67.39 kB / 0.4969 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001951/1.057, allocations: 207.9 kB / 0.4971 GB, free: 9.617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002774/1.06, allocations: 0.9906 MB / 0.4981 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.031/1.091, allocations: 9.007 MB / 0.5069 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3587/1.45, allocations: 48.86 MB / 0.5546 GB, free: 56.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01914/1.469, allocations: 3.536 MB / 0.5581 GB, free: 55.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/1.481, allocations: 4.358 MB / 0.5623 GB, free: 54.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/1.481, allocations: 56.2 kB / 0.5624 GB, free: 54.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 6.442e-06/1.482, allocations: 0 / 0.5624 GB, free: 54.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.04901/1.531, allocations: 12.43 MB / 0.5745 GB, free: 51.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/1.531, allocations: 150.5 kB / 0.5747 GB, free: 51.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009185/1.54, allocations: 4.146 MB / 0.5787 GB, free: 50.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004079/1.54, allocations: 45.08 kB / 0.5788 GB, free: 50.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002851/1.543, allocations: 3.179 MB / 0.5819 GB, free: 49.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009887/1.544, allocations: 0.5893 MB / 0.5824 GB, free: 48.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007806/1.545, allocations: 116.6 kB / 0.5825 GB, free: 48.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004308/1.545, allocations: 0.5568 MB / 0.5831 GB, free: 48.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005184/1.551, allocations: 1.975 MB / 0.585 GB, free: 48.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008101/1.559, allocations: 5.771 MB / 0.5907 GB, free: 43.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007584/1.566, allocations: 3.303 MB / 0.5939 GB, free: 43.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/1.567, allocations: 38.38 kB / 0.5939 GB, free: 43.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02333/1.59, allocations: 8.201 MB / 0.6019 GB, free: 41.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/1.59, allocations: 66.81 kB / 0.602 GB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/1.59, allocations: 135.4 kB / 0.6021 GB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004169/1.595, allocations: 0.9166 MB / 0.603 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008082/1.603, allocations: 1.377 MB / 0.6044 GB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009284/1.612, allocations: 4.897 MB / 0.6091 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006792/1.619, allocations: 324.5 kB / 0.6095 GB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/1.62, allocations: 374.5 kB / 0.6098 GB, free: 38.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 725 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005781/1.626, allocations: 2.097 MB / 0.6119 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009009/1.627, allocations: 349.6 kB / 0.6122 GB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009731/1.637, allocations: 2.874 MB / 0.615 GB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.828e-05/1.637, allocations: 16.84 kB / 0.615 GB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.637, allocations: 2.844 kB / 0.615 GB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.685e-05/1.637, allocations: 10.72 kB / 0.615 GB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.659, allocations: 7.024 MB / 0.6219 GB, free: 33.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/1.659, allocations: 4 kB / 0.6219 GB, free: 33.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/1.662, allocations: 238.5 kB / 0.6221 GB, free: 33.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003743/1.666, allocations: 0.7023 MB / 0.6228 GB, free: 33.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003533/1.666, allocations: 29.48 kB / 0.6228 GB, free: 33.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008595/1.675, allocations: 4.457 MB / 0.6272 GB, free: 30.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.675, allocations: 3.938 kB / 0.6272 GB, free: 30.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.688, allocations: 5.106 MB / 0.6322 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/1.691, allocations: 0.609 MB / 0.6328 GB, free: 27.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.692, allocations: 29.33 kB / 0.6328 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/1.695, allocations: 87.08 kB / 0.6329 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006006/1.696, allocations: 86.52 kB / 0.633 GB, free: 27.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/1.696, allocations: 39.78 kB / 0.633 GB, free: 27.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00681/1.703, allocations: 2.591 MB / 0.6355 GB, free: 25.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.703, allocations: 0 / 0.6355 GB, free: 25.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008327/1.711, allocations: 0.9592 MB / 0.6365 GB, free: 24.12 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,rotor1D.phi,rotor1D.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 (114): * Single equations (assignments): 110 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000791/1.712, allocations: 157.6 kB / 0.6366 GB, free: 23.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01126/1.723, allocations: 4.755 MB / 0.6413 GB, free: 19.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.723, allocations: 3.938 kB / 0.6413 GB, free: 19.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003069/1.726, allocations: 1.37 MB / 0.6426 GB, free: 18.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/1.73, allocations: 398.7 kB / 0.643 GB, free: 18.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/1.755, allocations: 10.41 MB / 0.6532 GB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007377/1.762, allocations: 3.316 MB / 0.6564 GB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008526/1.771, allocations: 1.868 MB / 0.6582 GB, free: 5.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/1.772, allocations: 234.3 kB / 0.6584 GB, free: 4.793 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/1.772, allocations: 0 / 0.6584 GB, free: 4.793 MB / 410.7 MB Notification: Performance of Templates: time 0.4107/2.183, allocations: 32.75 MB / 0.6904 GB, free: 93.16 MB / 426.7 MB