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.Elementary.ForceAndTorque.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 1.573/1.573, allocations: 171.3 MB / 179.2 MB, free: 7.582 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.363e-05, allocations: 4 kB / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06938/0.06943, allocations: 38.77 MB / 261.3 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.304/0.3735, allocations: 88.26 MB / 349.5 MB, free: 328 kB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3738, allocations: 86.08 kB / 349.6 MB, free: 284 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5464/0.9203, allocations: 94.95 MB / 444.6 MB, free: 77.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.092e-06/0.9203, allocations: 0 / 444.6 MB, free: 77.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000224/0.9206, allocations: 94.28 kB / 444.7 MB, free: 77.72 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: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.0141/0.9347, allocations: 4.657 MB / 449.3 MB, free: 75.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9347, allocations: 15.25 kB / 449.3 MB, free: 75.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02441/0.9592, allocations: 4.501 MB / 453.8 MB, free: 75.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/0.9746, allocations: 5.038 MB / 458.9 MB, free: 74.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.9748, allocations: 153.7 kB / 459 MB, free: 74.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/0.9767, allocations: 276.6 kB / 459.3 MB, free: 74.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01432/0.9911, allocations: 6.977 MB / 466.3 MB, free: 72.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/1.012, allocations: 10.58 MB / 476.9 MB, free: 67.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/1.012, allocations: 56.47 kB / 476.9 MB, free: 67.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008899/1.013, allocations: 33.12 kB / 476.9 MB, free: 67.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001784/1.015, allocations: 1.196 MB / 478.1 MB, free: 67.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05844/1.073, allocations: 50.5 MB / 0.5162 GB, free: 18.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/1.079, allocations: 4.043 MB / 0.5202 GB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003503/1.083, allocations: 2.396 MB / 0.5225 GB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000932/1.084, allocations: 0.6871 MB / 0.5232 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/1.084, allocations: 59.77 kB / 0.5233 GB, free: 11.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=207): time 6.664e-06/1.084, allocations: 0 / 0.5233 GB, free: 11.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=229): time 0.2515/1.335, allocations: 17.08 MB / 0.5399 GB, free: 68.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/1.335, allocations: 179 kB / 0.5401 GB, free: 68.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009354/1.345, allocations: 3.367 MB / 0.5434 GB, free: 68.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005359/1.345, allocations: 30.86 kB / 0.5434 GB, free: 68.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003083/1.348, allocations: 3.472 MB / 0.5468 GB, free: 66.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.35, allocations: 0.8463 MB / 0.5476 GB, free: 65.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009262/1.351, allocations: 0 / 0.5476 GB, free: 65.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0009612/1.352, allocations: 0.6001 MB / 0.5482 GB, free: 65.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006001/1.358, allocations: 2.401 MB / 0.5506 GB, free: 65.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008231/1.366, allocations: 6.409 MB / 0.5568 GB, free: 60.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007703/1.374, allocations: 3.892 MB / 0.5606 GB, free: 60.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001468/1.374, allocations: 43.16 kB / 0.5607 GB, free: 60.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=901) (initialization): time 0.02248/1.397, allocations: 8.596 MB / 0.5691 GB, free: 58.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/1.397, allocations: 68.56 kB / 0.5691 GB, free: 58.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/1.397, allocations: 144.6 kB / 0.5693 GB, free: 58.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003075/1.4, allocations: 0.9292 MB / 0.5702 GB, free: 58.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007411/1.408, allocations: 1.666 MB / 0.5718 GB, free: 58.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009048/1.417, allocations: 5.486 MB / 0.5772 GB, free: 55.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007206/1.424, allocations: 255.3 kB / 0.5774 GB, free: 55.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001761/1.426, allocations: 420.8 kB / 0.5778 GB, free: 55.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 849 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002392/1.428, allocations: 476.2 kB / 0.5783 GB, free: 54.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.429, allocations: 364.1 kB / 0.5786 GB, free: 54.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009438/1.439, allocations: 3.951 MB / 0.5825 GB, free: 53.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.336e-05/1.439, allocations: 23.62 kB / 0.5825 GB, free: 53.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/1.439, allocations: 9.562 kB / 0.5825 GB, free: 53.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.194e-05/1.439, allocations: 10.83 kB / 0.5825 GB, free: 53.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.463, allocations: 9.064 MB / 0.5914 GB, free: 49.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/1.463, allocations: 4.094 kB / 0.5914 GB, free: 49.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/1.466, allocations: 443.7 kB / 0.5918 GB, free: 49.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002611/1.468, allocations: 0.7097 MB / 0.5925 GB, free: 49.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005213/1.469, allocations: 10.72 kB / 0.5925 GB, free: 49.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00834/1.477, allocations: 5 MB / 0.5974 GB, free: 46.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/1.477, allocations: 3.281 kB / 0.5974 GB, free: 46.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/1.492, allocations: 7.321 MB / 0.6045 GB, free: 43.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/1.494, allocations: 0.7372 MB / 0.6053 GB, free: 43.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001342/1.495, allocations: 7.609 kB / 0.6053 GB, free: 43.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003158/1.499, allocations: 103.4 kB / 0.6054 GB, free: 43.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007863/1.499, allocations: 135 kB / 0.6055 GB, free: 43.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004519/1.5, allocations: 61 kB / 0.6055 GB, free: 43.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005532/1.506, allocations: 2.247 MB / 0.6077 GB, free: 41.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.089e-06/1.506, allocations: 4 kB / 0.6077 GB, free: 41.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.008557/1.514, allocations: 0.986 MB / 0.6087 GB, free: 40.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 186 * 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.0008197/1.515, allocations: 152.7 kB / 0.6089 GB, free: 40.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01175/1.527, allocations: 5.906 MB / 0.6146 GB, free: 35.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.73e-06/1.527, allocations: 0 / 0.6146 GB, free: 35.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004435/1.531, allocations: 2.148 MB / 0.6167 GB, free: 33.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/1.534, allocations: 348.5 kB / 0.617 GB, free: 32.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/1.559, allocations: 9.484 MB / 0.6263 GB, free: 24.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009017/1.568, allocations: 3.765 MB / 0.63 GB, free: 21.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/1.57, allocations: 312.3 kB / 0.6303 GB, free: 21.27 MB / 346.7 MB Notification: Performance of SimCode: time 2.226e-06/1.57, allocations: 0 / 0.6303 GB, free: 21.27 MB / 346.7 MB Notification: Performance of Templates: time 0.3553/1.925, allocations: 81.68 MB / 0.7101 GB, free: 60.02 MB / 362.7 MB