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.UserDefinedGravityField.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.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003467, allocations: 15.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08965, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.02326/0.113, allocations: 14.81 MB / 323.9 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.1252, allocations: 4.658 MB / 328.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.1276, allocations: 67.88 kB / 328.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.13, allocations: 0.6999 MB / 329.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008436/0.1385, allocations: 2.291 MB / 331.6 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.1406, allocations: 459.2 kB / 332 MB, free: 9.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.1442, allocations: 1.474 MB / 333.5 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003174/0.1474, allocations: 1.561 MB / 335.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.1487, allocations: 0.6345 MB / 335.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.1503, allocations: 0.8449 MB / 336.6 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004117/0.1508, allocations: 84 kB / 336.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.1529, allocations: 0.7801 MB / 337.4 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.1543, allocations: 0.9117 MB / 338.3 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006912/0.155, allocations: 0.4961 MB / 338.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005233/0.1603, allocations: 3.095 MB / 341.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1603, allocations: 0 / 341.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1603, allocations: 0 / 341.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.534e-05/0.1604, allocations: 0 / 341.9 MB, free: 15.35 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.00814/0.1686, allocations: 2.625 MB / 344.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1686, allocations: 8.031 kB / 344.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.18, allocations: 1.907 MB / 346.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004695/0.1847, allocations: 1.617 MB / 348.1 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.185, allocations: 123 kB / 348.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006001/0.1856, allocations: 155.9 kB / 348.4 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.2015, allocations: 6.592 MB / 354.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.2017, allocations: 27.72 kB / 355 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004015/0.2021, allocations: 91.83 kB / 355.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003848/0.2059, allocations: 1.406 MB / 356.5 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.2235, allocations: 5.865 MB / 362.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2906/0.5141, allocations: 25.71 MB / 388 MB, free: 43.6 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009325/0.5235, allocations: 2.587 MB / 390.6 MB, free: 42.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/0.5352, allocations: 4.842 MB / 395.5 MB, free: 40.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.5353, allocations: 49.14 kB / 395.5 MB, free: 39.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 5.27e-06/0.5353, allocations: 0 / 395.5 MB, free: 39.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.05242/0.5877, allocations: 10.07 MB / 405.6 MB, free: 34.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.5878, allocations: 140 kB / 405.7 MB, free: 34.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006319/0.5941, allocations: 2.805 MB / 408.5 MB, free: 32.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003183/0.5945, allocations: 37.7 kB / 408.6 MB, free: 32.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001848/0.5964, allocations: 2.047 MB / 410.6 MB, free: 30.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006777/0.5971, allocations: 424.4 kB / 411 MB, free: 30.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/0.5975, allocations: 84.84 kB / 411.1 MB, free: 29.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003284/0.5978, allocations: 490.9 kB / 411.6 MB, free: 29.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004389/0.6022, allocations: 1.421 MB / 413 MB, free: 28.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006054/0.6083, allocations: 4.006 MB / 417 MB, free: 22.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006703/0.615, allocations: 2.331 MB / 419.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.839e-05/0.6152, allocations: 24 kB / 419.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01923/0.6344, allocations: 5.949 MB / 425.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.784e-05/0.6345, allocations: 44 kB / 425.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.611e-05/0.6346, allocations: 92.88 kB / 425.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/0.6385, allocations: 0.8347 MB / 426.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00524/0.6438, allocations: 0.9357 MB / 427.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008295/0.6521, allocations: 4.43 MB / 431.7 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/0.6564, allocations: 236.2 kB / 431.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005664/0.657, allocations: 260 kB / 432.1 MB, free: 7.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 422 * Number of states: 0 () * Number of discrete variables: 18 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (495): * Single equations (assignments): 491 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002495/0.6595, allocations: 1.369 MB / 433.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/0.6601, allocations: 229 kB / 433.7 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006584/0.6667, allocations: 2.126 MB / 435.9 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.6668, allocations: 7.938 kB / 435.9 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6668, allocations: 8 kB / 435.9 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.6682, allocations: 457.9 kB / 436.3 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004862/0.6687, allocations: 13.61 kB / 436.3 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.6705, allocations: 79.88 kB / 436.4 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.6707, allocations: 56.34 kB / 436.5 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00776/0.6785, allocations: 2.665 MB / 439.1 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007129/0.6857, allocations: 3.352 MB / 442.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00192/0.6876, allocations: 0.8075 MB / 443.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004147/0.6918, allocations: 1.767 MB / 445.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of Backend: time 8.21e-07/0.6918, allocations: 0 / 445.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008824/0.7007, allocations: 2.884 MB / 447.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of SimCode: time 0.01549/0.7162, allocations: 6.884 MB / 454.8 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of Templates: time 0.08902/0.8053, allocations: 28.66 MB / 483.5 MB, free: 4.109 MB / 362.7 MB