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.002757/0.002757, allocations: 362.5 kB / 15.95 MB, free: 6.207 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.968/3.968, allocations: 388.9 MB / 405.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003469/0.003468, allocations: 226.8 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5473/0.5473, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.00067, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1117, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.486/0.5979, allocations: 87.58 MB / 0.7656 GB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.5982, allocations: 89.03 kB / 0.7657 GB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09399/0.6922, allocations: 16.34 MB / 0.7817 GB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.6923, allocations: 0 / 0.7817 GB, free: 15.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.331e-05/0.6924, allocations: 16 kB / 0.7817 GB, free: 15.62 MB / 378.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.003892/0.6963, allocations: 1.052 MB / 0.7827 GB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.6964, allocations: 9.359 kB / 0.7827 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/0.6997, allocations: 234.4 kB / 0.7829 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.702, allocations: 0.5514 MB / 0.7835 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.7022, allocations: 72.2 kB / 0.7835 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.7025, allocations: 83.92 kB / 0.7836 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005693/0.7082, allocations: 1.729 MB / 0.7853 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/0.7083, allocations: 11.92 kB / 0.7853 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.7085, allocations: 42.62 kB / 0.7854 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006029/0.7091, allocations: 178.2 kB / 0.7855 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003559/0.7127, allocations: 1.176 MB / 0.7867 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.7253, allocations: 7.44 MB / 0.7939 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.7261, allocations: 183.2 kB / 0.7941 GB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.7265, allocations: 101.9 kB / 0.7942 GB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.7265, allocations: 7.984 kB / 0.7942 GB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.7266, allocations: 34.56 kB / 0.7943 GB, free: 4.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.775e-06/0.7266, allocations: 0 / 0.7943 GB, free: 4.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001537/0.7282, allocations: 381.4 kB / 0.7946 GB, free: 3.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.7282, allocations: 51.41 kB / 0.7947 GB, free: 3.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.7302, allocations: 0.9377 MB / 0.7956 GB, free: 3.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.7303, allocations: 28.52 kB / 0.7956 GB, free: 3.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006603/0.731, allocations: 0.6806 MB / 0.7963 GB, free: 2.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.874e-05/0.7311, allocations: 58.31 kB / 0.7963 GB, free: 2.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.7312, allocations: 18.06 kB / 0.7964 GB, free: 2.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.7314, allocations: 394.5 kB / 0.7967 GB, free: 2.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/0.7323, allocations: 251.8 kB / 0.797 GB, free: 1.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.7337, allocations: 0.9335 MB / 0.7979 GB, free: 0.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.7349, allocations: 461.6 kB / 0.7983 GB, free: 352 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.855e-05/0.735, allocations: 8 kB / 0.7983 GB, free: 344 kB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0032/0.7382, allocations: 1.147 MB / 0.7995 GB, free: 15.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.7383, allocations: 12 kB / 0.7995 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.976e-05/0.7383, allocations: 28 kB / 0.7995 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.549e-05/0.7384, allocations: 35.83 kB / 0.7995 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.7399, allocations: 247 kB / 0.7998 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-05/0.74, allocations: 51.78 kB / 0.7998 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.7413, allocations: 163.2 kB / 0.8 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.7414, allocations: 66.45 kB / 0.8 GB, free: 14.84 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.0009994/0.7424, allocations: 459 kB / 0.8005 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.7426, allocations: 67.16 kB / 0.8005 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.7439, allocations: 333 kB / 0.8008 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.7439, allocations: 0 / 0.8008 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.7439, allocations: 8 kB / 0.8009 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.744, allocations: 0 / 0.8009 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.7455, allocations: 0.7291 MB / 0.8016 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.7456, allocations: 0 / 0.8016 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.746, allocations: 31.97 kB / 0.8016 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.746, allocations: 0 / 0.8016 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.7461, allocations: 8 kB / 0.8016 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.7461, allocations: 3.984 kB / 0.8016 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7461, allocations: 0 / 0.8016 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.7472, allocations: 398.9 kB / 0.802 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.7475, allocations: 150.7 kB / 0.8021 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.7476, allocations: 0 / 0.8021 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.7481, allocations: 19.42 kB / 0.8022 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/0.7482, allocations: 15.97 kB / 0.8022 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.7483, allocations: 0 / 0.8022 GB, free: 12.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001294/0.7496, allocations: 0.6042 MB / 0.8028 GB, free: 12.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7496, allocations: 4 kB / 0.8028 GB, free: 12.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001356/0.751, allocations: 220.4 kB / 0.803 GB, free: 12.3 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.0002209/0.7512, allocations: 102.4 kB / 0.8031 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.7532, allocations: 0.6006 MB / 0.8037 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7533, allocations: 0 / 0.8037 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.7537, allocations: 108.5 kB / 0.8038 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.7546, allocations: 91.3 kB / 0.8038 GB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004889/0.7595, allocations: 1.853 MB / 0.8057 GB, free: 9.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/0.7611, allocations: 1.154 MB / 0.8068 GB, free: 8.719 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001416/0.7625, allocations: 273.8 kB / 0.807 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.7628, allocations: 54.55 kB / 0.8071 GB, free: 8.398 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/0.7628, allocations: 0 / 0.8071 GB, free: 8.398 MB / 394.7 MB Notification: Performance of Templates: time 0.02065/0.7835, allocations: 5.146 MB / 0.8121 GB, free: 3.281 MB / 394.7 MB