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.FrameForcesAndTorques3.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.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.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 1.891/1.891, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.258e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08858, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4524, allocations: 94 MB / 420.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4527, allocations: 77.58 kB / 420.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7434/1.196, allocations: 130.8 MB / 0.5385 GB, free: 74.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.69e-06/1.196, allocations: 0 / 0.5385 GB, free: 74.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003931/1.197, allocations: 127.5 kB / 0.5387 GB, free: 74.36 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02261/1.219, allocations: 6.37 MB / 0.5449 GB, free: 71.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.219, allocations: 9.938 kB / 0.5449 GB, free: 71.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03735/1.257, allocations: 7.092 MB / 0.5518 GB, free: 71.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02184/1.279, allocations: 7.233 MB / 0.5589 GB, free: 70.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006533/1.279, allocations: 0.4938 MB / 0.5594 GB, free: 70.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00306/1.282, allocations: 0.653 MB / 0.56 GB, free: 70.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04319/1.326, allocations: 16.42 MB / 0.576 GB, free: 67.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004331/1.326, allocations: 76.25 kB / 0.5761 GB, free: 67.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00275/1.329, allocations: 314.9 kB / 0.5764 GB, free: 67.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002773/1.332, allocations: 1.579 MB / 0.578 GB, free: 67.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03592/1.368, allocations: 13.89 MB / 0.5915 GB, free: 66.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0897/1.457, allocations: 66.16 MB / 0.6561 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02165/1.479, allocations: 6.997 MB / 0.663 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006639/1.486, allocations: 4.172 MB / 0.667 GB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03447/1.52, allocations: 15.07 MB / 0.6817 GB, free: 6.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.764e-05/1.52, allocations: 72.5 kB / 0.6818 GB, free: 6.691 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 7.703e-06/1.52, allocations: 3.375 kB / 0.6818 GB, free: 6.691 MB / 442.7 MB Notification: Performance of matching and sorting (n=348): time 0.4553/1.976, allocations: 26.03 MB / 0.7072 GB, free: 81.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/1.976, allocations: 216.1 kB / 0.7074 GB, free: 81.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0148/1.991, allocations: 4.664 MB / 0.712 GB, free: 81.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007721/1.991, allocations: 79.36 kB / 0.7121 GB, free: 81.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003125/1.995, allocations: 4.223 MB / 0.7162 GB, free: 79.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001764/1.996, allocations: 1.285 MB / 0.7174 GB, free: 78.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008178/1.997, allocations: 166.6 kB / 0.7176 GB, free: 78.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005166/1.998, allocations: 0.6544 MB / 0.7182 GB, free: 78.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007468/2.005, allocations: 3.534 MB / 0.7217 GB, free: 78.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009846/2.015, allocations: 7.985 MB / 0.7295 GB, free: 72.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/2.026, allocations: 5.259 MB / 0.7346 GB, free: 72.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/2.026, allocations: 44.69 kB / 0.7347 GB, free: 72.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.02965/2.055, allocations: 12.71 MB / 0.7471 GB, free: 70.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/2.056, allocations: 79.77 kB / 0.7472 GB, free: 70.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001911/2.056, allocations: 152.7 kB / 0.7473 GB, free: 70.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005495/2.061, allocations: 1.668 MB / 0.7489 GB, free: 70.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009391/2.071, allocations: 1.922 MB / 0.7508 GB, free: 69.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/2.089, allocations: 11.33 MB / 0.7619 GB, free: 63.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00913/2.098, allocations: 0.4955 MB / 0.7624 GB, free: 63.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00173/2.1, allocations: 479.4 kB / 0.7628 GB, free: 63.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * 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 (996): * Single equations (assignments): 991 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001694/2.101, allocations: 0.7233 MB / 0.7635 GB, free: 63.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/2.103, allocations: 0.495 MB / 0.764 GB, free: 62.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/2.12, allocations: 7.359 MB / 0.7712 GB, free: 60.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-05/2.12, allocations: 35.53 kB / 0.7712 GB, free: 60.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.865e-05/2.12, allocations: 18.14 kB / 0.7712 GB, free: 60.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.336e-05/2.12, allocations: 21.38 kB / 0.7713 GB, free: 60.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05914/2.18, allocations: 16 MB / 0.7869 GB, free: 52.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-05/2.18, allocations: 0 / 0.7869 GB, free: 52.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004406/2.184, allocations: 0.5992 MB / 0.7875 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004815/2.189, allocations: 1.418 MB / 0.7889 GB, free: 50.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008265/2.19, allocations: 65.45 kB / 0.7889 GB, free: 50.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/2.206, allocations: 10.52 MB / 0.7992 GB, free: 41.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.234e-06/2.206, allocations: 0 / 0.7992 GB, free: 41.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02318/2.229, allocations: 11.9 MB / 0.8108 GB, free: 30.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00359/2.233, allocations: 1.094 MB / 0.8119 GB, free: 29.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001777/2.235, allocations: 63.44 kB / 0.812 GB, free: 29.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00468/2.24, allocations: 254.8 kB / 0.8122 GB, free: 29.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/2.241, allocations: 204 kB / 0.8124 GB, free: 29.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004547/2.241, allocations: 91.84 kB / 0.8125 GB, free: 29.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007476/2.249, allocations: 3.267 MB / 0.8157 GB, free: 26.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.063e-06/2.249, allocations: 4 kB / 0.8157 GB, free: 26.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0102/2.259, allocations: 1.611 MB / 0.8172 GB, free: 24.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (294): * Single equations (assignments): 289 * 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.001089/2.26, allocations: 207.5 kB / 0.8174 GB, free: 24.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01684/2.277, allocations: 8.827 MB / 0.8261 GB, free: 16.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.876e-06/2.277, allocations: 4 kB / 0.8261 GB, free: 16.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008095/2.285, allocations: 3.73 MB / 0.8297 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/2.29, allocations: 0.616 MB / 0.8303 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03846/2.328, allocations: 13.69 MB / 0.8437 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01221/2.34, allocations: 4.94 MB / 0.8485 GB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002789/2.343, allocations: 433.9 kB / 0.8489 GB, free: 12.58 MB / 458.7 MB Notification: Performance of SimCode: time 2.262e-06/2.343, allocations: 0 / 0.8489 GB, free: 12.58 MB / 458.7 MB Notification: Performance of Templates: time 0.4675/2.811, allocations: 141.8 MB / 0.9874 GB, free: 15.32 MB / 458.7 MB