Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadModel(Modelica): time 1.908/1.908, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08964, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01826/0.1079, allocations: 11.48 MB / 320.5 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.1185, allocations: 3.984 MB / 324.5 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.1203, allocations: 55.81 kB / 324.6 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.1219, allocations: 0.5288 MB / 325.1 MB, free: 272 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006661/0.1286, allocations: 1.843 MB / 327 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.1303, allocations: 407.2 kB / 327.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00359/0.1339, allocations: 1.458 MB / 328.8 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.1365, allocations: 1.317 MB / 330.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.1376, allocations: 0.5878 MB / 330.7 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.1392, allocations: 0.8411 MB / 331.6 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003642/0.1396, allocations: 84 kB / 331.6 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.1416, allocations: 0.7567 MB / 332.4 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.1428, allocations: 0.8766 MB / 333.3 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006475/0.1435, allocations: 492.1 kB / 333.8 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005008/0.1485, allocations: 2.966 MB / 336.7 MB, free: 4.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1486, allocations: 3.938 kB / 336.7 MB, free: 4.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1486, allocations: 0 / 336.7 MB, free: 4.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.1487, allocations: 0 / 336.7 MB, free: 4.594 MB / 282.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.00733/0.1561, allocations: 2.524 MB / 339.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1561, allocations: 12.03 kB / 339.3 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.1685, allocations: 1.974 MB / 341.2 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/0.1727, allocations: 1.53 MB / 342.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.1729, allocations: 126.8 kB / 342.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005029/0.1734, allocations: 151.8 kB / 343 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01421/0.1876, allocations: 6.401 MB / 349.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.948e-05/0.1878, allocations: 31.75 kB / 349.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003809/0.1881, allocations: 79.86 kB / 349.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003644/0.1918, allocations: 1.378 MB / 350.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.2081, allocations: 5.689 MB / 356.6 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2874/0.4956, allocations: 26.23 MB / 382.8 MB, free: 42.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007006/0.5026, allocations: 2.263 MB / 385.1 MB, free: 41.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.5028, allocations: 8.734 kB / 385.1 MB, free: 41.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.5028, allocations: 44.89 kB / 385.2 MB, free: 41.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 5.11e-06/0.5028, allocations: 4.281 kB / 385.2 MB, free: 41.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.03419/0.537, allocations: 8.855 MB / 394 MB, free: 38.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5371, allocations: 142.8 kB / 394.2 MB, free: 37.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/0.542, allocations: 2.911 MB / 397.1 MB, free: 36.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.5423, allocations: 41.17 kB / 397.1 MB, free: 36.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.5437, allocations: 2.065 MB / 399.2 MB, free: 35.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/0.5442, allocations: 445.7 kB / 399.6 MB, free: 34.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.5445, allocations: 82.81 kB / 399.7 MB, free: 34.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.5448, allocations: 0.4918 MB / 400.2 MB, free: 34.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003044/0.5478, allocations: 1.386 MB / 401.6 MB, free: 33.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00436/0.5522, allocations: 4.178 MB / 405.7 MB, free: 28.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004879/0.5571, allocations: 2.361 MB / 408.1 MB, free: 27.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.494e-05/0.5573, allocations: 28 kB / 408.1 MB, free: 27.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=566) (initialization): time 0.01539/0.5727, allocations: 6.03 MB / 414.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/0.5728, allocations: 48 kB / 414.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.5729, allocations: 100 kB / 414.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003744/0.5767, allocations: 0.8173 MB / 415.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005168/0.5819, allocations: 0.9824 MB / 416.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007761/0.5897, allocations: 4.23 MB / 420.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/0.5939, allocations: 257.3 kB / 420.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005895/0.5945, allocations: 276 kB / 420.9 MB, free: 14.77 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.002437/0.597, allocations: 1.363 MB / 422.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000532/0.5975, allocations: 229 kB / 422.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00585/0.6034, allocations: 1.853 MB / 424.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/0.6034, allocations: 3.984 kB / 424.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6035, allocations: 4 kB / 424.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.6048, allocations: 445.8 kB / 424.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/0.6052, allocations: 12 kB / 424.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.6067, allocations: 68.48 kB / 424.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.607, allocations: 64.33 kB / 424.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006642/0.6136, allocations: 2.409 MB / 427.3 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005116/0.6188, allocations: 3.014 MB / 430.3 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001316/0.6201, allocations: 0.7063 MB / 431 MB, free: 4.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003475/0.6236, allocations: 1.828 MB / 432.8 MB, free: 2.734 MB / 314.7 MB Notification: Performance of Backend: time 9.02e-07/0.6237, allocations: 0 / 432.8 MB, free: 2.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007563/0.6312, allocations: 2.893 MB / 435.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of SimCode: time 0.01441/0.6457, allocations: 6.776 MB / 442.5 MB, free: 9.043 MB / 330.7 MB Notification: Performance of Templates: time 0.08491/0.7307, allocations: 27.62 MB / 470.1 MB, free: 13.5 MB / 362.7 MB