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.908/1.908, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004322, allocations: 8 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2847, allocations: 48.7 MB / 331.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.02166/0.3064, allocations: 17.2 MB / 348.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.3169, allocations: 3.797 MB / 352.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003457/0.3204, allocations: 72.84 kB / 352.2 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.3232, allocations: 0.8348 MB / 353.1 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008295/0.3316, allocations: 2.299 MB / 355.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.3323, allocations: 52.7 kB / 355.4 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009122/0.3333, allocations: 401 kB / 355.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.3348, allocations: 0.7781 MB / 356.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.3352, allocations: 200.4 kB / 356.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.3357, allocations: 269.3 kB / 357.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/0.3359, allocations: 28.12 kB / 357.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.3361, allocations: 67.64 kB / 357.2 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.3365, allocations: 317.9 kB / 357.5 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.3368, allocations: 191.9 kB / 357.7 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.3381, allocations: 0.95 MB / 358.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.051e-06/0.3381, allocations: 0 / 358.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.42e-06/0.3381, allocations: 0 / 358.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.3382, allocations: 0 / 358.6 MB, free: 3.027 MB / 282.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.002041/0.3402, allocations: 1.025 MB / 359.6 MB, free: 1.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3403, allocations: 12.03 kB / 359.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.3413, allocations: 166.5 kB / 359.8 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/0.3422, allocations: 488.2 kB / 360.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.3423, allocations: 45.28 kB / 360.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.3425, allocations: 55.97 kB / 360.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/0.3455, allocations: 1.729 MB / 362.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.3456, allocations: 11.94 kB / 362.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/0.3457, allocations: 31.95 kB / 362.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009315/0.3467, allocations: 409.1 kB / 362.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.3495, allocations: 1.189 MB / 363.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.3597, allocations: 6.513 MB / 370.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.3603, allocations: 182.5 kB / 370.4 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.3603, allocations: 3.984 kB / 370.4 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3604, allocations: 34.56 kB / 370.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 3.353e-06/0.3604, allocations: 0 / 370.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001159/0.3616, allocations: 384.5 kB / 370.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3617, allocations: 63.39 kB / 370.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.3633, allocations: 0.9302 MB / 371.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.3634, allocations: 29.7 kB / 371.9 MB, free: 5.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/0.364, allocations: 0.7045 MB / 372.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.674e-05/0.3641, allocations: 63.42 kB / 372.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.3642, allocations: 16 kB / 372.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.3644, allocations: 350.8 kB / 373 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006645/0.3651, allocations: 261.8 kB / 373.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.3663, allocations: 0.9306 MB / 374.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.3673, allocations: 459.5 kB / 374.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.3673, allocations: 8 kB / 374.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002465/0.3698, allocations: 1.115 MB / 375.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.3698, allocations: 16 kB / 375.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.196e-05/0.3699, allocations: 24 kB / 375.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.473e-05/0.3699, allocations: 36 kB / 375.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/0.3709, allocations: 243.5 kB / 376.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.026e-05/0.371, allocations: 51.78 kB / 376.1 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.372, allocations: 166.6 kB / 376.3 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.3721, allocations: 63.98 kB / 376.3 MB, free: 396 kB / 298.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.0008512/0.373, allocations: 466.8 kB / 376.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.3731, allocations: 75.02 kB / 376.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009152/0.3741, allocations: 316.3 kB / 377.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.467e-06/0.3741, allocations: 4 kB / 377.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.829e-06/0.3741, allocations: 0 / 377.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3741, allocations: 7.984 kB / 377.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.3755, allocations: 0.7237 MB / 377.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3755, allocations: 0 / 377.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.3758, allocations: 39.97 kB / 377.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.736e-06/0.3759, allocations: 0 / 377.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.3759, allocations: 3.953 kB / 377.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.201e-06/0.3759, allocations: 4 kB / 378 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.527e-06/0.3759, allocations: 7.969 kB / 378 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008664/0.3768, allocations: 394.5 kB / 378.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.3771, allocations: 168.1 kB / 378.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.3772, allocations: 11.94 kB / 378.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.3776, allocations: 23.92 kB / 378.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.3777, allocations: 11.98 kB / 378.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.3778, allocations: 7.984 kB / 378.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.3789, allocations: 0.6005 MB / 379.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.749e-06/0.3789, allocations: 0 / 379.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001217/0.3801, allocations: 227 kB / 379.4 MB, free: 13.23 MB / 314.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.0001781/0.3803, allocations: 103.2 kB / 379.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.3818, allocations: 0.5874 MB / 380.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.776e-06/0.3818, allocations: 0 / 380.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.3822, allocations: 115.9 kB / 380.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.3828, allocations: 76.22 kB / 380.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.3866, allocations: 1.965 MB / 382.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.3879, allocations: 1.163 MB / 383.4 MB, free: 9.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.3882, allocations: 59.36 kB / 383.4 MB, free: 9.102 MB / 314.7 MB Notification: Performance of SimCode: time 1.667e-06/0.3882, allocations: 0 / 383.4 MB, free: 9.102 MB / 314.7 MB Notification: Performance of Templates: time 0.01986/0.4081, allocations: 9.948 MB / 393.4 MB, free: 15.16 MB / 330.7 MB