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.WorldForceAndTorque.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.136/2.136, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004572, allocations: 15.98 kB / 314.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2787, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.4358/0.7145, allocations: 112.6 MB / 481.8 MB, free: 196 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05465/0.7692, allocations: 24.67 MB / 0.4946 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02405/0.7933, allocations: 0.5402 MB / 0.4951 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01754/0.8109, allocations: 5.813 MB / 0.5008 GB, free: 12.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05114/0.8621, allocations: 15.9 MB / 0.5163 GB, free: 7.684 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006987/0.8691, allocations: 1.209 MB / 0.5175 GB, free: 7.375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.05555/0.9247, allocations: 27.1 MB / 0.544 GB, free: 4.879 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01837/0.9431, allocations: 10.09 MB / 0.5538 GB, free: 13.56 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/0.9481, allocations: 2.185 MB / 0.5559 GB, free: 11.81 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005931/0.9541, allocations: 3.072 MB / 0.5589 GB, free: 9.285 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001832/0.956, allocations: 332 kB / 0.5593 GB, free: 8.961 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0042/0.9602, allocations: 1.218 MB / 0.5605 GB, free: 7.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005446/0.9657, allocations: 3.556 MB / 0.5639 GB, free: 5.066 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003001/0.9687, allocations: 1.824 MB / 0.5657 GB, free: 4.082 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01836/0.9871, allocations: 12.38 MB / 0.5778 GB, free: 9.348 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.579e-06/0.9872, allocations: 0 / 0.5778 GB, free: 9.348 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.057e-06/0.9872, allocations: 0 / 0.5778 GB, free: 9.348 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003221/0.9875, allocations: 0 / 0.5778 GB, free: 9.348 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.02732/1.015, allocations: 9.504 MB / 0.5871 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.015, allocations: 12.03 kB / 0.5871 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07775/1.093, allocations: 11.54 MB / 0.5984 GB, free: 6.098 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/1.11, allocations: 6.521 MB / 0.6047 GB, free: 1.168 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006134/1.11, allocations: 0.5278 MB / 0.6052 GB, free: 0.875 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002647/1.113, allocations: 0.7044 MB / 0.6059 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05438/1.167, allocations: 22.29 MB / 0.6277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000356/1.168, allocations: 91.14 kB / 0.6278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/1.169, allocations: 339.9 kB / 0.6281 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007645/1.177, allocations: 3.865 MB / 0.6319 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05131/1.228, allocations: 18.83 MB / 0.6503 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6497/1.878, allocations: 80.59 MB / 0.729 GB, free: 161.8 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03014/1.908, allocations: 9.218 MB / 0.738 GB, free: 156.2 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004028/1.909, allocations: 88.67 kB / 0.7381 GB, free: 156.1 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/1.909, allocations: 89.2 kB / 0.7382 GB, free: 156 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=412): time 9.281e-06/1.909, allocations: 0 / 0.7382 GB, free: 156 MB / 0.5262 GB Notification: Performance of matching and sorting (n=475): time 0.1454/2.054, allocations: 47.62 MB / 0.7847 GB, free: 108.1 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/2.054, allocations: 284.9 kB / 0.7849 GB, free: 107.8 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01554/2.07, allocations: 8.685 MB / 0.7934 GB, free: 99.13 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/2.071, allocations: 97.7 kB / 0.7935 GB, free: 99.03 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004074/2.075, allocations: 5.759 MB / 0.7991 GB, free: 93.3 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00253/2.078, allocations: 1.742 MB / 0.8008 GB, free: 91.57 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/2.079, allocations: 228 kB / 0.801 GB, free: 91.35 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0006582/2.08, allocations: 0.7819 MB / 0.8018 GB, free: 90.56 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01016/2.09, allocations: 5.153 MB / 0.8068 GB, free: 85.41 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01371/2.104, allocations: 11.21 MB / 0.8178 GB, free: 71.32 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01377/2.117, allocations: 7.435 MB / 0.825 GB, free: 63.88 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/2.118, allocations: 60 kB / 0.8251 GB, free: 63.82 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.03991/2.158, allocations: 18.22 MB / 0.8429 GB, free: 45.6 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/2.158, allocations: 99.94 kB / 0.843 GB, free: 45.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002338/2.158, allocations: 208 kB / 0.8432 GB, free: 45.3 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008139/2.166, allocations: 2.625 MB / 0.8458 GB, free: 42.66 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/2.178, allocations: 2.709 MB / 0.8484 GB, free: 39.95 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02791/2.206, allocations: 18.56 MB / 0.8665 GB, free: 21 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/2.217, allocations: 0.6671 MB / 0.8672 GB, free: 20.33 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002237/2.219, allocations: 0.6405 MB / 0.8678 GB, free: 19.69 MB / 0.5262 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.009762/2.229, allocations: 4.181 MB / 0.8719 GB, free: 15.49 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001948/2.231, allocations: 0.7482 MB / 0.8726 GB, free: 14.73 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02486/2.256, allocations: 11.11 MB / 0.8835 GB, free: 3.551 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.866e-05/2.256, allocations: 51.95 kB / 0.8835 GB, free: 3.5 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.715e-05/2.256, allocations: 12 kB / 0.8835 GB, free: 3.488 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.649e-05/2.256, allocations: 31.89 kB / 0.8836 GB, free: 3.457 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3318/2.588, allocations: 23.52 MB / 0.9065 GB, free: 187.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.597e-05/2.588, allocations: 4.062 kB / 0.9065 GB, free: 187.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006362/2.595, allocations: 0.921 MB / 0.9074 GB, free: 187.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008595/2.603, allocations: 2.297 MB / 0.9097 GB, free: 187.1 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001201/2.605, allocations: 87.83 kB / 0.9098 GB, free: 187.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02912/2.634, allocations: 17.45 MB / 0.9268 GB, free: 178.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/2.634, allocations: 3.656 kB / 0.9268 GB, free: 178.1 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03373/2.668, allocations: 17.57 MB / 0.944 GB, free: 162.9 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004803/2.672, allocations: 1.661 MB / 0.9456 GB, free: 161.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001923/2.674, allocations: 87.55 kB / 0.9457 GB, free: 161.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005608/2.68, allocations: 353.9 kB / 0.946 GB, free: 161.2 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001441/2.681, allocations: 290.8 kB / 0.9463 GB, free: 160.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005451/2.682, allocations: 123.6 kB / 0.9464 GB, free: 160.8 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0108/2.693, allocations: 5.603 MB / 0.9519 GB, free: 155.2 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.046e-06/2.693, allocations: 0 / 0.9519 GB, free: 155.2 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0119/2.705, allocations: 2.311 MB / 0.9541 GB, free: 152.9 MB / 0.5262 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.001414/2.706, allocations: 265.5 kB / 0.9544 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02287/2.729, allocations: 12.75 MB / 0.9668 GB, free: 140 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/2.729, allocations: 1.172 kB / 0.9668 GB, free: 140 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01177/2.741, allocations: 5.606 MB / 0.9723 GB, free: 134.4 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006065/2.747, allocations: 0.9352 MB / 0.9732 GB, free: 133.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04729/2.794, allocations: 26.6 MB / 0.9992 GB, free: 107.1 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0129/2.807, allocations: 6.586 MB / 1.006 GB, free: 100.5 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003783/2.811, allocations: 0.6165 MB / 1.006 GB, free: 99.91 MB / 0.5262 GB Notification: Performance of SimCode: time 1.618e-06/2.811, allocations: 0 / 1.006 GB, free: 99.91 MB / 0.5262 GB Notification: Performance of Templates: time 0.6376/3.449, allocations: 237.2 MB / 1.238 GB, free: 42.35 MB / 0.5262 GB