Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadModel(ModelicaTest): time 1.851/1.851, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.618e-05, allocations: 4 kB / 277.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.0843, allocations: 48.72 MB / 326.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4301, allocations: 93.23 MB / 419.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.4304, allocations: 75.95 kB / 419.8 MB, free: 9.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5413/0.9718, allocations: 82.32 MB / 0.4904 GB, free: 86.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.098e-06/0.9718, allocations: 3.969 kB / 0.4904 GB, free: 86.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002408/0.9721, allocations: 84.98 kB / 0.4905 GB, free: 86.62 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: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.01735/0.9894, allocations: 4.273 MB / 0.4947 GB, free: 84.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9895, allocations: 9.312 kB / 0.4947 GB, free: 84.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/1.003, allocations: 2.258 MB / 0.4969 GB, free: 84.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/1.019, allocations: 4.749 MB / 0.5015 GB, free: 84.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004871/1.019, allocations: 335.6 kB / 0.5018 GB, free: 84.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/1.021, allocations: 439.2 kB / 0.5022 GB, free: 84.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02463/1.046, allocations: 10.54 MB / 0.5125 GB, free: 81.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002275/1.046, allocations: 57.81 kB / 0.5126 GB, free: 81.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001448/1.048, allocations: 215.2 kB / 0.5128 GB, free: 81.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/1.049, allocations: 1.013 MB / 0.5138 GB, free: 81.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01924/1.069, allocations: 8.383 MB / 0.522 GB, free: 80.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05633/1.125, allocations: 49.28 MB / 0.5701 GB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/1.136, allocations: 3.521 MB / 0.5735 GB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/1.139, allocations: 1.682 MB / 0.5752 GB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/1.152, allocations: 7.518 MB / 0.5825 GB, free: 35.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/1.152, allocations: 47.28 kB / 0.5826 GB, free: 35.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.653e-06/1.152, allocations: 0 / 0.5826 GB, free: 35.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.03104/1.183, allocations: 10.57 MB / 0.5929 GB, free: 26.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001113/1.184, allocations: 1.603 MB / 0.5945 GB, free: 24.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006836/1.191, allocations: 3.498 MB / 0.5979 GB, free: 21.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003348/1.192, allocations: 48.67 kB / 0.5979 GB, free: 21.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001967/1.194, allocations: 3.104 MB / 0.601 GB, free: 18.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000789/1.194, allocations: 0.6006 MB / 0.6015 GB, free: 18.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005968/1.195, allocations: 116 kB / 0.6017 GB, free: 18.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003939/1.195, allocations: 0.5627 MB / 0.6022 GB, free: 17.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004245/1.2, allocations: 2.073 MB / 0.6042 GB, free: 15.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006196/1.206, allocations: 5.788 MB / 0.6099 GB, free: 8.535 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006113/1.212, allocations: 3.426 MB / 0.6132 GB, free: 5.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.406e-05/1.212, allocations: 43.94 kB / 0.6133 GB, free: 5.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.01961/1.232, allocations: 8.303 MB / 0.6214 GB, free: 14.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/1.232, allocations: 64.97 kB / 0.6214 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007413/1.239, allocations: 2.794 MB / 0.6242 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004411/1.244, allocations: 1.131 MB / 0.6253 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006134/1.25, allocations: 1.372 MB / 0.6266 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007684/1.258, allocations: 4.735 MB / 0.6312 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006423/1.264, allocations: 419.2 kB / 0.6316 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.266, allocations: 374.7 kB / 0.632 GB, free: 3.062 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (735): * Single equations (assignments): 726 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001622/1.267, allocations: 0.5539 MB / 0.6325 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008813/1.268, allocations: 323.8 kB / 0.6328 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008437/1.277, allocations: 3.068 MB / 0.6358 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0116/1.288, allocations: 2.58 MB / 0.6384 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/1.288, allocations: 8 kB / 0.6384 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.814e-05/1.288, allocations: 7.969 kB / 0.6384 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/1.303, allocations: 3.854 MB / 0.6421 GB, free: 8.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/1.304, allocations: 3.984 kB / 0.6421 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/1.307, allocations: 251.6 kB / 0.6424 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007945/1.315, allocations: 1.028 MB / 0.6434 GB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005152/1.316, allocations: 31.98 kB / 0.6434 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/1.328, allocations: 4.995 MB / 0.6483 GB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001466/1.33, allocations: 1.474 MB / 0.6497 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2515/1.581, allocations: 5.451 MB / 0.6551 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.583, allocations: 399.9 kB / 0.6554 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007508/1.583, allocations: 30.8 kB / 0.6555 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.586, allocations: 146.5 kB / 0.6556 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004155/1.586, allocations: 89.98 kB / 0.6557 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.586, allocations: 41.25 kB / 0.6557 GB, free: 104.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005746/1.592, allocations: 2.413 MB / 0.6581 GB, free: 104.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.579e-06/1.592, allocations: 0 / 0.6581 GB, free: 104.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006889/1.599, allocations: 1.058 MB / 0.6591 GB, free: 104.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000562/1.6, allocations: 166.1 kB / 0.6593 GB, free: 104.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01261/1.612, allocations: 5.596 MB / 0.6647 GB, free: 104.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.888e-06/1.612, allocations: 1.875 kB / 0.6647 GB, free: 104.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005276/1.618, allocations: 2.193 MB / 0.6669 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/1.621, allocations: 396.1 kB / 0.6673 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/1.639, allocations: 8.432 MB / 0.6755 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005544/1.645, allocations: 3.336 MB / 0.6788 GB, free: 101.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.646, allocations: 279 kB / 0.679 GB, free: 101.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.321e-06/1.646, allocations: 3.75 kB / 0.679 GB, free: 101.2 MB / 442.7 MB Notification: Performance of Templates: time 0.1613/1.807, allocations: 125.3 MB / 0.8014 GB, free: 9.383 MB / 442.7 MB