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.FrameForcesAndTorques.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.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.981/1.981, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004402, allocations: 16 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3648, allocations: 48.71 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.5429, allocations: 96.12 MB / 427.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.5432, allocations: 79.97 kB / 428 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8597/1.403, allocations: 139.1 MB / 0.5538 GB, free: 43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.856e-06/1.403, allocations: 0 / 0.5538 GB, free: 43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004428/1.403, allocations: 136 kB / 0.5539 GB, free: 42.86 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.03054/1.434, allocations: 7.283 MB / 0.561 GB, free: 35.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.434, allocations: 8.031 kB / 0.561 GB, free: 35.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05192/1.486, allocations: 7.182 MB / 0.568 GB, free: 28.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02588/1.512, allocations: 7.554 MB / 0.5754 GB, free: 20.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006752/1.513, allocations: 0.5174 MB / 0.5759 GB, free: 20.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003758/1.516, allocations: 0.6832 MB / 0.5766 GB, free: 19.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05046/1.567, allocations: 17.28 MB / 0.5935 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004928/1.568, allocations: 91.2 kB / 0.5936 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003152/1.571, allocations: 327.8 kB / 0.5939 GB, free: 384 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003912/1.575, allocations: 1.624 MB / 0.5954 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0501/1.625, allocations: 14.35 MB / 0.6095 GB, free: 364 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4608/2.086, allocations: 72.23 MB / 0.68 GB, free: 31.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03015/2.116, allocations: 7.193 MB / 0.687 GB, free: 30.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02435/2.14, allocations: 9.459 MB / 0.6963 GB, free: 29.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/2.14, allocations: 71.25 kB / 0.6963 GB, free: 29.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=297): time 7.795e-06/2.14, allocations: 0 / 0.6963 GB, free: 29.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.1424/2.283, allocations: 32.95 MB / 0.7285 GB, free: 18.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/2.283, allocations: 244.8 kB / 0.7287 GB, free: 18.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01664/2.3, allocations: 6.666 MB / 0.7353 GB, free: 16.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/2.301, allocations: 77.7 kB / 0.7353 GB, free: 16.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004308/2.305, allocations: 4.565 MB / 0.7398 GB, free: 12.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002274/2.307, allocations: 1.266 MB / 0.741 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001756/2.309, allocations: 180.9 kB / 0.7412 GB, free: 11.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009219/2.31, allocations: 0.6875 MB / 0.7419 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/2.321, allocations: 3.734 MB / 0.7455 GB, free: 9.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01363/2.334, allocations: 8.795 MB / 0.7541 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0191/2.353, allocations: 5.852 MB / 0.7598 GB, free: 12.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002412/2.354, allocations: 48 kB / 0.7599 GB, free: 12.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.04258/2.396, allocations: 13.54 MB / 0.7731 GB, free: 1.059 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/2.397, allocations: 88.12 kB / 0.7732 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003579/2.397, allocations: 180 kB / 0.7733 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00764/2.405, allocations: 1.669 MB / 0.775 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01485/2.419, allocations: 2.119 MB / 0.777 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02586/2.445, allocations: 11.71 MB / 0.7885 GB, free: 3.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/2.457, allocations: 0.5153 MB / 0.789 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002569/2.46, allocations: 0.5223 MB / 0.7895 GB, free: 2.316 MB / 458.7 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.3414/2.801, allocations: 3.325 MB / 0.7927 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002165/2.803, allocations: 0.5804 MB / 0.7933 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02574/2.829, allocations: 7.488 MB / 0.8006 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/2.829, allocations: 35.98 kB / 0.8006 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.458e-05/2.829, allocations: 9.188 kB / 0.8007 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001022/2.829, allocations: 16.7 kB / 0.8007 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05232/2.882, allocations: 16.02 MB / 0.8163 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-05/2.882, allocations: 5.719 kB / 0.8163 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006547/2.888, allocations: 0.6313 MB / 0.8169 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006491/2.895, allocations: 1.387 MB / 0.8183 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/2.896, allocations: 66.09 kB / 0.8184 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02234/2.918, allocations: 10.91 MB / 0.829 GB, free: 97.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/2.918, allocations: 10.56 kB / 0.829 GB, free: 97.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0313/2.95, allocations: 11.84 MB / 0.8406 GB, free: 93.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004837/2.955, allocations: 1.207 MB / 0.8418 GB, free: 92.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002662/2.957, allocations: 57.81 kB / 0.8418 GB, free: 92.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006267/2.964, allocations: 221.4 kB / 0.842 GB, free: 92.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001345/2.965, allocations: 204.8 kB / 0.8422 GB, free: 92.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005023/2.965, allocations: 89.8 kB / 0.8423 GB, free: 92.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01161/2.977, allocations: 4.283 MB / 0.8465 GB, free: 91.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.373e-06/2.977, allocations: 0 / 0.8465 GB, free: 91.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01173/2.989, allocations: 1.703 MB / 0.8482 GB, free: 91 MB / 458.7 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.001392/2.99, allocations: 214.7 kB / 0.8484 GB, free: 90.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02146/3.012, allocations: 9.175 MB / 0.8573 GB, free: 87.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/3.012, allocations: 5.531 kB / 0.8573 GB, free: 87.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009959/3.022, allocations: 3.707 MB / 0.861 GB, free: 86.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/3.028, allocations: 0.708 MB / 0.8616 GB, free: 86.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04528/3.073, allocations: 19.79 MB / 0.881 GB, free: 71.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01245/3.086, allocations: 5.183 MB / 0.886 GB, free: 67.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003593/3.09, allocations: 482.4 kB / 0.8865 GB, free: 67.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.363e-06/3.09, allocations: 0 / 0.8865 GB, free: 67.12 MB / 458.7 MB Notification: Performance of Templates: time 0.6495/3.739, allocations: 152.1 MB / 1.035 GB, free: 78.95 MB / 474.7 MB