Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.647/1.647, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 8 kB / 233.2 MB, free: 3.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06961/0.07, allocations: 38.77 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3181/0.3882, allocations: 87.36 MB / 359.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.3885, allocations: 87.77 kB / 359.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6526/1.041, allocations: 96.92 MB / 456.4 MB, free: 71.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.084e-06/1.041, allocations: 3.938 kB / 456.4 MB, free: 71.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002737/1.041, allocations: 105.1 kB / 456.5 MB, free: 71.57 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.0335/1.075, allocations: 5.774 MB / 462.3 MB, free: 69.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.075, allocations: 7.562 kB / 462.3 MB, free: 69.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02171/1.097, allocations: 2.316 MB / 464.6 MB, free: 69.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02259/1.119, allocations: 4.934 MB / 469.5 MB, free: 68.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006523/1.12, allocations: 392.1 kB / 469.9 MB, free: 68.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003233/1.123, allocations: 0.5095 MB / 470.4 MB, free: 68.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04896/1.172, allocations: 13.02 MB / 483.4 MB, free: 64.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003954/1.173, allocations: 68.25 kB / 483.5 MB, free: 64.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00236/1.175, allocations: 255.1 kB / 483.7 MB, free: 64.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003443/1.179, allocations: 1.197 MB / 484.9 MB, free: 63.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04674/1.226, allocations: 11.22 MB / 496.2 MB, free: 59.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07035/1.296, allocations: 57.06 MB / 0.5403 GB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/1.314, allocations: 5.205 MB / 0.5453 GB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/1.316, allocations: 0.6842 MB / 0.546 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.864e-05/1.316, allocations: 63.86 kB / 0.5461 GB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=221): time 6.797e-06/1.316, allocations: 0 / 0.5461 GB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=252): time 0.3005/1.616, allocations: 25.64 MB / 0.5711 GB, free: 77.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/1.616, allocations: 155.3 kB / 0.5713 GB, free: 77.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008784/1.625, allocations: 4.1 MB / 0.5753 GB, free: 77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005784/1.626, allocations: 66.89 kB / 0.5753 GB, free: 76.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002501/1.628, allocations: 3.466 MB / 0.5787 GB, free: 75.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001288/1.63, allocations: 0.9497 MB / 0.5796 GB, free: 74.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007026/1.63, allocations: 140 kB / 0.5798 GB, free: 74.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004733/1.631, allocations: 0.6016 MB / 0.5804 GB, free: 74.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006467/1.637, allocations: 3.055 MB / 0.5833 GB, free: 74.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008731/1.646, allocations: 7.074 MB / 0.5902 GB, free: 68.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00887/1.655, allocations: 4.551 MB / 0.5947 GB, free: 67.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/1.655, allocations: 40.5 kB / 0.5947 GB, free: 67.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.02552/1.681, allocations: 10.84 MB / 0.6053 GB, free: 63.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/1.681, allocations: 65.59 kB / 0.6054 GB, free: 63.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/1.681, allocations: 142.3 kB / 0.6055 GB, free: 63.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003653/1.685, allocations: 1.141 MB / 0.6066 GB, free: 63.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008032/1.693, allocations: 1.73 MB / 0.6083 GB, free: 63.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009663/1.703, allocations: 6.049 MB / 0.6142 GB, free: 60.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007503/1.71, allocations: 427.5 kB / 0.6146 GB, free: 60.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/1.712, allocations: 434.8 kB / 0.615 GB, free: 60.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (870): * Single equations (assignments): 866 * 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.006221/1.718, allocations: 2.433 MB / 0.6174 GB, free: 59.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.719, allocations: 417.3 kB / 0.6178 GB, free: 58.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/1.732, allocations: 5.594 MB / 0.6233 GB, free: 56.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-05/1.733, allocations: 30.5 kB / 0.6233 GB, free: 56.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/1.733, allocations: 8.375 kB / 0.6233 GB, free: 56.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-05/1.733, allocations: 13.97 kB / 0.6233 GB, free: 56.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0285/1.761, allocations: 12.21 MB / 0.6352 GB, free: 50.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-05/1.761, allocations: 7.953 kB / 0.6353 GB, free: 50.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003494/1.765, allocations: 0.5023 MB / 0.6357 GB, free: 50.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003202/1.768, allocations: 0.9355 MB / 0.6367 GB, free: 49.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006027/1.769, allocations: 48.44 kB / 0.6367 GB, free: 49.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008793/1.777, allocations: 5.748 MB / 0.6423 GB, free: 44.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.174e-06/1.777, allocations: 11.89 kB / 0.6423 GB, free: 44.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/1.795, allocations: 9.848 MB / 0.6519 GB, free: 35.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002812/1.798, allocations: 0.9169 MB / 0.6528 GB, free: 35.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/1.799, allocations: 44 kB / 0.6529 GB, free: 35.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003313/1.803, allocations: 180.7 kB / 0.6531 GB, free: 34.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009563/1.804, allocations: 149.5 kB / 0.6532 GB, free: 34.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003863/1.804, allocations: 71.61 kB / 0.6533 GB, free: 34.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006309/1.811, allocations: 2.877 MB / 0.6561 GB, free: 32.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.223e-06/1.811, allocations: 3.656 kB / 0.6561 GB, free: 32.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008064/1.819, allocations: 1.257 MB / 0.6573 GB, free: 31.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.000901/1.82, allocations: 195.1 kB / 0.6575 GB, free: 30.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01391/1.834, allocations: 7.298 MB / 0.6646 GB, free: 24.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.169e-06/1.834, allocations: 4 kB / 0.6646 GB, free: 24.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005532/1.839, allocations: 2.74 MB / 0.6673 GB, free: 22.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/1.843, allocations: 463.2 kB / 0.6677 GB, free: 21.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/1.872, allocations: 14.61 MB / 0.682 GB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007952/1.88, allocations: 3.901 MB / 0.6858 GB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/1.882, allocations: 367.3 kB / 0.6862 GB, free: 3.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.845e-06/1.882, allocations: 4 kB / 0.6862 GB, free: 3.516 MB / 362.7 MB Notification: Performance of Templates: time 0.3574/2.239, allocations: 91.27 MB / 0.7753 GB, free: 46.99 MB / 378.7 MB