Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.13/2.13, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006149/0.0006151, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3916, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.5771, allocations: 94.77 MB / 426.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.5774, allocations: 87.95 kB / 426.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9911/1.569, allocations: 179.5 MB / 0.592 GB, free: 3.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.815e-06/1.569, allocations: 0 / 0.592 GB, free: 3.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006042/1.569, allocations: 183.9 kB / 0.5921 GB, free: 3.32 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.04381/1.613, allocations: 9.439 MB / 0.6013 GB, free: 9.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/1.613, allocations: 12.02 kB / 0.6014 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07791/1.691, allocations: 9.867 MB / 0.611 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03971/1.731, allocations: 9.878 MB / 0.6206 GB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001183/1.732, allocations: 0.6903 MB / 0.6213 GB, free: 5.227 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005664/1.738, allocations: 0.9214 MB / 0.6222 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7334/2.471, allocations: 22.38 MB / 0.6441 GB, free: 49.1 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008332/2.472, allocations: 107 kB / 0.6442 GB, free: 49.1 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00513/2.477, allocations: 437.7 kB / 0.6446 GB, free: 49.1 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005292/2.483, allocations: 2.088 MB / 0.6466 GB, free: 49.08 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06134/2.544, allocations: 18.66 MB / 0.6649 GB, free: 48.99 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1592/2.703, allocations: 91.44 MB / 0.7541 GB, free: 5.953 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04009/2.743, allocations: 9.432 MB / 0.7634 GB, free: 2.688 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/2.744, allocations: 84.3 kB / 0.7634 GB, free: 2.637 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.797e-05/2.744, allocations: 79.47 kB / 0.7635 GB, free: 2.555 MB / 442.8 MB Notification: Performance of pre-optimization done (n=412): time 8.406e-06/2.744, allocations: 4 kB / 0.7635 GB, free: 2.551 MB / 442.8 MB Notification: Performance of matching and sorting (n=475): time 0.5855/3.33, allocations: 47.26 MB / 0.8097 GB, free: 95.26 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/3.33, allocations: 286.6 kB / 0.8099 GB, free: 94.97 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02474/3.355, allocations: 8.274 MB / 0.818 GB, free: 94.54 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001829/3.357, allocations: 102.1 kB / 0.8181 GB, free: 94.5 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006783/3.363, allocations: 5.765 MB / 0.8238 GB, free: 92.67 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003632/3.367, allocations: 1.746 MB / 0.8255 GB, free: 91.64 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002757/3.37, allocations: 223.5 kB / 0.8257 GB, free: 91.64 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001612/3.372, allocations: 0.7847 MB / 0.8264 GB, free: 91.31 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01551/3.387, allocations: 5.046 MB / 0.8314 GB, free: 91.29 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01998/3.407, allocations: 11.13 MB / 0.8422 GB, free: 83.61 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/3.426, allocations: 7.331 MB / 0.8494 GB, free: 83.54 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003766/3.426, allocations: 59.28 kB / 0.8494 GB, free: 83.54 MB / 474.8 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.05399/3.48, allocations: 17.9 MB / 0.8669 GB, free: 81.1 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/3.48, allocations: 93.91 kB / 0.867 GB, free: 81.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003944/3.481, allocations: 211.9 kB / 0.8672 GB, free: 81.1 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/3.491, allocations: 2.425 MB / 0.8696 GB, free: 80.66 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01943/3.511, allocations: 2.679 MB / 0.8722 GB, free: 80.36 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03431/3.545, allocations: 17.4 MB / 0.8892 GB, free: 71.07 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.015/3.56, allocations: 0.6573 MB / 0.8898 GB, free: 70.89 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003137/3.563, allocations: 0.6515 MB / 0.8905 GB, free: 70.79 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1362): * Single equations (assignments): 1356 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01422/3.578, allocations: 4.179 MB / 0.8946 GB, free: 68.86 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002523/3.58, allocations: 0.7535 MB / 0.8953 GB, free: 68.45 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03544/3.616, allocations: 10.74 MB / 0.9058 GB, free: 64.49 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.855e-05/3.616, allocations: 49.75 kB / 0.9058 GB, free: 64.49 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.527e-05/3.616, allocations: 15.52 kB / 0.9058 GB, free: 64.49 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001282/3.616, allocations: 20.48 kB / 0.9059 GB, free: 64.49 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07312/3.689, allocations: 22.89 MB / 0.9282 GB, free: 49.22 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.906e-05/3.689, allocations: 4 kB / 0.9282 GB, free: 49.21 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009367/3.699, allocations: 0.8799 MB / 0.9291 GB, free: 48.53 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009986/3.709, allocations: 2.081 MB / 0.9311 GB, free: 47.08 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001545/3.71, allocations: 91.45 kB / 0.9312 GB, free: 47 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03266/3.743, allocations: 16.16 MB / 0.947 GB, free: 32.59 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/3.743, allocations: 11.22 kB / 0.947 GB, free: 32.58 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0454/3.789, allocations: 16.99 MB / 0.9636 GB, free: 17.92 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00659/3.795, allocations: 1.614 MB / 0.9652 GB, free: 16.45 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003946/3.799, allocations: 83.8 kB / 0.9652 GB, free: 16.37 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009094/3.808, allocations: 352.7 kB / 0.9656 GB, free: 16.15 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00194/3.81, allocations: 290.6 kB / 0.9659 GB, free: 15.97 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001169/3.812, allocations: 120.5 kB / 0.966 GB, free: 15.86 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01583/3.827, allocations: 5.272 MB / 0.9711 GB, free: 11.54 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.51e-07/3.827, allocations: 0 / 0.9711 GB, free: 11.54 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01552/3.843, allocations: 2.266 MB / 0.9733 GB, free: 9.277 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (406): * Single equations (assignments): 400 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001885/3.845, allocations: 249.9 kB / 0.9736 GB, free: 9.035 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.4019/4.247, allocations: 12.69 MB / 0.986 GB, free: 85.64 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/4.247, allocations: 0 / 0.986 GB, free: 85.64 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01773/4.265, allocations: 5.341 MB / 0.9912 GB, free: 85.23 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009218/4.274, allocations: 0.9411 MB / 0.9921 GB, free: 85.18 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06946/4.343, allocations: 26.44 MB / 1.018 GB, free: 76.09 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01835/4.362, allocations: 6.586 MB / 1.024 GB, free: 75.14 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005825/4.368, allocations: 0.6109 MB / 1.025 GB, free: 75.13 MB / 474.8 MB Notification: Performance of SimCode: time 2.164e-06/4.368, allocations: 3.562 kB / 1.025 GB, free: 75.13 MB / 474.8 MB Notification: Performance of Templates: time 0.8354/5.203, allocations: 235.7 MB / 1.255 GB, free: 55.09 MB / 490.8 MB