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.FrameTorques.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.FrameTorques,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.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.206/2.206, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004372, allocations: 19.98 kB / 314.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 54.87 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.4951, allocations: 100.9 MB / 470.1 MB, free: 5.695 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.4955, allocations: 79.97 kB / 470.2 MB, free: 5.617 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6805/1.176, allocations: 114.4 MB / 0.5709 GB, free: 92 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.37e-06/1.176, allocations: 0 / 0.5709 GB, free: 92 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003363/1.176, allocations: 104 kB / 0.571 GB, free: 15.98 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02038/1.197, allocations: 5.936 MB / 0.5768 GB, free: 9.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.197, allocations: 8.031 kB / 0.5768 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03797/1.235, allocations: 6.954 MB / 0.5836 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02215/1.257, allocations: 6.891 MB / 0.5904 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006173/1.258, allocations: 414.9 kB / 0.5908 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002522/1.26, allocations: 0.5582 MB / 0.5913 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03648/1.297, allocations: 13.35 MB / 0.6043 GB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003611/1.297, allocations: 71.34 kB / 0.6044 GB, free: 12.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002316/1.299, allocations: 271.9 kB / 0.6047 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002672/1.302, allocations: 1.251 MB / 0.6059 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02911/1.331, allocations: 10.66 MB / 0.6163 GB, free: 212 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3812/1.713, allocations: 59.67 MB / 0.6746 GB, free: 54.88 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01449/1.727, allocations: 4.636 MB / 0.6791 GB, free: 54.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/1.742, allocations: 6.497 MB / 0.6854 GB, free: 52.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/1.742, allocations: 58.91 kB / 0.6855 GB, free: 52.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=183): time 6.029e-06/1.742, allocations: 0 / 0.6855 GB, free: 52.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=195): time 0.05488/1.797, allocations: 16.91 MB / 0.702 GB, free: 48.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/1.797, allocations: 224.9 kB / 0.7022 GB, free: 47.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/1.808, allocations: 5.212 MB / 0.7073 GB, free: 47.37 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003705/1.808, allocations: 51.8 kB / 0.7074 GB, free: 47.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003121/1.812, allocations: 3.939 MB / 0.7112 GB, free: 45.31 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009362/1.813, allocations: 0.7711 MB / 0.712 GB, free: 44.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007079/1.813, allocations: 142.1 kB / 0.7121 GB, free: 44.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004731/1.814, allocations: 0.6085 MB / 0.7127 GB, free: 44.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004958/1.819, allocations: 2.301 MB / 0.7149 GB, free: 44.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007394/1.826, allocations: 6.786 MB / 0.7216 GB, free: 38.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007714/1.834, allocations: 3.875 MB / 0.7253 GB, free: 38.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000191/1.834, allocations: 50.03 kB / 0.7254 GB, free: 38.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02071/1.855, allocations: 9.047 MB / 0.7342 GB, free: 35.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/1.855, allocations: 78.16 kB / 0.7343 GB, free: 35.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/1.855, allocations: 163.5 kB / 0.7345 GB, free: 35.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/1.857, allocations: 0.6041 MB / 0.735 GB, free: 35.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007104/1.864, allocations: 1.641 MB / 0.7367 GB, free: 35.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007722/1.872, allocations: 5.824 MB / 0.7423 GB, free: 31.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007258/1.879, allocations: 394.6 kB / 0.7427 GB, free: 31.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/1.881, allocations: 439.7 kB / 0.7431 GB, free: 31.15 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 877 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006357/1.887, allocations: 2.689 MB / 0.7458 GB, free: 29.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.888, allocations: 491.4 kB / 0.7462 GB, free: 29.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006773/1.895, allocations: 3.061 MB / 0.7492 GB, free: 28.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-05/1.895, allocations: 19.94 kB / 0.7492 GB, free: 28.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.895, allocations: 13.19 kB / 0.7493 GB, free: 28.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/1.895, allocations: 11.55 kB / 0.7493 GB, free: 28.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01901/1.914, allocations: 8.471 MB / 0.7575 GB, free: 23.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.914, allocations: 7.172 kB / 0.7575 GB, free: 23.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.916, allocations: 321 kB / 0.7578 GB, free: 23.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/1.917, allocations: 368.6 kB / 0.7582 GB, free: 23.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/1.918, allocations: 38.31 kB / 0.7582 GB, free: 23.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006463/1.924, allocations: 5.177 MB / 0.7633 GB, free: 18.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.663e-06/1.924, allocations: 4 kB / 0.7633 GB, free: 18.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009935/1.934, allocations: 6.145 MB / 0.7693 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002583/1.937, allocations: 0.8038 MB / 0.7701 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.938, allocations: 34.42 kB / 0.7701 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003225/1.942, allocations: 91.8 kB / 0.7702 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005254/1.942, allocations: 116 kB / 0.7703 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/1.942, allocations: 52 kB / 0.7704 GB, free: 11.65 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008604/1.951, allocations: 3.729 MB / 0.774 GB, free: 8.613 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.459e-06/1.951, allocations: 0 / 0.774 GB, free: 8.613 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008463/1.96, allocations: 1.232 MB / 0.7752 GB, free: 7.395 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006209/1.96, allocations: 172.9 kB / 0.7754 GB, free: 7.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01086/1.971, allocations: 5.71 MB / 0.7809 GB, free: 2.238 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.971, allocations: 4 kB / 0.781 GB, free: 2.234 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002942/1.974, allocations: 1.705 MB / 0.7826 GB, free: 0.707 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/1.978, allocations: 0.608 MB / 0.7832 GB, free: 208 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03348/2.012, allocations: 14.43 MB / 0.7973 GB, free: 3.227 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009786/2.021, allocations: 4.243 MB / 0.8014 GB, free: 80 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002402/2.024, allocations: 407.3 kB / 0.8018 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.891e-06/2.024, allocations: 0 / 0.8018 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.4762/2.5, allocations: 118.1 MB / 0.9171 GB, free: 102.1 MB / 0.5105 GB