Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 12 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08282, allocations: 44.5 MB / 308.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3575/0.4403, allocations: 90.38 MB / 398.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.4406, allocations: 89.64 kB / 398.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3519/0.7925, allocations: 91.75 MB / 490.7 MB, free: 15.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.948e-06/0.7926, allocations: 4.188 kB / 490.7 MB, free: 15.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002521/0.7928, allocations: 91.94 kB / 490.8 MB, free: 15.04 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.01939/0.8122, allocations: 4.863 MB / 495.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.8123, allocations: 8.031 kB / 495.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.8285, allocations: 2.677 MB / 498.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/0.8466, allocations: 5.574 MB / 0.4921 GB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/0.8471, allocations: 353.2 kB / 0.4924 GB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/0.8493, allocations: 459.8 kB / 0.4928 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03513/0.8844, allocations: 12.42 MB / 0.505 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002615/0.8847, allocations: 75.28 kB / 0.505 GB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001705/0.8865, allocations: 227.9 kB / 0.5053 GB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002682/0.8892, allocations: 1.171 MB / 0.5064 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03004/0.9192, allocations: 10.19 MB / 0.5164 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3433/1.263, allocations: 52.31 MB / 0.5674 GB, free: 50.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/1.277, allocations: 4.071 MB / 0.5714 GB, free: 50.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01533/1.292, allocations: 7.395 MB / 0.5786 GB, free: 48.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/1.293, allocations: 57.75 kB / 0.5787 GB, free: 48.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 5.703e-06/1.293, allocations: 0 / 0.5787 GB, free: 48.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.05659/1.349, allocations: 16.29 MB / 0.5946 GB, free: 44.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001196/1.35, allocations: 1.602 MB / 0.5962 GB, free: 43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008401/1.359, allocations: 3.777 MB / 0.5999 GB, free: 42.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003836/1.359, allocations: 49.55 kB / 0.5999 GB, free: 42.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002307/1.362, allocations: 3.299 MB / 0.6031 GB, free: 40.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009451/1.363, allocations: 0.7517 MB / 0.6039 GB, free: 40.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006313/1.363, allocations: 134.1 kB / 0.604 GB, free: 40.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004135/1.364, allocations: 0.588 MB / 0.6046 GB, free: 39.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005206/1.369, allocations: 2.221 MB / 0.6067 GB, free: 39.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007394/1.376, allocations: 6.288 MB / 0.6129 GB, free: 32.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007537/1.384, allocations: 3.626 MB / 0.6164 GB, free: 31.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.384, allocations: 41.38 kB / 0.6165 GB, free: 31.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02275/1.407, allocations: 8.892 MB / 0.6251 GB, free: 28.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/1.407, allocations: 67.06 kB / 0.6252 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007739/1.415, allocations: 2.758 MB / 0.6279 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004597/1.419, allocations: 1.083 MB / 0.6289 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006581/1.426, allocations: 1.569 MB / 0.6305 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/1.431, allocations: 4.458 MB / 0.6348 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007629/1.439, allocations: 0.5052 MB / 0.6353 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.44, allocations: 413.3 kB / 0.6357 GB, free: 24.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (825): * Single equations (assignments): 816 * 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.005356/1.446, allocations: 2.179 MB / 0.6378 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000834/1.447, allocations: 364.7 kB / 0.6382 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008359/1.455, allocations: 3.187 MB / 0.6413 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006549/1.462, allocations: 2.672 MB / 0.6439 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/1.462, allocations: 0 / 0.6439 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.954e-05/1.462, allocations: 11.59 kB / 0.6439 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02321/1.485, allocations: 10.02 MB / 0.6537 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-05/1.485, allocations: 13 kB / 0.6537 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/1.487, allocations: 351.6 kB / 0.6541 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003593/1.491, allocations: 0.9782 MB / 0.655 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003891/1.491, allocations: 58.56 kB / 0.6551 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/1.497, allocations: 4.677 MB / 0.6596 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009481/1.498, allocations: 1.485 MB / 0.6611 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/1.515, allocations: 7.476 MB / 0.6684 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/1.517, allocations: 0.6462 MB / 0.669 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009882/1.519, allocations: 63.03 kB / 0.6691 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002824/1.521, allocations: 170.9 kB / 0.6692 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004991/1.522, allocations: 161.8 kB / 0.6694 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/1.522, allocations: 75.45 kB / 0.6695 GB, free: 13.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006837/1.529, allocations: 2.613 MB / 0.672 GB, free: 11 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.253e-06/1.529, allocations: 0 / 0.672 GB, free: 11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008256/1.537, allocations: 1.122 MB / 0.6731 GB, free: 9.887 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 14 ($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],p2.s,p2.v) * 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 (164): * Single equations (assignments): 157 * 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.0008366/1.538, allocations: 217.4 kB / 0.6733 GB, free: 9.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01469/1.553, allocations: 5.794 MB / 0.679 GB, free: 4.617 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.553, allocations: 0 / 0.679 GB, free: 4.617 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005745/1.559, allocations: 2.148 MB / 0.6811 GB, free: 2.738 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/1.562, allocations: 450.2 kB / 0.6815 GB, free: 2.352 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2598/1.822, allocations: 12.73 MB / 0.6939 GB, free: 95.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00799/1.83, allocations: 3.5 MB / 0.6974 GB, free: 94.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/1.831, allocations: 317.7 kB / 0.6977 GB, free: 94.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.779e-06/1.832, allocations: 1.312 kB / 0.6977 GB, free: 94.93 MB / 426.7 MB Notification: Performance of Templates: time 0.1839/2.015, allocations: 130.8 MB / 0.8254 GB, free: 11.44 MB / 426.7 MB