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.894/1.894, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07976/0.08013, allocations: 44.5 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04761/0.1278, allocations: 34.3 MB / 342.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02141/0.1492, allocations: 8.565 MB / 351.2 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006382/0.1557, allocations: 171.5 kB / 351.4 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005524/0.1612, allocations: 1.723 MB / 353.1 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01652/0.1778, allocations: 4.956 MB / 358.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.1805, allocations: 0.5343 MB / 358.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004681/0.1852, allocations: 2.153 MB / 360.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007719/0.193, allocations: 4.115 MB / 364.9 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.1949, allocations: 0.9655 MB / 365.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/0.197, allocations: 1.234 MB / 367.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005138/0.1976, allocations: 135.9 kB / 367.2 MB, free: 5.953 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.1997, allocations: 0.8816 MB / 368.1 MB, free: 5.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002012/0.2018, allocations: 1.407 MB / 369.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.2029, allocations: 0.7727 MB / 370.3 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2319/0.4348, allocations: 5.002 MB / 375.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.736e-06/0.4348, allocations: 0 / 375.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.295e-06/0.4348, allocations: 4.875 kB / 375.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001846/0.435, allocations: 1.094 kB / 375.3 MB, free: 13.87 MB / 314.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.009417/0.4445, allocations: 3.694 MB / 379 MB, free: 12.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4445, allocations: 9.281 kB / 379 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.4551, allocations: 2.201 MB / 381.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005684/0.4608, allocations: 2.154 MB / 383.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/0.4612, allocations: 238.9 kB / 383.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/0.4632, allocations: 384.4 kB / 383.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.4861, allocations: 9.817 MB / 393.8 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/0.4863, allocations: 38.16 kB / 393.8 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/0.4874, allocations: 147.9 kB / 393.9 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003471/0.4909, allocations: 1.808 MB / 395.7 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/0.5116, allocations: 8.111 MB / 403.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05856/0.5702, allocations: 38.61 MB / 442.5 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.5826, allocations: 3.598 MB / 446.1 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/0.5965, allocations: 6.56 MB / 452.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.5966, allocations: 54.58 kB / 452.7 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 6.074e-06/0.5966, allocations: 0 / 452.7 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.0407/0.6373, allocations: 12.05 MB / 464.7 MB, free: 5.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001788/0.6391, allocations: 1.603 MB / 466.3 MB, free: 3.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008753/0.6479, allocations: 3.89 MB / 470.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004658/0.6485, allocations: 41.7 kB / 470.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004507/0.653, allocations: 3.029 MB / 473.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.6544, allocations: 0.5792 MB / 473.9 MB, free: 12.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007316/0.6552, allocations: 116 kB / 474 MB, free: 11.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0008002/0.656, allocations: 0.563 MB / 474.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007432/0.6635, allocations: 1.999 MB / 476.6 MB, free: 9.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01531/0.6788, allocations: 5.901 MB / 482.5 MB, free: 1.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007432/0.6863, allocations: 3.337 MB / 485.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001386/0.6865, allocations: 43.28 kB / 485.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.03037/0.7169, allocations: 9.608 MB / 495.4 MB, free: 5.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.7171, allocations: 64 kB / 495.5 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01488/0.732, allocations: 3.771 MB / 499.3 MB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01506/0.7471, allocations: 2.749 MB / 0.4903 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005265/0.7524, allocations: 1.329 MB / 0.4916 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.7671, allocations: 7.549 MB / 0.4989 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00624/0.7734, allocations: 401.8 kB / 0.4993 GB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/0.7746, allocations: 380 kB / 0.4997 GB, free: 5.195 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.004711/0.7793, allocations: 1.976 MB / 0.5016 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008206/0.7801, allocations: 319.9 kB / 0.5019 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009132/0.7893, allocations: 3.067 MB / 0.5049 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00801/0.7973, allocations: 2.624 MB / 0.5075 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.7974, allocations: 8 kB / 0.5075 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/0.7974, allocations: 7.969 kB / 0.5075 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008427/0.8059, allocations: 3.547 MB / 0.5109 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/0.8059, allocations: 0 / 0.5109 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.8071, allocations: 167.7 kB / 0.5111 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006541/0.8137, allocations: 1.49 MB / 0.5126 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003226/0.814, allocations: 35.97 kB / 0.5126 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009459/0.8235, allocations: 5.849 MB / 0.5183 GB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001545/0.8251, allocations: 1.472 MB / 0.5197 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2772/1.102, allocations: 5.165 MB / 0.5248 GB, free: 156.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009845/1.103, allocations: 374.8 kB / 0.5251 GB, free: 156.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009037/1.104, allocations: 29.11 kB / 0.5252 GB, free: 156.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/1.107, allocations: 123.8 kB / 0.5253 GB, free: 156.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004279/1.107, allocations: 80.5 kB / 0.5254 GB, free: 156.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/1.107, allocations: 44.91 kB / 0.5254 GB, free: 156.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005005/1.112, allocations: 2.4 MB / 0.5278 GB, free: 155.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.689e-06/1.112, allocations: 0 / 0.5278 GB, free: 155.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006514/1.119, allocations: 1.015 MB / 0.5287 GB, free: 155.2 MB / 426.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 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005972/1.119, allocations: 173.7 kB / 0.5289 GB, free: 155.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01081/1.13, allocations: 5.355 MB / 0.5341 GB, free: 153.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.13, allocations: 0 / 0.5341 GB, free: 153.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00475/1.135, allocations: 1.971 MB / 0.5361 GB, free: 152.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/1.138, allocations: 348.2 kB / 0.5364 GB, free: 152.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/1.156, allocations: 10.81 MB / 0.547 GB, free: 146 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004874/1.161, allocations: 3.128 MB / 0.55 GB, free: 143.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008949/1.162, allocations: 264.8 kB / 0.5503 GB, free: 143.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.844e-06/1.162, allocations: 0 / 0.5503 GB, free: 143.4 MB / 426.7 MB Notification: Performance of Templates: time 0.3781/1.54, allocations: 132.7 MB / 0.6798 GB, free: 153.9 MB / 426.7 MB