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.FrameForcesAndTorques.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.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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.253/2.253, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004327, allocations: 8 kB / 314.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2723, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.4252, allocations: 102.9 MB / 472.2 MB, free: 3.629 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4255, allocations: 75.97 kB / 472.3 MB, free: 3.555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7612/1.187, allocations: 138.3 MB / 0.5963 GB, free: 5.402 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.766e-06/1.187, allocations: 0 / 0.5963 GB, free: 5.402 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004463/1.187, allocations: 136 kB / 0.5964 GB, free: 5.27 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03382/1.221, allocations: 7.284 MB / 0.6036 GB, free: 13.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.221, allocations: 8.031 kB / 0.6036 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03958/1.261, allocations: 7.182 MB / 0.6106 GB, free: 6.688 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02425/1.285, allocations: 7.573 MB / 0.618 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009415/1.286, allocations: 0.5175 MB / 0.6185 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003131/1.289, allocations: 0.691 MB / 0.6192 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04851/1.338, allocations: 17.23 MB / 0.636 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003736/1.338, allocations: 95.11 kB / 0.6361 GB, free: 11.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/1.34, allocations: 327.8 kB / 0.6364 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003315/1.344, allocations: 1.621 MB / 0.638 GB, free: 9.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3548/1.698, allocations: 14.35 MB / 0.652 GB, free: 78.31 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09104/1.789, allocations: 72.28 MB / 0.7226 GB, free: 38.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/1.813, allocations: 7.195 MB / 0.7296 GB, free: 36.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01962/1.833, allocations: 9.472 MB / 0.7388 GB, free: 32.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/1.833, allocations: 65.75 kB / 0.7389 GB, free: 32.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=297): time 7.614e-06/1.833, allocations: 0 / 0.7389 GB, free: 32.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.1029/1.936, allocations: 32.17 MB / 0.7703 GB, free: 20.51 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/1.936, allocations: 245.1 kB / 0.7706 GB, free: 20.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/1.948, allocations: 5.947 MB / 0.7764 GB, free: 16.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007237/1.949, allocations: 73.7 kB / 0.7764 GB, free: 16.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003368/1.953, allocations: 4.571 MB / 0.7809 GB, free: 12.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.954, allocations: 1.262 MB / 0.7821 GB, free: 11.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/1.956, allocations: 183.8 kB / 0.7823 GB, free: 11.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007016/1.956, allocations: 0.6884 MB / 0.783 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00815/1.964, allocations: 3.731 MB / 0.7866 GB, free: 7.551 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/1.976, allocations: 8.772 MB / 0.7952 GB, free: 13.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/1.989, allocations: 5.592 MB / 0.8006 GB, free: 8.445 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001802/1.989, allocations: 52 kB / 0.8007 GB, free: 8.395 MB / 490.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03633/2.025, allocations: 13.6 MB / 0.814 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/2.026, allocations: 80.22 kB / 0.8141 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002778/2.026, allocations: 180 kB / 0.8142 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005841/2.032, allocations: 1.7 MB / 0.8159 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/2.042, allocations: 2.118 MB / 0.818 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/2.064, allocations: 11.76 MB / 0.8294 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009618/2.074, allocations: 0.5284 MB / 0.83 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002109/2.076, allocations: 0.5153 MB / 0.8305 GB, free: 14.11 MB / 0.5105 GB 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.009694/2.086, allocations: 3.283 MB / 0.8337 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001916/2.088, allocations: 0.5823 MB / 0.8342 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02078/2.109, allocations: 7.532 MB / 0.8416 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.749e-05/2.109, allocations: 32 kB / 0.8416 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-05/2.109, allocations: 15.62 kB / 0.8416 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.601e-05/2.109, allocations: 19.89 kB / 0.8417 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.385/2.494, allocations: 16.08 MB / 0.8574 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.271e-05/2.494, allocations: 4.344 kB / 0.8574 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004218/2.498, allocations: 0.6356 MB / 0.858 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005058/2.503, allocations: 1.416 MB / 0.8594 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007774/2.504, allocations: 64.66 kB / 0.8594 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/2.523, allocations: 10.93 MB / 0.8701 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.516e-06/2.523, allocations: 7.969 kB / 0.8701 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02437/2.547, allocations: 12.72 MB / 0.8825 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003972/2.551, allocations: 1.202 MB / 0.8837 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001736/2.553, allocations: 60.75 kB / 0.8838 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004677/2.557, allocations: 234.8 kB / 0.884 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/2.559, allocations: 208.1 kB / 0.8842 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003782/2.559, allocations: 92.84 kB / 0.8843 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009971/2.569, allocations: 4.283 MB / 0.8884 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.479e-06/2.569, allocations: 0 / 0.8884 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01066/2.58, allocations: 1.695 MB / 0.8901 GB, free: 114.1 MB / 0.5105 GB 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.001055/2.581, allocations: 207 kB / 0.8903 GB, free: 114 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01799/2.599, allocations: 9.185 MB / 0.8993 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.911e-06/2.599, allocations: 6.188 kB / 0.8993 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008231/2.607, allocations: 3.709 MB / 0.9029 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/2.612, allocations: 0.706 MB / 0.9036 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03915/2.651, allocations: 19.75 MB / 0.9229 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/2.663, allocations: 5.174 MB / 0.9279 GB, free: 99.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00268/2.666, allocations: 481.5 kB / 0.9284 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of SimCode: time 2.556e-06/2.666, allocations: 0 / 0.9284 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.5054/3.171, allocations: 152.2 MB / 1.077 GB, free: 117 MB / 0.5105 GB