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.ThreeSprings.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.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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.668/1.668, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.6e-05, allocations: 7.938 kB / 222.5 MB, free: 8.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07459/0.07464, allocations: 38.76 MB / 261.3 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/0.3694, allocations: 79.75 MB / 341 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.3697, allocations: 83.52 kB / 341.1 MB, free: 8.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4847/0.8545, allocations: 75.72 MB / 416.8 MB, free: 77.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.587e-06/0.8545, allocations: 0 / 416.8 MB, free: 77.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002592/0.8548, allocations: 79.09 kB / 416.9 MB, free: 77.42 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.01654/0.8713, allocations: 4.036 MB / 421 MB, free: 76.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8714, allocations: 8.25 kB / 421 MB, free: 76.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/0.8852, allocations: 2.226 MB / 423.2 MB, free: 76.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/0.8994, allocations: 4.328 MB / 427.5 MB, free: 75.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/0.8998, allocations: 132.8 kB / 427.6 MB, free: 75.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/0.9014, allocations: 245 kB / 427.9 MB, free: 75.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01279/0.9142, allocations: 5.712 MB / 433.6 MB, free: 75.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.9312, allocations: 9.004 MB / 442.6 MB, free: 73.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/0.9314, allocations: 55.69 kB / 442.7 MB, free: 73.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/0.9325, allocations: 34.47 kB / 442.7 MB, free: 73.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001484/0.934, allocations: 0.9952 MB / 443.7 MB, free: 73.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04803/0.982, allocations: 47.6 MB / 491.3 MB, free: 38.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.9853, allocations: 2.25 MB / 493.5 MB, free: 37.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.9871, allocations: 1.182 MB / 494.7 MB, free: 36.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.412e-05/0.9872, allocations: 23.58 kB / 494.7 MB, free: 36.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.9872, allocations: 50.69 kB / 494.8 MB, free: 36.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=137): time 5.241e-06/0.9872, allocations: 0 / 494.8 MB, free: 36.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=144): time 0.02264/1.01, allocations: 8.867 MB / 0.4918 GB, free: 32.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.01, allocations: 146.1 kB / 0.492 GB, free: 32.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00488/1.015, allocations: 2.938 MB / 0.4949 GB, free: 31.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002825/1.015, allocations: 29.42 kB / 0.4949 GB, free: 31.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/1.017, allocations: 3.101 MB / 0.4979 GB, free: 28.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006789/1.018, allocations: 0.5866 MB / 0.4985 GB, free: 28.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/1.018, allocations: 0 / 0.4985 GB, free: 28.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003566/1.018, allocations: 0.5769 MB / 0.4991 GB, free: 27.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003175/1.022, allocations: 1.828 MB / 0.5008 GB, free: 26.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005292/1.027, allocations: 5.832 MB / 0.5065 GB, free: 19.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005467/1.032, allocations: 3.241 MB / 0.5097 GB, free: 16.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.245e-05/1.033, allocations: 40 kB / 0.5097 GB, free: 16.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01884/1.051, allocations: 7.73 MB / 0.5173 GB, free: 9.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.052, allocations: 68 kB / 0.5173 GB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006832/1.058, allocations: 2.592 MB / 0.5199 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005604/1.064, allocations: 1.43 MB / 0.5213 GB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005131/1.069, allocations: 1.417 MB / 0.5227 GB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/1.075, allocations: 5.057 MB / 0.5276 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006399/1.081, allocations: 317.1 kB / 0.5279 GB, free: 200 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002638/1.084, allocations: 482.4 kB / 0.5284 GB, free: 0 / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.lineForce.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 658 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 740 * 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 {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: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.001485/1.086, allocations: 471.7 kB / 0.5288 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007593/1.086, allocations: 296.2 kB / 0.5291 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008453/1.095, allocations: 2.878 MB / 0.5319 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007411/1.102, allocations: 2.482 MB / 0.5343 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/1.102, allocations: 4 kB / 0.5343 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.545e-05/1.102, allocations: 7.969 kB / 0.5343 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/1.117, allocations: 5.235 MB / 0.5395 GB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/1.117, allocations: 3.938 kB / 0.5395 GB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/1.118, allocations: 175.7 kB / 0.5396 GB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006392/1.124, allocations: 1.41 MB / 0.541 GB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002997/1.125, allocations: 15.98 kB / 0.541 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2226/1.347, allocations: 5.636 MB / 0.5465 GB, free: 80.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009507/1.348, allocations: 1.393 MB / 0.5479 GB, free: 79.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.36, allocations: 5.119 MB / 0.5529 GB, free: 79.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009488/1.361, allocations: 344.3 kB / 0.5532 GB, free: 79.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006636/1.362, allocations: 11.75 kB / 0.5532 GB, free: 79.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.364, allocations: 112.5 kB / 0.5533 GB, free: 79.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/1.364, allocations: 84.77 kB / 0.5534 GB, free: 79.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.365, allocations: 46.77 kB / 0.5535 GB, free: 79.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004147/1.369, allocations: 1.917 MB / 0.5553 GB, free: 78.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.369, allocations: 0 / 0.5553 GB, free: 78.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007081/1.376, allocations: 0.8605 MB / 0.5562 GB, free: 78.92 MB / 362.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],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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 71 * 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 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005931/1.377, allocations: 144.7 kB / 0.5563 GB, free: 78.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01038/1.387, allocations: 4.872 MB / 0.5611 GB, free: 78.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.923e-06/1.387, allocations: 0 / 0.5611 GB, free: 78.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004475/1.392, allocations: 1.94 MB / 0.563 GB, free: 78.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/1.394, allocations: 280.7 kB / 0.5632 GB, free: 78.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/1.41, allocations: 7.609 MB / 0.5707 GB, free: 76.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005001/1.415, allocations: 3.116 MB / 0.5737 GB, free: 75.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008861/1.416, allocations: 256.5 kB / 0.5739 GB, free: 75.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.86e-06/1.416, allocations: 0 / 0.5739 GB, free: 75.73 MB / 362.7 MB Notification: Performance of Templates: time 0.3616/1.778, allocations: 129.6 MB / 0.7005 GB, free: 96.9 MB / 378.7 MB