Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.634/1.634, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 11.98 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07106/0.07144, allocations: 38.78 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3114/0.3829, allocations: 85.26 MB / 357.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.3832, allocations: 87.77 kB / 357.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.284/0.6673, allocations: 71.68 MB / 429.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.6674, allocations: 0 / 429.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002172/0.6676, allocations: 71.98 kB / 429.1 MB, free: 2.496 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.2493/0.9169, allocations: 3.552 MB / 432.7 MB, free: 74.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.917, allocations: 10.19 kB / 432.7 MB, free: 74.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.9287, allocations: 2.08 MB / 434.8 MB, free: 73.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/0.9412, allocations: 4.03 MB / 438.8 MB, free: 73.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.9416, allocations: 264.5 kB / 439.1 MB, free: 73.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/0.9431, allocations: 350 kB / 439.4 MB, free: 73.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/0.9631, allocations: 8.855 MB / 448.3 MB, free: 70.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001841/0.9633, allocations: 57.56 kB / 448.3 MB, free: 70.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008895/0.9642, allocations: 169 kB / 448.5 MB, free: 70.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001402/0.9656, allocations: 0.8748 MB / 449.3 MB, free: 70.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.9823, allocations: 7.157 MB / 456.5 MB, free: 70.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04621/1.029, allocations: 42.59 MB / 499.1 MB, free: 39.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00915/1.038, allocations: 3.184 MB / 0.4905 GB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008056/1.046, allocations: 4.077 MB / 0.4945 GB, free: 35.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/1.046, allocations: 49.97 kB / 0.4945 GB, free: 35.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 5.177e-06/1.046, allocations: 0 / 0.4945 GB, free: 35.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.0346/1.081, allocations: 11.35 MB / 0.5056 GB, free: 30.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/1.081, allocations: 147.6 kB / 0.5058 GB, free: 30.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00637/1.087, allocations: 3.309 MB / 0.509 GB, free: 28.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002515/1.087, allocations: 42.41 kB / 0.509 GB, free: 28.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001821/1.089, allocations: 2.673 MB / 0.5116 GB, free: 25.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005916/1.09, allocations: 0.5036 MB / 0.5121 GB, free: 25.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/1.09, allocations: 100 kB / 0.5122 GB, free: 25.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003035/1.09, allocations: 0.5297 MB / 0.5127 GB, free: 24.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/1.094, allocations: 1.667 MB / 0.5144 GB, free: 23.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005127/1.099, allocations: 5.051 MB / 0.5193 GB, free: 16.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/1.104, allocations: 2.851 MB / 0.5221 GB, free: 14.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.3e-05/1.104, allocations: 32 kB / 0.5221 GB, free: 14.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01419/1.118, allocations: 6.512 MB / 0.5285 GB, free: 8.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-05/1.118, allocations: 68.52 kB / 0.5285 GB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/1.118, allocations: 120 kB / 0.5287 GB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007635/1.119, allocations: 341.7 kB / 0.529 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004943/1.124, allocations: 1.27 MB / 0.5302 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/1.127, allocations: 2.378 MB / 0.5326 GB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005169/1.132, allocations: 287.2 kB / 0.5328 GB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009755/1.133, allocations: 327.4 kB / 0.5331 GB, free: 4.066 MB / 346.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.003972/1.137, allocations: 1.779 MB / 0.5349 GB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007156/1.138, allocations: 308 kB / 0.5352 GB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/1.144, allocations: 2.327 MB / 0.5374 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.673e-05/1.144, allocations: 17.41 kB / 0.5375 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.144, allocations: 4 kB / 0.5375 GB, free: 376 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/1.144, allocations: 7.219 kB / 0.5375 GB, free: 376 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/1.161, allocations: 5.861 MB / 0.5432 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/1.161, allocations: 4 kB / 0.5432 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.163, allocations: 159.8 kB / 0.5433 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/1.166, allocations: 0.7147 MB / 0.544 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/1.166, allocations: 20 kB / 0.5441 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008987/1.175, allocations: 4.562 MB / 0.5485 GB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.435e-06/1.175, allocations: 0 / 0.5485 GB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.185, allocations: 4.387 MB / 0.5528 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/1.187, allocations: 0.5281 MB / 0.5533 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007934/1.188, allocations: 16.78 kB / 0.5533 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/1.19, allocations: 71.66 kB / 0.5534 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003921/1.191, allocations: 65.77 kB / 0.5535 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.191, allocations: 35.98 kB / 0.5535 GB, free: 468 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.2133/1.404, allocations: 2.298 MB / 0.5557 GB, free: 81.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.088e-06/1.404, allocations: 0 / 0.5557 GB, free: 81.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006508/1.411, allocations: 0.8137 MB / 0.5565 GB, free: 81.04 MB / 362.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.0005655/1.411, allocations: 163.2 kB / 0.5567 GB, free: 80.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008437/1.42, allocations: 3.945 MB / 0.5605 GB, free: 80.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.367e-06/1.42, allocations: 0 / 0.5605 GB, free: 80.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002114/1.422, allocations: 1.083 MB / 0.5616 GB, free: 80.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/1.424, allocations: 349.1 kB / 0.5619 GB, free: 80.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.442, allocations: 8.842 MB / 0.5706 GB, free: 77.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005182/1.447, allocations: 2.844 MB / 0.5734 GB, free: 76.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.448, allocations: 249.1 kB / 0.5736 GB, free: 76.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.86e-06/1.448, allocations: 0 / 0.5736 GB, free: 76.59 MB / 362.7 MB Notification: Performance of Templates: time 0.0895/1.538, allocations: 60.84 MB / 0.633 GB, free: 48.32 MB / 362.7 MB