Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000716/0.0007165, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.389, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.5592, allocations: 94.56 MB / 426.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.5595, allocations: 83.95 kB / 426.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9032/1.463, allocations: 133.5 MB / 0.5468 GB, free: 50.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.463, allocations: 0 / 0.5468 GB, free: 50.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004812/1.463, allocations: 124 kB / 0.5469 GB, free: 49.89 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02781/1.491, allocations: 6.88 MB / 0.5536 GB, free: 42.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.491, allocations: 12.03 kB / 0.5537 GB, free: 42.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05114/1.542, allocations: 7.132 MB / 0.5606 GB, free: 35.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02568/1.568, allocations: 7.259 MB / 0.5677 GB, free: 28.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006546/1.569, allocations: 0.5053 MB / 0.5682 GB, free: 27.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003713/1.573, allocations: 0.656 MB / 0.5688 GB, free: 27.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05093/1.624, allocations: 16.77 MB / 0.5852 GB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004529/1.624, allocations: 91.17 kB / 0.5853 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003341/1.627, allocations: 323.8 kB / 0.5856 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003352/1.631, allocations: 1.562 MB / 0.5871 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04664/1.677, allocations: 13.97 MB / 0.6008 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4369/2.114, allocations: 70.09 MB / 0.6692 GB, free: 36.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03499/2.149, allocations: 7.924 MB / 0.677 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/2.15, allocations: 61.91 kB / 0.677 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/2.15, allocations: 69.81 kB / 0.6771 GB, free: 35.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=290): time 6.783e-06/2.15, allocations: 0 / 0.6771 GB, free: 35.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=332): time 0.149/2.299, allocations: 33.5 MB / 0.7098 GB, free: 31.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/2.299, allocations: 213.9 kB / 0.71 GB, free: 30.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01484/2.314, allocations: 6.299 MB / 0.7162 GB, free: 29.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001036/2.315, allocations: 78.39 kB / 0.7162 GB, free: 29.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004095/2.319, allocations: 4.37 MB / 0.7205 GB, free: 25.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002214/2.321, allocations: 1.238 MB / 0.7217 GB, free: 25.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/2.323, allocations: 170.2 kB / 0.7219 GB, free: 24.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006217/2.323, allocations: 0.6765 MB / 0.7225 GB, free: 24.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0102/2.334, allocations: 3.788 MB / 0.7262 GB, free: 23.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01358/2.347, allocations: 8.638 MB / 0.7347 GB, free: 15.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/2.361, allocations: 5.59 MB / 0.7401 GB, free: 13.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002366/2.361, allocations: 49.44 kB / 0.7402 GB, free: 13.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03837/2.399, allocations: 13.47 MB / 0.7533 GB, free: 2.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/2.399, allocations: 80 kB / 0.7534 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002719/2.4, allocations: 168 kB / 0.7536 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007116/2.407, allocations: 1.654 MB / 0.7552 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01702/2.424, allocations: 2.252 MB / 0.7574 GB, free: 0 / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02598/2.45, allocations: 11.7 MB / 0.7688 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01117/2.461, allocations: 0.5311 MB / 0.7693 GB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002445/2.464, allocations: 0.4982 MB / 0.7698 GB, free: 4.68 MB / 442.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.01097/2.475, allocations: 3.151 MB / 0.7729 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001872/2.477, allocations: 0.5554 MB / 0.7734 GB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03644/2.513, allocations: 8.09 MB / 0.7813 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.477e-05/2.513, allocations: 36 kB / 0.7814 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.753e-05/2.513, allocations: 12 kB / 0.7814 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-05/2.513, allocations: 11.95 kB / 0.7814 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3825/2.896, allocations: 16.3 MB / 0.7973 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.044e-05/2.896, allocations: 3.125 kB / 0.7973 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00703/2.903, allocations: 0.6464 MB / 0.798 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007217/2.91, allocations: 1.395 MB / 0.7993 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/2.911, allocations: 65.05 kB / 0.7994 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02338/2.935, allocations: 10.89 MB / 0.81 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/2.935, allocations: 13.75 kB / 0.81 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03179/2.967, allocations: 12.25 MB / 0.822 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004774/2.971, allocations: 1.203 MB / 0.8232 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002381/2.974, allocations: 60.23 kB / 0.8232 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006192/2.98, allocations: 266.8 kB / 0.8235 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/2.981, allocations: 203.2 kB / 0.8237 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004439/2.982, allocations: 90.33 kB / 0.8238 GB, free: 100.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01033/2.992, allocations: 3.997 MB / 0.8277 GB, free: 100.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.32e-07/2.992, allocations: 0 / 0.8277 GB, free: 100.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01112/3.003, allocations: 1.675 MB / 0.8293 GB, free: 100.3 MB / 458.7 MB 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.001384/3.005, allocations: 210.9 kB / 0.8295 GB, free: 100.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02204/3.027, allocations: 9.314 MB / 0.8386 GB, free: 97.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/3.027, allocations: 1.031 kB / 0.8386 GB, free: 97.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01094/3.038, allocations: 3.848 MB / 0.8424 GB, free: 96.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00617/3.044, allocations: 0.6738 MB / 0.843 GB, free: 95.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04647/3.091, allocations: 19.27 MB / 0.8618 GB, free: 86.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01201/3.103, allocations: 4.992 MB / 0.8667 GB, free: 84.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003753/3.106, allocations: 466.8 kB / 0.8671 GB, free: 84.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.483e-06/3.106, allocations: 0 / 0.8671 GB, free: 84.6 MB / 458.7 MB Notification: Performance of Templates: time 0.6176/3.724, allocations: 147.2 MB / 1.011 GB, free: 92.41 MB / 458.7 MB