Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadModel(Modelica): time 1.122/1.122, allocations: 111.2 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002632, allocations: 8 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0516/0.05189, allocations: 25.16 MB / 184 MB, free: 6.016 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.2706, allocations: 44.78 MB / 228.8 MB, free: 1.906 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.2709, allocations: 73.53 kB / 228.9 MB, free: 1.871 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.524/3.795, allocations: 368.8 MB / 0.5836 GB, free: 40.77 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.815e-06/3.795, allocations: 0 / 0.5836 GB, free: 40.77 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001366/3.795, allocations: 65.91 kB / 0.5837 GB, free: 40.77 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.2498/4.045, allocations: 33.16 MB / 0.6161 GB, free: 29.87 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/4.045, allocations: 8.031 kB / 0.6161 GB, free: 29.86 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.683/12.73, allocations: 0.8338 GB / 1.45 GB, free: 37.8 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05069/12.78, allocations: 13.81 MB / 1.463 GB, free: 28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004431/12.78, allocations: 277.9 kB / 1.464 GB, free: 27.76 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01461/12.79, allocations: 354.4 kB / 1.464 GB, free: 27.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.538/15.33, allocations: 265.7 MB / 1.723 GB, free: 38.47 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002471/15.33, allocations: 26.44 kB / 1.723 GB, free: 38.47 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01247/15.35, allocations: 165.8 kB / 1.724 GB, free: 38.47 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005833/15.35, allocations: 1.398 MB / 1.725 GB, free: 38.08 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.927/20.28, allocations: 0.5099 GB / 2.235 GB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.235/26.51, allocations: 0.7504 GB / 2.985 GB, free: 43.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5138/27.03, allocations: 65.89 MB / 3.05 GB, free: 20.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/27.03, allocations: 45.11 kB / 3.05 GB, free: 20.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/27.03, allocations: 67.66 kB / 3.05 GB, free: 19.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=191): time 6.372e-06/27.03, allocations: 0 / 3.05 GB, free: 19.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=199): time 2.315/29.34, allocations: 216 MB / 3.261 GB, free: 63.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/29.34, allocations: 368.9 kB / 3.261 GB, free: 62.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0091/29.35, allocations: 3.816 MB / 3.265 GB, free: 62.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004506/29.36, allocations: 54.86 kB / 3.265 GB, free: 62.49 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002445/29.36, allocations: 2.715 MB / 3.268 GB, free: 61.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005165/29.36, allocations: 0.7539 MB / 3.268 GB, free: 60.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005103/29.37, allocations: 120.1 kB / 3.268 GB, free: 60.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0005469/29.37, allocations: 0.5599 MB / 3.269 GB, free: 60.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5124/29.88, allocations: 64.69 MB / 3.332 GB, free: 33.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6962/30.58, allocations: 68.37 MB / 3.399 GB, free: 56.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.6307/31.21, allocations: 52.76 MB / 3.45 GB, free: 57.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/31.21, allocations: 36.59 kB / 3.45 GB, free: 57.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 1.169/32.38, allocations: 121.6 MB / 3.569 GB, free: 55.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/32.38, allocations: 59.17 kB / 3.569 GB, free: 55.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002028/32.38, allocations: 136.2 kB / 3.569 GB, free: 55.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004094/32.38, allocations: 0.8551 MB / 3.57 GB, free: 55.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2372/32.62, allocations: 27.09 MB / 3.597 GB, free: 41.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008554/32.63, allocations: 4.263 MB / 3.601 GB, free: 37.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4199/33.05, allocations: 24.68 MB / 3.625 GB, free: 56.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006057/33.05, allocations: 1.111 MB / 3.626 GB, free: 56.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (749): * Single equations (assignments): 745 * 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,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01169/33.07, allocations: 1.873 MB / 3.628 GB, free: 56.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004549/33.07, allocations: 311.1 kB / 3.628 GB, free: 56.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2044/33.28, allocations: 21.27 MB / 3.649 GB, free: 56.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-05/33.28, allocations: 24.53 kB / 3.649 GB, free: 56.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/33.28, allocations: 7.219 kB / 3.649 GB, free: 56.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.115e-05/33.28, allocations: 15.28 kB / 3.649 GB, free: 56.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8289/34.1, allocations: 99.59 MB / 3.746 GB, free: 56.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.296e-05/34.1, allocations: 10.75 kB / 3.746 GB, free: 56.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.231/34.34, allocations: 25.94 MB / 3.772 GB, free: 53.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003621/34.34, allocations: 0.6496 MB / 3.772 GB, free: 53.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00439/34.34, allocations: 0.7259 MB / 3.773 GB, free: 53.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007285/34.35, allocations: 3.741 MB / 3.777 GB, free: 50.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/34.35, allocations: 9.969 kB / 3.777 GB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.864/36.21, allocations: 188.8 MB / 3.961 GB, free: 53.51 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01335/36.23, allocations: 3.61 MB / 3.964 GB, free: 52.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005898/36.23, allocations: 44.16 kB / 3.964 GB, free: 52.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2251/36.46, allocations: 24.38 MB / 3.988 GB, free: 29.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006442/36.46, allocations: 139 kB / 3.988 GB, free: 29.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004442/36.46, allocations: 0.7906 MB / 3.989 GB, free: 28.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.006418/36.47, allocations: 2.413 MB / 3.992 GB, free: 26.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.21e-07/36.47, allocations: 0 / 3.992 GB, free: 26.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01948/36.49, allocations: 2.143 MB / 3.994 GB, free: 24.36 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (168): * Single equations (assignments): 164 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004147/36.49, allocations: 182.2 kB / 3.994 GB, free: 24.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 1.394/37.89, allocations: 131 MB / 4.122 GB, free: 56.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/37.89, allocations: 0 / 4.122 GB, free: 56.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.511/38.4, allocations: 64.88 MB / 4.185 GB, free: 25.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005745/38.41, allocations: 289 kB / 4.185 GB, free: 24.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7542/39.16, allocations: 76.79 MB / 4.26 GB, free: 44.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004317/39.16, allocations: 2.958 MB / 4.263 GB, free: 42.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02662/39.19, allocations: 2.524 MB / 4.266 GB, free: 39.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.412e-06/39.19, allocations: 0 / 4.266 GB, free: 39.53 MB / 282.7 MB Notification: Performance of Templates: time 1.096/40.29, allocations: 263.8 MB / 4.523 GB, free: 34.16 MB / 298.7 MB