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.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.758/1.758, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004968, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1148, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/0.4825, allocations: 80.49 MB / 353.1 MB, free: 9.012 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004032/0.483, allocations: 90.27 kB / 353.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4138/0.8969, allocations: 78.03 MB / 431.2 MB, free: 424 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.8969, allocations: 0 / 431.2 MB, free: 424 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003675/0.8973, allocations: 79.98 kB / 431.3 MB, free: 344 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.2926/1.19, allocations: 4.218 MB / 435.5 MB, free: 72.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.19, allocations: 10.22 kB / 435.5 MB, free: 72.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/1.209, allocations: 2.23 MB / 437.8 MB, free: 72.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01878/1.228, allocations: 4.343 MB / 442.1 MB, free: 71.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005452/1.228, allocations: 312.2 kB / 442.4 MB, free: 71.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/1.231, allocations: 418.5 kB / 442.8 MB, free: 71.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03203/1.263, allocations: 10.25 MB / 453.1 MB, free: 68.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002625/1.263, allocations: 62.88 kB / 453.1 MB, free: 68.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001819/1.265, allocations: 203.1 kB / 453.3 MB, free: 68.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002303/1.267, allocations: 0.983 MB / 454.3 MB, free: 68.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0344/1.302, allocations: 8.149 MB / 462.5 MB, free: 68.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09566/1.398, allocations: 48.25 MB / 0.4987 GB, free: 32.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01929/1.417, allocations: 3.576 MB / 0.5022 GB, free: 31.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01753/1.434, allocations: 6.507 MB / 0.5086 GB, free: 27.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/1.435, allocations: 46.38 kB / 0.5086 GB, free: 27.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.521e-06/1.435, allocations: 0 / 0.5086 GB, free: 27.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.0521/1.487, allocations: 11.98 MB / 0.5203 GB, free: 18.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00141/1.488, allocations: 1.598 MB / 0.5219 GB, free: 16.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009061/1.497, allocations: 3.798 MB / 0.5256 GB, free: 13.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004259/1.498, allocations: 46.89 kB / 0.5256 GB, free: 13.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002869/1.501, allocations: 3.065 MB / 0.5286 GB, free: 10.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.502, allocations: 0.583 MB / 0.5292 GB, free: 10.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008716/1.503, allocations: 120 kB / 0.5293 GB, free: 10.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005998/1.503, allocations: 0.5611 MB / 0.5299 GB, free: 9.855 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005595/1.509, allocations: 1.957 MB / 0.5318 GB, free: 8.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0094/1.518, allocations: 5.84 MB / 0.5375 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009046/1.527, allocations: 3.312 MB / 0.5407 GB, free: 13.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/1.528, allocations: 40 kB / 0.5408 GB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02956/1.557, allocations: 8.608 MB / 0.5492 GB, free: 5.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.557, allocations: 64 kB / 0.5492 GB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01166/1.569, allocations: 2.675 MB / 0.5518 GB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/1.579, allocations: 1.541 MB / 0.5533 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008663/1.588, allocations: 1.361 MB / 0.5547 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2801/1.868, allocations: 5.19 MB / 0.5597 GB, free: 73.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007654/1.876, allocations: 431.8 kB / 0.5602 GB, free: 73.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00169/1.878, allocations: 381.5 kB / 0.5605 GB, free: 73.23 MB / 362.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 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (720): * Single equations (assignments): 710 * 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: 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: 1 {1} * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.006031/1.884, allocations: 1.974 MB / 0.5624 GB, free: 73.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009084/1.885, allocations: 317.1 kB / 0.5627 GB, free: 73.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.897, allocations: 3.013 MB / 0.5657 GB, free: 72.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01006/1.907, allocations: 2.574 MB / 0.5682 GB, free: 72.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/1.907, allocations: 6.5 kB / 0.5682 GB, free: 72.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.5e-05/1.907, allocations: 10.12 kB / 0.5682 GB, free: 72.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009372/1.916, allocations: 3.541 MB / 0.5717 GB, free: 72.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.375e-05/1.916, allocations: 0 / 0.5717 GB, free: 72.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/1.919, allocations: 164.5 kB / 0.5718 GB, free: 72.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01211/1.931, allocations: 1.441 MB / 0.5732 GB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005199/1.932, allocations: 31.5 kB / 0.5733 GB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/1.946, allocations: 5.84 MB / 0.579 GB, free: 69.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001778/1.948, allocations: 1.465 MB / 0.5804 GB, free: 68.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02227/1.97, allocations: 5.089 MB / 0.5854 GB, free: 67.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/1.972, allocations: 376.9 kB / 0.5857 GB, free: 67.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/1.974, allocations: 27.19 kB / 0.5858 GB, free: 67.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004683/1.978, allocations: 137.9 kB / 0.5859 GB, free: 67.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007885/1.979, allocations: 78.28 kB / 0.586 GB, free: 67.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/1.98, allocations: 48.48 kB / 0.586 GB, free: 67.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.01052/1.99, allocations: 2.331 MB / 0.5883 GB, free: 67.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.316e-06/1.99, allocations: 0 / 0.5883 GB, free: 67.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01108/2.001, allocations: 0.9773 MB / 0.5892 GB, free: 67.39 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],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (73): * Single equations (assignments): 65 * 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: 2 * 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: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009639/2.002, allocations: 163.1 kB / 0.5894 GB, free: 67.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01865/2.021, allocations: 5.143 MB / 0.5944 GB, free: 66.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/2.021, allocations: 0 / 0.5944 GB, free: 66.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008742/2.03, allocations: 1.958 MB / 0.5963 GB, free: 66.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004095/2.034, allocations: 337.8 kB / 0.5967 GB, free: 66.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/2.066, allocations: 10.33 MB / 0.6067 GB, free: 61.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008928/2.075, allocations: 3.113 MB / 0.6098 GB, free: 59.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.01073/2.086, allocations: 1.776 MB / 0.6115 GB, free: 59.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/2.087, allocations: 216.7 kB / 0.6117 GB, free: 59.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/2.087, allocations: 0 / 0.6117 GB, free: 59.71 MB / 362.7 MB Notification: Performance of Templates: time 0.1361/2.223, allocations: 32.49 MB / 0.6435 GB, free: 40.33 MB / 362.7 MB