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.FrameForcesAndTorques2.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.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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.196/2.196, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.855e-05/1.869e-05, allocations: 4 kB / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2729, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.4261, allocations: 100.6 MB / 458.7 MB, free: 10.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4264, allocations: 75.97 kB / 458.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.722/1.148, allocations: 130 MB / 0.5749 GB, free: 8.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.233e-06/1.148, allocations: 0 / 0.5749 GB, free: 8.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004045/1.149, allocations: 135.9 kB / 0.5751 GB, free: 8.004 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02248/1.171, allocations: 6.423 MB / 0.5813 GB, free: 1.508 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.171, allocations: 12.03 kB / 0.5814 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0387/1.21, allocations: 7.128 MB / 0.5883 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02304/1.233, allocations: 7.232 MB / 0.5954 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004547/1.234, allocations: 216 kB / 0.5956 GB, free: 2.844 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00293/1.237, allocations: 399.9 kB / 0.596 GB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02331/1.26, allocations: 9.52 MB / 0.6053 GB, free: 8.926 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03847/1.299, allocations: 14.38 MB / 0.6193 GB, free: 9.191 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004063/1.299, allocations: 83.19 kB / 0.6194 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00233/1.301, allocations: 44 kB / 0.6194 GB, free: 9.066 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003081/1.304, allocations: 1.562 MB / 0.621 GB, free: 7.504 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3698/1.674, allocations: 67.15 MB / 0.6865 GB, free: 39.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008286/1.683, allocations: 5.598 MB / 0.692 GB, free: 38.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005825/1.689, allocations: 3.804 MB / 0.6957 GB, free: 38.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/1.689, allocations: 56.34 kB / 0.6958 GB, free: 38.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/1.689, allocations: 71.92 kB / 0.6958 GB, free: 38.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=290): time 8.309e-06/1.689, allocations: 0 / 0.6958 GB, free: 38.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=334): time 0.07863/1.768, allocations: 29.32 MB / 0.7245 GB, free: 29.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/1.768, allocations: 218.8 kB / 0.7247 GB, free: 29.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008573/1.776, allocations: 4.251 MB / 0.7288 GB, free: 27.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007157/1.777, allocations: 25.7 kB / 0.7289 GB, free: 27.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003049/1.78, allocations: 4.594 MB / 0.7333 GB, free: 24.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/1.782, allocations: 1.211 MB / 0.7345 GB, free: 23.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/1.783, allocations: 0 / 0.7345 GB, free: 23.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001094/1.784, allocations: 0.6878 MB / 0.7352 GB, free: 23.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007655/1.792, allocations: 3.619 MB / 0.7387 GB, free: 21.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.802, allocations: 8.635 MB / 0.7472 GB, free: 11.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/1.813, allocations: 5.503 MB / 0.7525 GB, free: 7.391 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/1.813, allocations: 54.03 kB / 0.7526 GB, free: 7.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.0369/1.85, allocations: 12.88 MB / 0.7652 GB, free: 13.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/1.85, allocations: 82.5 kB / 0.7652 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002824/1.85, allocations: 186.3 kB / 0.7654 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005814/1.856, allocations: 1.697 MB / 0.7671 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/1.866, allocations: 2.173 MB / 0.7692 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/1.887, allocations: 10.77 MB / 0.7797 GB, free: 0.793 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009079/1.896, allocations: 380 kB / 0.7801 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002221/1.898, allocations: 0.5253 MB / 0.7806 GB, free: 12 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1086 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00325/1.901, allocations: 0.5478 MB / 0.7811 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/1.903, allocations: 489.5 kB / 0.7816 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01898/1.922, allocations: 7.139 MB / 0.7886 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.062e-05/1.922, allocations: 40 kB / 0.7886 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.047e-05/1.922, allocations: 8 kB / 0.7886 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.677e-05/1.922, allocations: 13.36 kB / 0.7886 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04085/1.963, allocations: 15 MB / 0.8033 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/1.963, allocations: 4 kB / 0.8033 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004529/1.968, allocations: 0.6585 MB / 0.8039 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005141/1.973, allocations: 1.401 MB / 0.8053 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007573/1.974, allocations: 23.27 kB / 0.8053 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/1.992, allocations: 9.846 MB / 0.8149 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/1.993, allocations: 7.938 kB / 0.8149 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3205/2.313, allocations: 12.33 MB / 0.827 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003449/2.317, allocations: 1.085 MB / 0.828 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/2.318, allocations: 6.281 kB / 0.828 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004562/2.323, allocations: 226.8 kB / 0.8283 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/2.324, allocations: 205.7 kB / 0.8285 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007351/2.325, allocations: 89.52 kB / 0.8285 GB, free: 114 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006875/2.332, allocations: 2.84 MB / 0.8313 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.193e-06/2.332, allocations: 0 / 0.8313 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01071/2.342, allocations: 1.444 MB / 0.8327 GB, free: 113.8 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 275 * 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.00104/2.344, allocations: 165.2 kB / 0.8329 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01821/2.362, allocations: 9.084 MB / 0.8418 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/2.362, allocations: 3.281 kB / 0.8418 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007855/2.37, allocations: 3.63 MB / 0.8453 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/2.374, allocations: 0.4929 MB / 0.8458 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03371/2.407, allocations: 13.91 MB / 0.8594 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01176/2.419, allocations: 5.004 MB / 0.8643 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002983/2.422, allocations: 431 kB / 0.8647 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.168e-06/2.422, allocations: 0 / 0.8647 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.6005/3.023, allocations: 142 MB / 1.003 GB, free: 118.4 MB / 0.4948 GB