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.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09318, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4387/0.5319, allocations: 91 MB / 400.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004467/0.5325, allocations: 95.73 kB / 400.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.295/0.8275, allocations: 72.16 MB / 472.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.8276, allocations: 0 / 472.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001951/0.8278, allocations: 64 kB / 472.4 MB, free: 15.55 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01301/0.8408, allocations: 3.561 MB / 475.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.8409, allocations: 12.03 kB / 475.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/0.8567, allocations: 2.085 MB / 478 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/0.8724, allocations: 4.04 MB / 482.1 MB, free: 5.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.8728, allocations: 252.3 kB / 482.3 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.8741, allocations: 343.7 kB / 482.6 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0251/0.8992, allocations: 8.856 MB / 491.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002312/0.8995, allocations: 67.5 kB / 491.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/0.9007, allocations: 167.9 kB / 491.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002068/0.9028, allocations: 0.872 MB / 492.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02895/0.9318, allocations: 7.155 MB / 499.8 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3517/1.284, allocations: 42.6 MB / 0.5296 GB, free: 69.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/1.295, allocations: 3.179 MB / 0.5327 GB, free: 69.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/1.306, allocations: 4.078 MB / 0.5367 GB, free: 67.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.306, allocations: 47.05 kB / 0.5368 GB, free: 67.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=114): time 5.49e-06/1.306, allocations: 0 / 0.5368 GB, free: 67.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.04638/1.352, allocations: 11.56 MB / 0.5481 GB, free: 64.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/1.352, allocations: 145.1 kB / 0.5482 GB, free: 64.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007065/1.359, allocations: 3.697 MB / 0.5518 GB, free: 64.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003144/1.36, allocations: 40.64 kB / 0.5519 GB, free: 64.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002092/1.362, allocations: 2.738 MB / 0.5545 GB, free: 62.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007033/1.363, allocations: 0.4928 MB / 0.555 GB, free: 62.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/1.363, allocations: 106.8 kB / 0.5551 GB, free: 62.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000301/1.363, allocations: 0.5197 MB / 0.5556 GB, free: 62.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003695/1.367, allocations: 1.67 MB / 0.5573 GB, free: 62.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005941/1.373, allocations: 5.054 MB / 0.5622 GB, free: 57.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005978/1.379, allocations: 2.845 MB / 0.565 GB, free: 57.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.484e-05/1.379, allocations: 33.25 kB / 0.565 GB, free: 57.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.0165/1.396, allocations: 6.62 MB / 0.5715 GB, free: 57.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.396, allocations: 58.62 kB / 0.5715 GB, free: 57.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/1.396, allocations: 122.9 kB / 0.5716 GB, free: 57.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/1.397, allocations: 344.6 kB / 0.572 GB, free: 57.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007437/1.404, allocations: 1.264 MB / 0.5732 GB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/1.408, allocations: 2.39 MB / 0.5755 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0056/1.413, allocations: 276.5 kB / 0.5758 GB, free: 55.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/1.415, allocations: 334.7 kB / 0.5761 GB, free: 55.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (656): * Single equations (assignments): 652 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00423/1.419, allocations: 1.771 MB / 0.5778 GB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000788/1.42, allocations: 308.7 kB / 0.5781 GB, free: 54.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007516/1.427, allocations: 2.321 MB / 0.5804 GB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-05/1.427, allocations: 17.33 kB / 0.5804 GB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.427, allocations: 3.781 kB / 0.5804 GB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/1.427, allocations: 9.172 kB / 0.5804 GB, free: 54.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/1.445, allocations: 5.846 MB / 0.5861 GB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/1.445, allocations: 3.156 kB / 0.5861 GB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.446, allocations: 165.2 kB / 0.5863 GB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003646/1.45, allocations: 0.7158 MB / 0.587 GB, free: 51.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002248/1.45, allocations: 19.69 kB / 0.587 GB, free: 51.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00884/1.459, allocations: 4.561 MB / 0.5915 GB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.459, allocations: 3.906 kB / 0.5915 GB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.469, allocations: 4.255 MB / 0.5956 GB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.471, allocations: 0.532 MB / 0.5962 GB, free: 47.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006796/1.472, allocations: 16.28 kB / 0.5962 GB, free: 47.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/1.474, allocations: 69.75 kB / 0.5962 GB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/1.474, allocations: 72.97 kB / 0.5963 GB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/1.474, allocations: 31.03 kB / 0.5963 GB, free: 47.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005124/1.479, allocations: 2.303 MB / 0.5986 GB, free: 46.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.693e-06/1.479, allocations: 5.781 kB / 0.5986 GB, free: 46.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006386/1.486, allocations: 0.8102 MB / 0.5994 GB, free: 46.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (90): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005218/1.486, allocations: 160.9 kB / 0.5995 GB, free: 46.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008515/1.495, allocations: 3.942 MB / 0.6034 GB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.495, allocations: 0 / 0.6034 GB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002118/1.497, allocations: 1.082 MB / 0.6044 GB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.5, allocations: 358.2 kB / 0.6048 GB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.518, allocations: 8.496 MB / 0.6131 GB, free: 34.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005006/1.523, allocations: 2.839 MB / 0.6159 GB, free: 32.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00683/1.529, allocations: 1.645 MB / 0.6175 GB, free: 31.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.531, allocations: 210.2 kB / 0.6177 GB, free: 31.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.824e-06/1.531, allocations: 0 / 0.6177 GB, free: 31.17 MB / 410.7 MB Notification: Performance of Templates: time 0.08922/1.62, allocations: 28.69 MB / 0.6457 GB, free: 7.438 MB / 410.7 MB