Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.896/1.896, allocations: 209.2 MB / 225.4 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004366, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.364, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.5098, allocations: 81.15 MB / 412.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5101, allocations: 79.95 kB / 413 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08772/0.5978, allocations: 16.51 MB / 429.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.5979, allocations: 0 / 429.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.773e-05/0.598, allocations: 20 kB / 429.5 MB, free: 12.56 MB / 362.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.003481/0.6015, allocations: 1.053 MB / 430.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6016, allocations: 12.03 kB / 430.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.6039, allocations: 230.4 kB / 430.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.6054, allocations: 0.5627 MB / 431.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.6055, allocations: 61.98 kB / 431.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.6057, allocations: 87.97 kB / 431.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004082/0.6098, allocations: 1.731 MB / 433.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.6099, allocations: 11.88 kB / 433.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.6101, allocations: 47.97 kB / 433.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005792/0.6107, allocations: 169.4 kB / 433.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.6142, allocations: 1.18 MB / 434.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.626, allocations: 7.434 MB / 442.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.6267, allocations: 170.5 kB / 442.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.6268, allocations: 7.984 kB / 442.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.6268, allocations: 46.48 kB / 442.3 MB, free: 15.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.565e-06/0.6268, allocations: 0 / 442.3 MB, free: 15.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001427/0.6282, allocations: 376.6 kB / 442.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.6283, allocations: 51.41 kB / 442.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.63, allocations: 0.9457 MB / 443.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.6301, allocations: 29.7 kB / 443.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005775/0.6306, allocations: 0.7006 MB / 444.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.6307, allocations: 59.42 kB / 444.5 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.6308, allocations: 20 kB / 444.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.631, allocations: 354.8 kB / 444.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/0.6318, allocations: 257.8 kB / 445.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.6331, allocations: 0.9267 MB / 446 MB, free: 11.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.6342, allocations: 463.5 kB / 446.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/0.6343, allocations: 8 kB / 446.5 MB, free: 10.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002841/0.6371, allocations: 1.123 MB / 447.6 MB, free: 9.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.6372, allocations: 15.94 kB / 447.6 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/0.6372, allocations: 28 kB / 447.7 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.291e-05/0.6373, allocations: 32 kB / 447.7 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.6386, allocations: 248.2 kB / 447.9 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.465e-05/0.6387, allocations: 47.8 kB / 448 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.6398, allocations: 162.3 kB / 448.1 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.6399, allocations: 67.98 kB / 448.2 MB, free: 8.914 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.0009061/0.6408, allocations: 450.9 kB / 448.6 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.641, allocations: 71.11 kB / 448.7 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.6422, allocations: 340.1 kB / 449 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.6422, allocations: 0 / 449 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.6422, allocations: 0 / 449 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.6422, allocations: 0 / 449 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.6435, allocations: 0.7277 MB / 449.8 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6436, allocations: 4 kB / 449.8 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.6439, allocations: 31.97 kB / 449.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.644, allocations: 3.953 kB / 449.8 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.644, allocations: 3.984 kB / 449.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.644, allocations: 11.94 kB / 449.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.644, allocations: 0 / 449.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.645, allocations: 390.5 kB / 450.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.6454, allocations: 172.1 kB / 450.4 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.6455, allocations: 3.953 kB / 450.4 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.646, allocations: 23.92 kB / 450.4 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.6461, allocations: 7.984 kB / 450.4 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.6461, allocations: 7.984 kB / 450.4 MB, free: 6.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001172/0.6473, allocations: 0.6083 MB / 451 MB, free: 5.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6473, allocations: 4 kB / 451 MB, free: 5.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001189/0.6485, allocations: 211.3 kB / 451.2 MB, free: 5.781 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.0002066/0.6487, allocations: 111.1 kB / 451.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.6504, allocations: 0.5953 MB / 451.9 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6505, allocations: 0 / 451.9 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.6509, allocations: 103.9 kB / 452 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.6515, allocations: 88.05 kB / 452.1 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.6558, allocations: 1.965 MB / 454.1 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.657, allocations: 1.171 MB / 455.3 MB, free: 1.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.6573, allocations: 59.42 kB / 455.3 MB, free: 1.621 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6573, allocations: 0 / 455.3 MB, free: 1.621 MB / 378.7 MB Notification: Performance of Templates: time 0.02373/0.681, allocations: 9.95 MB / 465.3 MB, free: 7.676 MB / 394.7 MB