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.ThreeSprings.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.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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 2.224/2.224, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004891, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 44.51 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5464, allocations: 86.11 MB / 395.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5467, allocations: 96.3 kB / 395.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4291/0.9759, allocations: 78.2 MB / 473.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.976, allocations: 0 / 473.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003229/0.9763, allocations: 72 kB / 473.5 MB, free: 13.67 MB / 362.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.03474/1.011, allocations: 4.234 MB / 477.8 MB, free: 9.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/1.011, allocations: 8.031 kB / 477.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02923/1.04, allocations: 2.233 MB / 480 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02754/1.068, allocations: 4.364 MB / 484.4 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007333/1.069, allocations: 313.1 kB / 484.7 MB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003198/1.072, allocations: 407.5 kB / 485.1 MB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04893/1.121, allocations: 10.25 MB / 495.3 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003581/1.121, allocations: 55.5 kB / 495.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002593/1.124, allocations: 210 kB / 495.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00374/1.128, allocations: 0.9857 MB / 496.6 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.037/1.165, allocations: 8.141 MB / 0.4929 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4189/1.584, allocations: 48.25 MB / 0.54 GB, free: 61.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02262/1.607, allocations: 3.558 MB / 0.5435 GB, free: 60.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01966/1.626, allocations: 6.525 MB / 0.5498 GB, free: 58.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.626, allocations: 43.22 kB / 0.5499 GB, free: 58.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=131): time 5.951e-06/1.626, allocations: 0 / 0.5499 GB, free: 58.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.05305/1.679, allocations: 11.98 MB / 0.5616 GB, free: 55.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001461/1.681, allocations: 1.595 MB / 0.5631 GB, free: 53.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008569/1.69, allocations: 3.805 MB / 0.5669 GB, free: 53.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004043/1.69, allocations: 42.48 kB / 0.5669 GB, free: 53.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002558/1.693, allocations: 3.064 MB / 0.5699 GB, free: 51.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009685/1.694, allocations: 0.582 MB / 0.5705 GB, free: 51.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006971/1.694, allocations: 121.7 kB / 0.5706 GB, free: 51.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003663/1.695, allocations: 0.5609 MB / 0.5711 GB, free: 51.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005085/1.7, allocations: 1.958 MB / 0.573 GB, free: 51.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007861/1.708, allocations: 5.85 MB / 0.5788 GB, free: 46.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008572/1.716, allocations: 3.3 MB / 0.582 GB, free: 46.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/1.717, allocations: 41.75 kB / 0.582 GB, free: 46.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02766/1.744, allocations: 8.708 MB / 0.5905 GB, free: 44.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.744, allocations: 64.84 kB / 0.5906 GB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01063/1.755, allocations: 2.752 MB / 0.5933 GB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009642/1.765, allocations: 1.626 MB / 0.5949 GB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007297/1.772, allocations: 1.343 MB / 0.5962 GB, free: 43.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008502/1.781, allocations: 5.634 MB / 0.6017 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0073/1.788, allocations: 430.9 kB / 0.6021 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/1.789, allocations: 385.7 kB / 0.6024 GB, free: 39.45 MB / 410.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 (717): * Single equations (assignments): 707 * 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 {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 26} Notification: Performance of prepare postOptimizeDAE: time 0.004863/1.794, allocations: 1.978 MB / 0.6044 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007783/1.795, allocations: 318.9 kB / 0.6047 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/1.806, allocations: 3.006 MB / 0.6076 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009701/1.816, allocations: 2.575 MB / 0.6101 GB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/1.816, allocations: 3.531 kB / 0.6101 GB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-05/1.816, allocations: 7.344 kB / 0.6101 GB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008798/1.825, allocations: 3.542 MB / 0.6136 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/1.825, allocations: 10.78 kB / 0.6136 GB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/1.827, allocations: 162 kB / 0.6138 GB, free: 35.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008181/1.835, allocations: 1.435 MB / 0.6152 GB, free: 35.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000449/1.835, allocations: 33.33 kB / 0.6152 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009324/1.845, allocations: 5.838 MB / 0.6209 GB, free: 29.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001059/1.846, allocations: 1.463 MB / 0.6223 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.859, allocations: 5.094 MB / 0.6273 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.861, allocations: 377.8 kB / 0.6277 GB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006774/1.861, allocations: 28.27 kB / 0.6277 GB, free: 23.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.864, allocations: 135.7 kB / 0.6278 GB, free: 23.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/1.864, allocations: 91.91 kB / 0.6279 GB, free: 23.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.864, allocations: 39.75 kB / 0.6279 GB, free: 23.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005023/1.869, allocations: 2.332 MB / 0.6302 GB, free: 21.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.869, allocations: 4 kB / 0.6302 GB, free: 21.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006763/1.876, allocations: 0.9783 MB / 0.6312 GB, free: 20.38 MB / 410.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.0005346/1.877, allocations: 170.4 kB / 0.6313 GB, free: 20.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01357/1.89, allocations: 5.271 MB / 0.6365 GB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/1.89, allocations: 4.188 kB / 0.6365 GB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00618/1.896, allocations: 1.953 MB / 0.6384 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/1.899, allocations: 343.2 kB / 0.6387 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/1.922, allocations: 10.32 MB / 0.6488 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005712/1.928, allocations: 3.124 MB / 0.6519 GB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007291/1.935, allocations: 1.781 MB / 0.6536 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007867/1.936, allocations: 218.7 kB / 0.6538 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of SimCode: time 1.163e-06/1.936, allocations: 0 / 0.6538 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of Templates: time 0.1085/2.044, allocations: 33.16 MB / 0.6862 GB, free: 0.6875 MB / 442.7 MB