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.Frames.AngularVelocity.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.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.2_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadModel(ModelicaTest): time 2.115/2.115, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.66e-05, allocations: 4 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 54.86 MB / 364.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.4741, allocations: 99.96 MB / 464.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.4744, allocations: 71.97 kB / 464.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5611/1.035, allocations: 82.49 MB / 0.5342 GB, free: 104.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.422e-06/1.036, allocations: 1.094 kB / 0.5342 GB, free: 104.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002168/1.036, allocations: 86.61 kB / 0.5343 GB, free: 104.6 MB / 458.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.01621/1.052, allocations: 4.277 MB / 0.5385 GB, free: 102.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.052, allocations: 11.97 kB / 0.5385 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/1.065, allocations: 2.266 MB / 0.5407 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/1.08, allocations: 4.775 MB / 0.5454 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004373/1.08, allocations: 333 kB / 0.5457 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/1.082, allocations: 439.4 kB / 0.5461 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/1.105, allocations: 10.54 MB / 0.5564 GB, free: 99.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001936/1.106, allocations: 59.75 kB / 0.5565 GB, free: 99.22 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009902/1.107, allocations: 218.3 kB / 0.5567 GB, free: 99.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001645/1.108, allocations: 1.011 MB / 0.5577 GB, free: 99.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/1.129, allocations: 8.378 MB / 0.5659 GB, free: 98.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05487/1.184, allocations: 49.3 MB / 0.614 GB, free: 61.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/1.195, allocations: 3.511 MB / 0.6174 GB, free: 59.72 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002922/1.198, allocations: 1.672 MB / 0.6191 GB, free: 59.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/1.211, allocations: 7.541 MB / 0.6264 GB, free: 54.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.211, allocations: 55.28 kB / 0.6265 GB, free: 54.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 6.498e-06/1.212, allocations: 0 / 0.6265 GB, free: 54.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.0317/1.243, allocations: 10.56 MB / 0.6368 GB, free: 45.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001154/1.244, allocations: 1.614 MB / 0.6384 GB, free: 43.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006796/1.251, allocations: 3.493 MB / 0.6418 GB, free: 40.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003276/1.252, allocations: 49.8 kB / 0.6418 GB, free: 40.31 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/1.254, allocations: 3.105 MB / 0.6449 GB, free: 37.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/1.254, allocations: 0.6036 MB / 0.6454 GB, free: 36.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005746/1.255, allocations: 116 kB / 0.6456 GB, free: 36.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004181/1.255, allocations: 0.5641 MB / 0.6461 GB, free: 36.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/1.26, allocations: 2.086 MB / 0.6481 GB, free: 34.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006092/1.266, allocations: 5.797 MB / 0.6538 GB, free: 27.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006038/1.272, allocations: 3.442 MB / 0.6572 GB, free: 24.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/1.272, allocations: 43.84 kB / 0.6572 GB, free: 24.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02342/1.295, allocations: 8.994 MB / 0.666 GB, free: 16.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.342e-05/1.296, allocations: 60.19 kB / 0.6661 GB, free: 16.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01132/1.307, allocations: 3.496 MB / 0.6695 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/1.317, allocations: 1.93 MB / 0.6713 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005615/1.323, allocations: 1.376 MB / 0.6727 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008986/1.332, allocations: 5.763 MB / 0.6783 GB, free: 3.574 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006326/1.338, allocations: 411.3 kB / 0.6787 GB, free: 3.172 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.339, allocations: 367.8 kB / 0.6791 GB, free: 2.816 MB / 458.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): 3 * Torn equation systems: 1 * 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: 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 prepare postOptimizeDAE: time 0.001173/1.341, allocations: 0.5633 MB / 0.6796 GB, free: 2.242 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007125/1.341, allocations: 327.7 kB / 0.6799 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00765/1.349, allocations: 3.065 MB / 0.6829 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007143/1.356, allocations: 2.58 MB / 0.6854 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/1.356, allocations: 4 kB / 0.6854 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/1.356, allocations: 7.922 kB / 0.6855 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009626/1.366, allocations: 3.857 MB / 0.6892 GB, free: 8.352 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/1.366, allocations: 4 kB / 0.6892 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/1.368, allocations: 255.6 kB / 0.6895 GB, free: 8.098 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004258/1.372, allocations: 1.025 MB / 0.6905 GB, free: 7.062 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000327/1.373, allocations: 39.91 kB / 0.6905 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008476/1.381, allocations: 4.999 MB / 0.6954 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001498/1.383, allocations: 1.47 MB / 0.6968 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.394, allocations: 5.454 MB / 0.7021 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.396, allocations: 404.6 kB / 0.7025 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006295/1.396, allocations: 32 kB / 0.7026 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.398, allocations: 151 kB / 0.7027 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003329/1.399, allocations: 84.64 kB / 0.7028 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/1.399, allocations: 43.98 kB / 0.7028 GB, free: 9.941 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005397/1.404, allocations: 2.406 MB / 0.7052 GB, free: 7.555 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.404, allocations: 0 / 0.7052 GB, free: 7.555 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006797/1.411, allocations: 1.062 MB / 0.7062 GB, free: 6.492 MB / 490.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.0005584/1.412, allocations: 182.4 kB / 0.7064 GB, free: 6.312 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01352/1.425, allocations: 5.632 MB / 0.7119 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.909e-06/1.425, allocations: 0 / 0.7119 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2728/1.698, allocations: 2.195 MB / 0.714 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/1.701, allocations: 392.3 kB / 0.7144 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.722, allocations: 8.434 MB / 0.7226 GB, free: 121.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006937/1.729, allocations: 3.336 MB / 0.7259 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.731, allocations: 282.4 kB / 0.7262 GB, free: 120.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.997e-06/1.731, allocations: 1.219 kB / 0.7262 GB, free: 120.4 MB / 490.7 MB Notification: Performance of Templates: time 0.1714/1.902, allocations: 125.9 MB / 0.8491 GB, free: 39.03 MB / 490.7 MB