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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.831/1.831, allocations: 171.2 MB / 184.2 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.382e-05, allocations: 4 kB / 228.8 MB, free: 15.44 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 38.77 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.3314, allocations: 80.41 MB / 348 MB, free: 8.906 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.3317, allocations: 83.95 kB / 348.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4848/0.8165, allocations: 77.59 MB / 425.7 MB, free: 20.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.449e-06/0.8166, allocations: 0 / 425.7 MB, free: 20.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001605/0.8168, allocations: 76 kB / 425.8 MB, free: 20.38 MB / 298.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.01455/0.8313, allocations: 4.044 MB / 429.8 MB, free: 16.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.8314, allocations: 8.031 kB / 429.8 MB, free: 16.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.8437, allocations: 2.226 MB / 432 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.8565, allocations: 4.335 MB / 436.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.8569, allocations: 312.2 kB / 436.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001599/0.8585, allocations: 407.9 kB / 437.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02287/0.8814, allocations: 10.15 MB / 447.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000206/0.8816, allocations: 63.42 kB / 447.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/0.883, allocations: 207.9 kB / 447.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/0.885, allocations: 0.9781 MB / 448.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02168/0.9067, allocations: 7.966 MB / 456.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2897/1.197, allocations: 48.25 MB / 0.4929 GB, free: 40.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/1.208, allocations: 3.537 MB / 0.4963 GB, free: 39.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/1.211, allocations: 1.307 MB / 0.4976 GB, free: 39.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/1.223, allocations: 6.515 MB / 0.5039 GB, free: 37.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.223, allocations: 51.94 kB / 0.504 GB, free: 37.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 6.07e-06/1.223, allocations: 0 / 0.504 GB, free: 37.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.03069/1.253, allocations: 9.578 MB / 0.5134 GB, free: 34.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001116/1.255, allocations: 1.591 MB / 0.5149 GB, free: 33.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00677/1.261, allocations: 3.326 MB / 0.5182 GB, free: 32.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003093/1.262, allocations: 46.3 kB / 0.5182 GB, free: 32.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002103/1.264, allocations: 3.032 MB / 0.5212 GB, free: 30.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007304/1.265, allocations: 0.5784 MB / 0.5217 GB, free: 30.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005658/1.265, allocations: 116.2 kB / 0.5218 GB, free: 30.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004313/1.266, allocations: 0.5625 MB / 0.5224 GB, free: 30.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004015/1.27, allocations: 1.892 MB / 0.5242 GB, free: 30.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006042/1.276, allocations: 5.769 MB / 0.5299 GB, free: 25.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006272/1.282, allocations: 3.274 MB / 0.5331 GB, free: 25.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001215/1.282, allocations: 41.88 kB / 0.5331 GB, free: 25.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02139/1.304, allocations: 8.369 MB / 0.5413 GB, free: 23.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.304, allocations: 68.12 kB / 0.5413 GB, free: 23.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007959/1.312, allocations: 2.65 MB / 0.5439 GB, free: 22.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007119/1.319, allocations: 1.532 MB / 0.5454 GB, free: 22.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005677/1.325, allocations: 1.362 MB / 0.5468 GB, free: 21.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/1.331, allocations: 5.178 MB / 0.5518 GB, free: 17.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006479/1.337, allocations: 433.7 kB / 0.5522 GB, free: 17.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/1.338, allocations: 381.6 kB / 0.5526 GB, free: 17.11 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (720): * Single equations (assignments): 710 * 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.001136/1.34, allocations: 0.5723 MB / 0.5531 GB, free: 16.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006516/1.34, allocations: 323.5 kB / 0.5535 GB, free: 16.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007702/1.348, allocations: 2.977 MB / 0.5564 GB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006825/1.355, allocations: 2.554 MB / 0.5589 GB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/1.355, allocations: 4 kB / 0.5589 GB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.581e-05/1.355, allocations: 7.172 kB / 0.5589 GB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007569/1.363, allocations: 3.548 MB / 0.5623 GB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/1.363, allocations: 0 / 0.5623 GB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/1.364, allocations: 163.8 kB / 0.5625 GB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005875/1.37, allocations: 1.432 MB / 0.5639 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003135/1.37, allocations: 38.75 kB / 0.5639 GB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007005/1.377, allocations: 5.744 MB / 0.5695 GB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009436/1.378, allocations: 1.458 MB / 0.571 GB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/1.392, allocations: 5.204 MB / 0.576 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.393, allocations: 371.5 kB / 0.5764 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009129/1.394, allocations: 27 kB / 0.5764 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/1.396, allocations: 137.8 kB / 0.5766 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004492/1.397, allocations: 78.98 kB / 0.5766 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.397, allocations: 44.3 kB / 0.5767 GB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005565/1.402, allocations: 2.273 MB / 0.5789 GB, free: 10.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.969e-06/1.402, allocations: 0 / 0.5789 GB, free: 10.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007018/1.409, allocations: 0.9761 MB / 0.5798 GB, free: 9.25 MB / 362.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 () * 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.0005588/1.41, allocations: 165.3 kB / 0.58 GB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01227/1.422, allocations: 5.059 MB / 0.5849 GB, free: 4.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.137e-06/1.422, allocations: 0 / 0.5849 GB, free: 4.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005204/1.428, allocations: 1.941 MB / 0.5868 GB, free: 2.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/1.43, allocations: 338 kB / 0.5872 GB, free: 2.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/1.449, allocations: 7.643 MB / 0.5946 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005771/1.455, allocations: 3.114 MB / 0.5977 GB, free: 9.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009742/1.456, allocations: 259.4 kB / 0.5979 GB, free: 8.984 MB / 378.7 MB Notification: Performance of SimCode: time 1.736e-06/1.456, allocations: 0 / 0.5979 GB, free: 8.984 MB / 378.7 MB Notification: Performance of Templates: time 0.3852/1.841, allocations: 131.2 MB / 0.7261 GB, free: 42.47 MB / 394.7 MB