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.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 8 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/0.08625, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.539, allocations: 86.65 MB / 359.3 MB, free: 2.945 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.5394, allocations: 97.61 kB / 359.4 MB, free: 2.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6526/1.192, allocations: 84.23 MB / 443.6 MB, free: 73.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.192, allocations: 0 / 443.6 MB, free: 73.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002862/1.192, allocations: 83.86 kB / 443.7 MB, free: 73.25 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02751/1.22, allocations: 4.726 MB / 448.4 MB, free: 71.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.22, allocations: 11.2 kB / 448.4 MB, free: 71.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01806/1.238, allocations: 2.21 MB / 450.6 MB, free: 71.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01712/1.255, allocations: 4.479 MB / 455.1 MB, free: 70.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004484/1.256, allocations: 325.4 kB / 455.4 MB, free: 70.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002793/1.259, allocations: 425.3 kB / 455.8 MB, free: 70.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03353/1.292, allocations: 10.78 MB / 466.6 MB, free: 67.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000304/1.293, allocations: 67.42 kB / 466.7 MB, free: 67.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002363/1.295, allocations: 203.4 kB / 466.9 MB, free: 67.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002553/1.297, allocations: 0.9956 MB / 467.9 MB, free: 67.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02782/1.325, allocations: 9.006 MB / 476.9 MB, free: 66.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06857/1.394, allocations: 48.88 MB / 0.5134 GB, free: 28.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01838/1.412, allocations: 3.527 MB / 0.5169 GB, free: 25.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/1.423, allocations: 4.362 MB / 0.5211 GB, free: 21.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/1.423, allocations: 51.5 kB / 0.5212 GB, free: 21.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 6.042e-06/1.423, allocations: 7.891 kB / 0.5212 GB, free: 21.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.04964/1.473, allocations: 12.44 MB / 0.5333 GB, free: 10.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.473, allocations: 141.5 kB / 0.5335 GB, free: 10.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008063/1.481, allocations: 4.159 MB / 0.5375 GB, free: 5.965 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003866/1.482, allocations: 45.64 kB / 0.5376 GB, free: 5.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002406/1.484, allocations: 3.181 MB / 0.5407 GB, free: 2.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008768/1.485, allocations: 0.586 MB / 0.5413 GB, free: 2.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005418/1.486, allocations: 120 kB / 0.5414 GB, free: 2.039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003518/1.486, allocations: 0.5536 MB / 0.5419 GB, free: 1.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005016/1.491, allocations: 1.976 MB / 0.5439 GB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01323/1.504, allocations: 5.771 MB / 0.5495 GB, free: 7.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01331/1.518, allocations: 3.3 MB / 0.5527 GB, free: 4.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000177/1.518, allocations: 44 kB / 0.5528 GB, free: 4.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.3601/1.878, allocations: 8.197 MB / 0.5608 GB, free: 75.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/1.878, allocations: 64.14 kB / 0.5608 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000334/1.879, allocations: 135.9 kB / 0.5609 GB, free: 75.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004962/1.884, allocations: 0.9187 MB / 0.5618 GB, free: 75.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00904/1.893, allocations: 1.378 MB / 0.5632 GB, free: 75.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.903, allocations: 4.89 MB / 0.568 GB, free: 74.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006696/1.91, allocations: 331.3 kB / 0.5683 GB, free: 74.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.911, allocations: 371.6 kB / 0.5686 GB, free: 74.28 MB / 362.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.005687/1.917, allocations: 2.101 MB / 0.5707 GB, free: 74.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009125/1.918, allocations: 343.3 kB / 0.571 GB, free: 74.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009115/1.927, allocations: 2.875 MB / 0.5738 GB, free: 74.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/1.927, allocations: 18.28 kB / 0.5738 GB, free: 74.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.927, allocations: 3.75 kB / 0.5738 GB, free: 74.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.002e-05/1.927, allocations: 4.703 kB / 0.5738 GB, free: 74.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02048/1.948, allocations: 7.008 MB / 0.5807 GB, free: 73.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/1.948, allocations: 7.75 kB / 0.5807 GB, free: 73.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002382/1.95, allocations: 240.1 kB / 0.5809 GB, free: 73.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003604/1.954, allocations: 0.7076 MB / 0.5816 GB, free: 73.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/1.954, allocations: 25.28 kB / 0.5816 GB, free: 73.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008346/1.962, allocations: 4.462 MB / 0.586 GB, free: 72.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.963, allocations: 3 kB / 0.586 GB, free: 72.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.975, allocations: 5.117 MB / 0.591 GB, free: 71.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002497/1.978, allocations: 0.6139 MB / 0.5916 GB, free: 70.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.979, allocations: 20.59 kB / 0.5916 GB, free: 70.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/1.982, allocations: 90.27 kB / 0.5917 GB, free: 70.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005245/1.982, allocations: 87 kB / 0.5918 GB, free: 70.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.983, allocations: 40.52 kB / 0.5918 GB, free: 70.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006528/1.989, allocations: 2.59 MB / 0.5944 GB, free: 69.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.82e-07/1.989, allocations: 0 / 0.5944 GB, free: 69.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007479/1.997, allocations: 0.957 MB / 0.5953 GB, free: 69.85 MB / 362.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.0007096/1.997, allocations: 163.7 kB / 0.5954 GB, free: 69.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01101/2.008, allocations: 4.758 MB / 0.6001 GB, free: 68.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/2.008, allocations: 4.594 kB / 0.6001 GB, free: 68.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003088/2.012, allocations: 1.365 MB / 0.6014 GB, free: 67.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/2.015, allocations: 398 kB / 0.6018 GB, free: 67.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/2.039, allocations: 10.42 MB / 0.612 GB, free: 62.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007155/2.046, allocations: 3.307 MB / 0.6152 GB, free: 61.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.008982/2.055, allocations: 1.873 MB / 0.617 GB, free: 61.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/2.057, allocations: 236.5 kB / 0.6173 GB, free: 61.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.163e-06/2.057, allocations: 0 / 0.6173 GB, free: 61.16 MB / 362.7 MB Notification: Performance of Templates: time 0.09591/2.152, allocations: 32.75 MB / 0.6493 GB, free: 36.13 MB / 362.7 MB