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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.28/2.28, allocations: 234.9 MB / 250.5 MB, free: 10.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004355, allocations: 16 kB / 314.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2776, allocations: 54.87 MB / 369.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.02326/0.3009, allocations: 17.2 MB / 386.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009755/0.3107, allocations: 3.809 MB / 390.2 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.3136, allocations: 79.81 kB / 390.3 MB, free: 5.586 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.3163, allocations: 0.8283 MB / 391.1 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007918/0.3243, allocations: 2.295 MB / 393.4 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.325, allocations: 51.89 kB / 393.4 MB, free: 2.398 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008943/0.3259, allocations: 395.1 kB / 393.8 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.3275, allocations: 0.7869 MB / 394.6 MB, free: 1.199 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.3279, allocations: 191.2 kB / 394.8 MB, free: 1.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.3284, allocations: 274.9 kB / 395.1 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.551e-05/0.3285, allocations: 28 kB / 395.1 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.3287, allocations: 67.89 kB / 395.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.3291, allocations: 307.2 kB / 395.5 MB, free: 356 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.3293, allocations: 189.1 kB / 395.6 MB, free: 160 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.3306, allocations: 0.9514 MB / 396.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.63e-06/0.3307, allocations: 7.938 kB / 396.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.137e-06/0.3307, allocations: 0 / 396.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.3307, allocations: 4 kB / 396.6 MB, free: 15.19 MB / 330.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.001941/0.3327, allocations: 1.014 MB / 397.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3327, allocations: 12.03 kB / 397.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.3338, allocations: 166.4 kB / 397.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008995/0.3347, allocations: 476.4 kB / 398.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.3348, allocations: 45.28 kB / 398.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.3349, allocations: 63.97 kB / 398.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.338, allocations: 1.725 MB / 400.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.338, allocations: 11.89 kB / 400.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/0.3381, allocations: 27.97 kB / 400.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009417/0.3391, allocations: 409.1 kB / 400.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.3419, allocations: 1.184 MB / 401.7 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009762/0.3517, allocations: 6.509 MB / 408.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.3524, allocations: 178.5 kB / 408.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.3524, allocations: 8 kB / 408.4 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.3525, allocations: 34.55 kB / 408.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.458e-06/0.3525, allocations: 0 / 408.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.001227/0.3537, allocations: 380.6 kB / 408.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.3538, allocations: 55.34 kB / 408.9 MB, free: 2.422 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.3555, allocations: 0.9262 MB / 409.8 MB, free: 1.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.3556, allocations: 33.7 kB / 409.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/0.3563, allocations: 0.7083 MB / 410.5 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.3565, allocations: 55.44 kB / 410.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.3565, allocations: 20 kB / 410.6 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.3567, allocations: 354.8 kB / 411 MB, free: 300 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/0.3574, allocations: 261.8 kB / 411.2 MB, free: 40 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.3587, allocations: 0.9306 MB / 412.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.3597, allocations: 455.9 kB / 412.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.3597, allocations: 4 kB / 412.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002586/0.3623, allocations: 1.119 MB / 413.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.3624, allocations: 17.09 kB / 413.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/0.3625, allocations: 28 kB / 413.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.295e-05/0.3626, allocations: 40.03 kB / 413.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009544/0.3635, allocations: 247.5 kB / 414 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-05/0.3636, allocations: 47.84 kB / 414.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.3646, allocations: 158.4 kB / 414.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.3648, allocations: 67.98 kB / 414.3 MB, free: 12.6 MB / 346.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.000822/0.3656, allocations: 466.8 kB / 414.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.3658, allocations: 71.06 kB / 414.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009506/0.3667, allocations: 316.1 kB / 415.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3667, allocations: 4 kB / 415.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.778e-06/0.3668, allocations: 3.984 kB / 415.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.556e-06/0.3668, allocations: 3.984 kB / 415.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.3681, allocations: 0.7392 MB / 415.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3681, allocations: 0 / 415.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.3684, allocations: 35.97 kB / 415.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.512e-06/0.3684, allocations: 4 kB / 415.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.3685, allocations: 0 / 415.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3685, allocations: 0 / 415.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.477e-06/0.3685, allocations: 0 / 415.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/0.3694, allocations: 398.6 kB / 416.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.3696, allocations: 148.1 kB / 416.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/0.3697, allocations: 15.88 kB / 416.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.3701, allocations: 11.98 kB / 416.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.3702, allocations: 23.97 kB / 416.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.3702, allocations: 4 kB / 416.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.3713, allocations: 0.6005 MB / 417.1 MB, free: 9.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.35e-07/0.3713, allocations: 0 / 417.1 MB, free: 9.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001219/0.3726, allocations: 219.1 kB / 417.3 MB, free: 9.473 MB / 346.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.0001788/0.3728, allocations: 99.25 kB / 417.4 MB, free: 9.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.3744, allocations: 0.5952 MB / 418 MB, free: 8.777 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.552e-06/0.3744, allocations: 0 / 418 MB, free: 8.777 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.3748, allocations: 115.8 kB / 418.1 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.3754, allocations: 75.44 kB / 418.2 MB, free: 8.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.3793, allocations: 1.957 MB / 420.2 MB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.3805, allocations: 1.16 MB / 421.3 MB, free: 5.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.3808, allocations: 63.42 kB / 421.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of SimCode: time 2.045e-06/0.3808, allocations: 0 / 421.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of Templates: time 0.02019/0.401, allocations: 9.967 MB / 431.3 MB, free: 11.39 MB / 362.7 MB