Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.837/1.837, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004349, allocations: 16 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2822, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.4257, allocations: 94.77 MB / 426 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.426, allocations: 79.95 kB / 426.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8351/1.261, allocations: 178.4 MB / 0.5903 GB, free: 4.684 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.826e-06/1.261, allocations: 0 / 0.5903 GB, free: 4.684 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004711/1.262, allocations: 183.9 kB / 0.5905 GB, free: 4.504 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.03183/1.293, allocations: 9.443 MB / 0.5997 GB, free: 10.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.294, allocations: 12.02 kB / 0.5997 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05377/1.347, allocations: 9.867 MB / 0.6094 GB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03062/1.378, allocations: 9.878 MB / 0.619 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/1.379, allocations: 0.6903 MB / 0.6197 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/1.383, allocations: 0.9175 MB / 0.6206 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3222/1.705, allocations: 22.31 MB / 0.6424 GB, free: 50.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006126/1.706, allocations: 106.8 kB / 0.6425 GB, free: 50.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003583/1.71, allocations: 434.8 kB / 0.6429 GB, free: 50.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004055/1.714, allocations: 2.086 MB / 0.6449 GB, free: 50.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04889/1.763, allocations: 18.67 MB / 0.6631 GB, free: 50.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1247/1.887, allocations: 91.43 MB / 0.7524 GB, free: 8.031 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03033/1.918, allocations: 9.44 MB / 0.7617 GB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003945/1.918, allocations: 87.89 kB / 0.7617 GB, free: 4.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/1.918, allocations: 80.8 kB / 0.7618 GB, free: 4.898 MB / 442.7 MB Notification: Performance of pre-optimization done (n=412): time 9.718e-06/1.918, allocations: 0 / 0.7618 GB, free: 4.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=475): time 0.1643/2.083, allocations: 45.75 MB / 0.8065 GB, free: 1.469 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002133/2.083, allocations: 282.8 kB / 0.8068 GB, free: 1.137 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3103/2.393, allocations: 7.729 MB / 0.8143 GB, free: 99.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/2.394, allocations: 101.6 kB / 0.8144 GB, free: 99.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004512/2.399, allocations: 5.765 MB / 0.82 GB, free: 97.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002413/2.401, allocations: 1.742 MB / 0.8217 GB, free: 96.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/2.402, allocations: 228 kB / 0.822 GB, free: 96.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009428/2.403, allocations: 0.7826 MB / 0.8227 GB, free: 96.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01117/2.415, allocations: 5.046 MB / 0.8277 GB, free: 96.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01514/2.43, allocations: 11.08 MB / 0.8385 GB, free: 88.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/2.444, allocations: 7.334 MB / 0.8456 GB, free: 88.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001977/2.445, allocations: 62.73 kB / 0.8457 GB, free: 88.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.04303/2.488, allocations: 17.97 MB / 0.8632 GB, free: 87.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/2.488, allocations: 95.28 kB / 0.8633 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003126/2.488, allocations: 215.4 kB / 0.8635 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008198/2.496, allocations: 2.471 MB / 0.866 GB, free: 87.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01261/2.509, allocations: 2.675 MB / 0.8686 GB, free: 87.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02814/2.537, allocations: 17.41 MB / 0.8856 GB, free: 77.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/2.549, allocations: 0.6753 MB / 0.8862 GB, free: 77.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002439/2.552, allocations: 0.6386 MB / 0.8869 GB, free: 77.54 MB / 474.7 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.01076/2.562, allocations: 4.192 MB / 0.8909 GB, free: 75.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002136/2.565, allocations: 0.7517 MB / 0.8917 GB, free: 75.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02741/2.592, allocations: 10.79 MB / 0.9022 GB, free: 71.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.472e-05/2.592, allocations: 50.91 kB / 0.9023 GB, free: 71.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-05/2.592, allocations: 10.78 kB / 0.9023 GB, free: 71.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.625e-05/2.592, allocations: 24.11 kB / 0.9023 GB, free: 71.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05407/2.646, allocations: 22.97 MB / 0.9247 GB, free: 56.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.956e-05/2.647, allocations: 4 kB / 0.9247 GB, free: 56.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005761/2.652, allocations: 0.8888 MB / 0.9256 GB, free: 55.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006957/2.659, allocations: 2.129 MB / 0.9277 GB, free: 53.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001091/2.66, allocations: 91.38 kB / 0.9278 GB, free: 53.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/2.687, allocations: 16.18 MB / 0.9436 GB, free: 39.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.966e-06/2.687, allocations: 4 kB / 0.9436 GB, free: 39.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03374/2.721, allocations: 17.79 MB / 0.9609 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005239/2.726, allocations: 1.606 MB / 0.9625 GB, free: 22.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002644/2.729, allocations: 85.67 kB / 0.9626 GB, free: 22.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00623/2.735, allocations: 355.9 kB / 0.9629 GB, free: 22.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001502/2.737, allocations: 292.3 kB / 0.9632 GB, free: 21.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008178/2.737, allocations: 123.1 kB / 0.9633 GB, free: 21.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01879/2.756, allocations: 5.276 MB / 0.9685 GB, free: 17.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.178e-06/2.756, allocations: 0 / 0.9685 GB, free: 17.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02209/2.778, allocations: 2.271 MB / 0.9707 GB, free: 15.19 MB / 474.7 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.002384/2.781, allocations: 243.4 kB / 0.9709 GB, free: 14.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.2987/3.08, allocations: 12.65 MB / 0.9833 GB, free: 91.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/3.08, allocations: 3.688 kB / 0.9833 GB, free: 91.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01168/3.091, allocations: 5.348 MB / 0.9885 GB, free: 90.82 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00662/3.098, allocations: 0.9318 MB / 0.9894 GB, free: 90.78 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05004/3.148, allocations: 26.38 MB / 1.015 GB, free: 81.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01288/3.161, allocations: 6.586 MB / 1.022 GB, free: 80.76 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003728/3.165, allocations: 0.6073 MB / 1.022 GB, free: 80.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.686e-06/3.165, allocations: 0 / 1.022 GB, free: 80.75 MB / 474.7 MB Notification: Performance of Templates: time 0.5908/3.756, allocations: 235.7 MB / 1.252 GB, free: 62 MB / 490.7 MB