Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.546/1.546, allocations: 171.2 MB / 186.8 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06946/0.06984, allocations: 38.76 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4149, allocations: 80.49 MB / 352.5 MB, free: 9.652 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.4153, allocations: 88.08 kB / 352.6 MB, free: 9.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2983/0.7135, allocations: 77.54 MB / 430.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.781e-06/0.7136, allocations: 0 / 430.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002024/0.7138, allocations: 79.98 kB / 430.2 MB, free: 1.375 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.2133/0.9271, allocations: 4.212 MB / 434.4 MB, free: 71.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.9272, allocations: 12.52 kB / 434.4 MB, free: 71.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.9417, allocations: 2.224 MB / 436.7 MB, free: 71.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01367/0.9554, allocations: 4.35 MB / 441 MB, free: 71.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00043/0.9559, allocations: 312.2 kB / 441.3 MB, free: 71.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.9576, allocations: 411 kB / 441.7 MB, free: 71.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/0.9809, allocations: 10.26 MB / 452 MB, free: 68.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001769/0.9811, allocations: 60.19 kB / 452 MB, free: 68.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.9822, allocations: 205.4 kB / 452.2 MB, free: 68.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/0.9839, allocations: 0.9861 MB / 453.2 MB, free: 68.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/1.004, allocations: 8.148 MB / 461.4 MB, free: 68.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05246/1.056, allocations: 48.24 MB / 0.4977 GB, free: 32.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/1.068, allocations: 3.569 MB / 0.5011 GB, free: 30.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01241/1.081, allocations: 6.513 MB / 0.5075 GB, free: 26.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/1.081, allocations: 50.97 kB / 0.5076 GB, free: 26.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 6.127e-06/1.081, allocations: 0 / 0.5076 GB, free: 26.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.03635/1.117, allocations: 11.98 MB / 0.5193 GB, free: 18.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001128/1.118, allocations: 1.599 MB / 0.5208 GB, free: 16.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006844/1.125, allocations: 3.396 MB / 0.5241 GB, free: 13.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000297/1.126, allocations: 54.97 kB / 0.5242 GB, free: 13.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002006/1.128, allocations: 3.024 MB / 0.5271 GB, free: 10.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007399/1.128, allocations: 0.5805 MB / 0.5277 GB, free: 10.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/1.129, allocations: 120 kB / 0.5278 GB, free: 10.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003821/1.129, allocations: 0.5615 MB / 0.5284 GB, free: 9.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/1.133, allocations: 1.959 MB / 0.5303 GB, free: 8.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006239/1.14, allocations: 5.838 MB / 0.536 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007054/1.147, allocations: 3.311 MB / 0.5392 GB, free: 13.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/1.147, allocations: 40 kB / 0.5393 GB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02362/1.171, allocations: 8.517 MB / 0.5476 GB, free: 5.996 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/1.171, allocations: 64 kB / 0.5476 GB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008936/1.18, allocations: 2.67 MB / 0.5502 GB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006993/1.187, allocations: 1.55 MB / 0.5518 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005744/1.193, allocations: 1.357 MB / 0.5531 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2156/1.408, allocations: 5.197 MB / 0.5582 GB, free: 73.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006316/1.415, allocations: 429.8 kB / 0.5586 GB, free: 73.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/1.416, allocations: 382.9 kB / 0.5589 GB, free: 73.21 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.00476/1.421, allocations: 1.971 MB / 0.5609 GB, free: 73.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/1.421, allocations: 322 kB / 0.5612 GB, free: 73.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00854/1.43, allocations: 3.008 MB / 0.5641 GB, free: 72.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007189/1.437, allocations: 2.578 MB / 0.5666 GB, free: 72.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/1.437, allocations: 3.438 kB / 0.5666 GB, free: 72.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.295e-05/1.437, allocations: 6.953 kB / 0.5666 GB, free: 72.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007904/1.445, allocations: 3.549 MB / 0.5701 GB, free: 72.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/1.445, allocations: 0 / 0.5701 GB, free: 72.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.446, allocations: 162.2 kB / 0.5702 GB, free: 72.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006146/1.452, allocations: 1.435 MB / 0.5716 GB, free: 72.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002988/1.453, allocations: 32.62 kB / 0.5717 GB, free: 72.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007605/1.46, allocations: 5.84 MB / 0.5774 GB, free: 69.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009351/1.461, allocations: 1.461 MB / 0.5788 GB, free: 68.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.473, allocations: 5.169 MB / 0.5839 GB, free: 67.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000999/1.474, allocations: 378.9 kB / 0.5842 GB, free: 67.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006444/1.475, allocations: 32.16 kB / 0.5842 GB, free: 67.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/1.477, allocations: 133.9 kB / 0.5844 GB, free: 67.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/1.477, allocations: 83.61 kB / 0.5845 GB, free: 67.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.477, allocations: 44.12 kB / 0.5845 GB, free: 67.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005089/1.482, allocations: 2.334 MB / 0.5868 GB, free: 67.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.482, allocations: 0 / 0.5868 GB, free: 67.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006609/1.489, allocations: 0.9677 MB / 0.5877 GB, free: 67.29 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.0005213/1.489, allocations: 177.2 kB / 0.5879 GB, free: 67.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01104/1.5, allocations: 5.144 MB / 0.5929 GB, free: 66.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.964e-06/1.5, allocations: 0 / 0.5929 GB, free: 66.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00494/1.505, allocations: 1.96 MB / 0.5948 GB, free: 66.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/1.508, allocations: 344 kB / 0.5952 GB, free: 65.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/1.527, allocations: 10.73 MB / 0.6056 GB, free: 60.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00533/1.533, allocations: 3.12 MB / 0.6087 GB, free: 59.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009184/1.534, allocations: 253.2 kB / 0.6089 GB, free: 59.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/1.534, allocations: 0 / 0.6089 GB, free: 59.39 MB / 362.7 MB Notification: Performance of Templates: time 0.4186/1.952, allocations: 131.3 MB / 0.7371 GB, free: 80.77 MB / 378.7 MB