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.893/1.893, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.95e-05, allocations: 4 kB / 277.8 MB, free: 12.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08474/0.0848, allocations: 48.71 MB / 326.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3315/0.4163, allocations: 81.06 MB / 407.6 MB, free: 6.172 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.4166, allocations: 78.09 kB / 407.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06435/0.481, allocations: 16.36 MB / 424 MB, free: 5.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.076e-06/0.481, allocations: 0 / 424 MB, free: 5.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.954e-05/0.4811, allocations: 20 kB / 424 MB, free: 5.602 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.001799/0.4829, allocations: 0.9744 MB / 425 MB, free: 4.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.483, allocations: 8.031 kB / 425 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.4847, allocations: 234.4 kB / 425.3 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.4859, allocations: 0.5612 MB / 425.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/0.486, allocations: 65.97 kB / 425.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.4862, allocations: 83.98 kB / 426 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.4894, allocations: 1.684 MB / 427.7 MB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.4895, allocations: 15.86 kB / 427.7 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.4897, allocations: 39.98 kB / 427.7 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004703/0.4901, allocations: 177.4 kB / 427.9 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.4926, allocations: 1.11 MB / 429 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.5031, allocations: 7.433 MB / 436.4 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.5035, allocations: 151.3 kB / 436.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.5037, allocations: 80.81 kB / 436.6 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.5037, allocations: 4.328 kB / 436.7 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.5038, allocations: 34.55 kB / 436.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.479e-06/0.5038, allocations: 3.938 kB / 436.7 MB, free: 8.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005682/0.5044, allocations: 241.2 kB / 436.9 MB, free: 8.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.5044, allocations: 55.41 kB / 437 MB, free: 8.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.5059, allocations: 0.8396 MB / 437.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.5059, allocations: 25.7 kB / 437.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000591/0.5065, allocations: 0.7162 MB / 438.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.5066, allocations: 55.44 kB / 438.6 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.5067, allocations: 20 kB / 438.6 MB, free: 6.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.5069, allocations: 350.8 kB / 439 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.5074, allocations: 221.9 kB / 439.2 MB, free: 5.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.5085, allocations: 0.9034 MB / 440.1 MB, free: 4.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007986/0.5093, allocations: 443.4 kB / 440.5 MB, free: 4.152 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/0.5093, allocations: 11.95 kB / 440.5 MB, free: 4.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002233/0.5115, allocations: 1.056 MB / 441.6 MB, free: 3.078 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.5116, allocations: 16 kB / 441.6 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.5116, allocations: 24 kB / 441.6 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.032e-05/0.5117, allocations: 36 kB / 441.7 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.5127, allocations: 239.5 kB / 441.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.672e-05/0.5128, allocations: 48.22 kB / 442 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.5138, allocations: 162.5 kB / 442.1 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.514, allocations: 60 kB / 442.2 MB, free: 2.504 MB / 362.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 () * 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.0002375/0.5142, allocations: 198.1 kB / 442.4 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.5144, allocations: 75.02 kB / 442.4 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006863/0.5151, allocations: 284.3 kB / 442.7 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-06/0.5151, allocations: 4 kB / 442.7 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.5151, allocations: 0 / 442.7 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.987e-06/0.5151, allocations: 0 / 442.7 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.5164, allocations: 0.7315 MB / 443.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.778e-06/0.5165, allocations: 0 / 443.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.5168, allocations: 43.86 kB / 443.5 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.263e-06/0.5168, allocations: 4 kB / 443.5 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.5168, allocations: 7.938 kB / 443.5 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.452e-06/0.5168, allocations: 0 / 443.5 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-06/0.5168, allocations: 0 / 443.5 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000563/0.5174, allocations: 350.4 kB / 443.8 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.5177, allocations: 160.1 kB / 444 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-05/0.5178, allocations: 7.953 kB / 444 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.5182, allocations: 19.98 kB / 444 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.5183, allocations: 11.97 kB / 444 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.5183, allocations: 8 kB / 444 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001082/0.5194, allocations: 0.6006 MB / 444.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.5194, allocations: 0 / 444.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001228/0.5207, allocations: 211.2 kB / 444.9 MB, free: 15.72 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 () * 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.0001873/0.5209, allocations: 111.2 kB / 445 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.5221, allocations: 0.5401 MB / 445.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.804e-06/0.5221, allocations: 0.5 kB / 445.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.5223, allocations: 87.95 kB / 445.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.5229, allocations: 75.27 kB / 445.7 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.5258, allocations: 1.226 MB / 446.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.527, allocations: 1.163 MB / 448.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.5272, allocations: 63.42 kB / 448.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.082e-06/0.5272, allocations: 0 / 448.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of Templates: time 0.0189/0.5461, allocations: 9.945 MB / 458.1 MB, free: 2.449 MB / 378.7 MB