Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 2.235/2.235, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.000493, allocations: 16 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 44.5 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4841/0.6069, allocations: 90.37 MB / 399.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.6073, allocations: 90.8 kB / 399.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4963/1.104, allocations: 92.6 MB / 492.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.307e-06/1.104, allocations: 0 / 492.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003763/1.104, allocations: 88 kB / 492.2 MB, free: 11.64 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.02984/1.134, allocations: 4.872 MB / 497.1 MB, free: 6.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.134, allocations: 8.031 kB / 497.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02254/1.157, allocations: 2.673 MB / 499.8 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.023/1.18, allocations: 5.57 MB / 0.4935 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005701/1.18, allocations: 357.2 kB / 0.4938 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002664/1.183, allocations: 455.8 kB / 0.4943 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04495/1.228, allocations: 12.42 MB / 0.5064 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003205/1.228, allocations: 67.36 kB / 0.5065 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/1.231, allocations: 227.9 kB / 0.5067 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003459/1.234, allocations: 1.182 MB / 0.5078 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03852/1.273, allocations: 10.18 MB / 0.5178 GB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3962/1.669, allocations: 52.32 MB / 0.5689 GB, free: 50.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/1.687, allocations: 4.082 MB / 0.5728 GB, free: 50.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01831/1.706, allocations: 7.393 MB / 0.5801 GB, free: 48.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/1.706, allocations: 52.16 kB / 0.5801 GB, free: 48.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 5.78e-06/1.706, allocations: 0 / 0.5801 GB, free: 48.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.07393/1.78, allocations: 16.21 MB / 0.5959 GB, free: 44.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001391/1.781, allocations: 1.604 MB / 0.5975 GB, free: 42.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/1.791, allocations: 4.225 MB / 0.6016 GB, free: 42.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005194/1.792, allocations: 57.42 kB / 0.6017 GB, free: 42.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003213/1.795, allocations: 3.375 MB / 0.605 GB, free: 39.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00123/1.796, allocations: 0.7487 MB / 0.6057 GB, free: 39.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000839/1.797, allocations: 128.2 kB / 0.6058 GB, free: 39.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004587/1.798, allocations: 0.5818 MB / 0.6064 GB, free: 38.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006789/1.804, allocations: 2.22 MB / 0.6086 GB, free: 37.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009656/1.814, allocations: 6.287 MB / 0.6147 GB, free: 31.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009455/1.824, allocations: 3.63 MB / 0.6183 GB, free: 30.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001519/1.824, allocations: 43.56 kB / 0.6183 GB, free: 30.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02753/1.851, allocations: 9.003 MB / 0.6271 GB, free: 27.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.852, allocations: 71.2 kB / 0.6272 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009296/1.861, allocations: 2.752 MB / 0.6298 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005745/1.867, allocations: 1.089 MB / 0.6309 GB, free: 26.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009325/1.876, allocations: 1.575 MB / 0.6324 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/1.883, allocations: 4.445 MB / 0.6368 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008712/1.891, allocations: 0.5014 MB / 0.6373 GB, free: 22.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.893, allocations: 410.4 kB / 0.6377 GB, free: 22.55 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.006099/1.899, allocations: 2.18 MB / 0.6398 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.9, allocations: 378.2 kB / 0.6402 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.911, allocations: 3.193 MB / 0.6433 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009037/1.92, allocations: 2.665 MB / 0.6459 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/1.92, allocations: 3.938 kB / 0.6459 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.536e-05/1.92, allocations: 11.27 kB / 0.6459 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03069/1.951, allocations: 10 MB / 0.6557 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.905e-05/1.951, allocations: 15.94 kB / 0.6557 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/1.954, allocations: 348.1 kB / 0.656 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005215/1.959, allocations: 0.9725 MB / 0.657 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000549/1.96, allocations: 60.83 kB / 0.657 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007323/1.967, allocations: 4.672 MB / 0.6616 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001157/1.969, allocations: 1.494 MB / 0.663 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/1.985, allocations: 5.724 MB / 0.6686 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002789/1.988, allocations: 0.6498 MB / 0.6693 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.99, allocations: 59.66 kB / 0.6693 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003882/1.993, allocations: 171.4 kB / 0.6695 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006622/1.994, allocations: 162.5 kB / 0.6696 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.994, allocations: 67.7 kB / 0.6697 GB, free: 10.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008324/2.003, allocations: 2.616 MB / 0.6723 GB, free: 8.281 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.61e-07/2.003, allocations: 0 / 0.6723 GB, free: 8.281 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008714/2.012, allocations: 1.117 MB / 0.6733 GB, free: 7.172 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.0009965/2.013, allocations: 220.9 kB / 0.6736 GB, free: 6.965 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01813/2.031, allocations: 5.79 MB / 0.6792 GB, free: 1.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/2.031, allocations: 2.953 kB / 0.6792 GB, free: 1.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2943/2.325, allocations: 2.141 MB / 0.6813 GB, free: 97.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/2.329, allocations: 445.8 kB / 0.6817 GB, free: 97.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03041/2.36, allocations: 12.29 MB / 0.6937 GB, free: 92.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009259/2.369, allocations: 3.496 MB / 0.6971 GB, free: 91.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01005/2.379, allocations: 1.994 MB / 0.6991 GB, free: 91.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/2.381, allocations: 270.6 kB / 0.6993 GB, free: 91.79 MB / 426.7 MB Notification: Performance of SimCode: time 2.114e-06/2.381, allocations: 2.812 kB / 0.6993 GB, free: 91.79 MB / 426.7 MB Notification: Performance of Templates: time 0.1084/2.489, allocations: 36.16 MB / 0.7347 GB, free: 89.9 MB / 426.7 MB