Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 16 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0808/0.08119, allocations: 44.5 MB / 308.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.429, allocations: 86.12 MB / 394.6 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.4293, allocations: 94.31 kB / 394.7 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2987/0.728, allocations: 77.7 MB / 472.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.491e-06/0.7281, allocations: 3.938 kB / 472.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003832/0.7285, allocations: 79.98 kB / 472.4 MB, free: 1.48 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.03095/0.7595, allocations: 4.224 MB / 476.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.7596, allocations: 12.03 kB / 476.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02671/0.7863, allocations: 2.237 MB / 478.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02661/0.813, allocations: 4.35 MB / 483.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/0.8135, allocations: 316.2 kB / 483.6 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/0.8152, allocations: 407.9 kB / 484 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02673/0.842, allocations: 10.26 MB / 494.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/0.8422, allocations: 55.5 kB / 494.3 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00115/0.8434, allocations: 211.8 kB / 494.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001909/0.8453, allocations: 0.9819 MB / 495.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0221/0.8674, allocations: 8.145 MB / 0.4918 GB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3144/1.182, allocations: 48.25 MB / 0.5389 GB, free: 61.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/1.194, allocations: 3.565 MB / 0.5424 GB, free: 60.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/1.207, allocations: 6.519 MB / 0.5488 GB, free: 58.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/1.207, allocations: 46.12 kB / 0.5488 GB, free: 58.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=131): time 5.467e-06/1.207, allocations: 1.031 kB / 0.5488 GB, free: 58.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.03851/1.246, allocations: 11.98 MB / 0.5605 GB, free: 55.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00115/1.247, allocations: 1.59 MB / 0.5621 GB, free: 53.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007193/1.254, allocations: 3.404 MB / 0.5654 GB, free: 53.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002907/1.254, allocations: 42.52 kB / 0.5654 GB, free: 53.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002036/1.256, allocations: 3.029 MB / 0.5684 GB, free: 51.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007364/1.257, allocations: 0.582 MB / 0.569 GB, free: 51.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005376/1.258, allocations: 119.2 kB / 0.5691 GB, free: 51.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003933/1.258, allocations: 0.5626 MB / 0.5696 GB, free: 50.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004296/1.262, allocations: 1.958 MB / 0.5715 GB, free: 50.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006065/1.269, allocations: 5.847 MB / 0.5772 GB, free: 45.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006246/1.275, allocations: 3.299 MB / 0.5805 GB, free: 45.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/1.275, allocations: 41.84 kB / 0.5805 GB, free: 45.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02249/1.298, allocations: 8.628 MB / 0.5889 GB, free: 44.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.298, allocations: 64.53 kB / 0.589 GB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008224/1.306, allocations: 2.745 MB / 0.5917 GB, free: 43.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007024/1.313, allocations: 1.632 MB / 0.5933 GB, free: 43.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004992/1.318, allocations: 1.347 MB / 0.5946 GB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007581/1.326, allocations: 5.623 MB / 0.6001 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009069/1.335, allocations: 437.3 kB / 0.6005 GB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.336, allocations: 383.2 kB / 0.6009 GB, free: 39.49 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.00431/1.34, allocations: 1.979 MB / 0.6028 GB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000664/1.341, allocations: 318.8 kB / 0.6031 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008416/1.349, allocations: 3.001 MB / 0.606 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006763/1.356, allocations: 2.573 MB / 0.6085 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.356, allocations: 3.625 kB / 0.6085 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.051e-05/1.356, allocations: 6.516 kB / 0.6085 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007569/1.364, allocations: 3.551 MB / 0.612 GB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/1.364, allocations: 0 / 0.612 GB, free: 35.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.365, allocations: 164 kB / 0.6122 GB, free: 35.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005753/1.371, allocations: 1.439 MB / 0.6136 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003356/1.371, allocations: 37.42 kB / 0.6136 GB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00751/1.379, allocations: 5.835 MB / 0.6193 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000951/1.38, allocations: 1.465 MB / 0.6207 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.39, allocations: 5.165 MB / 0.6258 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009685/1.391, allocations: 371.6 kB / 0.6261 GB, free: 23.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005424/1.392, allocations: 32.27 kB / 0.6262 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.393, allocations: 134.1 kB / 0.6263 GB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/1.394, allocations: 81.25 kB / 0.6264 GB, free: 23.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.394, allocations: 43.22 kB / 0.6264 GB, free: 23.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004691/1.399, allocations: 2.335 MB / 0.6287 GB, free: 21.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.183e-06/1.399, allocations: 4 kB / 0.6287 GB, free: 21.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00645/1.405, allocations: 0.9762 MB / 0.6297 GB, free: 20.6 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.0004876/1.406, allocations: 169 kB / 0.6298 GB, free: 20.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01078/1.416, allocations: 5.274 MB / 0.635 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.99e-06/1.417, allocations: 0 / 0.635 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004399/1.421, allocations: 1.963 MB / 0.6369 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/1.423, allocations: 342.8 kB / 0.6372 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.442, allocations: 10.73 MB / 0.6477 GB, free: 4.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004942/1.446, allocations: 3.124 MB / 0.6507 GB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008843/1.447, allocations: 260.6 kB / 0.651 GB, free: 1.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.407e-06/1.447, allocations: 0 / 0.651 GB, free: 1.48 MB / 410.7 MB Notification: Performance of Templates: time 0.5017/1.949, allocations: 131.6 MB / 0.7795 GB, free: 69.41 MB / 442.7 MB