Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004422/0.004422, allocations: 368.3 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.926/3.926, allocations: 388.9 MB / 405.6 MB, free: 48.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003563/0.003563, allocations: 228.8 kB / 451 MB, free: 3.031 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7856/0.7856, allocations: 80.02 MB / 0.5627 GB, free: 6.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.000478, allocations: 12 kB / 0.6265 GB, free: 4.848 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 54.89 MB / 0.6801 GB, free: 13.82 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.3465/0.4708, allocations: 18.13 MB / 0.6978 GB, free: 71.27 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.4812, allocations: 3.645 MB / 0.7014 GB, free: 70.75 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/0.4852, allocations: 73 kB / 0.7015 GB, free: 70.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003184/0.4884, allocations: 0.8375 MB / 0.7023 GB, free: 70.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009577/0.4981, allocations: 2.808 MB / 0.705 GB, free: 69.99 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.4992, allocations: 51.23 kB / 0.7051 GB, free: 69.99 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.5006, allocations: 0.7619 MB / 0.7058 GB, free: 69.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.5022, allocations: 0.7793 MB / 0.7066 GB, free: 69.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004837/0.5027, allocations: 238.2 kB / 0.7068 GB, free: 69.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006999/0.5035, allocations: 372.1 kB / 0.7071 GB, free: 69.6 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.5036, allocations: 31.19 kB / 0.7072 GB, free: 69.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.504, allocations: 68.11 kB / 0.7072 GB, free: 69.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.5044, allocations: 332.6 kB / 0.7076 GB, free: 69.55 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.5046, allocations: 186.3 kB / 0.7077 GB, free: 69.49 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.5058, allocations: 0.9486 MB / 0.7087 GB, free: 69.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5058, allocations: 4.188 kB / 0.7087 GB, free: 69.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5058, allocations: 0 / 0.7087 GB, free: 69.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.5059, allocations: 0 / 0.7087 GB, free: 69.41 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.00226/0.5081, allocations: 1.026 MB / 0.7097 GB, free: 68.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5082, allocations: 9.438 kB / 0.7097 GB, free: 68.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.5095, allocations: 165.8 kB / 0.7098 GB, free: 68.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.5105, allocations: 478.6 kB / 0.7103 GB, free: 68.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/0.5106, allocations: 43.06 kB / 0.7103 GB, free: 68.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.5107, allocations: 64.14 kB / 0.7104 GB, free: 68.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003242/0.514, allocations: 1.729 MB / 0.7121 GB, free: 68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.5141, allocations: 10.83 kB / 0.7121 GB, free: 67.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-05/0.5142, allocations: 32 kB / 0.7121 GB, free: 67.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001187/0.5154, allocations: 401.1 kB / 0.7125 GB, free: 67.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.5187, allocations: 1.186 MB / 0.7137 GB, free: 67.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.5289, allocations: 6.501 MB / 0.72 GB, free: 62.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.5297, allocations: 185.2 kB / 0.7202 GB, free: 62.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.5301, allocations: 102.1 kB / 0.7203 GB, free: 62.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.5302, allocations: 1.812 kB / 0.7203 GB, free: 62.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.5302, allocations: 31.81 kB / 0.7203 GB, free: 62.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.376e-06/0.5302, allocations: 2.219 kB / 0.7203 GB, free: 62.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.001545/0.5318, allocations: 382.4 kB / 0.7207 GB, free: 62.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.5318, allocations: 57.47 kB / 0.7207 GB, free: 62.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.5339, allocations: 0.9261 MB / 0.7216 GB, free: 62.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.534, allocations: 27.14 kB / 0.7217 GB, free: 62.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006298/0.5347, allocations: 0.6833 MB / 0.7223 GB, free: 61.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.5348, allocations: 56.97 kB / 0.7224 GB, free: 61.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.5349, allocations: 16.16 kB / 0.7224 GB, free: 61.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5351, allocations: 394.8 kB / 0.7228 GB, free: 61.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008936/0.536, allocations: 262.5 kB / 0.723 GB, free: 61.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.5372, allocations: 0.9264 MB / 0.7239 GB, free: 60.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.5384, allocations: 464.4 kB / 0.7244 GB, free: 59.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/0.5385, allocations: 7.219 kB / 0.7244 GB, free: 59.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00326/0.5418, allocations: 1.147 MB / 0.7255 GB, free: 59.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.5419, allocations: 18.59 kB / 0.7255 GB, free: 59.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.184e-05/0.5419, allocations: 24.52 kB / 0.7256 GB, free: 59.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.831e-05/0.542, allocations: 36.38 kB / 0.7256 GB, free: 59.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.5434, allocations: 245.1 kB / 0.7258 GB, free: 59.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-05/0.5435, allocations: 45.73 kB / 0.7259 GB, free: 59.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.5448, allocations: 163.9 kB / 0.726 GB, free: 59.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.5449, allocations: 62.78 kB / 0.7261 GB, free: 59.24 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.0009782/0.5459, allocations: 468.3 kB / 0.7265 GB, free: 58.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.5461, allocations: 70.23 kB / 0.7266 GB, free: 58.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.5473, allocations: 320.8 kB / 0.7269 GB, free: 58.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5474, allocations: 4.609 kB / 0.7269 GB, free: 58.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5474, allocations: 0 / 0.7269 GB, free: 58.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.5477, allocations: 151.5 kB / 0.727 GB, free: 58.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.5478, allocations: 6.312 kB / 0.7271 GB, free: 58.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.5483, allocations: 22.48 kB / 0.7271 GB, free: 58.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.5484, allocations: 17.73 kB / 0.7271 GB, free: 58.66 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001089/0.5496, allocations: 329.2 kB / 0.7274 GB, free: 58.5 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001018/0.5506, allocations: 463.2 kB / 0.7278 GB, free: 58.21 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004227/0.551, allocations: 106.2 kB / 0.728 GB, free: 58.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001261/0.5523, allocations: 0.6042 MB / 0.7285 GB, free: 57.94 MB / 394.7 MB Notification: Performance of Backend: time 8.82e-07/0.5523, allocations: 0 / 0.7285 GB, free: 57.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.5545, allocations: 0.5919 MB / 0.7291 GB, free: 57.71 MB / 394.7 MB Notification: Performance of SimCode: time 0.00441/0.559, allocations: 2.38 MB / 0.7314 GB, free: 56.16 MB / 394.7 MB Notification: Performance of Templates: time 0.02506/0.5841, allocations: 6.09 MB / 0.7374 GB, free: 54.92 MB / 394.7 MB