Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadModel(ModelicaTest): time 1.904/1.904, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005847/0.0005848, allocations: 11.98 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3427, allocations: 48.7 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.4943, allocations: 83.51 MB / 415.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.4946, allocations: 79.95 kB / 415.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.847/1.342, allocations: 139.1 MB / 0.5415 GB, free: 54.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.206e-06/1.342, allocations: 0 / 0.5415 GB, free: 54.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002753/1.342, allocations: 131.9 kB / 0.5416 GB, free: 54.77 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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.02337/1.365, allocations: 6.257 MB / 0.5477 GB, free: 48.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.365, allocations: 12.03 kB / 0.5477 GB, free: 48.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04763/1.413, allocations: 6.529 MB / 0.5541 GB, free: 41.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/1.428, allocations: 4.284 MB / 0.5583 GB, free: 37.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006316/1.429, allocations: 0.5052 MB / 0.5588 GB, free: 37.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004809/1.433, allocations: 0.6521 MB / 0.5594 GB, free: 36.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05454/1.488, allocations: 18.18 MB / 0.5772 GB, free: 17.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003243/1.488, allocations: 39.64 kB / 0.5772 GB, free: 17.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00461/1.493, allocations: 311.8 kB / 0.5775 GB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004427/1.497, allocations: 2.153 MB / 0.5796 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04875/1.546, allocations: 17.48 MB / 0.5967 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4983/2.045, allocations: 61.71 MB / 0.657 GB, free: 57.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05714/2.102, allocations: 8.407 MB / 0.6652 GB, free: 54.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05281/2.155, allocations: 11.84 MB / 0.6767 GB, free: 51.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.505e-05/2.155, allocations: 55.73 kB / 0.6768 GB, free: 51.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 1.259e-05/2.155, allocations: 1.75 kB / 0.6768 GB, free: 51.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.03576/2.191, allocations: 8.555 MB / 0.6851 GB, free: 49.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/2.191, allocations: 104.7 kB / 0.6852 GB, free: 49.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01421/2.205, allocations: 5.58 MB / 0.6907 GB, free: 49.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005816/2.206, allocations: 61.17 kB / 0.6907 GB, free: 49.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004377/2.21, allocations: 4.985 MB / 0.6956 GB, free: 46.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002045/2.212, allocations: 1.196 MB / 0.6968 GB, free: 45.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/2.213, allocations: 178.9 kB / 0.6969 GB, free: 45.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008112/2.214, allocations: 0.7202 MB / 0.6977 GB, free: 44.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007995/2.222, allocations: 3.09 MB / 0.7007 GB, free: 44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01179/2.234, allocations: 8.465 MB / 0.7089 GB, free: 35.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/2.246, allocations: 5.163 MB / 0.714 GB, free: 34.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002259/2.246, allocations: 55.06 kB / 0.714 GB, free: 34.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02809/2.274, allocations: 11.2 MB / 0.725 GB, free: 30.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/2.274, allocations: 88.22 kB / 0.725 GB, free: 30.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000275/2.274, allocations: 190.2 kB / 0.7252 GB, free: 30.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/2.275, allocations: 277.2 kB / 0.7255 GB, free: 30.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/2.287, allocations: 2.069 MB / 0.7275 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004441/2.288, allocations: 374.3 kB / 0.7279 GB, free: 30.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009981/2.298, allocations: 1.294 MB / 0.7291 GB, free: 29.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/2.3, allocations: 0.539 MB / 0.7297 GB, free: 29.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 860 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1132): * Single equations (assignments): 1120 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01009/2.31, allocations: 3.689 MB / 0.7333 GB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/2.311, allocations: 493.5 kB / 0.7337 GB, free: 26.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/2.313, allocations: 0.6508 MB / 0.7344 GB, free: 26.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000142/2.314, allocations: 64.05 kB / 0.7344 GB, free: 26.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-05/2.314, allocations: 0 / 0.7344 GB, free: 26.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/2.314, allocations: 14.48 kB / 0.7344 GB, free: 26.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03476/2.349, allocations: 12.65 MB / 0.7468 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-05/2.349, allocations: 12 kB / 0.7468 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003627/2.352, allocations: 421 kB / 0.7472 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.052e-05/2.352, allocations: 28.06 kB / 0.7472 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004523/2.353, allocations: 64.62 kB / 0.7473 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.014e-05/2.353, allocations: 35.06 kB / 0.7473 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/2.353, allocations: 19.94 kB / 0.7473 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009128/2.362, allocations: 4.624 MB / 0.7519 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/2.364, allocations: 0.5855 MB / 0.7524 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001845/2.366, allocations: 61.53 kB / 0.7525 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003672/2.369, allocations: 126.8 kB / 0.7526 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007696/2.37, allocations: 176.8 kB / 0.7528 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002863/2.37, allocations: 103 kB / 0.7529 GB, free: 9.449 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008833/2.379, allocations: 3.44 MB / 0.7562 GB, free: 6.656 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.72e-07/2.379, allocations: 0 / 0.7562 GB, free: 6.656 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01072/2.39, allocations: 1.981 MB / 0.7582 GB, free: 4.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/2.391, allocations: 197.1 kB / 0.7584 GB, free: 4.488 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01796/2.409, allocations: 7.193 MB / 0.7654 GB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-05/2.409, allocations: 7.172 kB / 0.7654 GB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005184/2.414, allocations: 1.999 MB / 0.7673 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004451/2.419, allocations: 0.5691 MB / 0.7679 GB, free: 12.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05629/2.475, allocations: 19.45 MB / 0.7869 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01612/2.491, allocations: 5.589 MB / 0.7924 GB, free: 6.227 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002896/2.494, allocations: 443.4 kB / 0.7928 GB, free: 5.793 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/2.494, allocations: 4 kB / 0.7928 GB, free: 5.789 MB / 458.7 MB Notification: Performance of Templates: time 0.5543/3.049, allocations: 89.9 MB / 0.8806 GB, free: 77.79 MB / 458.7 MB