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.56/1.56, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003451, allocations: 12 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07829/0.07866, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01789/0.09661, allocations: 11.48 MB / 284.1 MB, free: 12 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.1069, allocations: 3.964 MB / 288.1 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.1086, allocations: 55.81 kB / 288.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.1101, allocations: 0.521 MB / 288.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006504/0.1166, allocations: 1.839 MB / 290.5 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.1182, allocations: 423.2 kB / 290.9 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003485/0.1217, allocations: 1.47 MB / 292.4 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.1244, allocations: 1.321 MB / 293.7 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.1255, allocations: 0.5878 MB / 294.3 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.127, allocations: 0.845 MB / 295.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003714/0.1274, allocations: 80 kB / 295.2 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.1294, allocations: 0.7528 MB / 296 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.1307, allocations: 0.8727 MB / 296.8 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.1314, allocations: 492.1 kB / 297.3 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2175/0.3489, allocations: 2.972 MB / 300.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3489, allocations: 0.7812 kB / 300.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.349, allocations: 0 / 300.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001287/0.3491, allocations: 0.5 kB / 300.3 MB, free: 11.8 MB / 250.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.0078/0.3569, allocations: 2.519 MB / 302.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.357, allocations: 9.281 kB / 302.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/0.37, allocations: 1.971 MB / 304.8 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.3748, allocations: 1.544 MB / 306.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.375, allocations: 118.4 kB / 306.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007936/0.3758, allocations: 150.6 kB / 306.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.391, allocations: 6.401 MB / 313 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.3912, allocations: 32.34 kB / 313 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005354/0.3917, allocations: 80.41 kB / 313.1 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003474/0.3952, allocations: 1.375 MB / 314.5 MB, free: 8.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.4105, allocations: 5.691 MB / 320.2 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0416/0.4521, allocations: 26.24 MB / 346.4 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007423/0.4596, allocations: 2.253 MB / 348.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.4598, allocations: 10.73 kB / 348.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.4598, allocations: 50.55 kB / 348.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=98): time 9.308e-06/0.4598, allocations: 3.984 kB / 348.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=106): time 0.03618/0.496, allocations: 8.85 MB / 357.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.4961, allocations: 140.5 kB / 357.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005559/0.5017, allocations: 2.912 MB / 360.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.502, allocations: 39.19 kB / 360.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002074/0.5041, allocations: 2.066 MB / 362.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006389/0.5047, allocations: 439.2 kB / 363.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.505, allocations: 90.27 kB / 363.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000377/0.5054, allocations: 0.4917 MB / 363.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003459/0.5089, allocations: 1.386 MB / 365.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/0.5148, allocations: 4.182 MB / 369.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005546/0.5204, allocations: 2.366 MB / 371.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.005e-05/0.5205, allocations: 28 kB / 371.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=566) (initialization): time 0.01692/0.5374, allocations: 6.019 MB / 377.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.477e-05/0.5376, allocations: 48 kB / 377.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001366/0.5377, allocations: 100 kB / 377.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00398/0.5417, allocations: 0.8166 MB / 378.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005384/0.5471, allocations: 0.9785 MB / 379.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009143/0.5563, allocations: 4.244 MB / 383.9 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004171/0.5605, allocations: 249.1 kB / 384.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005202/0.561, allocations: 272 kB / 384.4 MB, free: 8.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 456 * 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 (530): * Single equations (assignments): 526 * 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.002776/0.5638, allocations: 1.365 MB / 385.8 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005522/0.5644, allocations: 229 kB / 386 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006545/0.5709, allocations: 1.857 MB / 387.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.571, allocations: 7.984 kB / 387.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.571, allocations: 0 / 387.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.5723, allocations: 437.9 kB / 388.3 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004449/0.5727, allocations: 20 kB / 388.3 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.5742, allocations: 68.41 kB / 388.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.5745, allocations: 60.89 kB / 388.4 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00748/0.582, allocations: 2.407 MB / 390.8 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006052/0.588, allocations: 3.019 MB / 393.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001541/0.5896, allocations: 0.706 MB / 394.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003993/0.5936, allocations: 1.828 MB / 396.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of Backend: time 7.71e-07/0.5936, allocations: 0 / 396.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008235/0.6019, allocations: 2.898 MB / 399.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of SimCode: time 0.01405/0.616, allocations: 6.772 MB / 406.1 MB, free: 2.668 MB / 330.7 MB Notification: Performance of Templates: time 0.08519/0.7012, allocations: 27.62 MB / 433.7 MB, free: 7.152 MB / 362.7 MB