Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.745/2.745, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004544, allocations: 12 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4007, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2669/0.6677, allocations: 101.4 MB / 471.2 MB, free: 5.219 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004168/0.6681, allocations: 83.91 kB / 471.2 MB, free: 5.137 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8463/1.515, allocations: 133.7 MB / 0.5908 GB, free: 12.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.992e-06/1.515, allocations: 0 / 0.5908 GB, free: 12.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005857/1.515, allocations: 131.9 kB / 0.5909 GB, free: 12.15 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.03421/1.549, allocations: 6.891 MB / 0.5976 GB, free: 5.176 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/1.549, allocations: 8.031 kB / 0.5976 GB, free: 5.168 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05445/1.604, allocations: 7.128 MB / 0.6046 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02838/1.632, allocations: 7.262 MB / 0.6117 GB, free: 6.691 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008157/1.633, allocations: 0.5054 MB / 0.6122 GB, free: 6.184 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003952/1.637, allocations: 0.6638 MB / 0.6128 GB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05894/1.696, allocations: 16.79 MB / 0.6292 GB, free: 3.371 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004977/1.697, allocations: 83.19 kB / 0.6293 GB, free: 3.289 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003474/1.7, allocations: 323.8 kB / 0.6296 GB, free: 2.973 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00422/1.705, allocations: 1.569 MB / 0.6311 GB, free: 1.395 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04957/1.754, allocations: 13.98 MB / 0.6448 GB, free: 3.398 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.481/2.235, allocations: 70.13 MB / 0.7133 GB, free: 41.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03405/2.269, allocations: 7.936 MB / 0.721 GB, free: 40.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/2.27, allocations: 52.52 kB / 0.7211 GB, free: 40.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/2.27, allocations: 71.7 kB / 0.7211 GB, free: 40.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 7.214e-06/2.27, allocations: 0 / 0.7211 GB, free: 40.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.1964/2.466, allocations: 33.5 MB / 0.7539 GB, free: 31.65 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/2.466, allocations: 224.1 kB / 0.7541 GB, free: 31.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01487/2.481, allocations: 6.286 MB / 0.7602 GB, free: 29.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009813/2.482, allocations: 75.08 kB / 0.7603 GB, free: 29.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003924/2.486, allocations: 4.378 MB / 0.7646 GB, free: 26.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002117/2.488, allocations: 1.236 MB / 0.7658 GB, free: 25.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/2.49, allocations: 172.7 kB / 0.7659 GB, free: 24.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007306/2.491, allocations: 0.6727 MB / 0.7666 GB, free: 24.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009935/2.501, allocations: 3.79 MB / 0.7703 GB, free: 23.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01309/2.514, allocations: 8.636 MB / 0.7787 GB, free: 14.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/2.527, allocations: 5.587 MB / 0.7842 GB, free: 9.711 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001909/2.527, allocations: 48 kB / 0.7842 GB, free: 9.664 MB / 474.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03885/2.566, allocations: 13.52 MB / 0.7974 GB, free: 14.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/2.566, allocations: 79.95 kB / 0.7975 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003275/2.566, allocations: 168 kB / 0.7977 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007555/2.574, allocations: 1.658 MB / 0.7993 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01509/2.589, allocations: 2.089 MB / 0.8013 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/2.616, allocations: 11.68 MB / 0.8127 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/2.627, allocations: 0.5204 MB / 0.8132 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002503/2.63, allocations: 0.5 MB / 0.8137 GB, free: 40 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.01121/2.641, allocations: 3.142 MB / 0.8168 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00204/2.643, allocations: 0.5592 MB / 0.8173 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02671/2.67, allocations: 7.48 MB / 0.8246 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.962e-05/2.67, allocations: 43.52 kB / 0.8247 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/2.67, allocations: 8 kB / 0.8247 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.799e-05/2.67, allocations: 15.56 kB / 0.8247 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4197/3.09, allocations: 16.28 MB / 0.8406 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.242e-05/3.09, allocations: 3.344 kB / 0.8406 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006889/3.097, allocations: 0.6477 MB / 0.8412 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006663/3.104, allocations: 1.388 MB / 0.8426 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001161/3.105, allocations: 64.88 kB / 0.8427 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02295/3.128, allocations: 10.9 MB / 0.8533 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/3.128, allocations: 9.594 kB / 0.8533 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0328/3.161, allocations: 12.25 MB / 0.8653 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004975/3.166, allocations: 1.204 MB / 0.8664 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002494/3.168, allocations: 61.38 kB / 0.8665 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006568/3.175, allocations: 265.8 kB / 0.8668 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00142/3.176, allocations: 201.1 kB / 0.8669 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000537/3.177, allocations: 88.16 kB / 0.867 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01171/3.189, allocations: 4.005 MB / 0.8709 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.944e-06/3.189, allocations: 0 / 0.8709 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01134/3.2, allocations: 1.672 MB / 0.8726 GB, free: 104.6 MB / 0.4948 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.001426/3.202, allocations: 211.4 kB / 0.8728 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0222/3.224, allocations: 9.331 MB / 0.8819 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/3.224, allocations: 0 / 0.8819 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01135/3.235, allocations: 3.857 MB / 0.8857 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006183/3.242, allocations: 0.6739 MB / 0.8863 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04837/3.29, allocations: 19.28 MB / 0.9051 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01282/3.303, allocations: 4.983 MB / 0.91 GB, free: 90.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003824/3.307, allocations: 464.5 kB / 0.9105 GB, free: 90.55 MB / 0.4948 GB Notification: Performance of SimCode: time 1.363e-06/3.307, allocations: 0 / 0.9105 GB, free: 90.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.6423/3.949, allocations: 147.3 MB / 1.054 GB, free: 119.6 MB / 0.5105 GB