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.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.179/2.179, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.929e-05, allocations: 7.984 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.274, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.425, allocations: 99.92 MB / 458 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4253, allocations: 71.97 kB / 458 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7116/1.137, allocations: 108.5 MB / 0.5533 GB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.48e-06/1.137, allocations: 0 / 0.5533 GB, free: 14.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004322/1.137, allocations: 103.9 kB / 0.5534 GB, free: 14.39 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.02473/1.162, allocations: 5.325 MB / 0.5586 GB, free: 8.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.162, allocations: 12.03 kB / 0.5586 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04263/1.205, allocations: 6.927 MB / 0.5653 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/1.225, allocations: 6.782 MB / 0.572 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003438/1.225, allocations: 176 kB / 0.5721 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002061/1.228, allocations: 312.4 kB / 0.5724 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01733/1.245, allocations: 7.233 MB / 0.5795 GB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/1.272, allocations: 11.4 MB / 0.5906 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002758/1.272, allocations: 75.34 kB / 0.5907 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/1.273, allocations: 36 kB / 0.5907 GB, free: 6.734 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002195/1.276, allocations: 1.211 MB / 0.5919 GB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3737/1.649, allocations: 56.17 MB / 0.6468 GB, free: 56.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005282/1.655, allocations: 3.447 MB / 0.6501 GB, free: 56.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00341/1.658, allocations: 2.088 MB / 0.6522 GB, free: 56.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/1.658, allocations: 32.09 kB / 0.6522 GB, free: 56.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/1.658, allocations: 61.94 kB / 0.6522 GB, free: 56.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=183): time 6.741e-06/1.658, allocations: 0 / 0.6522 GB, free: 56.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=197): time 0.04528/1.704, allocations: 17.31 MB / 0.6692 GB, free: 52.74 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/1.704, allocations: 197.9 kB / 0.6693 GB, free: 52.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00888/1.713, allocations: 4.056 MB / 0.6733 GB, free: 52.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003724/1.713, allocations: 27.2 kB / 0.6733 GB, free: 52.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002873/1.716, allocations: 3.964 MB / 0.6772 GB, free: 50.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009394/1.717, allocations: 0.7555 MB / 0.6779 GB, free: 49.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006515/1.718, allocations: 0 / 0.6779 GB, free: 49.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005856/1.718, allocations: 0.6221 MB / 0.6785 GB, free: 49.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004463/1.723, allocations: 2.16 MB / 0.6807 GB, free: 49.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006756/1.73, allocations: 6.701 MB / 0.6872 GB, free: 43.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007083/1.737, allocations: 3.784 MB / 0.6909 GB, free: 42.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001436/1.737, allocations: 44.31 kB / 0.6909 GB, free: 42.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 0.01946/1.756, allocations: 8.089 MB / 0.6988 GB, free: 40.01 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.757, allocations: 78.81 kB / 0.6989 GB, free: 40.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001979/1.757, allocations: 162.1 kB / 0.6991 GB, free: 40.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/1.758, allocations: 0.5852 MB / 0.6996 GB, free: 39.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006655/1.765, allocations: 1.688 MB / 0.7013 GB, free: 39.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007356/1.773, allocations: 5.413 MB / 0.7066 GB, free: 35.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007273/1.78, allocations: 245.4 kB / 0.7068 GB, free: 35.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/1.781, allocations: 449.5 kB / 0.7072 GB, free: 35.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (906): * Single equations (assignments): 901 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002071/1.784, allocations: 0.502 MB / 0.7077 GB, free: 35.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.785, allocations: 423.5 kB / 0.7081 GB, free: 35.26 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006809/1.791, allocations: 2.932 MB / 0.711 GB, free: 34.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.807e-05/1.791, allocations: 23.47 kB / 0.711 GB, free: 34.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/1.791, allocations: 10.66 kB / 0.711 GB, free: 34.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/1.792, allocations: 6.938 kB / 0.711 GB, free: 34.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/1.81, allocations: 7.344 MB / 0.7182 GB, free: 29.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/1.81, allocations: 0 / 0.7182 GB, free: 29.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/1.812, allocations: 293.5 kB / 0.7185 GB, free: 28.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/1.814, allocations: 345 kB / 0.7188 GB, free: 28.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000315/1.814, allocations: 4 kB / 0.7188 GB, free: 28.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005851/1.82, allocations: 4.729 MB / 0.7234 GB, free: 24.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.816e-06/1.82, allocations: 0 / 0.7234 GB, free: 24.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009332/1.829, allocations: 5.531 MB / 0.7288 GB, free: 19.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/1.831, allocations: 0.7083 MB / 0.7295 GB, free: 18.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/1.833, allocations: 4 kB / 0.7295 GB, free: 18.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002726/1.835, allocations: 66.83 kB / 0.7296 GB, free: 18.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005233/1.836, allocations: 109.7 kB / 0.7297 GB, free: 18.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.836, allocations: 56.42 kB / 0.7298 GB, free: 18.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006084/1.842, allocations: 2.74 MB / 0.7324 GB, free: 15.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.125e-06/1.842, allocations: 0 / 0.7324 GB, free: 15.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008674/1.851, allocations: 1.033 MB / 0.7334 GB, free: 14.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (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 (156): * Single equations (assignments): 151 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006573/1.852, allocations: 144.6 kB / 0.7336 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009709/1.861, allocations: 5.322 MB / 0.7388 GB, free: 9.891 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.861, allocations: 4 kB / 0.7388 GB, free: 9.891 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002852/1.864, allocations: 1.65 MB / 0.7404 GB, free: 8.379 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/1.868, allocations: 480.3 kB / 0.7408 GB, free: 7.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/1.893, allocations: 9.851 MB / 0.7505 GB, free: 15.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01009/1.903, allocations: 4.143 MB / 0.7545 GB, free: 12.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/1.904, allocations: 338.4 kB / 0.7548 GB, free: 11.98 MB / 474.7 MB Notification: Performance of SimCode: time 2.016e-06/1.904, allocations: 0 / 0.7548 GB, free: 11.98 MB / 474.7 MB Notification: Performance of Templates: time 0.4577/2.362, allocations: 111.1 MB / 0.8633 GB, free: 141.4 MB / 0.5105 GB