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.FrameForcesAndTorques.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.FrameForcesAndTorques,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.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 1.785/1.785, allocations: 209.3 MB / 224.9 MB, free: 332 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004315, allocations: 12 kB / 282.6 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.285, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.4495, allocations: 96.13 MB / 427.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/0.45, allocations: 75.97 kB / 427.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7714/1.221, allocations: 138.1 MB / 0.5524 GB, free: 43.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.737e-06/1.221, allocations: 0 / 0.5524 GB, free: 43.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003701/1.222, allocations: 139.9 kB / 0.5525 GB, free: 43.74 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.0232/1.245, allocations: 7.287 MB / 0.5596 GB, free: 36.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/1.245, allocations: 8.031 kB / 0.5596 GB, free: 36.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03604/1.281, allocations: 7.182 MB / 0.5666 GB, free: 29.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02067/1.302, allocations: 7.56 MB / 0.574 GB, free: 21.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005914/1.302, allocations: 0.5213 MB / 0.5745 GB, free: 20.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002873/1.305, allocations: 0.6871 MB / 0.5752 GB, free: 20.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04257/1.348, allocations: 17.22 MB / 0.592 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003556/1.348, allocations: 83.27 kB / 0.5921 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002255/1.351, allocations: 335.8 kB / 0.5924 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002777/1.353, allocations: 1.617 MB / 0.594 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0404/1.394, allocations: 14.35 MB / 0.608 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6562/2.05, allocations: 72.23 MB / 0.6785 GB, free: 30.2 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02486/2.075, allocations: 7.204 MB / 0.6856 GB, free: 29.49 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/2.096, allocations: 9.463 MB / 0.6948 GB, free: 28.07 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/2.096, allocations: 64.81 kB / 0.6949 GB, free: 28.03 MB / 426.8 MB Notification: Performance of pre-optimization done (n=297): time 8.972e-06/2.096, allocations: 2.531 kB / 0.6949 GB, free: 28.03 MB / 426.8 MB Notification: Performance of matching and sorting (n=339): time 0.1035/2.199, allocations: 32.16 MB / 0.7263 GB, free: 18.21 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.787e-05/2.2, allocations: 245.8 kB / 0.7265 GB, free: 17.96 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/2.212, allocations: 5.952 MB / 0.7323 GB, free: 15.94 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007217/2.212, allocations: 76.2 kB / 0.7324 GB, free: 15.87 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003345/2.216, allocations: 4.568 MB / 0.7369 GB, free: 12.24 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001732/2.218, allocations: 1.26 MB / 0.7381 GB, free: 11.32 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009422/2.219, allocations: 179.9 kB / 0.7383 GB, free: 11.18 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0006033/2.219, allocations: 0.6867 MB / 0.7389 GB, free: 10.7 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008094/2.227, allocations: 3.738 MB / 0.7426 GB, free: 9.434 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/2.238, allocations: 8.761 MB / 0.7511 GB, free: 1.145 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/2.251, allocations: 5.612 MB / 0.7566 GB, free: 12.43 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001724/2.251, allocations: 48 kB / 0.7567 GB, free: 12.38 MB / 442.8 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03563/2.286, allocations: 13.59 MB / 0.7699 GB, free: 1.012 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/2.287, allocations: 84 kB / 0.77 GB, free: 0.9297 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003129/2.287, allocations: 176 kB / 0.7702 GB, free: 0.7578 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006396/2.293, allocations: 1.738 MB / 0.7719 GB, free: 15.54 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/2.304, allocations: 2.118 MB / 0.774 GB, free: 13.73 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/2.325, allocations: 11.71 MB / 0.7854 GB, free: 3.246 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009758/2.335, allocations: 0.5303 MB / 0.7859 GB, free: 2.801 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002103/2.337, allocations: 0.5205 MB / 0.7864 GB, free: 2.301 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1089): * Single equations (assignments): 1084 * 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.01045/2.348, allocations: 3.33 MB / 0.7897 GB, free: 15.56 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001637/2.349, allocations: 0.5822 MB / 0.7902 GB, free: 14.97 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02019/2.37, allocations: 7.529 MB / 0.7976 GB, free: 8.863 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.803e-05/2.37, allocations: 36 kB / 0.7976 GB, free: 8.828 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.919e-05/2.37, allocations: 8 kB / 0.7976 GB, free: 8.82 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.779e-05/2.37, allocations: 22.8 kB / 0.7977 GB, free: 8.816 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3195/2.689, allocations: 16.08 MB / 0.8134 GB, free: 115.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/2.689, allocations: 7.688 kB / 0.8134 GB, free: 115.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004593/2.694, allocations: 0.6308 MB / 0.814 GB, free: 115.1 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005016/2.699, allocations: 1.418 MB / 0.8154 GB, free: 115.1 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008142/2.7, allocations: 72.91 kB / 0.8154 GB, free: 115.1 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/2.719, allocations: 10.92 MB / 0.8261 GB, free: 112.5 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/2.719, allocations: 5.672 kB / 0.8261 GB, free: 112.5 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.024/2.743, allocations: 12.72 MB / 0.8385 GB, free: 110.8 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003895/2.747, allocations: 1.2 MB / 0.8397 GB, free: 110.7 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001699/2.749, allocations: 61.16 kB / 0.8398 GB, free: 110.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004502/2.753, allocations: 230.4 kB / 0.84 GB, free: 110.7 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/2.754, allocations: 204.7 kB / 0.8402 GB, free: 110.7 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004177/2.755, allocations: 92.58 kB / 0.8403 GB, free: 110.7 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01028/2.765, allocations: 4.281 MB / 0.8444 GB, free: 110.4 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.63e-07/2.765, allocations: 3.312 kB / 0.8444 GB, free: 110.4 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01086/2.776, allocations: 1.698 MB / 0.8461 GB, free: 110.4 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.001083/2.777, allocations: 210.7 kB / 0.8463 GB, free: 110.4 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01793/2.795, allocations: 9.178 MB / 0.8553 GB, free: 107.7 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/2.795, allocations: 3 kB / 0.8553 GB, free: 107.7 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008241/2.803, allocations: 3.719 MB / 0.8589 GB, free: 106.3 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/2.809, allocations: 0.7121 MB / 0.8596 GB, free: 105.9 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03955/2.848, allocations: 19.74 MB / 0.8789 GB, free: 96.21 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01186/2.86, allocations: 5.173 MB / 0.8839 GB, free: 94.51 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002911/2.863, allocations: 481.6 kB / 0.8844 GB, free: 94.3 MB / 474.8 MB Notification: Performance of SimCode: time 2.029e-06/2.863, allocations: 0 / 0.8844 GB, free: 94.3 MB / 474.8 MB Notification: Performance of Templates: time 0.4979/3.361, allocations: 152.1 MB / 1.033 GB, free: 101.3 MB / 474.8 MB