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.SpringWithMass.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.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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.759/1.759, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08131/0.08172, allocations: 44.52 MB / 308.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4327, allocations: 85.12 MB / 393.6 MB, free: 18.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.433, allocations: 92 kB / 393.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2033/0.6363, allocations: 56.6 MB / 450.3 MB, free: 6.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.539e-06/0.6364, allocations: 0 / 450.3 MB, free: 6.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001106/0.6365, allocations: 44 kB / 450.3 MB, free: 6.297 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.01322/0.6497, allocations: 3.023 MB / 453.3 MB, free: 3.395 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6498, allocations: 8.031 kB / 453.3 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.6624, allocations: 2.051 MB / 455.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.6746, allocations: 3.61 MB / 459 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.675, allocations: 186.8 kB / 459.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.6761, allocations: 247.6 kB / 459.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.6929, allocations: 6.896 MB / 466.3 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.6931, allocations: 43.53 kB / 466.4 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006253/0.6937, allocations: 127.9 kB / 466.5 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001383/0.6951, allocations: 0.7032 MB / 467.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/0.7106, allocations: 5.977 MB / 473.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04644/0.7571, allocations: 32.27 MB / 0.4936 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008561/0.7657, allocations: 2.518 MB / 0.4961 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007684/0.7735, allocations: 3.557 MB / 0.4995 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.7736, allocations: 58.88 kB / 0.4996 GB, free: 8.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 5.335e-06/0.7736, allocations: 0 / 0.4996 GB, free: 8.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=118): time 0.03458/0.8082, allocations: 10.34 MB / 0.5097 GB, free: 13.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001822/0.81, allocations: 1.603 MB / 0.5113 GB, free: 11.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005744/0.8158, allocations: 2.439 MB / 0.5136 GB, free: 9.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003187/0.8162, allocations: 41.97 kB / 0.5137 GB, free: 9.258 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004344/0.8205, allocations: 2.054 MB / 0.5157 GB, free: 7.176 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00158/0.8222, allocations: 0.4901 MB / 0.5162 GB, free: 6.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008338/0.823, allocations: 87.94 kB / 0.5162 GB, free: 6.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0009085/0.824, allocations: 0.4967 MB / 0.5167 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008929/0.8329, allocations: 1.609 MB / 0.5183 GB, free: 4.469 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2858/1.119, allocations: 4.357 MB / 0.5226 GB, free: 107.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005389/1.124, allocations: 2.603 MB / 0.5251 GB, free: 107.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/1.124, allocations: 29.23 kB / 0.5251 GB, free: 107.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01907/1.143, allocations: 6.92 MB / 0.5319 GB, free: 107.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.144, allocations: 47.53 kB / 0.5319 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007807/1.151, allocations: 2.494 MB / 0.5344 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01206/1.164, allocations: 1.495 MB / 0.5358 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005405/1.169, allocations: 1.006 MB / 0.5368 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/1.181, allocations: 7.502 MB / 0.5441 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/1.187, allocations: 370.2 kB / 0.5445 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007951/1.187, allocations: 279.7 kB / 0.5448 GB, free: 104.5 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.002734/1.19, allocations: 1.399 MB / 0.5461 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/1.191, allocations: 228.7 kB / 0.5463 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00829/1.199, allocations: 2.799 MB / 0.5491 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007256/1.206, allocations: 2.47 MB / 0.5515 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.206, allocations: 3.844 kB / 0.5515 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/1.206, allocations: 7.734 kB / 0.5515 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/1.223, allocations: 6.723 MB / 0.5581 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/1.223, allocations: 0 / 0.5581 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.224, allocations: 167.3 kB / 0.5582 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006386/1.23, allocations: 1.436 MB / 0.5596 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/1.231, allocations: 23.08 kB / 0.5596 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/1.243, allocations: 7.668 MB / 0.5671 GB, free: 97.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009474/1.244, allocations: 1.468 MB / 0.5686 GB, free: 95.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/1.254, allocations: 4.824 MB / 0.5733 GB, free: 93.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00069/1.255, allocations: 294.2 kB / 0.5736 GB, free: 93.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/1.256, allocations: 29.39 kB / 0.5736 GB, free: 93.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.257, allocations: 120.5 kB / 0.5737 GB, free: 93.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/1.257, allocations: 72.45 kB / 0.5738 GB, free: 93.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.258, allocations: 41.23 kB / 0.5738 GB, free: 93.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003211/1.261, allocations: 1.699 MB / 0.5755 GB, free: 93.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.799e-06/1.261, allocations: 3.875 kB / 0.5755 GB, free: 93.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004985/1.266, allocations: 0.7632 MB / 0.5762 GB, free: 93.04 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.0004701/1.266, allocations: 155.8 kB / 0.5764 GB, free: 92.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008682/1.275, allocations: 4.277 MB / 0.5805 GB, free: 91.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.229e-06/1.275, allocations: 4.562 kB / 0.5805 GB, free: 91.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003853/1.279, allocations: 1.704 MB / 0.5822 GB, free: 90.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.281, allocations: 238 kB / 0.5824 GB, free: 90.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/1.294, allocations: 7.791 MB / 0.59 GB, free: 83.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003079/1.297, allocations: 2.331 MB / 0.5923 GB, free: 81.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007595/1.298, allocations: 199.1 kB / 0.5925 GB, free: 81.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.745e-06/1.298, allocations: 0 / 0.5925 GB, free: 81.43 MB / 410.7 MB Notification: Performance of Templates: time 0.0901/1.388, allocations: 70.22 MB / 0.6611 GB, free: 14.64 MB / 410.7 MB