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.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadModel(Modelica): time 1.755/1.755, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 8 kB / 264 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.08336, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4066/0.49, allocations: 91 MB / 399.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4903, allocations: 89.95 kB / 399.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2703/0.7606, allocations: 71.67 MB / 471.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.52e-06/0.7607, allocations: 0 / 471.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002103/0.7609, allocations: 68 kB / 471.3 MB, free: 2.676 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.01139/0.7723, allocations: 3.563 MB / 474.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.7724, allocations: 12.03 kB / 474.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/0.7843, allocations: 2.082 MB / 476.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.7978, allocations: 4.033 MB / 481 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004234/0.7983, allocations: 258.8 kB / 481.2 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001636/0.7999, allocations: 347.8 kB / 481.6 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/0.8227, allocations: 8.852 MB / 490.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002015/0.823, allocations: 59.52 kB / 490.5 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/0.8241, allocations: 171.9 kB / 490.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001771/0.8259, allocations: 0.8681 MB / 491.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/0.8447, allocations: 7.163 MB / 498.7 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3114/1.156, allocations: 42.6 MB / 0.5286 GB, free: 70.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009923/1.166, allocations: 3.161 MB / 0.5317 GB, free: 69.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008445/1.175, allocations: 4.094 MB / 0.5357 GB, free: 68.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/1.175, allocations: 49.66 kB / 0.5357 GB, free: 68.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=114): time 4.769e-06/1.175, allocations: 2.719 kB / 0.5357 GB, free: 68.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.03721/1.212, allocations: 11.36 MB / 0.5468 GB, free: 65.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.212, allocations: 146.3 kB / 0.5469 GB, free: 65.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006915/1.219, allocations: 3.303 MB / 0.5502 GB, free: 64.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000273/1.219, allocations: 40.95 kB / 0.5502 GB, free: 64.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/1.221, allocations: 2.683 MB / 0.5528 GB, free: 63.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006198/1.222, allocations: 0.4939 MB / 0.5533 GB, free: 63.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005029/1.222, allocations: 105 kB / 0.5534 GB, free: 63.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003499/1.223, allocations: 0.5294 MB / 0.5539 GB, free: 62.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003455/1.226, allocations: 1.662 MB / 0.5556 GB, free: 62.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00537/1.232, allocations: 5.058 MB / 0.5605 GB, free: 58.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005324/1.237, allocations: 2.845 MB / 0.5633 GB, free: 58.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/1.237, allocations: 35.56 kB / 0.5633 GB, free: 58.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01503/1.252, allocations: 6.515 MB / 0.5697 GB, free: 58.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.252, allocations: 54.59 kB / 0.5697 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/1.253, allocations: 121.7 kB / 0.5698 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007906/1.253, allocations: 343.3 kB / 0.5702 GB, free: 58.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005378/1.259, allocations: 1.27 MB / 0.5714 GB, free: 57.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/1.262, allocations: 2.381 MB / 0.5737 GB, free: 56.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.267, allocations: 286.5 kB / 0.574 GB, free: 56.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/1.268, allocations: 330.6 kB / 0.5743 GB, free: 56.5 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.00451/1.273, allocations: 1.769 MB / 0.576 GB, free: 55.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007675/1.274, allocations: 303.5 kB / 0.5763 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006606/1.28, allocations: 2.333 MB / 0.5786 GB, free: 55.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-05/1.28, allocations: 14.78 kB / 0.5786 GB, free: 55.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.28, allocations: 7.375 kB / 0.5786 GB, free: 55.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/1.28, allocations: 7.594 kB / 0.5786 GB, free: 55.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/1.296, allocations: 5.828 MB / 0.5843 GB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/1.296, allocations: 3.797 kB / 0.5843 GB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.297, allocations: 169.9 kB / 0.5845 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002709/1.3, allocations: 0.7022 MB / 0.5852 GB, free: 52.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002579/1.3, allocations: 27.72 kB / 0.5852 GB, free: 52.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007544/1.308, allocations: 4.558 MB / 0.5897 GB, free: 50.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.897e-06/1.308, allocations: 6.516 kB / 0.5897 GB, free: 50.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008675/1.317, allocations: 4.38 MB / 0.5939 GB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/1.318, allocations: 0.5329 MB / 0.5945 GB, free: 48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007607/1.319, allocations: 21.77 kB / 0.5945 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/1.321, allocations: 69.34 kB / 0.5946 GB, free: 47.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/1.321, allocations: 67.41 kB / 0.5946 GB, free: 47.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/1.322, allocations: 30.12 kB / 0.5946 GB, free: 47.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005213/1.327, allocations: 2.305 MB / 0.5969 GB, free: 47.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.242e-06/1.327, allocations: 0 / 0.5969 GB, free: 47.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006123/1.333, allocations: 0.8173 MB / 0.5977 GB, free: 47.08 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.0005339/1.334, allocations: 157 kB / 0.5978 GB, free: 46.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007613/1.341, allocations: 3.949 MB / 0.6017 GB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.04e-06/1.341, allocations: 4 kB / 0.6017 GB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/1.343, allocations: 1.077 MB / 0.6028 GB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.346, allocations: 357.5 kB / 0.6031 GB, free: 44.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/1.362, allocations: 8.837 MB / 0.6117 GB, free: 36.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005011/1.367, allocations: 2.841 MB / 0.6145 GB, free: 33.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.368, allocations: 250.6 kB / 0.6147 GB, free: 33.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.227e-06/1.368, allocations: 0 / 0.6147 GB, free: 33.75 MB / 410.7 MB Notification: Performance of Templates: time 0.0986/1.467, allocations: 60.85 MB / 0.6742 GB, free: 11.34 MB / 442.7 MB