Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.2 MB / 186.7 MB, free: 1.023 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 8 kB / 233.9 MB, free: 2.375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08415/0.08456, allocations: 38.77 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3783/0.4629, allocations: 84.74 MB / 357.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.4633, allocations: 89.58 kB / 357.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7068/1.17, allocations: 92.43 MB / 449.9 MB, free: 72.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.37e-06/1.17, allocations: 0 / 449.9 MB, free: 72.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003991/1.171, allocations: 95.73 kB / 450 MB, free: 72.3 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.03544/1.206, allocations: 4.86 MB / 454.8 MB, free: 70.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.206, allocations: 7.594 kB / 454.8 MB, free: 70.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/1.227, allocations: 2.667 MB / 457.5 MB, free: 70.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/1.247, allocations: 5.552 MB / 463.1 MB, free: 69.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004215/1.248, allocations: 348.5 kB / 463.4 MB, free: 69.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00257/1.251, allocations: 466.3 kB / 463.9 MB, free: 69.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03842/1.289, allocations: 12.42 MB / 476.3 MB, free: 66.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002294/1.289, allocations: 67.22 kB / 476.3 MB, free: 66.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/1.291, allocations: 229.7 kB / 476.6 MB, free: 66.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002689/1.293, allocations: 1.178 MB / 477.8 MB, free: 66.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03927/1.333, allocations: 10.18 MB / 487.9 MB, free: 64.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1318/1.464, allocations: 52.32 MB / 0.5276 GB, free: 16.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01768/1.482, allocations: 4.064 MB / 0.5316 GB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/1.499, allocations: 7.406 MB / 0.5388 GB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.499, allocations: 51.5 kB / 0.5388 GB, free: 4.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 7.253e-06/1.499, allocations: 7.844 kB / 0.5388 GB, free: 4.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=188): time 0.07492/1.574, allocations: 16.2 MB / 0.5547 GB, free: 4.207 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003109/1.577, allocations: 1.608 MB / 0.5562 GB, free: 2.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2563/1.833, allocations: 4.209 MB / 0.5604 GB, free: 80.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004824/1.834, allocations: 52.42 kB / 0.5604 GB, free: 80.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003561/1.837, allocations: 3.384 MB / 0.5637 GB, free: 79.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.839, allocations: 0.7528 MB / 0.5644 GB, free: 79.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000915/1.84, allocations: 131 kB / 0.5646 GB, free: 79.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000612/1.84, allocations: 0.5846 MB / 0.5651 GB, free: 78.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007409/1.848, allocations: 2.222 MB / 0.5673 GB, free: 78.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0104/1.858, allocations: 6.274 MB / 0.5734 GB, free: 73.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009709/1.868, allocations: 3.616 MB / 0.577 GB, free: 73.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002222/1.868, allocations: 41.69 kB / 0.577 GB, free: 73.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02696/1.895, allocations: 8.915 MB / 0.5857 GB, free: 72.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/1.895, allocations: 67.66 kB / 0.5858 GB, free: 72.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008928/1.904, allocations: 2.683 MB / 0.5884 GB, free: 72.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004894/1.909, allocations: 0.9987 MB / 0.5894 GB, free: 72.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009626/1.919, allocations: 1.591 MB / 0.5909 GB, free: 72.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00504/1.924, allocations: 4.032 MB / 0.5949 GB, free: 69.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008789/1.933, allocations: 0.5054 MB / 0.5954 GB, free: 69.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/1.935, allocations: 410.3 kB / 0.5957 GB, free: 69.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (828): * Single equations (assignments): 819 * 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: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006265/1.941, allocations: 2.174 MB / 0.5979 GB, free: 68.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.942, allocations: 374.5 kB / 0.5982 GB, free: 68.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.953, allocations: 3.195 MB / 0.6013 GB, free: 67.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009222/1.962, allocations: 2.658 MB / 0.6039 GB, free: 66.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/1.962, allocations: 7.281 kB / 0.6039 GB, free: 66.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.912e-05/1.963, allocations: 10.5 kB / 0.604 GB, free: 66.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0301/1.993, allocations: 10 MB / 0.6137 GB, free: 62.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.049e-05/1.993, allocations: 15.94 kB / 0.6137 GB, free: 62.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/1.996, allocations: 343 kB / 0.6141 GB, free: 62.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005205/2.001, allocations: 0.9814 MB / 0.615 GB, free: 62.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005058/2.001, allocations: 55.53 kB / 0.6151 GB, free: 62.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007296/2.009, allocations: 4.682 MB / 0.6197 GB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0012/2.01, allocations: 1.478 MB / 0.6211 GB, free: 58.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/2.024, allocations: 5.728 MB / 0.6267 GB, free: 55.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/2.027, allocations: 0.6536 MB / 0.6273 GB, free: 55.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/2.028, allocations: 53.77 kB / 0.6274 GB, free: 55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003763/2.032, allocations: 177.1 kB / 0.6275 GB, free: 54.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00058/2.033, allocations: 158.2 kB / 0.6277 GB, free: 54.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/2.033, allocations: 73.75 kB / 0.6278 GB, free: 54.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007012/2.04, allocations: 2.612 MB / 0.6303 GB, free: 54.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.04, allocations: 0 / 0.6303 GB, free: 54.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008147/2.048, allocations: 1.119 MB / 0.6314 GB, free: 53.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 14 ($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],p2.s,p2.v) * 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 (164): * Single equations (assignments): 157 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009081/2.049, allocations: 213.2 kB / 0.6316 GB, free: 53.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01561/2.065, allocations: 5.656 MB / 0.6371 GB, free: 48.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/2.065, allocations: 3.062 kB / 0.6371 GB, free: 48.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00662/2.071, allocations: 2.144 MB / 0.6392 GB, free: 46.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/2.075, allocations: 447.9 kB / 0.6397 GB, free: 46.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02687/2.102, allocations: 12.28 MB / 0.6517 GB, free: 35.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007575/2.11, allocations: 3.497 MB / 0.6551 GB, free: 32.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.009909/2.12, allocations: 2.001 MB / 0.657 GB, free: 31.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/2.122, allocations: 263.8 kB / 0.6573 GB, free: 30.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.805e-06/2.122, allocations: 0 / 0.6573 GB, free: 30.91 MB / 362.7 MB Notification: Performance of Templates: time 0.3685/2.49, allocations: 35.5 MB / 0.6919 GB, free: 87.12 MB / 378.7 MB