Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 2.14/2.14, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.0005059, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09175, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.5324, allocations: 94.73 MB / 403.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003687/0.5329, allocations: 93.52 kB / 403.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4818/1.015, allocations: 97.65 MB / 0.4898 GB, free: 2.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.256e-06/1.015, allocations: 0 / 0.4898 GB, free: 2.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004908/1.015, allocations: 92 kB / 0.4899 GB, free: 2.238 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.02375/1.039, allocations: 4.972 MB / 0.4947 GB, free: 13.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.039, allocations: 12.03 kB / 0.4947 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03689/1.076, allocations: 4.502 MB / 0.4991 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0275/1.104, allocations: 5.058 MB / 0.5041 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006785/1.104, allocations: 369.4 kB / 0.5044 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003226/1.108, allocations: 471.8 kB / 0.5049 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04872/1.156, allocations: 12.05 MB / 0.5166 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002486/1.157, allocations: 55.47 kB / 0.5167 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/1.158, allocations: 231.9 kB / 0.5169 GB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/1.161, allocations: 1.191 MB / 0.5181 GB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.313/1.474, allocations: 9.973 MB / 0.5278 GB, free: 82.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09151/1.566, allocations: 52.84 MB / 0.5794 GB, free: 52.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02106/1.587, allocations: 5.232 MB / 0.5845 GB, free: 51.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01962/1.606, allocations: 8.036 MB / 0.5924 GB, free: 47.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/1.607, allocations: 56.47 kB / 0.5924 GB, free: 47.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 5.821e-06/1.607, allocations: 2.656 kB / 0.5924 GB, free: 47.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.08373/1.69, allocations: 19.83 MB / 0.6118 GB, free: 40.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/1.69, allocations: 183.9 kB / 0.612 GB, free: 40.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/1.701, allocations: 4.69 MB / 0.6166 GB, free: 38.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006003/1.702, allocations: 64.92 kB / 0.6166 GB, free: 38.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003148/1.705, allocations: 3.425 MB / 0.62 GB, free: 36.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001472/1.706, allocations: 0.8902 MB / 0.6208 GB, free: 35.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009246/1.707, allocations: 129.8 kB / 0.621 GB, free: 35.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005321/1.708, allocations: 0.5925 MB / 0.6215 GB, free: 35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00642/1.714, allocations: 2.5 MB / 0.624 GB, free: 34.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009077/1.723, allocations: 6.374 MB / 0.6302 GB, free: 28.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009179/1.733, allocations: 3.934 MB / 0.634 GB, free: 26.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001317/1.733, allocations: 39.44 kB / 0.6341 GB, free: 26.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02535/1.758, allocations: 9.45 MB / 0.6433 GB, free: 18.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.758, allocations: 64.94 kB / 0.6434 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002092/1.758, allocations: 136 kB / 0.6435 GB, free: 18.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003608/1.762, allocations: 0.9009 MB / 0.6444 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009956/1.772, allocations: 1.601 MB / 0.6459 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/1.783, allocations: 5.927 MB / 0.6517 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007576/1.791, allocations: 378.3 kB / 0.6521 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/1.792, allocations: 398.6 kB / 0.6525 GB, free: 10.69 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.006304/1.799, allocations: 2.37 MB / 0.6548 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.8, allocations: 422.5 kB / 0.6552 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/1.813, allocations: 4.264 MB / 0.6594 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/1.813, allocations: 27.83 kB / 0.6594 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/1.813, allocations: 11.7 kB / 0.6594 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.087e-05/1.813, allocations: 18.25 kB / 0.6594 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03536/1.849, allocations: 10.43 MB / 0.6696 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.075e-05/1.849, allocations: 7.953 kB / 0.6696 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004721/1.853, allocations: 478.8 kB / 0.6701 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003545/1.857, allocations: 0.7079 MB / 0.6707 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006396/1.858, allocations: 43.91 kB / 0.6708 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/1.871, allocations: 5.466 MB / 0.6761 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/1.871, allocations: 8 kB / 0.6761 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3721/2.243, allocations: 7.507 MB / 0.6835 GB, free: 91.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004625/2.247, allocations: 0.8118 MB / 0.6843 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002303/2.25, allocations: 47.22 kB / 0.6843 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005943/2.256, allocations: 138.8 kB / 0.6844 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/2.257, allocations: 147.7 kB / 0.6846 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004654/2.258, allocations: 69.81 kB / 0.6846 GB, free: 91.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01267/2.27, allocations: 3.007 MB / 0.6876 GB, free: 90.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.22e-07/2.27, allocations: 0 / 0.6876 GB, free: 90.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0129/2.283, allocations: 1.158 MB / 0.6887 GB, free: 90.94 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.00125/2.285, allocations: 191.8 kB / 0.6889 GB, free: 90.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02191/2.307, allocations: 6.126 MB / 0.6949 GB, free: 90.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/2.307, allocations: 0 / 0.6949 GB, free: 90.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009332/2.316, allocations: 2.262 MB / 0.6971 GB, free: 90.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005959/2.322, allocations: 480.4 kB / 0.6975 GB, free: 90.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04242/2.364, allocations: 12.93 MB / 0.7102 GB, free: 85.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01199/2.376, allocations: 3.759 MB / 0.7138 GB, free: 84.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01443/2.391, allocations: 2.223 MB / 0.716 GB, free: 84.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002931/2.394, allocations: 283.8 kB / 0.7163 GB, free: 84.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.954e-06/2.394, allocations: 0 / 0.7163 GB, free: 84.9 MB / 426.7 MB Notification: Performance of Templates: time 0.1409/2.535, allocations: 41.85 MB / 0.7571 GB, free: 81.39 MB / 426.7 MB