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.819/1.819, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004443, allocations: 15.98 kB / 282.5 MB, free: 9.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08751, allocations: 48.71 MB / 331.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.3577/0.4453, allocations: 112.5 MB / 443.7 MB, free: 4.227 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.08861/0.5339, allocations: 24.65 MB / 468.4 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02442/0.5584, allocations: 0.5378 MB / 468.9 MB, free: 10.97 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01809/0.5765, allocations: 5.809 MB / 474.7 MB, free: 5.137 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05493/0.6315, allocations: 15.9 MB / 490.6 MB, free: 5.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007427/0.639, allocations: 1.209 MB / 491.8 MB, free: 3.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4155/1.055, allocations: 27.1 MB / 0.5068 GB, free: 6.195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01589/1.07, allocations: 10.09 MB / 0.5166 GB, free: 5.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004198/1.075, allocations: 2.177 MB / 0.5187 GB, free: 5.355 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005166/1.08, allocations: 3.066 MB / 0.5217 GB, free: 5.344 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001557/1.082, allocations: 332.5 kB / 0.5221 GB, free: 5.344 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/1.085, allocations: 1.216 MB / 0.5232 GB, free: 5.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003934/1.089, allocations: 3.557 MB / 0.5267 GB, free: 5.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002527/1.091, allocations: 1.819 MB / 0.5285 GB, free: 5.309 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01572/1.107, allocations: 12.36 MB / 0.5406 GB, free: 11.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.419e-06/1.107, allocations: 0 / 0.5406 GB, free: 11.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.587e-06/1.107, allocations: 0 / 0.5406 GB, free: 11.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003271/1.107, allocations: 4 kB / 0.5406 GB, free: 11.66 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.02757/1.135, allocations: 9.502 MB / 0.5498 GB, free: 2.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.135, allocations: 8.031 kB / 0.5499 GB, free: 2.945 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.085/1.22, allocations: 11.55 MB / 0.5611 GB, free: 8.418 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01671/1.237, allocations: 6.51 MB / 0.5675 GB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000624/1.237, allocations: 0.5202 MB / 0.568 GB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002556/1.24, allocations: 0.6969 MB / 0.5687 GB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0527/1.293, allocations: 22.29 MB / 0.5904 GB, free: 1.875 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000338/1.293, allocations: 94.14 kB / 0.5905 GB, free: 1.824 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001704/1.295, allocations: 328.4 kB / 0.5908 GB, free: 1.734 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007496/1.302, allocations: 3.863 MB / 0.5946 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05063/1.353, allocations: 18.8 MB / 0.613 GB, free: 1.387 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6454/1.998, allocations: 80.53 MB / 0.6916 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03117/2.03, allocations: 9.218 MB / 0.7006 GB, free: 167.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/2.03, allocations: 83.39 kB / 0.7007 GB, free: 167.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/2.03, allocations: 81.75 kB / 0.7008 GB, free: 167.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 1.88e-05/2.03, allocations: 0 / 0.7008 GB, free: 167.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.2117/2.242, allocations: 47.63 MB / 0.7473 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.626e-05/2.242, allocations: 278.9 kB / 0.7476 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01574/2.258, allocations: 8.7 MB / 0.7561 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001058/2.259, allocations: 101.6 kB / 0.7562 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003894/2.263, allocations: 5.748 MB / 0.7618 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002342/2.265, allocations: 1.745 MB / 0.7635 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/2.267, allocations: 222.4 kB / 0.7637 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007608/2.267, allocations: 0.7819 MB / 0.7644 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01022/2.278, allocations: 5.156 MB / 0.7695 GB, free: 125 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/2.291, allocations: 11.21 MB / 0.7804 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/2.304, allocations: 7.437 MB / 0.7877 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001611/2.304, allocations: 60 kB / 0.7877 GB, free: 104 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.03938/2.344, allocations: 18.21 MB / 0.8055 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/2.344, allocations: 92.09 kB / 0.8056 GB, free: 86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002294/2.344, allocations: 215.9 kB / 0.8058 GB, free: 85.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008208/2.352, allocations: 2.638 MB / 0.8084 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01228/2.365, allocations: 2.702 MB / 0.811 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02764/2.392, allocations: 18.57 MB / 0.8292 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/2.404, allocations: 0.6632 MB / 0.8298 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002219/2.406, allocations: 0.6445 MB / 0.8304 GB, free: 60.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1356): * Single equations (assignments): 1350 * 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.009104/2.415, allocations: 4.183 MB / 0.8345 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/2.417, allocations: 0.7521 MB / 0.8353 GB, free: 55.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02499/2.442, allocations: 11.11 MB / 0.8461 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.092e-05/2.442, allocations: 48 kB / 0.8462 GB, free: 44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.7e-05/2.442, allocations: 12 kB / 0.8462 GB, free: 43.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.551e-05/2.442, allocations: 19.92 kB / 0.8462 GB, free: 43.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05088/2.493, allocations: 23.55 MB / 0.8692 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-05/2.493, allocations: 4 kB / 0.8692 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006004/2.499, allocations: 0.9247 MB / 0.8701 GB, free: 19.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007498/2.507, allocations: 2.284 MB / 0.8723 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/2.508, allocations: 89.08 kB / 0.8724 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2796/2.788, allocations: 17.45 MB / 0.8894 GB, free: 194.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.722e-06/2.788, allocations: 6.344 kB / 0.8895 GB, free: 194.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03997/2.828, allocations: 17.57 MB / 0.9066 GB, free: 191.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005238/2.833, allocations: 1.658 MB / 0.9082 GB, free: 191.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002064/2.835, allocations: 81.31 kB / 0.9083 GB, free: 191 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005814/2.841, allocations: 355.5 kB / 0.9087 GB, free: 191 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001422/2.842, allocations: 292.3 kB / 0.9089 GB, free: 190.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006276/2.843, allocations: 131 kB / 0.9091 GB, free: 190.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01185/2.855, allocations: 5.601 MB / 0.9145 GB, free: 189 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.212e-06/2.855, allocations: 0 / 0.9145 GB, free: 189 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01269/2.868, allocations: 2.311 MB / 0.9168 GB, free: 188.8 MB / 0.5105 GB 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 () * Number of clocked 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.001457/2.869, allocations: 258.8 kB / 0.917 GB, free: 188.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02513/2.894, allocations: 12.75 MB / 0.9295 GB, free: 183.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/2.894, allocations: 0 / 0.9295 GB, free: 183.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01231/2.907, allocations: 5.611 MB / 0.935 GB, free: 181.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006051/2.913, allocations: 0.9331 MB / 0.9359 GB, free: 181.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04813/2.961, allocations: 26.59 MB / 0.9618 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/2.973, allocations: 6.591 MB / 0.9683 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003739/2.977, allocations: 0.6126 MB / 0.9689 GB, free: 154 MB / 0.5105 GB Notification: Performance of SimCode: time 1.961e-06/2.977, allocations: 0 / 0.9689 GB, free: 154 MB / 0.5105 GB Notification: Performance of Templates: time 0.5681/3.545, allocations: 237 MB / 1.2 GB, free: 90.11 MB / 0.5105 GB