Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.636e-05/1.639e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.276, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.4291, allocations: 86.83 MB / 444.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/0.4296, allocations: 75.95 kB / 444.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08217/0.5118, allocations: 16 MB / 460.9 MB, free: 7.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.418e-06/0.5118, allocations: 0 / 460.9 MB, free: 7.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.363e-05/0.5119, allocations: 19.98 kB / 461 MB, free: 7.738 MB / 394.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.001982/0.5139, allocations: 0.981 MB / 461.9 MB, free: 6.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5139, allocations: 12.03 kB / 462 MB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.5157, allocations: 230.4 kB / 462.2 MB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.5171, allocations: 0.5535 MB / 462.7 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.5172, allocations: 28 kB / 462.8 MB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.5174, allocations: 52 kB / 462.8 MB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00216/0.5196, allocations: 0.9687 MB / 463.8 MB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/0.5225, allocations: 1.556 MB / 465.3 MB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.5226, allocations: 15.88 kB / 465.4 MB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.5227, allocations: 7.938 kB / 465.4 MB, free: 3.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004627/0.5232, allocations: 173.4 kB / 465.5 MB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2535/0.7767, allocations: 6.933 MB / 472.5 MB, free: 90.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.7771, allocations: 144.6 kB / 472.6 MB, free: 90.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.7772, allocations: 78.98 kB / 472.7 MB, free: 90.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.7773, allocations: 4.062 kB / 472.7 MB, free: 90.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.7773, allocations: 35.33 kB / 472.7 MB, free: 90.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.413e-06/0.7773, allocations: 2.875 kB / 472.7 MB, free: 90.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005314/0.7779, allocations: 225.4 kB / 472.9 MB, free: 90.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.7779, allocations: 52.72 kB / 473 MB, free: 90.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.7792, allocations: 0.6861 MB / 473.7 MB, free: 90.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.7792, allocations: 26.73 kB / 473.7 MB, free: 90.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.7797, allocations: 0.7395 MB / 474.4 MB, free: 89.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.7797, allocations: 57.19 kB / 474.5 MB, free: 89.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.7798, allocations: 0 / 474.5 MB, free: 89.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7799, allocations: 356.6 kB / 474.8 MB, free: 89.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.7804, allocations: 222 kB / 475.1 MB, free: 89.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.7811, allocations: 0.9213 MB / 476 MB, free: 88.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/0.7819, allocations: 430.8 kB / 476.4 MB, free: 88.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/0.7819, allocations: 7.859 kB / 476.4 MB, free: 88.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001967/0.7839, allocations: 0.9564 MB / 477.4 MB, free: 88.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.784, allocations: 16.08 kB / 477.4 MB, free: 88.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.784, allocations: 26.06 kB / 477.4 MB, free: 88.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.268e-05/0.7841, allocations: 36.53 kB / 477.4 MB, free: 88.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/0.7851, allocations: 255.4 kB / 477.7 MB, free: 88.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.874e-05/0.7851, allocations: 53.95 kB / 477.8 MB, free: 88.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.7862, allocations: 130.4 kB / 477.9 MB, free: 88.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.7863, allocations: 65.08 kB / 477.9 MB, free: 88.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0002111/0.7865, allocations: 180 kB / 478.1 MB, free: 88.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.7866, allocations: 63.75 kB / 478.2 MB, free: 88.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006201/0.7873, allocations: 259.7 kB / 478.4 MB, free: 88.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.905e-06/0.7873, allocations: 5.75 kB / 478.4 MB, free: 88.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.208e-06/0.7873, allocations: 0.8906 kB / 478.4 MB, free: 88.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.278e-06/0.7873, allocations: 1.312 kB / 478.4 MB, free: 88.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008993/0.7882, allocations: 0.5259 MB / 479 MB, free: 88.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-06/0.7883, allocations: 0 / 479 MB, free: 88.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.7886, allocations: 32.7 kB / 479 MB, free: 88.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.523e-06/0.7886, allocations: 3.938 kB / 479 MB, free: 88.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.7886, allocations: 3.375 kB / 479 MB, free: 88.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7886, allocations: 0 / 479 MB, free: 88.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.718e-06/0.7886, allocations: 6.953 kB / 479 MB, free: 88.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.7891, allocations: 325.2 kB / 479.3 MB, free: 87.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.7893, allocations: 140.8 kB / 479.5 MB, free: 87.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.7894, allocations: 7.5 kB / 479.5 MB, free: 87.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.7897, allocations: 16.64 kB / 479.5 MB, free: 87.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.7898, allocations: 19.83 kB / 479.5 MB, free: 87.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.7899, allocations: 3.812 kB / 479.5 MB, free: 87.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006933/0.7906, allocations: 482.3 kB / 480 MB, free: 87.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.3e-07/0.7906, allocations: 0 / 480 MB, free: 87.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001279/0.7919, allocations: 203.8 kB / 480.2 MB, free: 87.67 MB / 394.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 () * 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.0001509/0.792, allocations: 98.78 kB / 480.3 MB, free: 87.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009856/0.7931, allocations: 0.5134 MB / 480.8 MB, free: 87.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.875e-06/0.7931, allocations: 0 / 480.8 MB, free: 87.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.7932, allocations: 86.94 kB / 480.9 MB, free: 87.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.7938, allocations: 56.14 kB / 480.9 MB, free: 87.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.7963, allocations: 1.209 MB / 482.1 MB, free: 87.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000894/0.7973, allocations: 1.16 MB / 483.3 MB, free: 86.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.7975, allocations: 57.89 kB / 483.4 MB, free: 86.45 MB / 394.7 MB Notification: Performance of SimCode: time 2.362e-06/0.7975, allocations: 0 / 483.4 MB, free: 86.45 MB / 394.7 MB Notification: Performance of Templates: time 0.01525/0.8127, allocations: 9.292 MB / 492.7 MB, free: 84.16 MB / 394.7 MB