Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="// No comparison signals available. Just an animation test.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadModel(ModelicaTest): time 1.797/1.797, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.108e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.0879, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.4737, allocations: 80.28 MB / 406.8 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.474, allocations: 69.47 kB / 406.9 MB, free: 8.879 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1293/0.6033, allocations: 34.39 MB / 441.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6034, allocations: 4 kB / 441.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.448e-05/0.6034, allocations: 28 kB / 441.3 MB, free: 13.39 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: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.004461/0.6079, allocations: 1.646 MB / 442.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.608, allocations: 8.031 kB / 443 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009105/0.6171, allocations: 1.651 MB / 444.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.6201, allocations: 1.01 MB / 445.6 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.6203, allocations: 129.3 kB / 445.7 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008263/0.6211, allocations: 171.8 kB / 445.9 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009947/0.6311, allocations: 4.902 MB / 450.8 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.328e-05/0.6312, allocations: 31.69 kB / 450.8 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004905/0.6317, allocations: 90.19 kB / 450.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008833/0.6326, allocations: 0.5147 MB / 451.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008625/0.6412, allocations: 4 MB / 455.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03136/0.6726, allocations: 24.58 MB / 480 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.6747, allocations: 1.174 MB / 481.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/0.6754, allocations: 339.2 kB / 481.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.6754, allocations: 11.89 kB / 481.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.6754, allocations: 34.56 kB / 481.6 MB, free: 6.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 4.751e-06/0.6755, allocations: 0 / 481.6 MB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001748/0.6772, allocations: 0.7531 MB / 482.3 MB, free: 5.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/0.6773, allocations: 118.8 kB / 482.4 MB, free: 5.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004417/0.6818, allocations: 1.912 MB / 484.4 MB, free: 3.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.6819, allocations: 29.7 kB / 484.4 MB, free: 3.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.6836, allocations: 1.635 MB / 486 MB, free: 1.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.6841, allocations: 261 kB / 486.3 MB, free: 1.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.6843, allocations: 67.88 kB / 486.3 MB, free: 1.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003891/0.6847, allocations: 461.9 kB / 486.8 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.6866, allocations: 0.8538 MB / 487.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004084/0.6907, allocations: 3.105 MB / 490.8 MB, free: 11.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/0.6942, allocations: 1.669 MB / 492.4 MB, free: 10 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.117e-05/0.6943, allocations: 20 kB / 492.4 MB, free: 9.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.009105/0.7034, allocations: 3.714 MB / 496.2 MB, free: 6.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/0.7035, allocations: 43.95 kB / 496.2 MB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/0.7037, allocations: 80 kB / 496.3 MB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.7038, allocations: 116 kB / 496.4 MB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/0.707, allocations: 0.7524 MB / 497.1 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001961/0.7072, allocations: 163.4 kB / 497.3 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/0.7105, allocations: 491.2 kB / 497.8 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005597/0.7111, allocations: 216 kB / 498 MB, free: 4.418 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 368 * Number of states: 0 () * Number of discrete variables: 9 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005922/0.7117, allocations: 359 kB / 498.3 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.7121, allocations: 165.8 kB / 498.5 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.7126, allocations: 203.6 kB / 498.7 MB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/0.7126, allocations: 8 kB / 498.7 MB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.526e-06/0.7126, allocations: 3.938 kB / 498.7 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.959e-06/0.7127, allocations: 4 kB / 498.7 MB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004788/0.7175, allocations: 2.007 MB / 0.489 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.7175, allocations: 0 / 0.489 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/0.7179, allocations: 63.89 kB / 0.4891 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.828e-06/0.718, allocations: 0 / 0.4891 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.718, allocations: 8 kB / 0.4891 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/0.7181, allocations: 8 kB / 0.4891 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.08e-06/0.7181, allocations: 3.938 kB / 0.4891 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.7197, allocations: 1.051 MB / 0.4901 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.7203, allocations: 238.7 kB / 0.4903 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.7205, allocations: 8 kB / 0.4903 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/0.7213, allocations: 31.95 kB / 0.4904 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.7214, allocations: 19.98 kB / 0.4904 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/0.7214, allocations: 27.94 kB / 0.4904 GB, free: 92 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002947/0.7244, allocations: 1.316 MB / 0.4917 GB, free: 14.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.7244, allocations: 0 / 0.4917 GB, free: 14.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003594/0.728, allocations: 0.491 MB / 0.4922 GB, free: 14.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003563/0.7284, allocations: 127.2 kB / 0.4923 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004454/0.7329, allocations: 1.989 MB / 0.4942 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.175e-06/0.733, allocations: 4.062 kB / 0.4942 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.7336, allocations: 336.9 kB / 0.4946 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.7348, allocations: 144 kB / 0.4947 GB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/0.7424, allocations: 3.208 MB / 0.4978 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/0.7451, allocations: 1.826 MB / 0.4996 GB, free: 6.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/0.7456, allocations: 143.4 kB / 0.4998 GB, free: 6.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.38e-06/0.7456, allocations: 4 kB / 0.4998 GB, free: 6.406 MB / 410.7 MB Notification: Performance of Templates: time 0.3114/1.057, allocations: 24.69 MB / 0.5239 GB, free: 120.5 MB / 426.7 MB