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/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.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.133/2.133, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.662e-05, allocations: 4 kB / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2711, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.4241, allocations: 102.2 MB / 460.2 MB, free: 8.621 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4244, allocations: 79.95 kB / 460.3 MB, free: 8.543 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6886/1.113, allocations: 135.3 MB / 0.5816 GB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.641e-06/1.113, allocations: 0 / 0.5816 GB, free: 1.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000397/1.113, allocations: 139.9 kB / 0.5818 GB, free: 1.328 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02319/1.137, allocations: 6.788 MB / 0.5884 GB, free: 10.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.137, allocations: 8.031 kB / 0.5884 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03895/1.176, allocations: 7.182 MB / 0.5954 GB, free: 3.254 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02361/1.199, allocations: 7.531 MB / 0.6028 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000463/1.2, allocations: 224 kB / 0.603 GB, free: 11.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002849/1.203, allocations: 415.8 kB / 0.6034 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02355/1.226, allocations: 9.814 MB / 0.613 GB, free: 1.191 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03687/1.263, allocations: 14.81 MB / 0.6274 GB, free: 1.008 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003904/1.264, allocations: 83.19 kB / 0.6275 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002164/1.266, allocations: 47.94 kB / 0.6276 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2798/1.546, allocations: 1.617 MB / 0.6291 GB, free: 73.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08842/1.634, allocations: 69.48 MB / 0.697 GB, free: 35.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008336/1.642, allocations: 5.571 MB / 0.7024 GB, free: 34.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005782/1.648, allocations: 3.761 MB / 0.7061 GB, free: 33.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002532/1.649, allocations: 58.83 kB / 0.7062 GB, free: 33.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/1.649, allocations: 67.78 kB / 0.7062 GB, free: 33.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=296): time 8.438e-06/1.649, allocations: 0 / 0.7062 GB, free: 33.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=339): time 0.07499/1.724, allocations: 28.75 MB / 0.7343 GB, free: 22.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/1.724, allocations: 241.2 kB / 0.7345 GB, free: 21.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008673/1.732, allocations: 4.538 MB / 0.739 GB, free: 20.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007237/1.733, allocations: 25.7 kB / 0.739 GB, free: 20.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003284/1.737, allocations: 4.809 MB / 0.7437 GB, free: 16.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001666/1.738, allocations: 1.228 MB / 0.7449 GB, free: 15.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009717/1.739, allocations: 2.156 kB / 0.7449 GB, free: 15.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007289/1.74, allocations: 0.7075 MB / 0.7456 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00721/1.747, allocations: 3.566 MB / 0.7491 GB, free: 13.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/1.757, allocations: 8.796 MB / 0.7576 GB, free: 2.551 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/1.77, allocations: 5.666 MB / 0.7632 GB, free: 14.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001934/1.771, allocations: 52 kB / 0.7632 GB, free: 14.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=1210) (initialization): time 0.03271/1.803, allocations: 12.58 MB / 0.7755 GB, free: 3.965 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/1.803, allocations: 86.5 kB / 0.7756 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002875/1.804, allocations: 191.3 kB / 0.7758 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005794/1.81, allocations: 1.713 MB / 0.7775 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01017/1.82, allocations: 2.211 MB / 0.7796 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/1.84, allocations: 10.78 MB / 0.7901 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00912/1.849, allocations: 359.8 kB / 0.7905 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002263/1.851, allocations: 0.5473 MB / 0.791 GB, free: 6.113 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1138): * Single equations (assignments): 1133 * 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.002977/1.855, allocations: 0.5674 MB / 0.7916 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.856, allocations: 0.5046 MB / 0.7921 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01875/1.875, allocations: 6.967 MB / 0.7989 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-05/1.875, allocations: 36 kB / 0.7989 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.359e-05/1.875, allocations: 12 kB / 0.7989 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.36e-05/1.875, allocations: 16.88 kB / 0.7989 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03985/1.915, allocations: 14.84 MB / 0.8134 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/1.915, allocations: 4 kB / 0.8134 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004305/1.919, allocations: 0.617 MB / 0.814 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00517/1.925, allocations: 1.405 MB / 0.8154 GB, free: 2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007246/1.925, allocations: 19.98 kB / 0.8154 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.311/2.236, allocations: 9.928 MB / 0.8251 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/2.236, allocations: 13.22 kB / 0.8251 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02246/2.259, allocations: 12.1 MB / 0.8369 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003405/2.262, allocations: 1.072 MB / 0.838 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/2.264, allocations: 10.84 kB / 0.838 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004384/2.269, allocations: 184.7 kB / 0.8382 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/2.27, allocations: 208.7 kB / 0.8384 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005658/2.27, allocations: 92.02 kB / 0.8385 GB, free: 108 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007374/2.278, allocations: 3.044 MB / 0.8414 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.153e-06/2.278, allocations: 0 / 0.8414 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01083/2.289, allocations: 1.464 MB / 0.8429 GB, free: 107.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * 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.001028/2.29, allocations: 166 kB / 0.843 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01758/2.307, allocations: 8.981 MB / 0.8518 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/2.307, allocations: 6.875 kB / 0.8518 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007362/2.315, allocations: 3.551 MB / 0.8553 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/2.319, allocations: 0.5331 MB / 0.8558 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03334/2.352, allocations: 14.24 MB / 0.8697 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01133/2.364, allocations: 5.189 MB / 0.8748 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002714/2.366, allocations: 447 kB / 0.8752 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.038e-06/2.366, allocations: 0 / 0.8752 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.4967/2.863, allocations: 146.7 MB / 1.018 GB, free: 113.1 MB / 0.4948 GB