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.Force.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadModel(ModelicaTest): time 2.126/2.126, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.629e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3097, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.461, allocations: 100.8 MB / 458.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4613, allocations: 71.97 kB / 458.9 MB, free: 9.953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6574/1.119, allocations: 125.9 MB / 0.5711 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.123e-06/1.119, allocations: 0 / 0.5711 GB, free: 12.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003918/1.119, allocations: 132 kB / 0.5712 GB, free: 12.01 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02244/1.142, allocations: 6.555 MB / 0.5776 GB, free: 5.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.142, allocations: 8.031 kB / 0.5776 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03905/1.181, allocations: 7.116 MB / 0.5846 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02346/1.204, allocations: 7.368 MB / 0.5918 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004219/1.205, allocations: 212 kB / 0.592 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002667/1.207, allocations: 391.8 kB / 0.5923 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02208/1.23, allocations: 9.164 MB / 0.6013 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03465/1.264, allocations: 14.09 MB / 0.615 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004024/1.265, allocations: 83.19 kB / 0.6151 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002187/1.267, allocations: 44 kB / 0.6152 GB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003123/1.27, allocations: 1.553 MB / 0.6167 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3643/1.634, allocations: 69.08 MB / 0.6841 GB, free: 37.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007824/1.642, allocations: 5.351 MB / 0.6894 GB, free: 36.92 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006033/1.648, allocations: 3.65 MB / 0.6929 GB, free: 36.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/1.649, allocations: 384.9 kB / 0.6933 GB, free: 36.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/1.649, allocations: 64.59 kB / 0.6934 GB, free: 36.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=272): time 7.285e-06/1.649, allocations: 0 / 0.6934 GB, free: 36.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=316): time 0.07379/1.723, allocations: 28.91 MB / 0.7216 GB, free: 28.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/1.723, allocations: 235.9 kB / 0.7218 GB, free: 27.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009101/1.732, allocations: 4.661 MB / 0.7264 GB, free: 26.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006559/1.733, allocations: 29.02 kB / 0.7264 GB, free: 26.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003156/1.736, allocations: 4.643 MB / 0.7309 GB, free: 22.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001446/1.737, allocations: 1.161 MB / 0.7321 GB, free: 21.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007256/1.738, allocations: 3.906 kB / 0.7321 GB, free: 21.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005351/1.739, allocations: 0.6927 MB / 0.7327 GB, free: 21.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006812/1.746, allocations: 3.394 MB / 0.7361 GB, free: 20.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009651/1.755, allocations: 8.647 MB / 0.7445 GB, free: 11.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009825/1.765, allocations: 5.354 MB / 0.7497 GB, free: 9.652 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000173/1.765, allocations: 56 kB / 0.7498 GB, free: 9.598 MB / 458.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02836/1.794, allocations: 12.24 MB / 0.7617 GB, free: 15.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.794, allocations: 90.45 kB / 0.7618 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002855/1.794, allocations: 188 kB / 0.762 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/1.8, allocations: 1.696 MB / 0.7637 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009875/1.81, allocations: 2.178 MB / 0.7658 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/1.83, allocations: 10.61 MB / 0.7761 GB, free: 2.699 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009326/1.839, allocations: 369.1 kB / 0.7765 GB, free: 2.418 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002152/1.842, allocations: 0.5436 MB / 0.777 GB, free: 1.895 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 854 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1122): * Single equations (assignments): 1117 * 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%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00238/1.844, allocations: 0.5766 MB / 0.7776 GB, free: 1.316 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.845, allocations: 0.4975 MB / 0.7781 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01666/1.862, allocations: 6.535 MB / 0.7845 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.981e-05/1.862, allocations: 32 kB / 0.7845 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.172e-05/1.862, allocations: 12 kB / 0.7845 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.396e-05/1.862, allocations: 14.81 kB / 0.7845 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03643/1.899, allocations: 13.77 MB / 0.798 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/1.899, allocations: 0 / 0.798 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003836/1.903, allocations: 0.5702 MB / 0.7985 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004991/1.908, allocations: 1.383 MB / 0.7999 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006554/1.908, allocations: 15.42 kB / 0.7999 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/1.931, allocations: 9.77 MB / 0.8094 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.906e-05/1.931, allocations: 7.938 kB / 0.8094 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.326/2.257, allocations: 11.03 MB / 0.8202 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003212/2.26, allocations: 1.025 MB / 0.8212 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/2.261, allocations: 7.547 kB / 0.8212 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003885/2.265, allocations: 169.7 kB / 0.8214 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008955/2.266, allocations: 188.3 kB / 0.8216 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003582/2.266, allocations: 81.42 kB / 0.8216 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006557/2.273, allocations: 3.15 MB / 0.8247 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.72e-07/2.273, allocations: 0 / 0.8247 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00986/2.283, allocations: 1.397 MB / 0.8261 GB, free: 113.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 254 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008051/2.284, allocations: 153.8 kB / 0.8262 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01613/2.3, allocations: 8.548 MB / 0.8346 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/2.3, allocations: 3.75 kB / 0.8346 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006645/2.307, allocations: 3.341 MB / 0.8378 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/2.31, allocations: 0.5276 MB / 0.8383 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03026/2.341, allocations: 13.49 MB / 0.8515 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01027/2.351, allocations: 4.936 MB / 0.8563 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002425/2.353, allocations: 437.2 kB / 0.8568 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.833e-06/2.353, allocations: 0 / 0.8568 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.1904/2.544, allocations: 139.4 MB / 0.9929 GB, free: 7.668 MB / 0.4948 GB