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.SpringDamperSystem.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.602/1.602, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.947e-05, allocations: 4 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06978/0.06982, allocations: 38.77 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3047/0.3746, allocations: 83.99 MB / 345.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.3749, allocations: 86.25 kB / 345.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5334/0.9083, allocations: 89.62 MB / 435 MB, free: 77.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.988e-06/0.9084, allocations: 0 / 435 MB, free: 77.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002072/0.9086, allocations: 91 kB / 435.1 MB, free: 77.1 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.01774/0.9263, allocations: 4.618 MB / 439.7 MB, free: 75.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.9264, allocations: 11.12 kB / 439.7 MB, free: 75.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/0.9424, allocations: 2.665 MB / 442.4 MB, free: 74.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01627/0.9587, allocations: 5.539 MB / 447.9 MB, free: 74.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.959, allocations: 148.8 kB / 448 MB, free: 74.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/0.9607, allocations: 272.4 kB / 448.3 MB, free: 74.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01397/0.9747, allocations: 6.732 MB / 455 MB, free: 74.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/0.9946, allocations: 10.19 MB / 465.2 MB, free: 70.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/0.9949, allocations: 66.66 kB / 465.3 MB, free: 70.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/0.9959, allocations: 33.91 kB / 465.3 MB, free: 70.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002066/0.998, allocations: 1.169 MB / 466.5 MB, free: 69.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05826/1.056, allocations: 51.93 MB / 0.5063 GB, free: 26.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/1.06, allocations: 2.649 MB / 0.5089 GB, free: 23.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/1.062, allocations: 1.454 MB / 0.5103 GB, free: 22.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/1.063, allocations: 0.5662 MB / 0.5108 GB, free: 21.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.063, allocations: 55.81 kB / 0.5109 GB, free: 21.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=168): time 5.607e-06/1.063, allocations: 0 / 0.5109 GB, free: 21.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=185): time 0.03375/1.097, allocations: 12.18 MB / 0.5228 GB, free: 10.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/1.097, allocations: 149.8 kB / 0.5229 GB, free: 10.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/1.103, allocations: 3.195 MB / 0.5261 GB, free: 7.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003702/1.103, allocations: 25.7 kB / 0.5261 GB, free: 7.039 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002171/1.105, allocations: 3.394 MB / 0.5294 GB, free: 3.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008687/1.106, allocations: 0.7213 MB / 0.5301 GB, free: 2.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004831/1.107, allocations: 0 / 0.5301 GB, free: 2.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003968/1.107, allocations: 0.6001 MB / 0.5307 GB, free: 2.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003821/1.111, allocations: 2.005 MB / 0.5326 GB, free: 256 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2056/1.316, allocations: 6.177 MB / 0.5387 GB, free: 65.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007456/1.324, allocations: 3.464 MB / 0.5421 GB, free: 65.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002561/1.324, allocations: 42.81 kB / 0.5421 GB, free: 65.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02118/1.345, allocations: 7.8 MB / 0.5497 GB, free: 64.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/1.346, allocations: 73.83 kB / 0.5498 GB, free: 64.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006153/1.352, allocations: 2.496 MB / 0.5522 GB, free: 64.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003466/1.355, allocations: 0.9862 MB / 0.5532 GB, free: 64.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00692/1.362, allocations: 1.634 MB / 0.5548 GB, free: 64.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/1.366, allocations: 3.894 MB / 0.5586 GB, free: 62.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007464/1.374, allocations: 402.2 kB / 0.559 GB, free: 62.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/1.375, allocations: 420.2 kB / 0.5594 GB, free: 62.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (852): * Single equations (assignments): 843 * 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 {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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001643/1.377, allocations: 482 kB / 0.5598 GB, free: 61.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007137/1.378, allocations: 336.4 kB / 0.5602 GB, free: 61.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007567/1.385, allocations: 2.928 MB / 0.563 GB, free: 61.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006203/1.392, allocations: 2.456 MB / 0.5654 GB, free: 61.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/1.392, allocations: 3.188 kB / 0.5654 GB, free: 61.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-05/1.392, allocations: 12.83 kB / 0.5654 GB, free: 61.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/1.414, allocations: 9.079 MB / 0.5743 GB, free: 59.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/1.414, allocations: 11.62 kB / 0.5743 GB, free: 59.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.417, allocations: 338.3 kB / 0.5746 GB, free: 59.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004031/1.421, allocations: 0.9632 MB / 0.5756 GB, free: 59.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004243/1.421, allocations: 34.42 kB / 0.5756 GB, free: 59.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/1.427, allocations: 4.471 MB / 0.58 GB, free: 56.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009279/1.428, allocations: 1.408 MB / 0.5813 GB, free: 55.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.439, allocations: 6.633 MB / 0.5878 GB, free: 51.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/1.441, allocations: 0.6135 MB / 0.5884 GB, free: 51.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008461/1.441, allocations: 31.17 kB / 0.5884 GB, free: 51.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/1.444, allocations: 147.5 kB / 0.5886 GB, free: 51.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005659/1.445, allocations: 144.3 kB / 0.5887 GB, free: 51.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.445, allocations: 69.05 kB / 0.5888 GB, free: 51.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004819/1.45, allocations: 2.095 MB / 0.5908 GB, free: 50.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.396e-06/1.45, allocations: 3.594 kB / 0.5908 GB, free: 50.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007662/1.458, allocations: 0.9733 MB / 0.5918 GB, free: 50.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 14 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 154 * 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.0007149/1.458, allocations: 185.8 kB / 0.592 GB, free: 50.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01091/1.469, allocations: 5.218 MB / 0.5971 GB, free: 48.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.469, allocations: 4 kB / 0.5971 GB, free: 48.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004725/1.474, allocations: 2.055 MB / 0.5991 GB, free: 47.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/1.477, allocations: 350 kB / 0.5994 GB, free: 47.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.496, allocations: 9.007 MB / 0.6082 GB, free: 39.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005774/1.501, allocations: 3.486 MB / 0.6116 GB, free: 36.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.503, allocations: 303.8 kB / 0.6119 GB, free: 36.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.877e-06/1.503, allocations: 0 / 0.6119 GB, free: 36.54 MB / 346.7 MB Notification: Performance of Templates: time 0.3831/1.886, allocations: 127.9 MB / 0.7368 GB, free: 37.12 MB / 362.7 MB