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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.183/2.183, allocations: 235.1 MB / 243 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.871e-05, allocations: 0 / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3577, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.511, allocations: 99.3 MB / 457.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.5113, allocations: 75.95 kB / 457.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5208/1.032, allocations: 80.59 MB / 0.5254 GB, free: 43.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.212e-06/1.032, allocations: 0 / 0.5254 GB, free: 43.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001985/1.032, allocations: 83.98 kB / 0.5255 GB, free: 43.09 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: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.01526/1.048, allocations: 4.273 MB / 0.5296 GB, free: 38.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/1.048, allocations: 8.031 kB / 0.5296 GB, free: 38.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/1.06, allocations: 2.268 MB / 0.5319 GB, free: 36.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/1.074, allocations: 4.758 MB / 0.5365 GB, free: 31.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/1.074, allocations: 144 kB / 0.5366 GB, free: 31.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001626/1.076, allocations: 263.9 kB / 0.5369 GB, free: 31.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01225/1.088, allocations: 6.112 MB / 0.5429 GB, free: 25.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/1.107, allocations: 9.48 MB / 0.5521 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001889/1.107, allocations: 59.41 kB / 0.5522 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/1.108, allocations: 28 kB / 0.5522 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001611/1.11, allocations: 1.01 MB / 0.5532 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06614/1.176, allocations: 48.01 MB / 0.6001 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004774/1.181, allocations: 2.611 MB / 0.6026 GB, free: 9.059 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/1.184, allocations: 1.583 MB / 0.6042 GB, free: 7.465 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.185, allocations: 0.6437 MB / 0.6048 GB, free: 6.711 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/1.185, allocations: 55.34 kB / 0.6049 GB, free: 6.648 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 5.79e-06/1.185, allocations: 0 / 0.6049 GB, free: 6.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.0288/1.214, allocations: 10.29 MB / 0.6149 GB, free: 12.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/1.214, allocations: 141.3 kB / 0.615 GB, free: 12.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006759/1.221, allocations: 3.003 MB / 0.618 GB, free: 9.062 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003748/1.221, allocations: 25.7 kB / 0.618 GB, free: 9.031 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003291/1.225, allocations: 3.2 MB / 0.6211 GB, free: 5.785 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/1.226, allocations: 0.621 MB / 0.6217 GB, free: 5.156 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004724/1.226, allocations: 0 / 0.6217 GB, free: 5.156 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005751/1.227, allocations: 0.5751 MB / 0.6223 GB, free: 4.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004655/1.232, allocations: 2.046 MB / 0.6243 GB, free: 2.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2773/1.509, allocations: 5.895 MB / 0.63 GB, free: 102.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007541/1.516, allocations: 3.446 MB / 0.6334 GB, free: 102.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002829/1.517, allocations: 39.5 kB / 0.6334 GB, free: 102.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.02544/1.542, allocations: 8.436 MB / 0.6417 GB, free: 102 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/1.542, allocations: 66.34 kB / 0.6417 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01146/1.554, allocations: 3.441 MB / 0.6451 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/1.564, allocations: 1.94 MB / 0.647 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005752/1.57, allocations: 1.438 MB / 0.6484 GB, free: 101.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009215/1.579, allocations: 5.606 MB / 0.6539 GB, free: 99.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006477/1.586, allocations: 303.4 kB / 0.6542 GB, free: 99.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/1.587, allocations: 390.2 kB / 0.6545 GB, free: 99.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (771): * Single equations (assignments): 762 * 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.001562/1.589, allocations: 449.5 kB / 0.655 GB, free: 98.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006908/1.59, allocations: 309.8 kB / 0.6553 GB, free: 98.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007107/1.597, allocations: 3.079 MB / 0.6583 GB, free: 98.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005852/1.603, allocations: 2.551 MB / 0.6608 GB, free: 98.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/1.603, allocations: 1.094 kB / 0.6608 GB, free: 98.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.48e-05/1.603, allocations: 13.3 kB / 0.6608 GB, free: 98.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/1.623, allocations: 8.589 MB / 0.6692 GB, free: 96.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/1.623, allocations: 0 / 0.6692 GB, free: 96.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/1.625, allocations: 270 kB / 0.6694 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003959/1.629, allocations: 1.006 MB / 0.6704 GB, free: 96.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003605/1.629, allocations: 18.06 kB / 0.6704 GB, free: 96.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006526/1.636, allocations: 4.923 MB / 0.6752 GB, free: 93.37 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009513/1.637, allocations: 1.411 MB / 0.6766 GB, free: 92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/1.648, allocations: 5.57 MB / 0.6821 GB, free: 89.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009087/1.649, allocations: 369 kB / 0.6824 GB, free: 89.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000722/1.649, allocations: 14.92 kB / 0.6824 GB, free: 89.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/1.652, allocations: 125.1 kB / 0.6825 GB, free: 89.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/1.652, allocations: 94.45 kB / 0.6826 GB, free: 89.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.653, allocations: 47 kB / 0.6827 GB, free: 89.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003926/1.656, allocations: 1.985 MB / 0.6846 GB, free: 88.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.236e-06/1.657, allocations: 0 / 0.6846 GB, free: 88.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007063/1.664, allocations: 0.9662 MB / 0.6856 GB, free: 88.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (123): * Single equations (assignments): 116 * 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.0005846/1.664, allocations: 150.2 kB / 0.6857 GB, free: 88.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01092/1.675, allocations: 5.498 MB / 0.6911 GB, free: 84.83 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.295e-06/1.675, allocations: 2.5 kB / 0.6911 GB, free: 84.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004571/1.68, allocations: 2.202 MB / 0.6932 GB, free: 82.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/1.682, allocations: 326.4 kB / 0.6935 GB, free: 82.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/1.7, allocations: 8.453 MB / 0.7018 GB, free: 75.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005963/1.706, allocations: 3.338 MB / 0.705 GB, free: 72.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.707, allocations: 271.9 kB / 0.7053 GB, free: 72.37 MB / 458.7 MB Notification: Performance of SimCode: time 1.691e-06/1.707, allocations: 0 / 0.7053 GB, free: 72.37 MB / 458.7 MB Notification: Performance of Templates: time 0.4428/2.15, allocations: 124 MB / 0.8264 GB, free: 134.9 MB / 490.7 MB