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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.991/1.991, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.272e-05/1.285e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2616, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.3864, allocations: 79.61 MB / 399.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.3867, allocations: 71.97 kB / 399.7 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1287/0.5154, allocations: 33.74 MB / 433.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.699e-06/0.5154, allocations: 0 / 433.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.261e-05/0.5155, allocations: 36 kB / 433.5 MB, free: 14.63 MB / 378.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.003708/0.5192, allocations: 1.647 MB / 435.1 MB, free: 12.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.5193, allocations: 8.031 kB / 435.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008751/0.5281, allocations: 1.651 MB / 436.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.5309, allocations: 1.017 MB / 437.8 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.531, allocations: 56 kB / 437.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000533/0.5316, allocations: 96 kB / 437.9 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005981/0.5376, allocations: 2.777 MB / 440.7 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009244/0.5469, allocations: 4.654 MB / 445.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.03e-05/0.547, allocations: 31.69 kB / 445.4 MB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000323/0.5473, allocations: 20 kB / 445.4 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008428/0.5482, allocations: 0.5024 MB / 445.9 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2655/0.8137, allocations: 23.45 MB / 469.4 MB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.8152, allocations: 1.161 MB / 470.5 MB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.8157, allocations: 335.7 kB / 470.9 MB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.8157, allocations: 8.75 kB / 470.9 MB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.8158, allocations: 41.69 kB / 470.9 MB, free: 81.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 4.607e-06/0.8158, allocations: 0 / 470.9 MB, free: 81.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001514/0.8173, allocations: 0.7143 MB / 471.6 MB, free: 81.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.8174, allocations: 106.6 kB / 471.7 MB, free: 81.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/0.8202, allocations: 1.693 MB / 473.4 MB, free: 81.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.8203, allocations: 25.7 kB / 473.4 MB, free: 81.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009729/0.8213, allocations: 1.703 MB / 475.1 MB, free: 80.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.8216, allocations: 266.9 kB / 475.4 MB, free: 80.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.8218, allocations: 0 / 475.4 MB, free: 80.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.822, allocations: 470.8 kB / 475.9 MB, free: 80.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.8234, allocations: 0.8302 MB / 476.7 MB, free: 79.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.826, allocations: 3.187 MB / 479.9 MB, free: 76.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002782/0.8288, allocations: 1.667 MB / 481.5 MB, free: 75.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-05/0.8289, allocations: 28.91 kB / 481.6 MB, free: 75.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.007541/0.8364, allocations: 3.388 MB / 485 MB, free: 74.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.469e-05/0.8365, allocations: 44.22 kB / 485 MB, free: 74.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.953e-05/0.8367, allocations: 85.34 kB / 485.1 MB, free: 74.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.8368, allocations: 123.3 kB / 485.2 MB, free: 74.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/0.8396, allocations: 0.7852 MB / 486 MB, free: 74.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001112/0.8398, allocations: 167.9 kB / 486.2 MB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.843, allocations: 425 kB / 486.6 MB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005508/0.8435, allocations: 227.5 kB / 486.8 MB, free: 74.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 389 * 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 (428): * Single equations (assignments): 425 * 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.0004816/0.844, allocations: 305.1 kB / 487.1 MB, free: 73.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.8443, allocations: 152.8 kB / 487.2 MB, free: 73.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.8447, allocations: 184.7 kB / 487.4 MB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.8448, allocations: 7.219 kB / 487.4 MB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.639e-06/0.8448, allocations: 2.562 kB / 487.4 MB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.64e-06/0.8448, allocations: 0 / 487.4 MB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.8484, allocations: 1.634 MB / 489.1 MB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.354e-06/0.8485, allocations: 3.375 kB / 489.1 MB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.8489, allocations: 57.77 kB / 489.1 MB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.985e-06/0.8489, allocations: 3.969 kB / 489.1 MB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.849, allocations: 3.625 kB / 489.1 MB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.849, allocations: 3.938 kB / 489.1 MB, free: 73.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.849, allocations: 3.469 kB / 489.1 MB, free: 73.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.8504, allocations: 1.028 MB / 490.2 MB, free: 72.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.8507, allocations: 222.8 kB / 490.4 MB, free: 72.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.8509, allocations: 0 / 490.4 MB, free: 72.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/0.8516, allocations: 22 kB / 490.4 MB, free: 72.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/0.8517, allocations: 22 kB / 490.4 MB, free: 72.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.8518, allocations: 20.27 kB / 490.5 MB, free: 72.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001812/0.8536, allocations: 1.114 MB / 491.6 MB, free: 71.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.88e-07/0.8536, allocations: 0 / 491.6 MB, free: 71.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003302/0.8569, allocations: 451 kB / 492 MB, free: 71.76 MB / 378.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.0003174/0.8573, allocations: 124.1 kB / 492.1 MB, free: 71.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.8607, allocations: 1.885 MB / 494 MB, free: 70.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.514e-06/0.8607, allocations: 4 kB / 494 MB, free: 70.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004466/0.8612, allocations: 322.1 kB / 494.3 MB, free: 70.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009204/0.8621, allocations: 142.7 kB / 494.5 MB, free: 69.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006309/0.8684, allocations: 3.178 MB / 497.6 MB, free: 67.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/0.8705, allocations: 1.813 MB / 499.5 MB, free: 65.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/0.871, allocations: 139.2 kB / 499.6 MB, free: 65.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.755e-06/0.8711, allocations: 0 / 499.6 MB, free: 65.43 MB / 378.7 MB Notification: Performance of Templates: time 0.03681/0.9079, allocations: 23.79 MB / 0.5111 GB, free: 43.58 MB / 378.7 MB