Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003745/0.003745, allocations: 347 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.901/3.901, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00352/0.003521, allocations: 229.2 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5912/0.5912, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007054/0.0007058, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1195, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.4026/0.5222, allocations: 18.13 MB / 0.6244 GB, free: 82.38 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.5372, allocations: 3.638 MB / 0.628 GB, free: 79.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005359/0.5426, allocations: 73.94 kB / 0.6281 GB, free: 79.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004736/0.5474, allocations: 0.8432 MB / 0.6289 GB, free: 79.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01519/0.5627, allocations: 2.806 MB / 0.6316 GB, free: 78.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.5643, allocations: 52.62 kB / 0.6317 GB, free: 78.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.5667, allocations: 0.7628 MB / 0.6324 GB, free: 78.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.5692, allocations: 0.7945 MB / 0.6332 GB, free: 77.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007375/0.57, allocations: 230.5 kB / 0.6334 GB, free: 77.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.5711, allocations: 364.1 kB / 0.6338 GB, free: 77.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.5714, allocations: 28.06 kB / 0.6338 GB, free: 77.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.5719, allocations: 79.36 kB / 0.6339 GB, free: 77.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000658/0.5726, allocations: 328 kB / 0.6342 GB, free: 77.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.573, allocations: 191 kB / 0.6344 GB, free: 77.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.5752, allocations: 0.948 MB / 0.6353 GB, free: 77.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.5752, allocations: 2.719 kB / 0.6353 GB, free: 77.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.542e-06/0.5752, allocations: 0 / 0.6353 GB, free: 77.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.095e-05/0.5753, allocations: 3.938 kB / 0.6353 GB, free: 77.14 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.003487/0.5788, allocations: 1.039 MB / 0.6363 GB, free: 76.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.5789, allocations: 7.812 kB / 0.6363 GB, free: 76.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.5809, allocations: 163.2 kB / 0.6365 GB, free: 76.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.5824, allocations: 488.1 kB / 0.6369 GB, free: 75.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.764e-05/0.5825, allocations: 46.91 kB / 0.637 GB, free: 75.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.5828, allocations: 57.34 kB / 0.637 GB, free: 75.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005692/0.5885, allocations: 1.731 MB / 0.6387 GB, free: 75.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.5886, allocations: 6.875 kB / 0.6387 GB, free: 75.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.5888, allocations: 28.78 kB / 0.6388 GB, free: 75.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001879/0.5907, allocations: 403.6 kB / 0.6392 GB, free: 75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005395/0.5961, allocations: 1.189 MB / 0.6403 GB, free: 74.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01448/0.6106, allocations: 6.508 MB / 0.6467 GB, free: 68.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6118, allocations: 186.8 kB / 0.6468 GB, free: 68.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/0.6124, allocations: 104.3 kB / 0.6469 GB, free: 68.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.6124, allocations: 13.44 kB / 0.647 GB, free: 68.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.6125, allocations: 31.91 kB / 0.647 GB, free: 68.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 4.399e-06/0.6125, allocations: 0 / 0.647 GB, free: 68.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.002149/0.6147, allocations: 376.4 kB / 0.6473 GB, free: 68.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.6148, allocations: 60.77 kB / 0.6474 GB, free: 68.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.6175, allocations: 0.9424 MB / 0.6483 GB, free: 67.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.6176, allocations: 26.92 kB / 0.6484 GB, free: 67.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006934/0.6183, allocations: 0.6698 MB / 0.649 GB, free: 67.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6184, allocations: 60.02 kB / 0.6491 GB, free: 67.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.6185, allocations: 18.84 kB / 0.6491 GB, free: 67.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.6188, allocations: 385.1 kB / 0.6494 GB, free: 66.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.62, allocations: 266.8 kB / 0.6497 GB, free: 66.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.6217, allocations: 0.9287 MB / 0.6506 GB, free: 65.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.6235, allocations: 457.4 kB / 0.651 GB, free: 65.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.107e-05/0.6236, allocations: 8 kB / 0.6511 GB, free: 65.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004768/0.6284, allocations: 1.151 MB / 0.6522 GB, free: 64.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/0.6285, allocations: 15.12 kB / 0.6522 GB, free: 64.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.852e-05/0.6286, allocations: 29.86 kB / 0.6522 GB, free: 64.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.034e-05/0.6287, allocations: 34.44 kB / 0.6523 GB, free: 64.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/0.6308, allocations: 247 kB / 0.6525 GB, free: 64.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-05/0.6309, allocations: 42.77 kB / 0.6525 GB, free: 64.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.6328, allocations: 170.6 kB / 0.6527 GB, free: 64.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.6331, allocations: 57.91 kB / 0.6527 GB, free: 64.65 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 () * 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.001342/0.6345, allocations: 471.3 kB / 0.6532 GB, free: 64.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.6348, allocations: 74.7 kB / 0.6533 GB, free: 64.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.6364, allocations: 322.6 kB / 0.6536 GB, free: 64.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.6365, allocations: 0 / 0.6536 GB, free: 64.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6365, allocations: 0 / 0.6536 GB, free: 64.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005246/0.637, allocations: 176.6 kB / 0.6537 GB, free: 63.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.6373, allocations: 3.938 kB / 0.6537 GB, free: 63.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.638, allocations: 15.98 kB / 0.6538 GB, free: 63.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.6382, allocations: 11.98 kB / 0.6538 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001473/0.6396, allocations: 332.8 kB / 0.6541 GB, free: 63.46 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009583/0.6406, allocations: 473.7 kB / 0.6545 GB, free: 62.98 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003673/0.641, allocations: 105.6 kB / 0.6546 GB, free: 62.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001089/0.6421, allocations: 0.6122 MB / 0.6552 GB, free: 62.27 MB / 362.7 MB Notification: Performance of Backend: time 5.81e-07/0.6421, allocations: 3.469 kB / 0.6552 GB, free: 62.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.6442, allocations: 0.5781 MB / 0.6558 GB, free: 61.69 MB / 362.7 MB Notification: Performance of SimCode: time 0.003994/0.6483, allocations: 2.381 MB / 0.6581 GB, free: 59.26 MB / 362.7 MB Notification: Performance of Templates: time 0.01998/0.6683, allocations: 6.096 MB / 0.6641 GB, free: 53.36 MB / 362.7 MB