Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.664/1.664, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003578, allocations: 15.98 kB / 233.8 MB, free: 0.9609 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09334, allocations: 38.77 MB / 272.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.5298, allocations: 81.38 MB / 353.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.5302, allocations: 87.95 kB / 354 MB, free: 1.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.555/1.085, allocations: 71.95 MB / 426 MB, free: 78.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.085, allocations: 0 / 426 MB, free: 78.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000268/1.086, allocations: 71.73 kB / 426 MB, free: 78.13 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.0231/1.109, allocations: 3.994 MB / 430 MB, free: 76.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.109, allocations: 11.86 kB / 430 MB, free: 76.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0168/1.126, allocations: 2.133 MB / 432.2 MB, free: 76.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01848/1.144, allocations: 4.44 MB / 436.6 MB, free: 75.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/1.145, allocations: 279.5 kB / 436.9 MB, free: 75.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/1.146, allocations: 364.2 kB / 437.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0255/1.172, allocations: 9.103 MB / 446.4 MB, free: 73.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002139/1.172, allocations: 56.92 kB / 446.4 MB, free: 73.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009877/1.173, allocations: 179 kB / 446.6 MB, free: 73.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001705/1.175, allocations: 0.8746 MB / 447.5 MB, free: 73.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02077/1.196, allocations: 7.349 MB / 454.8 MB, free: 72.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05763/1.253, allocations: 43.17 MB / 498 MB, free: 39.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/1.266, allocations: 3.15 MB / 0.4894 GB, free: 38.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/1.28, allocations: 6.044 MB / 0.4953 GB, free: 34.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.28, allocations: 53.7 kB / 0.4953 GB, free: 34.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 5.019e-06/1.28, allocations: 0 / 0.4953 GB, free: 34.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.04125/1.321, allocations: 10.92 MB / 0.506 GB, free: 25.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001437/1.323, allocations: 1.629 MB / 0.5076 GB, free: 23.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008922/1.332, allocations: 3.521 MB / 0.511 GB, free: 20.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004354/1.332, allocations: 45.06 kB / 0.5111 GB, free: 20.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00251/1.335, allocations: 2.72 MB / 0.5137 GB, free: 18.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009588/1.336, allocations: 0.5214 MB / 0.5142 GB, free: 17.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005086/1.336, allocations: 104 kB / 0.5143 GB, free: 17.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004679/1.337, allocations: 0.5372 MB / 0.5149 GB, free: 17.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006153/1.343, allocations: 1.847 MB / 0.5167 GB, free: 15.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008692/1.352, allocations: 5.284 MB / 0.5218 GB, free: 9.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008783/1.361, allocations: 3.063 MB / 0.5248 GB, free: 6.156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.404e-05/1.361, allocations: 39.94 kB / 0.5248 GB, free: 6.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.0287/1.39, allocations: 7.561 MB / 0.5322 GB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/1.39, allocations: 63.98 kB / 0.5323 GB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01137/1.401, allocations: 2.407 MB / 0.5346 GB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007692/1.409, allocations: 1.127 MB / 0.5357 GB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007942/1.417, allocations: 1.224 MB / 0.5369 GB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009209/1.426, allocations: 4.758 MB / 0.5416 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007005/1.433, allocations: 371.3 kB / 0.5419 GB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/1.435, allocations: 340 kB / 0.5423 GB, free: 3.973 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 33 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (657): * Single equations (assignments): 648 * 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.005134/1.44, allocations: 1.833 MB / 0.5441 GB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009335/1.441, allocations: 296.2 kB / 0.5443 GB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.259/1.7, allocations: 2.667 MB / 0.5469 GB, free: 83.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008812/1.709, allocations: 2.261 MB / 0.5491 GB, free: 83.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/1.709, allocations: 3.406 kB / 0.5492 GB, free: 83.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.936e-05/1.709, allocations: 8.078 kB / 0.5492 GB, free: 83.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/1.719, allocations: 3.345 MB / 0.5524 GB, free: 82.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/1.719, allocations: 1.156 kB / 0.5524 GB, free: 82.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/1.721, allocations: 204 kB / 0.5526 GB, free: 82.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00564/1.727, allocations: 1.045 MB / 0.5536 GB, free: 82.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003534/1.727, allocations: 33.38 kB / 0.5537 GB, free: 82.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008985/1.736, allocations: 5.095 MB / 0.5586 GB, free: 80.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001187/1.737, allocations: 1.484 MB / 0.5601 GB, free: 78.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/1.751, allocations: 4.799 MB / 0.5648 GB, free: 78.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.752, allocations: 363.7 kB / 0.5651 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007276/1.753, allocations: 25.78 kB / 0.5652 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/1.755, allocations: 120.1 kB / 0.5653 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/1.755, allocations: 83.23 kB / 0.5654 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.755, allocations: 43.8 kB / 0.5654 GB, free: 78.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00535/1.761, allocations: 2.176 MB / 0.5675 GB, free: 78.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.761, allocations: 0 / 0.5675 GB, free: 78.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006298/1.767, allocations: 0.9219 MB / 0.5684 GB, free: 78.14 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * 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.0007408/1.768, allocations: 172.9 kB / 0.5686 GB, free: 78.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01334/1.781, allocations: 5.063 MB / 0.5735 GB, free: 77.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.781, allocations: 0 / 0.5735 GB, free: 77.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00658/1.788, allocations: 2.001 MB / 0.5755 GB, free: 77.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/1.791, allocations: 356 kB / 0.5758 GB, free: 76.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02442/1.815, allocations: 10.08 MB / 0.5857 GB, free: 72.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007339/1.823, allocations: 2.938 MB / 0.5885 GB, free: 70.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.825, allocations: 247.8 kB / 0.5888 GB, free: 70.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/1.825, allocations: 0 / 0.5888 GB, free: 70.84 MB / 362.7 MB Notification: Performance of Templates: time 0.4431/2.268, allocations: 108.4 MB / 0.6946 GB, free: 97.25 MB / 378.7 MB