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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.9/1.9, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.599e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2613, allocations: 48.68 MB / 320 MB, free: 14.37 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.3859, allocations: 80.4 MB / 400.4 MB, free: 24 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.3861, allocations: 76.03 kB / 400.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06185/0.448, allocations: 16.05 MB / 416.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4481, allocations: 0 / 416.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.944e-05/0.4481, allocations: 16 kB / 416.5 MB, free: 15.76 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.001847/0.45, allocations: 0.9799 MB / 417.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.45, allocations: 8.031 kB / 417.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.4517, allocations: 234.4 kB / 417.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.453, allocations: 0.5651 MB / 418.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.4531, allocations: 31.98 kB / 418.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.4533, allocations: 55.94 kB / 418.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002057/0.4553, allocations: 0.9648 MB / 419.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.4582, allocations: 1.56 MB / 420.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.4583, allocations: 7.938 kB / 420.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.4584, allocations: 7.938 kB / 420.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004679/0.4589, allocations: 177.4 kB / 421.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0099/0.4688, allocations: 6.939 MB / 428.1 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.4692, allocations: 142.5 kB / 428.2 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.4693, allocations: 76.81 kB / 428.3 MB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.4694, allocations: 0 / 428.3 MB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.4694, allocations: 34.56 kB / 428.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 4.458e-06/0.4694, allocations: 4 kB / 428.3 MB, free: 3.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005477/0.47, allocations: 229 kB / 428.5 MB, free: 3.234 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.47, allocations: 55.34 kB / 428.6 MB, free: 3.168 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4712, allocations: 0.6945 MB / 429.3 MB, free: 2.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.4713, allocations: 29.7 kB / 429.3 MB, free: 2.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006363/0.4719, allocations: 0.7314 MB / 430 MB, free: 1.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.472, allocations: 59.38 kB / 430.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.4721, allocations: 0 / 430.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.4723, allocations: 354.8 kB / 430.4 MB, free: 1.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.4727, allocations: 226.5 kB / 430.7 MB, free: 1.059 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.4738, allocations: 0.914 MB / 431.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.4746, allocations: 439.4 kB / 432 MB, free: 15.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/0.4746, allocations: 12 kB / 432 MB, free: 15.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002023/0.4767, allocations: 0.9429 MB / 433 MB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.4767, allocations: 23.23 kB / 433 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/0.4768, allocations: 28 kB / 433 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.977e-05/0.4768, allocations: 36 kB / 433 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009628/0.4778, allocations: 259.5 kB / 433.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.609e-05/0.4779, allocations: 59.72 kB / 433.4 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009986/0.4789, allocations: 126.5 kB / 433.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.4791, allocations: 68 kB / 433.5 MB, free: 13.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (129): * Single equations (assignments): 129 * 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.0002332/0.4793, allocations: 174.1 kB / 433.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.4794, allocations: 63.16 kB / 433.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000632/0.4801, allocations: 260.6 kB / 434 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.4801, allocations: 4 kB / 434 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4801, allocations: 0 / 434 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.403e-06/0.4801, allocations: 0 / 434 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/0.4811, allocations: 0.5174 MB / 434.6 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.704e-06/0.4811, allocations: 4 kB / 434.6 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.4814, allocations: 39.91 kB / 434.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.544e-06/0.4814, allocations: 0 / 434.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.4815, allocations: 3.984 kB / 434.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.181e-06/0.4815, allocations: 0 / 434.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.633e-06/0.4815, allocations: 11.95 kB / 434.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.482, allocations: 327.6 kB / 434.9 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.4823, allocations: 156.2 kB / 435.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/0.4824, allocations: 0 / 435.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.4829, allocations: 15.98 kB / 435.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.4831, allocations: 15.92 kB / 435.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.4831, allocations: 4 kB / 435.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001374/0.4845, allocations: 495 kB / 435.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.724e-06/0.4846, allocations: 0 / 435.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002367/0.4869, allocations: 214.9 kB / 435.8 MB, free: 11.45 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.000252/0.4872, allocations: 103.2 kB / 435.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.4891, allocations: 0.505 MB / 436.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4891, allocations: 0 / 436.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.4894, allocations: 83.89 kB / 436.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.4903, allocations: 52.36 kB / 436.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.4951, allocations: 1.21 MB / 437.8 MB, free: 9.469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.4971, allocations: 1.167 MB / 438.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.4975, allocations: 59.42 kB / 439 MB, free: 8.215 MB / 378.7 MB Notification: Performance of SimCode: time 2.348e-06/0.4975, allocations: 0 / 439 MB, free: 8.215 MB / 378.7 MB Notification: Performance of Templates: time 0.2975/0.795, allocations: 9.282 MB / 448.3 MB, free: 104.7 MB / 378.7 MB