Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.128/2.128, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004492, allocations: 16 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2796, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.4343, allocations: 101.4 MB / 470.6 MB, free: 5.191 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4346, allocations: 83.95 kB / 470.7 MB, free: 5.109 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7128/1.147, allocations: 132.8 MB / 0.5894 GB, free: 13.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.046e-06/1.147, allocations: 0 / 0.5894 GB, free: 13.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003784/1.148, allocations: 127.9 kB / 0.5896 GB, free: 12.98 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02426/1.172, allocations: 6.888 MB / 0.5963 GB, free: 6.016 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.172, allocations: 8.031 kB / 0.5963 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03856/1.211, allocations: 7.132 MB / 0.6033 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02304/1.234, allocations: 7.266 MB / 0.6103 GB, free: 7.523 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007485/1.235, allocations: 0.5054 MB / 0.6108 GB, free: 7.016 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/1.238, allocations: 0.6676 MB / 0.6115 GB, free: 6.348 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0475/1.285, allocations: 16.73 MB / 0.6278 GB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003563/1.286, allocations: 95.16 kB / 0.6279 GB, free: 4.168 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001874/1.288, allocations: 323.8 kB / 0.6282 GB, free: 3.852 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003015/1.291, allocations: 1.558 MB / 0.6298 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03868/1.329, allocations: 13.98 MB / 0.6434 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3772/1.707, allocations: 70.15 MB / 0.7119 GB, free: 39.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02654/1.733, allocations: 7.925 MB / 0.7196 GB, free: 39.17 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/1.733, allocations: 57.83 kB / 0.7197 GB, free: 39.17 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/1.733, allocations: 61.06 kB / 0.7198 GB, free: 39.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 8.104e-06/1.734, allocations: 3.438 kB / 0.7198 GB, free: 39.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.1106/1.844, allocations: 32.72 MB / 0.7517 GB, free: 30.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/1.844, allocations: 219.3 kB / 0.7519 GB, free: 30.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/1.856, allocations: 5.624 MB / 0.7574 GB, free: 28.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007505/1.857, allocations: 75.44 kB / 0.7575 GB, free: 28.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003286/1.86, allocations: 4.372 MB / 0.7618 GB, free: 25.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001632/1.862, allocations: 1.244 MB / 0.763 GB, free: 24.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009558/1.863, allocations: 169.8 kB / 0.7631 GB, free: 24.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006009/1.864, allocations: 0.6719 MB / 0.7638 GB, free: 24.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008216/1.872, allocations: 3.793 MB / 0.7675 GB, free: 22.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01092/1.883, allocations: 8.605 MB / 0.7759 GB, free: 14.53 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/1.893, allocations: 5.587 MB / 0.7814 GB, free: 9.887 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/1.893, allocations: 48 kB / 0.7814 GB, free: 9.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03217/1.926, allocations: 13.59 MB / 0.7947 GB, free: 14.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.926, allocations: 77.72 kB / 0.7947 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002957/1.926, allocations: 176 kB / 0.7949 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005847/1.932, allocations: 1.683 MB / 0.7966 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/1.942, allocations: 2.093 MB / 0.7986 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/1.964, allocations: 11.68 MB / 0.81 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009278/1.973, allocations: 0.532 MB / 0.8105 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002108/1.975, allocations: 0.495 MB / 0.811 GB, free: 216 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1047): * Single equations (assignments): 1042 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02129/1.997, allocations: 3.871 MB / 0.8148 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.998, allocations: 0.559 MB / 0.8153 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01986/2.018, allocations: 7.519 MB / 0.8227 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.651e-05/2.018, allocations: 36 kB / 0.8227 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.323e-05/2.018, allocations: 8 kB / 0.8227 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.678e-05/2.018, allocations: 20.02 kB / 0.8227 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6569/2.675, allocations: 16.35 MB / 0.8387 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-05/2.675, allocations: 3.594 kB / 0.8387 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004954/2.68, allocations: 0.6558 MB / 0.8394 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00527/2.686, allocations: 1.416 MB / 0.8407 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007356/2.686, allocations: 61.67 kB / 0.8408 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03061/2.717, allocations: 10.92 MB / 0.8515 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/2.717, allocations: 9.438 kB / 0.8515 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0424/2.759, allocations: 12.84 MB / 0.864 GB, free: 103.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005998/2.765, allocations: 1.21 MB / 0.8652 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002744/2.768, allocations: 56.7 kB / 0.8652 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007728/2.776, allocations: 271.1 kB / 0.8655 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/2.778, allocations: 203.8 kB / 0.8657 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007152/2.778, allocations: 91.91 kB / 0.8658 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01394/2.792, allocations: 3.997 MB / 0.8697 GB, free: 103.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.95e-06/2.792, allocations: 3.281 kB / 0.8697 GB, free: 103.3 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01677/2.809, allocations: 1.667 MB / 0.8713 GB, free: 103.3 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (278): * Single equations (assignments): 273 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.001334/2.81, allocations: 212.9 kB / 0.8715 GB, free: 103.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02949/2.84, allocations: 9.331 MB / 0.8806 GB, free: 102.2 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/2.84, allocations: 3.594 kB / 0.8806 GB, free: 102.2 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01388/2.854, allocations: 3.861 MB / 0.8844 GB, free: 100.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007545/2.862, allocations: 0.6633 MB / 0.8851 GB, free: 100.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04634/2.908, allocations: 19.23 MB / 0.9038 GB, free: 91.08 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01071/2.919, allocations: 4.992 MB / 0.9087 GB, free: 89.42 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00278/2.922, allocations: 462.7 kB / 0.9091 GB, free: 89.4 MB / 0.4949 GB Notification: Performance of SimCode: time 1.773e-06/2.922, allocations: 0 / 0.9091 GB, free: 89.4 MB / 0.4949 GB Notification: Performance of Templates: time 0.5001/3.422, allocations: 147.3 MB / 1.053 GB, free: 122.4 MB / 0.5105 GB