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.SpringWithMass.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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.69/1.69, allocations: 171.3 MB / 179.2 MB, free: 7.586 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.115e-05, allocations: 4 kB / 222.5 MB, free: 8.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07047/0.07052, allocations: 38.77 MB / 261.3 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.3636, allocations: 78.76 MB / 340 MB, free: 9.652 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.3639, allocations: 85.62 kB / 340.1 MB, free: 9.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2176/0.5815, allocations: 55.48 MB / 395.6 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.049e-06/0.5815, allocations: 0 / 395.6 MB, free: 5.098 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000117/0.5816, allocations: 47.98 kB / 395.7 MB, free: 5.051 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01279/0.5944, allocations: 2.9 MB / 398.6 MB, free: 2.094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5945, allocations: 16.03 kB / 398.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/0.6083, allocations: 2.036 MB / 400.6 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.6216, allocations: 3.577 MB / 404.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.6218, allocations: 83.94 kB / 404.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.623, allocations: 147.9 kB / 404.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009724/0.6327, allocations: 4.007 MB / 408.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.6477, allocations: 6.165 MB / 414.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/0.6479, allocations: 35.69 kB / 414.6 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008013/0.6488, allocations: 24 kB / 414.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0015/0.6503, allocations: 0.7033 MB / 415.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2263/0.8766, allocations: 30.99 MB / 446.3 MB, free: 67.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.8798, allocations: 1.977 MB / 448.3 MB, free: 66.42 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.8817, allocations: 0.9552 MB / 449.3 MB, free: 66.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009092/0.8827, allocations: 0.6531 MB / 449.9 MB, free: 65.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.8827, allocations: 49.97 kB / 450 MB, free: 65.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 5.591e-06/0.8827, allocations: 6.453 kB / 450 MB, free: 65.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.02241/0.9052, allocations: 8.137 MB / 458.1 MB, free: 63.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.9052, allocations: 143.5 kB / 458.3 MB, free: 63.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/0.9088, allocations: 2.121 MB / 460.4 MB, free: 62.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002589/0.9091, allocations: 25.7 kB / 460.4 MB, free: 62.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.9102, allocations: 2.113 MB / 462.5 MB, free: 61.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000517/0.9108, allocations: 0.4933 MB / 463 MB, free: 60.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.911, allocations: 0 / 463 MB, free: 60.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002869/0.9113, allocations: 0.5065 MB / 463.5 MB, free: 60.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/0.914, allocations: 1.518 MB / 465 MB, free: 59.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004033/0.9181, allocations: 4.384 MB / 469.4 MB, free: 55.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004501/0.9226, allocations: 2.565 MB / 472 MB, free: 54.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.801e-05/0.9227, allocations: 29.41 kB / 472 MB, free: 54.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=606) (initialization): time 0.01639/0.9391, allocations: 6.297 MB / 478.3 MB, free: 52.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.971e-05/0.9393, allocations: 49.53 kB / 478.4 MB, free: 52.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00692/0.9462, allocations: 2.364 MB / 480.7 MB, free: 52.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006448/0.9527, allocations: 1.398 MB / 482.1 MB, free: 52.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/0.957, allocations: 1.058 MB / 483.2 MB, free: 51.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.9671, allocations: 6.568 MB / 489.7 MB, free: 48.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/0.9721, allocations: 284 kB / 490 MB, free: 48.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008503/0.973, allocations: 291 kB / 490.3 MB, free: 48.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (561): * Single equations (assignments): 553 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007868/0.9738, allocations: 353.9 kB / 490.6 MB, free: 47.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/0.9743, allocations: 219.9 kB / 490.9 MB, free: 47.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007954/0.9823, allocations: 2.716 MB / 493.6 MB, free: 46.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006638/0.989, allocations: 2.411 MB / 496 MB, free: 44.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.989, allocations: 11.38 kB / 496 MB, free: 44.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/0.9891, allocations: 3.422 kB / 496 MB, free: 44.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/1.005, allocations: 6.636 MB / 0.4909 GB, free: 39.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.006, allocations: 0 / 0.4909 GB, free: 39.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.007, allocations: 170 kB / 0.491 GB, free: 39.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006066/1.013, allocations: 1.407 MB / 0.4924 GB, free: 38.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002631/1.013, allocations: 23.36 kB / 0.4924 GB, free: 38.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/1.025, allocations: 7.157 MB / 0.4994 GB, free: 31.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009348/1.026, allocations: 1.399 MB / 0.5008 GB, free: 30.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.036, allocations: 4.815 MB / 0.5055 GB, free: 25.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/1.037, allocations: 285.7 kB / 0.5057 GB, free: 25.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/1.037, allocations: 4 kB / 0.5058 GB, free: 25.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.039, allocations: 107.8 kB / 0.5059 GB, free: 25.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/1.039, allocations: 76.44 kB / 0.5059 GB, free: 25.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.04, allocations: 39.92 kB / 0.506 GB, free: 25.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002616/1.042, allocations: 1.395 MB / 0.5073 GB, free: 23.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.159e-06/1.042, allocations: 4 kB / 0.5073 GB, free: 23.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00514/1.047, allocations: 0.6756 MB / 0.508 GB, free: 23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004228/1.048, allocations: 145.7 kB / 0.5081 GB, free: 22.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007853/1.056, allocations: 3.972 MB / 0.512 GB, free: 18.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.056, allocations: 4 kB / 0.512 GB, free: 18.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003558/1.059, allocations: 1.667 MB / 0.5136 GB, free: 17.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.061, allocations: 204.3 kB / 0.5138 GB, free: 16.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.073, allocations: 5.708 MB / 0.5194 GB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/1.076, allocations: 2.327 MB / 0.5217 GB, free: 8.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000805/1.077, allocations: 191.4 kB / 0.5219 GB, free: 8.707 MB / 346.7 MB Notification: Performance of SimCode: time 1.819e-06/1.077, allocations: 0 / 0.5219 GB, free: 8.707 MB / 346.7 MB Notification: Performance of Templates: time 0.2872/1.364, allocations: 68.97 MB / 0.5892 GB, free: 82.81 MB / 362.7 MB