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.572/1.572, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.873e-05, allocations: 4 kB / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 38.77 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.335, allocations: 85.18 MB / 352.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.3353, allocations: 79.95 kB / 352.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4755/0.8108, allocations: 71.73 MB / 424.6 MB, free: 21.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.889e-06/0.8109, allocations: 0 / 424.6 MB, free: 21.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.811, allocations: 64 kB / 424.6 MB, free: 21.86 MB / 298.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.008608/0.8197, allocations: 3.349 MB / 428 MB, free: 18.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.8197, allocations: 15.97 kB / 428 MB, free: 18.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.8305, allocations: 2.078 MB / 430.1 MB, free: 16.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.8417, allocations: 4.021 MB / 434.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.8419, allocations: 258.7 kB / 434.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/0.8433, allocations: 347.8 kB / 434.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03209/0.8754, allocations: 8.789 MB / 443.5 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003485/0.8758, allocations: 63.41 kB / 443.6 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001754/0.8776, allocations: 167.9 kB / 443.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003002/0.8806, allocations: 0.8682 MB / 444.6 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.039/0.9197, allocations: 7.059 MB / 451.6 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.275/1.195, allocations: 42.59 MB / 494.2 MB, free: 71.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009051/1.204, allocations: 3.162 MB / 497.4 MB, free: 70.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/1.206, allocations: 1.412 MB / 498.8 MB, free: 70.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00766/1.214, allocations: 4.087 MB / 0.4911 GB, free: 69.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.214, allocations: 44.75 kB / 0.4911 GB, free: 69.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=114): time 4.915e-06/1.214, allocations: 0 / 0.4911 GB, free: 69.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.02907/1.243, allocations: 9.391 MB / 0.5003 GB, free: 67.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/1.243, allocations: 140.1 kB / 0.5005 GB, free: 67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006586/1.25, allocations: 3.276 MB / 0.5037 GB, free: 66.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002492/1.25, allocations: 43.27 kB / 0.5037 GB, free: 66.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001929/1.252, allocations: 2.676 MB / 0.5063 GB, free: 65.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006291/1.253, allocations: 0.4974 MB / 0.5068 GB, free: 64.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/1.253, allocations: 104.2 kB / 0.5069 GB, free: 64.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003456/1.254, allocations: 0.5338 MB / 0.5074 GB, free: 64.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003368/1.257, allocations: 1.622 MB / 0.509 GB, free: 64.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00519/1.262, allocations: 5.023 MB / 0.5139 GB, free: 60.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005232/1.267, allocations: 2.848 MB / 0.5167 GB, free: 60.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.268, allocations: 40.47 kB / 0.5167 GB, free: 60.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01434/1.282, allocations: 6.449 MB / 0.523 GB, free: 59.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.282, allocations: 57.31 kB / 0.5231 GB, free: 59.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.282, allocations: 125.5 kB / 0.5232 GB, free: 59.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007831/1.283, allocations: 332.5 kB / 0.5235 GB, free: 58.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005236/1.288, allocations: 1.276 MB / 0.5248 GB, free: 58.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/1.291, allocations: 2.347 MB / 0.527 GB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005335/1.297, allocations: 280.3 kB / 0.5273 GB, free: 57.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009744/1.298, allocations: 332.4 kB / 0.5276 GB, free: 56.97 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 () * 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.0009912/1.299, allocations: 0.5109 MB / 0.5281 GB, free: 56.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006767/1.299, allocations: 304.8 kB / 0.5284 GB, free: 56.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005457/1.305, allocations: 2.312 MB / 0.5307 GB, free: 55.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.08e-05/1.305, allocations: 17.62 kB / 0.5307 GB, free: 55.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.305, allocations: 7.266 kB / 0.5307 GB, free: 55.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/1.305, allocations: 15.03 kB / 0.5307 GB, free: 55.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/1.32, allocations: 5.817 MB / 0.5364 GB, free: 53.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/1.32, allocations: 0 / 0.5364 GB, free: 53.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.321, allocations: 168.4 kB / 0.5366 GB, free: 53.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002995/1.324, allocations: 0.7142 MB / 0.5373 GB, free: 53.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/1.324, allocations: 21.91 kB / 0.5373 GB, free: 53.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006849/1.331, allocations: 4.45 MB / 0.5416 GB, free: 49.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.892e-06/1.331, allocations: 0 / 0.5416 GB, free: 49.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007881/1.339, allocations: 4.363 MB / 0.5459 GB, free: 46.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.341, allocations: 0.5303 MB / 0.5464 GB, free: 45.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006697/1.341, allocations: 27.38 kB / 0.5464 GB, free: 45.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.343, allocations: 60.62 kB / 0.5465 GB, free: 45.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/1.343, allocations: 65.84 kB / 0.5465 GB, free: 45.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.343, allocations: 36.25 kB / 0.5466 GB, free: 45.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004543/1.348, allocations: 2.273 MB / 0.5488 GB, free: 43.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.024e-06/1.348, allocations: 0 / 0.5488 GB, free: 43.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005697/1.354, allocations: 0.8113 MB / 0.5496 GB, free: 42.69 MB / 346.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 () * 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.000509/1.354, allocations: 162.3 kB / 0.5497 GB, free: 42.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007215/1.361, allocations: 3.899 MB / 0.5536 GB, free: 39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.694e-06/1.362, allocations: 0 / 0.5536 GB, free: 39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/1.363, allocations: 1.072 MB / 0.5546 GB, free: 38.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.366, allocations: 362.2 kB / 0.5549 GB, free: 37.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/1.38, allocations: 6.206 MB / 0.561 GB, free: 32.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004106/1.384, allocations: 2.834 MB / 0.5638 GB, free: 30.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.385, allocations: 247.2 kB / 0.564 GB, free: 29.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.973e-06/1.385, allocations: 0 / 0.564 GB, free: 29.8 MB / 346.7 MB Notification: Performance of Templates: time 0.3035/1.688, allocations: 60.84 MB / 0.6234 GB, free: 89.25 MB / 362.7 MB