Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.3/2.3, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004292, allocations: 8 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3681, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.5277, allocations: 87.59 MB / 457.4 MB, free: 3.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.5281, allocations: 83.95 kB / 457.5 MB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06815/0.5963, allocations: 16.47 MB / 473.9 MB, free: 2.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5963, allocations: 0 / 473.9 MB, free: 2.336 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.454e-05/0.5964, allocations: 23.94 kB / 474 MB, free: 2.312 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.002522/0.5989, allocations: 1.049 MB / 475 MB, free: 1.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.599, allocations: 12.03 kB / 475 MB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/0.6012, allocations: 230.4 kB / 475.2 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.6026, allocations: 0.5549 MB / 475.8 MB, free: 384 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/0.6027, allocations: 73.97 kB / 475.9 MB, free: 312 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.603, allocations: 83.98 kB / 476 MB, free: 228 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.302/0.9049, allocations: 1.72 MB / 477.7 MB, free: 90.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-05/0.905, allocations: 7.906 kB / 477.7 MB, free: 90.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.9052, allocations: 42.95 kB / 477.7 MB, free: 90.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006201/0.9059, allocations: 176.2 kB / 477.9 MB, free: 90.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00372/0.9096, allocations: 1.182 MB / 479.1 MB, free: 90.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.9208, allocations: 7.433 MB / 486.5 MB, free: 86.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.9215, allocations: 185.3 kB / 486.7 MB, free: 86.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.9216, allocations: 2.391 kB / 486.7 MB, free: 86.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.9216, allocations: 35.25 kB / 486.7 MB, free: 86.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.926e-06/0.9216, allocations: 0 / 486.7 MB, free: 86.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.001432/0.923, allocations: 379 kB / 487.1 MB, free: 86.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.9231, allocations: 60.36 kB / 487.2 MB, free: 86.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.9247, allocations: 0.9286 MB / 488.1 MB, free: 85.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.9248, allocations: 25.7 kB / 488.1 MB, free: 85.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.9252, allocations: 0.7089 MB / 488.8 MB, free: 85.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.9253, allocations: 60.22 kB / 488.9 MB, free: 85.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.9253, allocations: 23.31 kB / 488.9 MB, free: 85.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.9254, allocations: 350.9 kB / 489.2 MB, free: 84.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006904/0.9261, allocations: 256.3 kB / 489.5 MB, free: 84.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009699/0.9271, allocations: 0.9299 MB / 490.4 MB, free: 83.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/0.9281, allocations: 468.4 kB / 490.9 MB, free: 83.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.9282, allocations: 5.812 kB / 490.9 MB, free: 83.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002512/0.9307, allocations: 1.104 MB / 492 MB, free: 83.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.9308, allocations: 16.09 kB / 492 MB, free: 83.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.9308, allocations: 26.36 kB / 492 MB, free: 83.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.473e-05/0.9309, allocations: 48.72 kB / 492.1 MB, free: 83.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.9321, allocations: 238 kB / 492.3 MB, free: 83.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.417e-05/0.9322, allocations: 58.02 kB / 492.4 MB, free: 83.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.9333, allocations: 155.1 kB / 492.5 MB, free: 82.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/0.9334, allocations: 62.5 kB / 492.6 MB, free: 82.97 MB / 394.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.0008196/0.9342, allocations: 470.7 kB / 493 MB, free: 82.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.9344, allocations: 70.22 kB / 493.1 MB, free: 82.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.9354, allocations: 317.8 kB / 493.4 MB, free: 82.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.9355, allocations: 0 / 493.4 MB, free: 82.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.9355, allocations: 3.844 kB / 493.4 MB, free: 82.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.9355, allocations: 3.953 kB / 493.4 MB, free: 82.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.9367, allocations: 0.7316 MB / 494.2 MB, free: 82.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.9367, allocations: 3.812 kB / 494.2 MB, free: 82.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.9371, allocations: 38.33 kB / 494.2 MB, free: 82.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.9371, allocations: 0 / 494.2 MB, free: 82.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.9371, allocations: 7.406 kB / 494.2 MB, free: 82.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.9372, allocations: 3.938 kB / 494.2 MB, free: 82.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.9372, allocations: 0 / 494.2 MB, free: 82.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009056/0.9381, allocations: 394.4 kB / 494.6 MB, free: 81.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.9383, allocations: 153.6 kB / 494.7 MB, free: 81.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.9385, allocations: 0 / 494.7 MB, free: 81.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.9389, allocations: 18.14 kB / 494.8 MB, free: 81.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.939, allocations: 16.42 kB / 494.8 MB, free: 81.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.9391, allocations: 7.656 kB / 494.8 MB, free: 81.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.9401, allocations: 0.6026 MB / 495.4 MB, free: 81.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.9401, allocations: 0 / 495.4 MB, free: 81.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001214/0.9413, allocations: 218.1 kB / 495.6 MB, free: 81.49 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 () * 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.0001957/0.9415, allocations: 111.8 kB / 495.7 MB, free: 81.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.9433, allocations: 0.5927 MB / 496.3 MB, free: 81.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9433, allocations: 0 / 496.3 MB, free: 81.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.9437, allocations: 113 kB / 496.4 MB, free: 81.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.9444, allocations: 85.95 kB / 496.5 MB, free: 81.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.9481, allocations: 1.948 MB / 498.4 MB, free: 80.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008564/0.949, allocations: 1.165 MB / 499.6 MB, free: 79.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.9493, allocations: 59.36 kB / 499.7 MB, free: 79.22 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.9493, allocations: 0 / 499.7 MB, free: 79.22 MB / 394.7 MB Notification: Performance of Templates: time 0.02043/0.9697, allocations: 9.949 MB / 0.4977 GB, free: 72.36 MB / 394.7 MB