Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001602, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 89.27 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2925/0.2925, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.383e-05/1.391e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3899, allocations: 58.84 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.5612, allocations: 94.46 MB / 0.5581 GB, free: 4.836 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.5616, allocations: 75.97 kB / 0.5582 GB, free: 4.762 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07222/0.6338, allocations: 16.68 MB / 0.5745 GB, free: 3.949 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6339, allocations: 0 / 0.5745 GB, free: 3.949 MB / 411.1 MB Notification: Performance of Transformations before backend: time 5.7e-05/0.634, allocations: 24 kB / 0.5745 GB, free: 3.926 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002455/0.6365, allocations: 0.994 MB / 0.5755 GB, free: 2.883 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6365, allocations: 8.031 kB / 0.5755 GB, free: 2.875 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.6388, allocations: 234.3 kB / 0.5757 GB, free: 2.645 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.6407, allocations: 0.5729 MB / 0.5763 GB, free: 2.031 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.6407, allocations: 28 kB / 0.5763 GB, free: 2.004 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.641, allocations: 52 kB / 0.5764 GB, free: 1.953 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002635/0.6436, allocations: 0.9726 MB / 0.5773 GB, free: 0.9805 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.6473, allocations: 1.565 MB / 0.5788 GB, free: 15.24 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.6474, allocations: 11.88 kB / 0.5789 GB, free: 15.23 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.6475, allocations: 11.98 kB / 0.5789 GB, free: 15.21 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006062/0.6482, allocations: 169.4 kB / 0.579 GB, free: 15.04 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.6601, allocations: 7.047 MB / 0.5859 GB, free: 7.762 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.6606, allocations: 146.5 kB / 0.586 GB, free: 7.609 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.6608, allocations: 76.77 kB / 0.5861 GB, free: 7.531 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.6608, allocations: 15.97 kB / 0.5861 GB, free: 7.516 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.6609, allocations: 30.56 kB / 0.5862 GB, free: 7.477 MB / 427.1 MB Notification: Performance of pre-optimization done (n=12): time 2.605e-06/0.6609, allocations: 0 / 0.5862 GB, free: 7.477 MB / 427.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006565/0.6616, allocations: 237 kB / 0.5864 GB, free: 7.238 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.6616, allocations: 55.41 kB / 0.5864 GB, free: 7.172 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.6631, allocations: 0.7062 MB / 0.5871 GB, free: 6.457 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.6631, allocations: 25.7 kB / 0.5872 GB, free: 6.426 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006936/0.6638, allocations: 0.7469 MB / 0.5879 GB, free: 5.668 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.6639, allocations: 59.44 kB / 0.5879 GB, free: 5.609 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.664, allocations: 0 / 0.5879 GB, free: 5.609 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.6642, allocations: 354.8 kB / 0.5883 GB, free: 5.254 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.6648, allocations: 222.5 kB / 0.5885 GB, free: 5.039 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.666, allocations: 0.94 MB / 0.5894 GB, free: 3.73 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009857/0.667, allocations: 439.4 kB / 0.5898 GB, free: 3.301 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/0.667, allocations: 15.89 kB / 0.5898 GB, free: 3.285 MB / 427.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002455/0.6695, allocations: 0.9744 MB / 0.5908 GB, free: 2.305 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.6696, allocations: 16 kB / 0.5908 GB, free: 2.289 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.129e-05/0.6696, allocations: 24 kB / 0.5908 GB, free: 2.266 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.202e-05/0.6697, allocations: 40 kB / 0.5909 GB, free: 2.227 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.6713, allocations: 264.2 kB / 0.5911 GB, free: 1.969 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.536e-05/0.6714, allocations: 51.8 kB / 0.5912 GB, free: 1.918 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.6727, allocations: 130.5 kB / 0.5913 GB, free: 1.789 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.6728, allocations: 68 kB / 0.5914 GB, free: 1.723 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * Number of states: 0 () * Number of discrete variables: 21 (world.groundColor[3],world.groundColor[2],world.groundColor[1],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 (132): * Single equations (assignments): 132 * 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.0002605/0.6731, allocations: 178.5 kB / 0.5915 GB, free: 1.539 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.6733, allocations: 75.11 kB / 0.5916 GB, free: 1.465 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/0.6741, allocations: 255.7 kB / 0.5919 GB, free: 1.203 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6741, allocations: 0 / 0.5919 GB, free: 1.203 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.6741, allocations: 0 / 0.5919 GB, free: 1.203 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6741, allocations: 3.938 kB / 0.5919 GB, free: 1.199 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.6752, allocations: 0.5251 MB / 0.5924 GB, free: 0.6367 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6753, allocations: 0 / 0.5924 GB, free: 0.6367 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.6757, allocations: 39.97 kB / 0.5924 GB, free: 0.5977 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.6757, allocations: 3.953 kB / 0.5924 GB, free: 0.5938 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.6757, allocations: 3.984 kB / 0.5924 GB, free: 0.5898 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6757, allocations: 0 / 0.5924 GB, free: 0.5898 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6758, allocations: 0 / 0.5924 GB, free: 0.5898 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.6764, allocations: 323.7 kB / 0.5927 GB, free: 264 kB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.6767, allocations: 140.2 kB / 0.5929 GB, free: 104 kB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.6768, allocations: 11.95 kB / 0.5929 GB, free: 92 kB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.6772, allocations: 11.98 kB / 0.5929 GB, free: 80 kB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.6773, allocations: 19.91 kB / 0.5929 GB, free: 60 kB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.6774, allocations: 11.94 kB / 0.5929 GB, free: 48 kB / 427.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.6784, allocations: 499.1 kB / 0.5934 GB, free: 15.56 MB / 443.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6784, allocations: 0 / 0.5934 GB, free: 15.56 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.001404/0.6799, allocations: 215 kB / 0.5936 GB, free: 15.35 MB / 443.1 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.000208/0.6801, allocations: 99.25 kB / 0.5937 GB, free: 15.25 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.6815, allocations: 0.5193 MB / 0.5942 GB, free: 14.73 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6815, allocations: 2.5 kB / 0.5942 GB, free: 14.73 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.6817, allocations: 84.14 kB / 0.5943 GB, free: 14.65 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.6823, allocations: 66.11 kB / 0.5943 GB, free: 14.59 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.6857, allocations: 1.217 MB / 0.5955 GB, free: 13.34 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.687, allocations: 1.163 MB / 0.5967 GB, free: 12.14 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.6874, allocations: 59.42 kB / 0.5967 GB, free: 12.09 MB / 443.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6874, allocations: 0 / 0.5967 GB, free: 12.09 MB / 443.1 MB Notification: Performance of Templates: time 0.02432/0.7117, allocations: 9.495 MB / 0.606 GB, free: 2.59 MB / 443.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)