Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 1.791/1.791, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 12 kB / 264 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0813/0.08169, allocations: 44.5 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.443, allocations: 94.74 MB / 403.2 MB, free: 18.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4433, allocations: 90.08 kB / 403.3 MB, free: 18.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3958/0.8391, allocations: 97.12 MB / 0.4887 GB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.39e-06/0.8391, allocations: 0 / 0.4887 GB, free: 5.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002721/0.8394, allocations: 95.98 kB / 0.4888 GB, free: 5.297 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.01759/0.857, allocations: 4.976 MB / 0.4936 GB, free: 256 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.8571, allocations: 12.03 kB / 0.4936 GB, free: 244 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02575/0.8829, allocations: 4.49 MB / 0.498 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01707/0.9, allocations: 5.069 MB / 0.503 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005591/0.9006, allocations: 361.5 kB / 0.5033 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003132/0.9037, allocations: 475.8 kB / 0.5038 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04188/0.9457, allocations: 12.04 MB / 0.5155 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002775/0.946, allocations: 63.41 kB / 0.5156 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001949/0.948, allocations: 227.9 kB / 0.5158 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002497/0.9505, allocations: 1.199 MB / 0.517 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.262/1.212, allocations: 9.968 MB / 0.5267 GB, free: 80.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06753/1.28, allocations: 52.85 MB / 0.5783 GB, free: 51.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/1.297, allocations: 5.229 MB / 0.5834 GB, free: 50.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/1.313, allocations: 8.039 MB / 0.5913 GB, free: 47.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/1.313, allocations: 57.88 kB / 0.5913 GB, free: 47.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 6.18e-06/1.313, allocations: 0 / 0.5913 GB, free: 47.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.06432/1.378, allocations: 19.43 MB / 0.6103 GB, free: 40.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/1.378, allocations: 180.8 kB / 0.6105 GB, free: 40.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008731/1.387, allocations: 4.191 MB / 0.6146 GB, free: 38.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004878/1.387, allocations: 61.55 kB / 0.6146 GB, free: 38.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/1.39, allocations: 3.303 MB / 0.6179 GB, free: 35.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001145/1.391, allocations: 0.8924 MB / 0.6187 GB, free: 35.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007186/1.392, allocations: 132.8 kB / 0.6189 GB, free: 35.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004591/1.392, allocations: 0.5916 MB / 0.6194 GB, free: 34.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00544/1.397, allocations: 2.501 MB / 0.6219 GB, free: 33.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007708/1.405, allocations: 6.376 MB / 0.6281 GB, free: 27.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007494/1.413, allocations: 3.935 MB / 0.632 GB, free: 26.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/1.413, allocations: 39.16 kB / 0.632 GB, free: 26.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02154/1.434, allocations: 9.317 MB / 0.6411 GB, free: 21.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.435, allocations: 64 kB / 0.6411 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/1.435, allocations: 139.6 kB / 0.6413 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/1.437, allocations: 0.9166 MB / 0.6422 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00692/1.444, allocations: 1.601 MB / 0.6437 GB, free: 19.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008666/1.453, allocations: 5.924 MB / 0.6495 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006676/1.46, allocations: 381.8 kB / 0.6499 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.461, allocations: 403.3 kB / 0.6503 GB, free: 13.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00567/1.467, allocations: 2.369 MB / 0.6526 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009239/1.468, allocations: 422.5 kB / 0.653 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009615/1.478, allocations: 4.284 MB / 0.6572 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.656e-05/1.478, allocations: 28 kB / 0.6572 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.478, allocations: 4 kB / 0.6572 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-05/1.478, allocations: 14.53 kB / 0.6572 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02826/1.506, allocations: 10.53 MB / 0.6675 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-05/1.506, allocations: 8 kB / 0.6675 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003127/1.509, allocations: 481.3 kB / 0.668 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/1.512, allocations: 0.725 MB / 0.6687 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005233/1.513, allocations: 43.7 kB / 0.6687 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/1.523, allocations: 5.464 MB / 0.6741 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/1.523, allocations: 8 kB / 0.6741 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/1.541, allocations: 8.315 MB / 0.6822 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002843/1.543, allocations: 0.8187 MB / 0.683 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/1.545, allocations: 45.17 kB / 0.683 GB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/1.548, allocations: 142.2 kB / 0.6832 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007039/1.549, allocations: 149.5 kB / 0.6833 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/1.549, allocations: 73.28 kB / 0.6834 GB, free: 0.957 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2526/1.802, allocations: 3.09 MB / 0.6864 GB, free: 91.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.215e-06/1.802, allocations: 0 / 0.6864 GB, free: 91.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008753/1.81, allocations: 1.152 MB / 0.6875 GB, free: 91.56 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008367/1.811, allocations: 198.4 kB / 0.6877 GB, free: 91.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01283/1.824, allocations: 6.134 MB / 0.6937 GB, free: 91.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.442e-06/1.824, allocations: 1 kB / 0.6937 GB, free: 91.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005472/1.83, allocations: 2.266 MB / 0.6959 GB, free: 91.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.833, allocations: 479.4 kB / 0.6964 GB, free: 91.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/1.86, allocations: 13.42 MB / 0.7095 GB, free: 86.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008072/1.868, allocations: 3.765 MB / 0.7132 GB, free: 85.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/1.87, allocations: 342.2 kB / 0.7135 GB, free: 85.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.944e-06/1.87, allocations: 0 / 0.7135 GB, free: 85.54 MB / 426.7 MB Notification: Performance of Templates: time 0.1264/1.997, allocations: 85.28 MB / 0.7968 GB, free: 43 MB / 426.7 MB