Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005395/0.0005397, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08767, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.4862, allocations: 81.39 MB / 354 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004501/0.4867, allocations: 95.94 kB / 354.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3493/0.8361, allocations: 71.96 MB / 426.1 MB, free: 5.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.8361, allocations: 0 / 426.1 MB, free: 5.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002934/0.8364, allocations: 68 kB / 426.1 MB, free: 5.566 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.02349/0.8599, allocations: 3.993 MB / 430.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.86, allocations: 8.031 kB / 430.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.265/1.125, allocations: 2.126 MB / 432.3 MB, free: 75.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01963/1.145, allocations: 4.435 MB / 436.7 MB, free: 74.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/1.145, allocations: 279.8 kB / 437 MB, free: 74.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/1.147, allocations: 364.2 kB / 437.3 MB, free: 74.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02805/1.175, allocations: 9.078 MB / 446.4 MB, free: 72.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002797/1.176, allocations: 50.81 kB / 446.5 MB, free: 72.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001582/1.177, allocations: 184.5 kB / 446.6 MB, free: 72.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001954/1.179, allocations: 0.8749 MB / 447.5 MB, free: 72.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/1.201, allocations: 7.358 MB / 454.9 MB, free: 72.17 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06236/1.264, allocations: 43.15 MB / 498 MB, free: 40.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/1.277, allocations: 3.173 MB / 0.4894 GB, free: 39.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01421/1.291, allocations: 6.049 MB / 0.4954 GB, free: 36.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/1.291, allocations: 46.22 kB / 0.4954 GB, free: 36.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 4.429e-06/1.291, allocations: 0 / 0.4954 GB, free: 36.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.0425/1.334, allocations: 10.91 MB / 0.5061 GB, free: 31.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001438/1.335, allocations: 1.627 MB / 0.5076 GB, free: 29.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007941/1.343, allocations: 3.522 MB / 0.5111 GB, free: 27.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003867/1.343, allocations: 46.83 kB / 0.5111 GB, free: 27.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002677/1.346, allocations: 2.774 MB / 0.5138 GB, free: 24.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009302/1.347, allocations: 0.5241 MB / 0.5143 GB, free: 24.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000697/1.348, allocations: 104 kB / 0.5144 GB, free: 24.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003709/1.348, allocations: 0.5251 MB / 0.515 GB, free: 23.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004663/1.353, allocations: 1.853 MB / 0.5168 GB, free: 22.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006794/1.36, allocations: 5.262 MB / 0.5219 GB, free: 15.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006617/1.366, allocations: 3.048 MB / 0.5249 GB, free: 12.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/1.367, allocations: 36 kB / 0.5249 GB, free: 12.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.02129/1.388, allocations: 7.678 MB / 0.5324 GB, free: 5.977 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.63e-05/1.388, allocations: 56 kB / 0.5325 GB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007546/1.396, allocations: 2.398 MB / 0.5348 GB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005555/1.401, allocations: 1.13 MB / 0.5359 GB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008927/1.41, allocations: 1.227 MB / 0.5371 GB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/1.423, allocations: 4.773 MB / 0.5418 GB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009937/1.433, allocations: 369.3 kB / 0.5421 GB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/1.434, allocations: 336 kB / 0.5424 GB, free: 12.93 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.005646/1.44, allocations: 1.829 MB / 0.5442 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009225/1.441, allocations: 296.2 kB / 0.5445 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/1.451, allocations: 2.659 MB / 0.5471 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008959/1.46, allocations: 2.265 MB / 0.5493 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/1.46, allocations: 4 kB / 0.5493 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-05/1.46, allocations: 11.91 kB / 0.5493 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/1.47, allocations: 3.351 MB / 0.5526 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.861e-05/1.471, allocations: 4 kB / 0.5526 GB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.473, allocations: 199.7 kB / 0.5528 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005911/1.479, allocations: 1.045 MB / 0.5538 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004171/1.479, allocations: 31.92 kB / 0.5539 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2705/1.75, allocations: 5.087 MB / 0.5588 GB, free: 78.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001366/1.751, allocations: 1.489 MB / 0.5603 GB, free: 76.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/1.766, allocations: 4.804 MB / 0.565 GB, free: 76.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.767, allocations: 366.2 kB / 0.5653 GB, free: 76.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/1.768, allocations: 26.44 kB / 0.5653 GB, free: 76.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.772, allocations: 120.4 kB / 0.5655 GB, free: 76.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005702/1.772, allocations: 79.3 kB / 0.5655 GB, free: 76.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/1.772, allocations: 40.81 kB / 0.5656 GB, free: 76.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006535/1.779, allocations: 2.179 MB / 0.5677 GB, free: 76.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.313e-06/1.779, allocations: 1.375 kB / 0.5677 GB, free: 76.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008434/1.787, allocations: 0.925 MB / 0.5686 GB, free: 76.07 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.001185/1.789, allocations: 163.5 kB / 0.5688 GB, free: 75.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02101/1.81, allocations: 5.053 MB / 0.5737 GB, free: 75.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.81, allocations: 0 / 0.5737 GB, free: 75.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009793/1.82, allocations: 2 MB / 0.5756 GB, free: 75.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004941/1.825, allocations: 355.9 kB / 0.576 GB, free: 75.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03275/1.857, allocations: 9.678 MB / 0.5854 GB, free: 71.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009282/1.867, allocations: 2.94 MB / 0.5883 GB, free: 70.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.01166/1.878, allocations: 1.664 MB / 0.5899 GB, free: 70.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/1.88, allocations: 210.5 kB / 0.5901 GB, free: 70.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/1.88, allocations: 0 / 0.5901 GB, free: 70.5 MB / 362.7 MB Notification: Performance of Templates: time 0.09301/1.973, allocations: 30.49 MB / 0.6199 GB, free: 64.38 MB / 362.7 MB