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.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08209/0.08249, allocations: 44.51 MB / 308.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4383, allocations: 92.89 MB / 401.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.4386, allocations: 87.12 kB / 401.4 MB, free: 18.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2796/0.7182, allocations: 73.97 MB / 475.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.223e-06/0.7182, allocations: 0 / 475.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001897/0.7184, allocations: 72 kB / 475.5 MB, free: 14.45 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: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.01179/0.7302, allocations: 3.595 MB / 479.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7303, allocations: 12.03 kB / 479.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/0.7436, allocations: 2.261 MB / 481.3 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.7568, allocations: 3.909 MB / 485.3 MB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004215/0.7572, allocations: 271.2 kB / 485.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.7589, allocations: 359.9 kB / 485.9 MB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02891/0.7879, allocations: 10.36 MB / 496.2 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000192/0.7881, allocations: 55.47 kB / 496.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/0.7893, allocations: 187.8 kB / 496.5 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002102/0.7914, allocations: 0.9779 MB / 497.4 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0256/0.817, allocations: 8.644 MB / 0.4942 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3075/1.125, allocations: 44.35 MB / 0.5375 GB, free: 69.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/1.137, allocations: 3.571 MB / 0.541 GB, free: 68.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01365/1.151, allocations: 7.143 MB / 0.548 GB, free: 67.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/1.151, allocations: 51.88 kB / 0.548 GB, free: 67.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.7e-06/1.151, allocations: 0 / 0.548 GB, free: 67.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.06598/1.217, allocations: 17.02 MB / 0.5647 GB, free: 64.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/1.217, allocations: 144.3 kB / 0.5648 GB, free: 63.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006141/1.223, allocations: 3.099 MB / 0.5678 GB, free: 63.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003307/1.224, allocations: 46.16 kB / 0.5679 GB, free: 63.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/1.226, allocations: 2.668 MB / 0.5705 GB, free: 62.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007587/1.226, allocations: 0.6071 MB / 0.5711 GB, free: 61.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/1.227, allocations: 110.8 kB / 0.5712 GB, free: 61.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003184/1.227, allocations: 0.536 MB / 0.5717 GB, free: 61.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004264/1.231, allocations: 1.927 MB / 0.5736 GB, free: 61.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006077/1.237, allocations: 5.297 MB / 0.5788 GB, free: 57.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00618/1.244, allocations: 3.1 MB / 0.5818 GB, free: 56.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.98e-05/1.244, allocations: 33.34 kB / 0.5818 GB, free: 56.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.01989/1.264, allocations: 7.979 MB / 0.5896 GB, free: 54.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.673e-05/1.264, allocations: 60.3 kB / 0.5897 GB, free: 54.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/1.264, allocations: 122.7 kB / 0.5898 GB, free: 54.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005456/1.27, allocations: 1.298 MB / 0.591 GB, free: 54.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005283/1.275, allocations: 1.263 MB / 0.5923 GB, free: 53.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/1.287, allocations: 6.288 MB / 0.5984 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005698/1.292, allocations: 354.7 kB / 0.5988 GB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009351/1.293, allocations: 335 kB / 0.5991 GB, free: 50.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[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 (665): * Single equations (assignments): 661 * 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 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003829/1.297, allocations: 1.787 MB / 0.6008 GB, free: 50.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006733/1.298, allocations: 308.8 kB / 0.6011 GB, free: 49.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009045/1.307, allocations: 3.292 MB / 0.6043 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.76e-05/1.307, allocations: 19.5 kB / 0.6044 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/1.307, allocations: 11.39 kB / 0.6044 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.909e-05/1.307, allocations: 7.297 kB / 0.6044 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/1.325, allocations: 7.376 MB / 0.6116 GB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/1.325, allocations: 0 / 0.6116 GB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.327, allocations: 242 kB / 0.6118 GB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004553/1.331, allocations: 1.114 MB / 0.6129 GB, free: 43.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003089/1.332, allocations: 28 kB / 0.6129 GB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/1.342, allocations: 5.912 MB / 0.6187 GB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.962e-06/1.342, allocations: 4.031 kB / 0.6187 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.354, allocations: 5.644 MB / 0.6242 GB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.355, allocations: 0.5711 MB / 0.6248 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000539/1.356, allocations: 27.95 kB / 0.6248 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.358, allocations: 112.3 kB / 0.6249 GB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/1.358, allocations: 78.34 kB / 0.625 GB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/1.358, allocations: 40 kB / 0.625 GB, free: 32.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004075/1.362, allocations: 2.155 MB / 0.6271 GB, free: 30.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.023e-06/1.362, allocations: 0 / 0.6271 GB, free: 30.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005874/1.368, allocations: 0.8945 MB / 0.628 GB, free: 29.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (119): * Single equations (assignments): 115 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005081/1.369, allocations: 172.8 kB / 0.6282 GB, free: 29.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009292/1.378, allocations: 4.697 MB / 0.6327 GB, free: 25.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.204e-06/1.378, allocations: 0 / 0.6327 GB, free: 25.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002875/1.381, allocations: 1.495 MB / 0.6342 GB, free: 24.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.383, allocations: 314.2 kB / 0.6345 GB, free: 24.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.401, allocations: 9.788 MB / 0.6441 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003838/1.405, allocations: 2.895 MB / 0.6469 GB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.406, allocations: 251.4 kB / 0.6471 GB, free: 12.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.887e-06/1.406, allocations: 0 / 0.6471 GB, free: 12.82 MB / 410.7 MB Notification: Performance of Templates: time 0.3355/1.741, allocations: 62.12 MB / 0.7078 GB, free: 121.7 MB / 442.7 MB