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.187/2.187, allocations: 234.9 MB / 250.5 MB, free: 9.664 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007713/0.0007715, allocations: 16 kB / 314.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3529, allocations: 54.85 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.4854, allocations: 87.59 MB / 456.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.4857, allocations: 83.91 kB / 456.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0644/0.5501, allocations: 16.33 MB / 473.3 MB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.453e-06/0.5501, allocations: 0 / 473.3 MB, free: 4.508 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.507e-05/0.5502, allocations: 16 kB / 473.3 MB, free: 4.492 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.002111/0.5523, allocations: 1.045 MB / 474.3 MB, free: 3.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5524, allocations: 8.031 kB / 474.3 MB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.5541, allocations: 230.4 kB / 474.6 MB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.5555, allocations: 0.5666 MB / 475.1 MB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.693e-05/0.5556, allocations: 65.98 kB / 475.2 MB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.5558, allocations: 87.97 kB / 475.3 MB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003735/0.5596, allocations: 1.716 MB / 477 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.5596, allocations: 15.81 kB / 477 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.5598, allocations: 47.92 kB / 477.1 MB, free: 460 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004532/0.5603, allocations: 177.4 kB / 477.2 MB, free: 276 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.5632, allocations: 1.176 MB / 478.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.574, allocations: 7.437 MB / 485.8 MB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.5746, allocations: 182.5 kB / 486 MB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.5747, allocations: 3.984 kB / 486 MB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.5747, allocations: 38.5 kB / 486.1 MB, free: 7.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.487e-06/0.5747, allocations: 4 kB / 486.1 MB, free: 7.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001156/0.5759, allocations: 380.9 kB / 486.4 MB, free: 6.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.576, allocations: 51.41 kB / 486.5 MB, free: 6.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.5775, allocations: 0.8316 MB / 487.3 MB, free: 5.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.5775, allocations: 25.7 kB / 487.3 MB, free: 5.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006372/0.5782, allocations: 0.7083 MB / 488.1 MB, free: 5.098 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.5783, allocations: 59.38 kB / 488.1 MB, free: 5.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.5784, allocations: 20 kB / 488.1 MB, free: 5.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.5786, allocations: 354.8 kB / 488.5 MB, free: 4.664 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006563/0.5792, allocations: 261.8 kB / 488.7 MB, free: 4.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.5805, allocations: 0.9228 MB / 489.7 MB, free: 3.145 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009811/0.5815, allocations: 463.5 kB / 490.1 MB, free: 2.691 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/0.5815, allocations: 8 kB / 490.1 MB, free: 2.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002566/0.5841, allocations: 1.115 MB / 491.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.5841, allocations: 12 kB / 491.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/0.5842, allocations: 28 kB / 491.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-05/0.5843, allocations: 32 kB / 491.3 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000981/0.5853, allocations: 248 kB / 491.5 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.729e-05/0.5853, allocations: 51.8 kB / 491.6 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.5864, allocations: 154.4 kB / 491.7 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.5865, allocations: 64 kB / 491.8 MB, free: 0.9844 MB / 410.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.0008892/0.5874, allocations: 470.8 kB / 492.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.5876, allocations: 67.16 kB / 492.3 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009592/0.5886, allocations: 324 kB / 492.7 MB, free: 124 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.355e-06/0.5886, allocations: 8 kB / 492.7 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.617e-06/0.5886, allocations: 0 / 492.7 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.957e-06/0.5886, allocations: 3.984 kB / 492.7 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.59, allocations: 0.7276 MB / 493.4 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.501e-06/0.5901, allocations: 0 / 493.4 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.5903, allocations: 35.97 kB / 493.4 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.427e-06/0.5904, allocations: 0 / 493.4 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.5904, allocations: 8 kB / 493.4 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5904, allocations: 3.938 kB / 493.4 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.314e-06/0.5904, allocations: 7.938 kB / 493.4 MB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.5913, allocations: 402.3 kB / 493.8 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.5916, allocations: 144.2 kB / 494 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.5917, allocations: 4 kB / 494 MB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.5921, allocations: 15.98 kB / 494 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/0.5922, allocations: 19.97 kB / 494 MB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.5922, allocations: 0 / 494 MB, free: 14.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.5934, allocations: 0.6083 MB / 494.6 MB, free: 14.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.5934, allocations: 0 / 494.6 MB, free: 14.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001319/0.5948, allocations: 223.2 kB / 494.8 MB, free: 13.84 MB / 426.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.0001991/0.595, allocations: 99.19 kB / 494.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.5966, allocations: 0.5914 MB / 495.5 MB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.875e-06/0.5966, allocations: 4 kB / 495.5 MB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.5969, allocations: 107.9 kB / 495.6 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.5976, allocations: 79.17 kB / 495.7 MB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.6016, allocations: 1.95 MB / 497.7 MB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.6029, allocations: 1.163 MB / 498.8 MB, free: 9.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.6031, allocations: 59.42 kB / 498.9 MB, free: 9.727 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6031, allocations: 0 / 498.9 MB, free: 9.727 MB / 426.7 MB Notification: Performance of Templates: time 0.2649/0.8681, allocations: 9.937 MB / 0.4969 GB, free: 121 MB / 426.7 MB