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.093/2.093, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004584, allocations: 16 kB / 314.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2719, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.4517, allocations: 100.9 MB / 470.2 MB, free: 5.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/0.4521, allocations: 83.95 kB / 470.3 MB, free: 5.578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7228/1.175, allocations: 130.9 MB / 0.5871 GB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.469e-06/1.175, allocations: 3.938 kB / 0.5871 GB, free: 15.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003673/1.175, allocations: 128 kB / 0.5872 GB, free: 15.3 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02364/1.199, allocations: 6.801 MB / 0.5939 GB, free: 8.426 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.199, allocations: 12.03 kB / 0.5939 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03819/1.237, allocations: 7.093 MB / 0.6008 GB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02306/1.26, allocations: 7.273 MB / 0.6079 GB, free: 9.961 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007327/1.261, allocations: 0.4934 MB / 0.6084 GB, free: 9.465 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003085/1.264, allocations: 0.6521 MB / 0.609 GB, free: 8.812 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04684/1.311, allocations: 16.56 MB / 0.6252 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003668/1.312, allocations: 87.17 kB / 0.6253 GB, free: 6.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002277/1.314, allocations: 315.8 kB / 0.6256 GB, free: 6.672 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003187/1.317, allocations: 1.57 MB / 0.6271 GB, free: 5.094 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03964/1.357, allocations: 14.11 MB / 0.6409 GB, free: 6.969 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3768/1.734, allocations: 66.22 MB / 0.7055 GB, free: 47.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/1.756, allocations: 7.053 MB / 0.7124 GB, free: 46.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02975/1.786, allocations: 15.06 MB / 0.7271 GB, free: 43.56 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/1.786, allocations: 67.58 kB / 0.7272 GB, free: 43.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=306): time 7.613e-06/1.786, allocations: 3.719 kB / 0.7272 GB, free: 43.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=348): time 0.09955/1.885, allocations: 30.72 MB / 0.7572 GB, free: 32.42 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/1.885, allocations: 219.5 kB / 0.7574 GB, free: 32.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009527/1.895, allocations: 4.705 MB / 0.762 GB, free: 30.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007272/1.896, allocations: 80.12 kB / 0.7621 GB, free: 30.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003033/1.899, allocations: 4.238 MB / 0.7662 GB, free: 27.46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001603/1.9, allocations: 1.286 MB / 0.7675 GB, free: 26.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008016/1.901, allocations: 165.4 kB / 0.7676 GB, free: 26.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004844/1.902, allocations: 0.6506 MB / 0.7683 GB, free: 25.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007377/1.909, allocations: 3.619 MB / 0.7718 GB, free: 23.49 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009835/1.919, allocations: 8.068 MB / 0.7797 GB, free: 14.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009949/1.929, allocations: 5.298 MB / 0.7849 GB, free: 9.672 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/1.929, allocations: 48 kB / 0.7849 GB, free: 9.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.02973/1.959, allocations: 12.87 MB / 0.7975 GB, free: 15.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.959, allocations: 72 kB / 0.7975 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002459/1.959, allocations: 152 kB / 0.7977 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005692/1.965, allocations: 1.682 MB / 0.7993 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009085/1.974, allocations: 1.92 MB / 0.8012 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/1.996, allocations: 11.66 MB / 0.8126 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008497/2.004, allocations: 0.4928 MB / 0.8131 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001877/2.006, allocations: 481.9 kB / 0.8135 GB, free: 0.5977 MB / 490.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 () * Number of clocked 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.01796/2.024, allocations: 3.631 MB / 0.8171 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/2.025, allocations: 0.4986 MB / 0.8176 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01892/2.044, allocations: 7.464 MB / 0.8249 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-05/2.044, allocations: 36 kB / 0.8249 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.123e-05/2.044, allocations: 8 kB / 0.8249 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.86e-05/2.045, allocations: 23.48 kB / 0.8249 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3622/2.407, allocations: 16.1 MB / 0.8406 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.089e-05/2.407, allocations: 2.656 kB / 0.8406 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008955/2.416, allocations: 0.601 MB / 0.8412 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/2.427, allocations: 1.414 MB / 0.8426 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001507/2.428, allocations: 60.12 kB / 0.8427 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02271/2.451, allocations: 10.86 MB / 0.8533 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.3e-06/2.451, allocations: 5.25 kB / 0.8533 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02792/2.479, allocations: 12.03 MB / 0.865 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003458/2.482, allocations: 1.099 MB / 0.8661 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/2.484, allocations: 55.62 kB / 0.8662 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004074/2.488, allocations: 259.1 kB / 0.8664 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009909/2.489, allocations: 199.6 kB / 0.8666 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003893/2.489, allocations: 92.59 kB / 0.8667 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007358/2.497, allocations: 3.314 MB / 0.8699 GB, free: 107 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.613e-06/2.497, allocations: 0 / 0.8699 GB, free: 107 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009459/2.506, allocations: 1.614 MB / 0.8715 GB, free: 107 MB / 0.4948 GB 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 () * Number of clocked 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.0009834/2.507, allocations: 217.2 kB / 0.8717 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01722/2.525, allocations: 8.964 MB / 0.8805 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/2.525, allocations: 0 / 0.8805 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008131/2.533, allocations: 3.787 MB / 0.8842 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/2.537, allocations: 0.6192 MB / 0.8848 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03715/2.574, allocations: 18.84 MB / 0.9032 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01043/2.585, allocations: 4.927 MB / 0.908 GB, free: 93.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002584/2.587, allocations: 441 kB / 0.9084 GB, free: 93.77 MB / 0.4948 GB Notification: Performance of SimCode: time 1.659e-06/2.587, allocations: 0 / 0.9084 GB, free: 93.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.4892/3.077, allocations: 141.9 MB / 1.047 GB, free: 124.8 MB / 0.5105 GB