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.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.603/1.603, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.391e-05/2.408e-05, allocations: 0 / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.209, allocations: 38.78 MB / 267.6 MB, free: 9.418 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.3381, allocations: 86.56 MB / 354.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.3384, allocations: 83.95 kB / 354.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4717/0.8102, allocations: 83.8 MB / 438 MB, free: 8.445 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.8102, allocations: 0 / 438 MB, free: 8.445 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002088/0.8104, allocations: 83.94 kB / 438.1 MB, free: 8.363 MB / 298.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.01693/0.8274, allocations: 4.479 MB / 442.6 MB, free: 3.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.8274, allocations: 8.031 kB / 442.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.8395, allocations: 2.221 MB / 444.8 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/0.8534, allocations: 4.458 MB / 449.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004833/0.854, allocations: 320.4 kB / 449.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/0.8561, allocations: 427.8 kB / 450 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02869/0.8848, allocations: 10.69 MB / 460.7 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/0.8851, allocations: 59.41 kB / 460.8 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/0.8868, allocations: 207.9 kB / 461 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002205/0.889, allocations: 1.01 MB / 462 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02376/0.9128, allocations: 8.829 MB / 470.8 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2814/1.194, allocations: 48.87 MB / 0.5075 GB, free: 35.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/1.208, allocations: 3.477 MB / 0.5109 GB, free: 34.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/1.211, allocations: 1.775 MB / 0.5126 GB, free: 34.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009078/1.22, allocations: 4.373 MB / 0.5169 GB, free: 33.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/1.22, allocations: 47.34 kB / 0.5169 GB, free: 33.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 6.001e-06/1.22, allocations: 0 / 0.5169 GB, free: 33.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.03218/1.252, allocations: 9.737 MB / 0.5265 GB, free: 30.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/1.252, allocations: 149 kB / 0.5266 GB, free: 30.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007786/1.26, allocations: 3.678 MB / 0.5302 GB, free: 29.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003085/1.26, allocations: 51.64 kB / 0.5302 GB, free: 29.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002227/1.263, allocations: 3.101 MB / 0.5333 GB, free: 28.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000766/1.263, allocations: 0.5878 MB / 0.5338 GB, free: 27.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005857/1.264, allocations: 117 kB / 0.534 GB, free: 27.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005382/1.265, allocations: 0.5564 MB / 0.5345 GB, free: 27.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004148/1.269, allocations: 1.916 MB / 0.5364 GB, free: 27.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006271/1.275, allocations: 5.712 MB / 0.5419 GB, free: 22.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006349/1.281, allocations: 3.277 MB / 0.5451 GB, free: 21.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/1.282, allocations: 38 kB / 0.5452 GB, free: 21.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.0187/1.3, allocations: 7.963 MB / 0.553 GB, free: 19.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.3, allocations: 59.78 kB / 0.553 GB, free: 19.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001624/1.301, allocations: 137.1 kB / 0.5531 GB, free: 19.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003131/1.304, allocations: 0.9209 MB / 0.554 GB, free: 19.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006099/1.31, allocations: 1.375 MB / 0.5554 GB, free: 19.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007367/1.317, allocations: 4.773 MB / 0.56 GB, free: 16.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006326/1.324, allocations: 323 kB / 0.5604 GB, free: 16.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.325, allocations: 366.9 kB / 0.5607 GB, free: 16.53 MB / 346.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 () * 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.001485/1.326, allocations: 0.5759 MB / 0.5613 GB, free: 16.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007769/1.327, allocations: 345.2 kB / 0.5616 GB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00689/1.334, allocations: 2.81 MB / 0.5643 GB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/1.334, allocations: 18.55 kB / 0.5644 GB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.334, allocations: 3.844 kB / 0.5644 GB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.023e-05/1.334, allocations: 10.75 kB / 0.5644 GB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/1.352, allocations: 6.946 MB / 0.5712 GB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/1.352, allocations: 0 / 0.5712 GB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.354, allocations: 237.8 kB / 0.5714 GB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/1.357, allocations: 0.7006 MB / 0.5721 GB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003215/1.357, allocations: 35.61 kB / 0.5721 GB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006637/1.364, allocations: 4.332 MB / 0.5763 GB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.228e-06/1.364, allocations: 8.062 kB / 0.5763 GB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009395/1.373, allocations: 5.088 MB / 0.5813 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002865/1.376, allocations: 0.6615 MB / 0.582 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.377, allocations: 20 kB / 0.582 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/1.38, allocations: 94.08 kB / 0.5821 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005131/1.38, allocations: 85.81 kB / 0.5821 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/1.38, allocations: 48.77 kB / 0.5822 GB, free: 15.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006807/1.387, allocations: 2.555 MB / 0.5847 GB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.141e-06/1.387, allocations: 2.156 kB / 0.5847 GB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0074/1.395, allocations: 0.9538 MB / 0.5856 GB, free: 12.54 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 () * 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.0007212/1.395, allocations: 163.5 kB / 0.5858 GB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0106/1.406, allocations: 4.65 MB / 0.5903 GB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.206e-06/1.406, allocations: 4 kB / 0.5903 GB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002883/1.409, allocations: 1.33 MB / 0.5916 GB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/1.412, allocations: 396.7 kB / 0.592 GB, free: 6.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/1.434, allocations: 7.695 MB / 0.5995 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007796/1.442, allocations: 3.311 MB / 0.6027 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/1.443, allocations: 286.3 kB / 0.603 GB, free: 13.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.02e-06/1.443, allocations: 3.938 kB / 0.603 GB, free: 13.18 MB / 378.7 MB Notification: Performance of Templates: time 0.3228/1.766, allocations: 71.64 MB / 0.673 GB, free: 78.23 MB / 378.7 MB