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.ForcesAndTorques.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.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.133/2.133, allocations: 235.1 MB / 243 MB, free: 9.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.87e-05, allocations: 0 / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2751, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.4276, allocations: 103.3 MB / 461.3 MB, free: 7.461 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4279, allocations: 75.95 kB / 461.4 MB, free: 7.387 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7175/1.145, allocations: 145.1 MB / 0.5924 GB, free: 6.402 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.323e-06/1.145, allocations: 11.94 kB / 0.5924 GB, free: 6.391 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004343/1.146, allocations: 148 kB / 0.5925 GB, free: 6.246 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: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.02444/1.17, allocations: 7.382 MB / 0.5997 GB, free: 14.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.17, allocations: 8.031 kB / 0.5997 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04/1.21, allocations: 7.322 MB / 0.6069 GB, free: 7.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02494/1.235, allocations: 7.877 MB / 0.6146 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005109/1.236, allocations: 252 kB / 0.6148 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003127/1.239, allocations: 459.9 kB / 0.6152 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02672/1.266, allocations: 10.98 MB / 0.626 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6576/1.924, allocations: 16.43 MB / 0.642 GB, free: 60.22 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004209/1.924, allocations: 89.38 kB / 0.6421 GB, free: 60.22 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002687/1.927, allocations: 49.08 kB / 0.6421 GB, free: 60.22 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003283/1.93, allocations: 1.825 MB / 0.6439 GB, free: 60.2 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1026/2.033, allocations: 77.69 MB / 0.7198 GB, free: 32.67 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/2.043, allocations: 6.731 MB / 0.7264 GB, free: 29.27 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006632/2.05, allocations: 4.36 MB / 0.7306 GB, free: 27.47 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/2.051, allocations: 0.7251 MB / 0.7313 GB, free: 26.88 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/2.051, allocations: 69.91 kB / 0.7314 GB, free: 26.81 MB / 474.8 MB Notification: Performance of pre-optimization done (n=340): time 8.532e-06/2.051, allocations: 0 / 0.7314 GB, free: 26.81 MB / 474.8 MB Notification: Performance of matching and sorting (n=384): time 0.08692/2.138, allocations: 32.2 MB / 0.7629 GB, free: 14.62 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/2.138, allocations: 248 kB / 0.7631 GB, free: 14.37 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/2.15, allocations: 5.012 MB / 0.768 GB, free: 10.37 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007777/2.15, allocations: 25.7 kB / 0.768 GB, free: 10.34 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005279/2.156, allocations: 5.27 MB / 0.7732 GB, free: 5.68 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002305/2.158, allocations: 1.39 MB / 0.7745 GB, free: 4.426 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/2.159, allocations: 0 / 0.7745 GB, free: 4.426 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001007/2.16, allocations: 0.7508 MB / 0.7752 GB, free: 3.793 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009055/2.169, allocations: 3.916 MB / 0.7791 GB, free: 300 kB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03733/2.207, allocations: 10.96 MB / 0.7898 GB, free: 7.793 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/2.219, allocations: 6.102 MB / 0.7957 GB, free: 2.828 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002128/2.22, allocations: 56 kB / 0.7958 GB, free: 2.773 MB / 490.8 MB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.03561/2.255, allocations: 13.73 MB / 0.8092 GB, free: 6.996 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/2.256, allocations: 92 kB / 0.8093 GB, free: 6.906 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000306/2.256, allocations: 204 kB / 0.8095 GB, free: 6.707 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005697/2.262, allocations: 1.743 MB / 0.8112 GB, free: 5.387 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/2.273, allocations: 2.513 MB / 0.8136 GB, free: 3.258 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3165/2.59, allocations: 10.83 MB / 0.8242 GB, free: 97.35 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009819/2.599, allocations: 400 kB / 0.8246 GB, free: 97.35 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002386/2.602, allocations: 0.5943 MB / 0.8252 GB, free: 97.35 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1275): * Single equations (assignments): 1270 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003174/2.605, allocations: 0.6295 MB / 0.8258 GB, free: 97.24 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/2.607, allocations: 0.5488 MB / 0.8263 GB, free: 97.23 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/2.624, allocations: 7.502 MB / 0.8337 GB, free: 97.04 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.03e-05/2.624, allocations: 46.34 kB / 0.8337 GB, free: 97.04 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-05/2.624, allocations: 7.688 kB / 0.8337 GB, free: 97.04 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.103e-05/2.624, allocations: 17.48 kB / 0.8337 GB, free: 97.04 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03995/2.664, allocations: 16.4 MB / 0.8497 GB, free: 96.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/2.664, allocations: 6.469 kB / 0.8497 GB, free: 96.12 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005354/2.669, allocations: 0.7477 MB / 0.8505 GB, free: 96.12 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005197/2.675, allocations: 1.415 MB / 0.8519 GB, free: 96.11 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008578/2.676, allocations: 21.34 kB / 0.8519 GB, free: 96.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01635/2.692, allocations: 9.896 MB / 0.8615 GB, free: 93.55 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/2.692, allocations: 10.28 kB / 0.8616 GB, free: 93.55 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02439/2.716, allocations: 13.29 MB / 0.8745 GB, free: 90.08 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00363/2.72, allocations: 1.176 MB / 0.8757 GB, free: 89.65 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001615/2.722, allocations: 15.19 kB / 0.8757 GB, free: 89.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004408/2.726, allocations: 201.3 kB / 0.8759 GB, free: 89.64 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001177/2.727, allocations: 228.6 kB / 0.8761 GB, free: 89.61 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007792/2.728, allocations: 104.7 kB / 0.8762 GB, free: 89.58 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007635/2.736, allocations: 3.351 MB / 0.8795 GB, free: 88.36 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.175e-06/2.736, allocations: 0.9375 kB / 0.8795 GB, free: 88.36 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01168/2.748, allocations: 1.604 MB / 0.881 GB, free: 88.36 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (330): * Single equations (assignments): 325 * 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.001085/2.749, allocations: 172.7 kB / 0.8812 GB, free: 88.26 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01903/2.768, allocations: 9.789 MB / 0.8908 GB, free: 85.18 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/2.768, allocations: 3.531 kB / 0.8908 GB, free: 85.18 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007805/2.776, allocations: 3.831 MB / 0.8945 GB, free: 83.7 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/2.78, allocations: 0.5535 MB / 0.8951 GB, free: 83.46 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03799/2.818, allocations: 15.69 MB / 0.9104 GB, free: 76.36 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01348/2.831, allocations: 5.643 MB / 0.9159 GB, free: 72.24 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003117/2.835, allocations: 494.1 kB / 0.9164 GB, free: 71.79 MB / 0.4949 GB Notification: Performance of SimCode: time 1.919e-06/2.835, allocations: 4 kB / 0.9164 GB, free: 71.79 MB / 0.4949 GB Notification: Performance of Templates: time 0.5355/3.37, allocations: 160.6 MB / 1.073 GB, free: 81.37 MB / 0.5105 GB