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.Arrow.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.Arrow,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.Arrow") Notification: Performance of loadModel(ModelicaTest): time 1.804/1.804, allocations: 209.3 MB / 224.9 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007435/0.0007439, allocations: 12 kB / 282.6 MB, free: 9.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.08969, allocations: 48.71 MB / 331.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3311/0.4209, allocations: 81.13 MB / 412.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.4212, allocations: 87.89 kB / 412.5 MB, free: 3.824 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0631/0.4843, allocations: 16.37 MB / 428.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4844, allocations: 0 / 428.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.85e-05/0.4844, allocations: 20 kB / 428.9 MB, free: 3.324 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002129/0.4866, allocations: 1.045 MB / 429.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4866, allocations: 8.031 kB / 429.9 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.4883, allocations: 230.4 kB / 430.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.4896, allocations: 0.5704 MB / 430.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/0.4897, allocations: 69.97 kB / 430.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.4899, allocations: 83.98 kB / 430.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/0.4935, allocations: 1.727 MB / 432.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.4936, allocations: 7.938 kB / 432.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.4938, allocations: 39.98 kB / 432.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004404/0.4942, allocations: 173.3 kB / 432.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.4971, allocations: 1.18 MB / 434 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.5076, allocations: 7.434 MB / 441.4 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.5083, allocations: 182.5 kB / 441.6 MB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.5083, allocations: 0 / 441.6 MB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.5084, allocations: 34.56 kB / 441.7 MB, free: 5.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.051e-06/0.5084, allocations: 0 / 441.7 MB, free: 5.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001153/0.5095, allocations: 380.8 kB / 442 MB, free: 5.594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5096, allocations: 55.41 kB / 442.1 MB, free: 5.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.5111, allocations: 0.8512 MB / 442.9 MB, free: 4.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.5112, allocations: 25.7 kB / 443 MB, free: 4.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006242/0.5118, allocations: 0.7122 MB / 443.7 MB, free: 3.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/0.5119, allocations: 55.44 kB / 443.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.512, allocations: 16 kB / 443.7 MB, free: 3.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.5122, allocations: 350.8 kB / 444.1 MB, free: 3.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.5129, allocations: 265.8 kB / 444.3 MB, free: 3.234 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.5141, allocations: 0.9151 MB / 445.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009596/0.5151, allocations: 467.4 kB / 445.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/0.5151, allocations: 8 kB / 445.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002486/0.5176, allocations: 1.115 MB / 446.8 MB, free: 404 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.5177, allocations: 16 kB / 446.8 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.5177, allocations: 27.98 kB / 446.9 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.236e-05/0.5178, allocations: 36 kB / 446.9 MB, free: 324 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.5187, allocations: 239.6 kB / 447.1 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.616e-05/0.5188, allocations: 51.73 kB / 447.2 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.5199, allocations: 162.6 kB / 447.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.52, allocations: 72.05 kB / 447.4 MB, free: 15.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * Number of states: 0 () * Number of discrete variables: 18 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * Array equations: 0 * 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.0008586/0.5209, allocations: 462.8 kB / 447.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.521, allocations: 74.84 kB / 448 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/0.522, allocations: 324.2 kB / 448.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.33e-06/0.522, allocations: 4 kB / 448.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.522, allocations: 0 / 448.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5221, allocations: 0 / 448.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.5234, allocations: 0.7277 MB / 449 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.003e-06/0.5234, allocations: 0 / 449 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.5237, allocations: 47.86 kB / 449 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.586e-06/0.5237, allocations: 0 / 449 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.5238, allocations: 3.984 kB / 449 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.666e-06/0.5238, allocations: 4 kB / 449.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5238, allocations: 0 / 449.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.5247, allocations: 390.5 kB / 449.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.525, allocations: 164.1 kB / 449.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.5251, allocations: 11.94 kB / 449.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.5255, allocations: 15.98 kB / 449.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.5255, allocations: 15.98 kB / 449.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.5256, allocations: 4 kB / 449.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001078/0.5267, allocations: 0.6044 MB / 450.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.75e-07/0.5267, allocations: 3.938 kB / 450.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001239/0.5279, allocations: 227.1 kB / 450.5 MB, free: 12.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0001801/0.5281, allocations: 107.2 kB / 450.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.5296, allocations: 0.5901 MB / 451.2 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.19e-06/0.5296, allocations: 1.25 kB / 451.2 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.5299, allocations: 107.9 kB / 451.3 MB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.5305, allocations: 84.75 kB / 451.4 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/0.5343, allocations: 1.963 MB / 453.3 MB, free: 9.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.5355, allocations: 1.16 MB / 454.5 MB, free: 8.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.5357, allocations: 59.42 kB / 454.5 MB, free: 8.523 MB / 378.7 MB Notification: Performance of SimCode: time 1.587e-06/0.5358, allocations: 0 / 454.5 MB, free: 8.523 MB / 378.7 MB Notification: Performance of Templates: time 0.01908/0.5549, allocations: 9.944 MB / 464.5 MB, free: 14.59 MB / 394.7 MB