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.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.263/2.263, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.892e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2747, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.4315, allocations: 100.2 MB / 458.2 MB, free: 10.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.4319, allocations: 75.95 kB / 458.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8282/1.26, allocations: 128 MB / 0.5725 GB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.656e-06/1.26, allocations: 4 kB / 0.5725 GB, free: 10.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005196/1.261, allocations: 128 kB / 0.5727 GB, free: 10.49 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.03327/1.294, allocations: 6.364 MB / 0.5789 GB, free: 4.051 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/1.294, allocations: 12.03 kB / 0.5789 GB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0443/1.338, allocations: 7.097 MB / 0.5858 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02816/1.367, allocations: 7.243 MB / 0.5929 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004663/1.367, allocations: 216 kB / 0.5931 GB, free: 5.406 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002872/1.37, allocations: 395.9 kB / 0.5935 GB, free: 5.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02342/1.394, allocations: 9.637 MB / 0.6029 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0371/1.431, allocations: 14.14 MB / 0.6167 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004719/1.431, allocations: 79.25 kB / 0.6168 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00268/1.434, allocations: 36 kB / 0.6168 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003279/1.437, allocations: 1.578 MB / 0.6183 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4243/1.862, allocations: 63.88 MB / 0.6807 GB, free: 45.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00879/1.87, allocations: 5.946 MB / 0.6865 GB, free: 44.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006187/1.877, allocations: 4.049 MB / 0.6905 GB, free: 44.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000719/1.877, allocations: 0.5721 MB / 0.691 GB, free: 44.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/1.877, allocations: 72.05 kB / 0.6911 GB, free: 44.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=315): time 8.06e-06/1.877, allocations: 0 / 0.6911 GB, free: 44.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=359): time 0.0769/1.954, allocations: 28.68 MB / 0.7191 GB, free: 35.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/1.954, allocations: 213.9 kB / 0.7193 GB, free: 35.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007569/1.962, allocations: 3.889 MB / 0.7231 GB, free: 33.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007696/1.963, allocations: 33.11 kB / 0.7232 GB, free: 33.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002911/1.966, allocations: 4.369 MB / 0.7274 GB, free: 30.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.968, allocations: 1.275 MB / 0.7287 GB, free: 29.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008226/1.968, allocations: 0 / 0.7287 GB, free: 29.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005914/1.969, allocations: 0.6722 MB / 0.7293 GB, free: 29.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007195/1.976, allocations: 3.503 MB / 0.7327 GB, free: 28.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009964/1.986, allocations: 8.15 MB / 0.7407 GB, free: 19.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009604/1.996, allocations: 5.288 MB / 0.7459 GB, free: 15.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/1.996, allocations: 48 kB / 0.7459 GB, free: 15.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02802/2.024, allocations: 12.07 MB / 0.7577 GB, free: 5.844 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/2.024, allocations: 78.5 kB / 0.7578 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001691/2.024, allocations: 164 kB / 0.7579 GB, free: 5.609 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005341/2.03, allocations: 1.707 MB / 0.7596 GB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008904/2.039, allocations: 2.024 MB / 0.7616 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/2.059, allocations: 10.92 MB / 0.7722 GB, free: 8.934 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00837/2.067, allocations: 346.7 kB / 0.7726 GB, free: 8.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002076/2.069, allocations: 0.5004 MB / 0.7731 GB, free: 8.199 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1046): * Single equations (assignments): 1041 * 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.002729/2.072, allocations: 0.5168 MB / 0.7736 GB, free: 7.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/2.073, allocations: 466 kB / 0.774 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/2.092, allocations: 7.181 MB / 0.781 GB, free: 1.383 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.366e-05/2.092, allocations: 42.09 kB / 0.7811 GB, free: 1.344 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.394e-05/2.092, allocations: 8 kB / 0.7811 GB, free: 1.336 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.796e-05/2.092, allocations: 20.53 kB / 0.7811 GB, free: 1.332 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0437/2.136, allocations: 15.14 MB / 0.7959 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-05/2.136, allocations: 0 / 0.7959 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004515/2.141, allocations: 0.6167 MB / 0.7965 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005332/2.146, allocations: 1.405 MB / 0.7978 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008137/2.147, allocations: 19.42 kB / 0.7979 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01927/2.166, allocations: 9.903 MB / 0.8075 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.311e-06/2.166, allocations: 0 / 0.8075 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0271/2.193, allocations: 11.88 MB / 0.8191 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2947/2.488, allocations: 1.033 MB / 0.8201 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001473/2.49, allocations: 8.188 kB / 0.8201 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004166/2.494, allocations: 205 kB / 0.8203 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/2.495, allocations: 203.1 kB / 0.8205 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006454/2.496, allocations: 94.19 kB / 0.8206 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006658/2.502, allocations: 2.613 MB / 0.8232 GB, free: 118 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.292e-06/2.502, allocations: 0 / 0.8232 GB, free: 118 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01107/2.513, allocations: 1.402 MB / 0.8245 GB, free: 118 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (305): * Single equations (assignments): 300 * 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.001413/2.515, allocations: 161.2 kB / 0.8247 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02154/2.536, allocations: 8.866 MB / 0.8334 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/2.537, allocations: 0 / 0.8334 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008744/2.545, allocations: 3.682 MB / 0.837 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003872/2.549, allocations: 478.5 kB / 0.8374 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/2.583, allocations: 13.6 MB / 0.8507 GB, free: 115 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0112/2.594, allocations: 4.941 MB / 0.8555 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002724/2.597, allocations: 423.6 kB / 0.8559 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of SimCode: time 2.15e-06/2.597, allocations: 3.719 kB / 0.8559 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.1926/2.789, allocations: 138.9 MB / 0.9916 GB, free: 11.53 MB / 0.4948 GB