Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 171.2 MB / 186.7 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 8 kB / 233.9 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09051, allocations: 38.77 MB / 272.6 MB, free: 9.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.4539, allocations: 79.06 MB / 351.7 MB, free: 3.555 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/0.4544, allocations: 94.23 kB / 351.8 MB, free: 3.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2586/0.713, allocations: 57.24 MB / 409 MB, free: 9.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7131, allocations: 7.938 kB / 409 MB, free: 9.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001534/0.7132, allocations: 47.98 kB / 409.1 MB, free: 9.723 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: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.01039/0.7236, allocations: 2.649 MB / 411.7 MB, free: 7.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.7237, allocations: 8.031 kB / 411.7 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01584/0.7395, allocations: 1.966 MB / 413.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01388/0.7535, allocations: 3.287 MB / 417 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.7539, allocations: 176.6 kB / 417.2 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001627/0.7555, allocations: 231.9 kB / 417.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2476/1.003, allocations: 6.793 MB / 424.2 MB, free: 82.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001521/1.003, allocations: 48.48 kB / 424.2 MB, free: 82.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007452/1.004, allocations: 120.9 kB / 424.3 MB, free: 82.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001729/1.006, allocations: 0.7133 MB / 425.1 MB, free: 82.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/1.024, allocations: 5.829 MB / 430.9 MB, free: 82.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04297/1.067, allocations: 33.29 MB / 464.2 MB, free: 58.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007003/1.074, allocations: 2.286 MB / 466.5 MB, free: 57.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/1.074, allocations: 15.34 kB / 466.5 MB, free: 57.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.074, allocations: 49.95 kB / 466.5 MB, free: 57.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=98): time 4.95e-06/1.074, allocations: 0 / 466.5 MB, free: 57.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.03485/1.109, allocations: 8.905 MB / 475.4 MB, free: 53.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/1.109, allocations: 147.7 kB / 475.6 MB, free: 53.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005806/1.115, allocations: 2.823 MB / 478.4 MB, free: 52.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003112/1.115, allocations: 44.36 kB / 478.5 MB, free: 52.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.117, allocations: 2.061 MB / 480.5 MB, free: 51.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006721/1.118, allocations: 435.5 kB / 480.9 MB, free: 50.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/1.118, allocations: 85.59 kB / 481 MB, free: 50.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002667/1.118, allocations: 0.4899 MB / 481.5 MB, free: 50.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003624/1.122, allocations: 1.417 MB / 482.9 MB, free: 49.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005264/1.127, allocations: 4.189 MB / 487.1 MB, free: 45.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0055/1.133, allocations: 2.383 MB / 489.5 MB, free: 44.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.748e-05/1.133, allocations: 33.59 kB / 489.5 MB, free: 44.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01732/1.15, allocations: 6.063 MB / 495.6 MB, free: 42.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.354e-05/1.151, allocations: 51.33 kB / 495.6 MB, free: 42.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/1.151, allocations: 101.6 kB / 495.7 MB, free: 42.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003957/1.155, allocations: 0.8076 MB / 496.6 MB, free: 42.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005546/1.16, allocations: 0.9924 MB / 497.5 MB, free: 42.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008291/1.169, allocations: 4.196 MB / 0.49 GB, free: 39.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/1.174, allocations: 290.2 kB / 0.4903 GB, free: 38.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008859/1.174, allocations: 272.5 kB / 0.4905 GB, free: 38.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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 (528): * Single equations (assignments): 524 * 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.002944/1.177, allocations: 1.363 MB / 0.4918 GB, free: 37.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005898/1.178, allocations: 236.5 kB / 0.4921 GB, free: 37.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006103/1.184, allocations: 1.845 MB / 0.4939 GB, free: 35.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.75e-05/1.184, allocations: 12 kB / 0.4939 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.184, allocations: 4 kB / 0.4939 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/1.184, allocations: 2.812 kB / 0.4939 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/1.198, allocations: 4.818 MB / 0.4986 GB, free: 32.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/1.199, allocations: 8.062 kB / 0.4986 GB, free: 32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.2, allocations: 133.2 kB / 0.4987 GB, free: 31.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003515/1.203, allocations: 0.6398 MB / 0.4994 GB, free: 31.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/1.204, allocations: 16 kB / 0.4994 GB, free: 31.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007216/1.211, allocations: 3.74 MB / 0.503 GB, free: 28.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.211, allocations: 7.969 kB / 0.503 GB, free: 28.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008879/1.22, allocations: 3.674 MB / 0.5066 GB, free: 24.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.221, allocations: 449.9 kB / 0.5071 GB, free: 24.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005519/1.222, allocations: 17.17 kB / 0.5071 GB, free: 24.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/1.224, allocations: 67.91 kB / 0.5071 GB, free: 24.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/1.224, allocations: 59.86 kB / 0.5072 GB, free: 24.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.224, allocations: 24.94 kB / 0.5072 GB, free: 24.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003938/1.228, allocations: 1.769 MB / 0.5089 GB, free: 22.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.228, allocations: 0 / 0.5089 GB, free: 22.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004782/1.233, allocations: 0.6491 MB / 0.5096 GB, free: 21.92 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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.0004708/1.233, allocations: 151.4 kB / 0.5097 GB, free: 21.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007772/1.241, allocations: 3.39 MB / 0.513 GB, free: 18.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.241, allocations: 0 / 0.513 GB, free: 18.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/1.243, allocations: 0.9305 MB / 0.5139 GB, free: 17.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.245, allocations: 245.8 kB / 0.5142 GB, free: 17.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.259, allocations: 6.4 MB / 0.5204 GB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00327/1.262, allocations: 2.243 MB / 0.5226 GB, free: 8.512 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005635/1.268, allocations: 1.392 MB / 0.524 GB, free: 7.117 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/1.268, allocations: 166.7 kB / 0.5241 GB, free: 6.957 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/1.268, allocations: 0 / 0.5241 GB, free: 6.957 MB / 346.7 MB Notification: Performance of Templates: time 0.06935/1.338, allocations: 21.59 MB / 0.5452 GB, free: 1.754 MB / 362.7 MB