Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 1.834/1.834, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.148e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08647, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3545/0.4411, allocations: 94.67 MB / 421.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4413, allocations: 75.64 kB / 421.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8723/1.314, allocations: 178.6 MB / 0.5858 GB, free: 71.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/1.314, allocations: 0 / 0.5858 GB, free: 71.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004728/1.314, allocations: 185.9 kB / 0.586 GB, free: 71.21 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.02866/1.343, allocations: 8.785 MB / 0.5945 GB, free: 67.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.343, allocations: 7.719 kB / 0.5945 GB, free: 67.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04964/1.393, allocations: 9.872 MB / 0.6042 GB, free: 67.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02744/1.42, allocations: 9.831 MB / 0.6138 GB, free: 64.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007949/1.421, allocations: 0.696 MB / 0.6145 GB, free: 64.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004063/1.425, allocations: 0.9116 MB / 0.6154 GB, free: 64.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05498/1.48, allocations: 22.14 MB / 0.637 GB, free: 41.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005215/1.481, allocations: 110.9 kB / 0.6371 GB, free: 41.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003622/1.484, allocations: 434.1 kB / 0.6375 GB, free: 40.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003457/1.488, allocations: 2.088 MB / 0.6395 GB, free: 38.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04557/1.533, allocations: 18.39 MB / 0.6575 GB, free: 20.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4075/1.941, allocations: 91.42 MB / 0.7468 GB, free: 36.17 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02913/1.97, allocations: 9.333 MB / 0.7559 GB, free: 35.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008743/1.979, allocations: 5.603 MB / 0.7614 GB, free: 35.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/1.979, allocations: 88.47 kB / 0.7614 GB, free: 35.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.074e-05/1.979, allocations: 84.12 kB / 0.7615 GB, free: 35.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=412): time 1.043e-05/1.979, allocations: 0 / 0.7615 GB, free: 35.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=475): time 0.1306/2.11, allocations: 38.54 MB / 0.7991 GB, free: 27.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/2.11, allocations: 283.5 kB / 0.7994 GB, free: 26.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01541/2.126, allocations: 7.304 MB / 0.8066 GB, free: 24.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001036/2.127, allocations: 99.77 kB / 0.8066 GB, free: 24.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004287/2.131, allocations: 5.773 MB / 0.8123 GB, free: 19.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002347/2.133, allocations: 1.749 MB / 0.814 GB, free: 18.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/2.135, allocations: 225.2 kB / 0.8142 GB, free: 18.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009653/2.136, allocations: 0.787 MB / 0.815 GB, free: 17.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01006/2.146, allocations: 4.923 MB / 0.8198 GB, free: 16.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/2.159, allocations: 10.98 MB / 0.8305 GB, free: 6.406 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/2.173, allocations: 7.279 MB / 0.8376 GB, free: 3.242 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001703/2.173, allocations: 60 kB / 0.8377 GB, free: 3.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.04573/2.219, allocations: 17.78 MB / 0.855 GB, free: 4.586 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001915/2.219, allocations: 96 kB / 0.8551 GB, free: 4.492 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003359/2.219, allocations: 212.1 kB / 0.8553 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008492/2.228, allocations: 2.477 MB / 0.8577 GB, free: 2.449 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01314/2.241, allocations: 2.671 MB / 0.8604 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03093/2.272, allocations: 16.9 MB / 0.8769 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/2.284, allocations: 0.6746 MB / 0.8775 GB, free: 452 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004003/2.288, allocations: 0.7265 MB / 0.8782 GB, free: 0 / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1362): * Single equations (assignments): 1356 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2857/2.574, allocations: 0.9398 MB / 0.8791 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002212/2.576, allocations: 0.7485 MB / 0.8799 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02795/2.604, allocations: 10.66 MB / 0.8903 GB, free: 115.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.8e-05/2.604, allocations: 50.67 kB / 0.8903 GB, free: 115.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-05/2.605, allocations: 14.11 kB / 0.8903 GB, free: 115.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/2.605, allocations: 27.05 kB / 0.8904 GB, free: 115.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05604/2.661, allocations: 22.84 MB / 0.9127 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.354e-05/2.661, allocations: 5.188 kB / 0.9127 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005965/2.667, allocations: 0.878 MB / 0.9135 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007094/2.674, allocations: 2.132 MB / 0.9156 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001083/2.675, allocations: 85.27 kB / 0.9157 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02422/2.699, allocations: 15.69 MB / 0.931 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/2.699, allocations: 8.828 kB / 0.931 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03333/2.733, allocations: 17.59 MB / 0.9482 GB, free: 99.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005315/2.738, allocations: 1.609 MB / 0.9498 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002746/2.741, allocations: 80.09 kB / 0.9498 GB, free: 98.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006646/2.748, allocations: 358 kB / 0.9502 GB, free: 98.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001553/2.749, allocations: 289.6 kB / 0.9505 GB, free: 98.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008861/2.75, allocations: 125 kB / 0.9506 GB, free: 98.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01217/2.762, allocations: 5.195 MB / 0.9557 GB, free: 96.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.273e-06/2.762, allocations: 0 / 0.9557 GB, free: 96.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01373/2.776, allocations: 2.27 MB / 0.9579 GB, free: 96.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (406): * Single equations (assignments): 400 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.001352/2.777, allocations: 254.2 kB / 0.9581 GB, free: 96.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02283/2.8, allocations: 12.34 MB / 0.9702 GB, free: 89.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/2.8, allocations: 0 / 0.9702 GB, free: 89.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01097/2.811, allocations: 5.277 MB / 0.9753 GB, free: 84.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006582/2.818, allocations: 0.9454 MB / 0.9763 GB, free: 83.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04518/2.863, allocations: 19.45 MB / 0.9952 GB, free: 66.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01457/2.878, allocations: 6.588 MB / 1.002 GB, free: 61.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003692/2.881, allocations: 0.6075 MB / 1.002 GB, free: 61.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.856e-06/2.882, allocations: 0 / 1.002 GB, free: 61.27 MB / 490.7 MB Notification: Performance of Templates: time 0.8863/3.768, allocations: 235.7 MB / 1.232 GB, free: 116.8 MB / 0.4948 GB