Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09764, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4491/0.5468, allocations: 85.13 MB / 394.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.5471, allocations: 91.27 kB / 394.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.23/0.7772, allocations: 57.11 MB / 451.4 MB, free: 1.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.7772, allocations: 0 / 451.4 MB, free: 1.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001604/0.7774, allocations: 44 kB / 451.4 MB, free: 1.426 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.01916/0.7966, allocations: 3.03 MB / 454.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.7967, allocations: 12.03 kB / 454.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/0.8137, allocations: 2.047 MB / 456.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.8295, allocations: 3.609 MB / 460.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.8298, allocations: 190.3 kB / 460.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/0.8313, allocations: 245.8 kB / 460.6 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.8517, allocations: 6.898 MB / 467.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.8519, allocations: 47.52 kB / 467.5 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006329/0.8526, allocations: 126.2 kB / 467.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/0.8544, allocations: 0.7067 MB / 468.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/0.8741, allocations: 5.981 MB / 474.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05462/0.9287, allocations: 32.25 MB / 0.4947 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.9406, allocations: 2.532 MB / 0.4972 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009568/0.9502, allocations: 3.554 MB / 0.5006 GB, free: 3.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.9503, allocations: 54.89 kB / 0.5007 GB, free: 3.285 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 4.9e-06/0.9503, allocations: 0 / 0.5007 GB, free: 3.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=118): time 0.04665/0.997, allocations: 10.34 MB / 0.5108 GB, free: 8.707 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001844/0.9989, allocations: 1.592 MB / 0.5123 GB, free: 6.938 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006331/1.005, allocations: 2.729 MB / 0.515 GB, free: 4.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003575/1.006, allocations: 37.7 kB / 0.515 GB, free: 4.145 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00217/1.008, allocations: 2.066 MB / 0.5171 GB, free: 2.082 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008517/1.009, allocations: 493.6 kB / 0.5175 GB, free: 1.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/1.009, allocations: 84 kB / 0.5176 GB, free: 1.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000411/1.009, allocations: 499.8 kB / 0.5181 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2743/1.284, allocations: 1.611 MB / 0.5197 GB, free: 112.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006992/1.291, allocations: 4.364 MB / 0.5239 GB, free: 108.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006712/1.298, allocations: 2.597 MB / 0.5265 GB, free: 108.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/1.298, allocations: 28.58 kB / 0.5265 GB, free: 108.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.02465/1.322, allocations: 6.986 MB / 0.5333 GB, free: 108.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/1.323, allocations: 49.94 kB / 0.5334 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01097/1.334, allocations: 2.497 MB / 0.5358 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009127/1.343, allocations: 1.501 MB / 0.5373 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005848/1.349, allocations: 1 MB / 0.5382 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/1.364, allocations: 7.507 MB / 0.5456 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005925/1.37, allocations: 368.3 kB / 0.5459 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/1.372, allocations: 280.8 kB / 0.5462 GB, free: 105.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 523 * 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 {4} * 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.003439/1.375, allocations: 1.394 MB / 0.5475 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00064/1.376, allocations: 229.2 kB / 0.5478 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.387, allocations: 2.803 MB / 0.5505 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009883/1.397, allocations: 2.477 MB / 0.5529 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/1.397, allocations: 7.531 kB / 0.5529 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.047e-05/1.397, allocations: 3.281 kB / 0.5529 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/1.418, allocations: 6.717 MB / 0.5595 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.87e-05/1.418, allocations: 3.688 kB / 0.5595 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002103/1.42, allocations: 166.1 kB / 0.5597 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008626/1.429, allocations: 1.429 MB / 0.561 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003363/1.429, allocations: 28.73 kB / 0.5611 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/1.445, allocations: 7.666 MB / 0.5686 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001153/1.446, allocations: 1.46 MB / 0.57 GB, free: 95.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.46, allocations: 4.771 MB / 0.5746 GB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008461/1.461, allocations: 293.6 kB / 0.5749 GB, free: 94.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005762/1.462, allocations: 30.62 kB / 0.575 GB, free: 94.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/1.464, allocations: 123.7 kB / 0.5751 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/1.464, allocations: 86.33 kB / 0.5752 GB, free: 94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.465, allocations: 36.67 kB / 0.5752 GB, free: 94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003917/1.469, allocations: 1.699 MB / 0.5768 GB, free: 93.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.92e-07/1.469, allocations: 0 / 0.5768 GB, free: 93.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005603/1.474, allocations: 0.7513 MB / 0.5776 GB, free: 93.32 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],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * 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): 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.0005566/1.475, allocations: 167.8 kB / 0.5777 GB, free: 93.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01138/1.486, allocations: 4.275 MB / 0.5819 GB, free: 91.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.486, allocations: 192 / 0.5819 GB, free: 91.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005053/1.491, allocations: 1.699 MB / 0.5836 GB, free: 89.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/1.493, allocations: 233.4 kB / 0.5838 GB, free: 89.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.509, allocations: 7.522 MB / 0.5911 GB, free: 82.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00312/1.512, allocations: 2.332 MB / 0.5934 GB, free: 80.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005609/1.518, allocations: 1.38 MB / 0.5948 GB, free: 79.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007324/1.519, allocations: 164.6 kB / 0.5949 GB, free: 79.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/1.519, allocations: 0 / 0.5949 GB, free: 79.74 MB / 410.7 MB Notification: Performance of Templates: time 0.0694/1.588, allocations: 26.32 MB / 0.6206 GB, free: 56.04 MB / 410.7 MB