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.002632/0.002638, allocations: 347.3 kB / 15.93 MB, free: 6.223 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.266/3.266, allocations: 341.5 MB / 358.2 MB, free: 28.59 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00369/0.00369, allocations: 217.6 kB / 397.8 MB, free: 6.008 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4682/0.4682, allocations: 76.1 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.00049, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09195, allocations: 48.7 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5198, allocations: 81.14 MB / 0.686 GB, free: 6.598 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.5201, allocations: 84.89 kB / 0.686 GB, free: 6.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06622/0.5863, allocations: 16.39 MB / 0.702 GB, free: 8.328 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5864, allocations: 0 / 0.702 GB, free: 8.328 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.251e-05/0.5864, allocations: 16 kB / 0.7021 GB, free: 8.312 MB / 330.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.003033/0.5895, allocations: 1.06 MB / 0.7031 GB, free: 7.266 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5895, allocations: 8.031 kB / 0.7031 GB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.592, allocations: 231 kB / 0.7033 GB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.5938, allocations: 0.5712 MB / 0.7039 GB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.5939, allocations: 61.42 kB / 0.7039 GB, free: 6.477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/0.5942, allocations: 87.91 kB / 0.704 GB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004351/0.5986, allocations: 1.725 MB / 0.7057 GB, free: 4.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.5987, allocations: 7.875 kB / 0.7057 GB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.5989, allocations: 47.16 kB / 0.7058 GB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005877/0.5995, allocations: 175.8 kB / 0.7059 GB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003647/0.6032, allocations: 1.173 MB / 0.7071 GB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.6161, allocations: 7.449 MB / 0.7143 GB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.6169, allocations: 175.3 kB / 0.7145 GB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.6174, allocations: 107.9 kB / 0.7146 GB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.6174, allocations: 0 / 0.7146 GB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.6175, allocations: 37.75 kB / 0.7147 GB, free: 12.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.774e-06/0.6175, allocations: 0 / 0.7147 GB, free: 12.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001551/0.6191, allocations: 377.7 kB / 0.715 GB, free: 12.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.6191, allocations: 55.41 kB / 0.7151 GB, free: 12.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.6211, allocations: 0.9406 MB / 0.716 GB, free: 11.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.6212, allocations: 32.89 kB / 0.716 GB, free: 11.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006567/0.6219, allocations: 0.6776 MB / 0.7167 GB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.622, allocations: 57.91 kB / 0.7167 GB, free: 11.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.6221, allocations: 25.62 kB / 0.7168 GB, free: 11.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.6223, allocations: 384.6 kB / 0.7171 GB, free: 10.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008638/0.6232, allocations: 258.6 kB / 0.7174 GB, free: 10.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.6246, allocations: 0.9236 MB / 0.7183 GB, free: 9.348 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.6263, allocations: 467.4 kB / 0.7187 GB, free: 9.016 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-05/0.6264, allocations: 8 kB / 0.7187 GB, free: 9.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004324/0.6307, allocations: 1.141 MB / 0.7198 GB, free: 8.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/0.6308, allocations: 20.25 kB / 0.7199 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-05/0.6309, allocations: 24 kB / 0.7199 GB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.902e-05/0.631, allocations: 36 kB / 0.7199 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.6328, allocations: 238.3 kB / 0.7201 GB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.981e-05/0.6329, allocations: 51.78 kB / 0.7202 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.6347, allocations: 165 kB / 0.7204 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.6349, allocations: 61.19 kB / 0.7204 GB, free: 7.523 MB / 346.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.001359/0.6363, allocations: 469.8 kB / 0.7209 GB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.6366, allocations: 75.02 kB / 0.7209 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.6384, allocations: 325.2 kB / 0.7212 GB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.6384, allocations: 4 kB / 0.7212 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6384, allocations: 0 / 0.7212 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.6385, allocations: 0 / 0.7212 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.6408, allocations: 0.7297 MB / 0.722 GB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.6408, allocations: 7.984 kB / 0.722 GB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.6414, allocations: 35.92 kB / 0.722 GB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.6414, allocations: 3.953 kB / 0.722 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.6415, allocations: 11.86 kB / 0.722 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.6415, allocations: 0 / 0.722 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-05/0.6415, allocations: 4 kB / 0.722 GB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.6431, allocations: 387.7 kB / 0.7224 GB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/0.6436, allocations: 175.6 kB / 0.7226 GB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.6438, allocations: 3.953 kB / 0.7226 GB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.6445, allocations: 19.8 kB / 0.7226 GB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.6446, allocations: 11.98 kB / 0.7226 GB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.6446, allocations: 7.984 kB / 0.7226 GB, free: 5.602 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001745/0.6464, allocations: 0.6053 MB / 0.7232 GB, free: 5.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.6464, allocations: 3.938 kB / 0.7232 GB, free: 5.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00211/0.6486, allocations: 214.5 kB / 0.7234 GB, free: 4.957 MB / 346.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.0002572/0.6489, allocations: 103.2 kB / 0.7235 GB, free: 4.844 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.6515, allocations: 0.5953 MB / 0.7241 GB, free: 4.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6516, allocations: 0 / 0.7241 GB, free: 4.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006116/0.6522, allocations: 117.9 kB / 0.7242 GB, free: 4.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.6535, allocations: 72.12 kB / 0.7243 GB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/0.6596, allocations: 1.865 MB / 0.7261 GB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.6613, allocations: 1.165 MB / 0.7272 GB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00175/0.6631, allocations: 265.8 kB / 0.7275 GB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.6633, allocations: 54.67 kB / 0.7275 GB, free: 1.055 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6634, allocations: 0 / 0.7275 GB, free: 1.055 MB / 346.7 MB Notification: Performance of Templates: time 0.02638/0.6897, allocations: 5.139 MB / 0.7325 GB, free: 11.94 MB / 362.7 MB