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.FrameForcesAndTorques3.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.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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.206/2.206, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.07e-05/4.088e-05, allocations: 3.984 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3368, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.4901, allocations: 100.8 MB / 465.4 MB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4904, allocations: 72.62 kB / 465.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7407/1.231, allocations: 131.1 MB / 0.5825 GB, free: 101 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.352e-06/1.231, allocations: 0 / 0.5825 GB, free: 101 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003248/1.232, allocations: 121.3 kB / 0.5826 GB, free: 101 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02033/1.252, allocations: 6.371 MB / 0.5888 GB, free: 97.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.252, allocations: 6.906 kB / 0.5889 GB, free: 97.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03873/1.291, allocations: 7.098 MB / 0.5958 GB, free: 94.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02106/1.312, allocations: 7.242 MB / 0.6029 GB, free: 89.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005653/1.312, allocations: 0.4994 MB / 0.6033 GB, free: 89.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002889/1.315, allocations: 0.661 MB / 0.604 GB, free: 88.87 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04151/1.357, allocations: 16.43 MB / 0.62 GB, free: 71.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003749/1.357, allocations: 75.39 kB / 0.6201 GB, free: 71.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002616/1.36, allocations: 316.2 kB / 0.6204 GB, free: 71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00268/1.363, allocations: 1.581 MB / 0.622 GB, free: 69.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03458/1.397, allocations: 13.89 MB / 0.6355 GB, free: 55.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09117/1.488, allocations: 66.22 MB / 0.7002 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3053/1.794, allocations: 6.967 MB / 0.707 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007555/1.801, allocations: 4.17 MB / 0.7111 GB, free: 108.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03192/1.833, allocations: 15.06 MB / 0.7258 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/1.833, allocations: 75.09 kB / 0.7258 GB, free: 106.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=306): time 9.436e-06/1.833, allocations: 0.5156 kB / 0.7258 GB, free: 106.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=348): time 0.09005/1.924, allocations: 26.02 MB / 0.7513 GB, free: 97.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/1.924, allocations: 214 kB / 0.7515 GB, free: 97.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/1.934, allocations: 4.661 MB / 0.756 GB, free: 96.01 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007436/1.934, allocations: 77.3 kB / 0.7561 GB, free: 95.94 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002984/1.937, allocations: 4.239 MB / 0.7602 GB, free: 92.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001764/1.939, allocations: 1.274 MB / 0.7615 GB, free: 91.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008696/1.94, allocations: 172.4 kB / 0.7616 GB, free: 91.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006165/1.941, allocations: 0.6515 MB / 0.7623 GB, free: 91.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007471/1.948, allocations: 3.535 MB / 0.7657 GB, free: 89.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/1.958, allocations: 7.993 MB / 0.7735 GB, free: 82.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.969, allocations: 5.259 MB / 0.7787 GB, free: 81.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001267/1.969, allocations: 49.78 kB / 0.7787 GB, free: 81.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.02923/1.998, allocations: 12.71 MB / 0.7911 GB, free: 70.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000125/1.998, allocations: 72.97 kB / 0.7912 GB, free: 70.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/1.998, allocations: 156 kB / 0.7913 GB, free: 70.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005328/2.004, allocations: 1.667 MB / 0.793 GB, free: 69.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009165/2.013, allocations: 1.927 MB / 0.7949 GB, free: 67.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/2.03, allocations: 11.35 MB / 0.8059 GB, free: 57.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008642/2.039, allocations: 497.2 kB / 0.8064 GB, free: 57.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001842/2.041, allocations: 482.5 kB / 0.8069 GB, free: 56.63 MB / 474.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.002661/2.043, allocations: 0.7143 MB / 0.8076 GB, free: 55.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/2.045, allocations: 0.4975 MB / 0.8081 GB, free: 55.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0172/2.062, allocations: 7.358 MB / 0.8152 GB, free: 49.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.369e-05/2.062, allocations: 39.95 kB / 0.8153 GB, free: 49.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-05/2.062, allocations: 8 kB / 0.8153 GB, free: 49.33 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.16e-05/2.062, allocations: 18.19 kB / 0.8153 GB, free: 49.33 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03912/2.101, allocations: 16.01 MB / 0.8309 GB, free: 35.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.327e-05/2.101, allocations: 4.75 kB / 0.8309 GB, free: 35.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004399/2.106, allocations: 0.6007 MB / 0.8315 GB, free: 34.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004938/2.111, allocations: 1.416 MB / 0.8329 GB, free: 33.42 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008349/2.111, allocations: 59.98 kB / 0.833 GB, free: 33.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01656/2.128, allocations: 10.53 MB / 0.8433 GB, free: 22.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.128, allocations: 0 / 0.8433 GB, free: 22.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02298/2.151, allocations: 11.89 MB / 0.8549 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003431/2.155, allocations: 1.103 MB / 0.8559 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001621/2.156, allocations: 60.56 kB / 0.856 GB, free: 9.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004382/2.161, allocations: 251.6 kB / 0.8562 GB, free: 9.172 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/2.162, allocations: 202 kB / 0.8564 GB, free: 8.973 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004449/2.162, allocations: 91.98 kB / 0.8565 GB, free: 8.883 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007451/2.17, allocations: 3.265 MB / 0.8597 GB, free: 5.637 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.56e-06/2.17, allocations: 0 / 0.8597 GB, free: 5.637 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009864/2.18, allocations: 1.615 MB / 0.8613 GB, free: 4.031 MB / 474.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.001025/2.181, allocations: 216.2 kB / 0.8615 GB, free: 3.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01855/2.199, allocations: 8.822 MB / 0.8701 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.117e-06/2.199, allocations: 0 / 0.8701 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009382/2.209, allocations: 3.731 MB / 0.8737 GB, free: 7.219 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004378/2.213, allocations: 0.6229 MB / 0.8744 GB, free: 6.629 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4168/2.63, allocations: 13.68 MB / 0.8877 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01376/2.644, allocations: 4.932 MB / 0.8925 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002699/2.646, allocations: 431 kB / 0.8929 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of SimCode: time 2.797e-06/2.646, allocations: 0 / 0.8929 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.2023/2.849, allocations: 142 MB / 1.032 GB, free: 33.57 MB / 0.4948 GB